From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: How to configure edebug not to print characters? Date: Sun, 10 Apr 2011 01:39:14 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=gbk Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1302414034 15868 80.91.229.12 (10 Apr 2011 05:40:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 10 Apr 2011 05:40:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 10 07:40:28 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q8nNq-0007MT-Sd for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Apr 2011 07:40:27 +0200 Original-Received: from localhost ([127.0.0.1]:45662 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8nNq-0001Vc-D2 for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Apr 2011 01:40:26 -0400 Original-Received: from [140.186.70.92] (port=37971 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8nMh-0001UM-CV for help-gnu-emacs@gnu.org; Sun, 10 Apr 2011 01:39:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q8nMg-0000qf-Fu for help-gnu-emacs@gnu.org; Sun, 10 Apr 2011 01:39:15 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:54198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q8nMg-0000qb-EH for help-gnu-emacs@gnu.org; Sun, 10 Apr 2011 01:39:14 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Q8nMg-0004Tg-AX for help-gnu-emacs@gnu.org; Sun, 10 Apr 2011 01:39:14 -0400 In-reply-to: (message from Leo on Sun, 10 Apr 2011 11:01:47 +0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:80756 Archived-At: > From: Leo > Date: Sun, 10 Apr 2011 11:01:47 +0800 > > `edebug' print numbers like this: > > Result: 24549 (#o57745, #x5fe5, ?) > > The last thing in the () can slow things down significantly But only the first time, right? That's what I see (because Emacs needs to load the necessary font). > since I don't need it 99.9% of the time, I wonder if it is possible > to make edebug display: > > Result: 24549 (#o57745, #x5fe5) > > instead. The format of that display is a feature of eval-expression-print-format, which see. You can hack it if you want, but I would suggest to add a customizable option to control that.