From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Katsumi Yamaoka <yamaoka@jpl.org>
Newsgroups: gmane.emacs.bugs
Subject: bug#16828: 24.3.50;
	eval-expression, character representation of integer results
	time-consuming
Date: Tue, 25 Feb 2014 09:42:22 +0900
Organization: Emacsen advocacy group
Message-ID: <b4my510yqdt.fsf@jpl.org>
References: <CABr8ebbLKP8As7ud-u3wmJ4cuua1NhKX8_yGpfSd7-1p1ez+bA@mail.gmail.com>
	<83mwhk4v48.fsf@gnu.org>
	<CABr8ebYbBF7AgHHsKWtyAi-c6BHvNpBis48+PgcfcZBH1Y-7OA@mail.gmail.com>
	<83txbr2sye.fsf@gnu.org> <87zjljf086.fsf@rosalinde.fritz.box>
	<83a9di3lt1.fsf@gnu.org> <877g8mb3lh.fsf@Rainer.invalid>
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: ger.gmane.org 1393288992 9736 80.91.229.3 (25 Feb 2014 00:43:12 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 25 Feb 2014 00:43:12 +0000 (UTC)
To: 16828@debbugs.gnu.org
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 25 01:43:20 2014
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1WI67C-0006Ka-KN
	for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Feb 2014 01:43:18 +0100
Original-Received: from localhost ([::1]:60447 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1WI67B-0003fG-TH
	for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Feb 2014 19:43:17 -0500
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59566)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1WI672-0003ex-Sc
	for bug-gnu-emacs@gnu.org; Mon, 24 Feb 2014 19:43:14 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1WI66w-0004oU-RG
	for bug-gnu-emacs@gnu.org; Mon, 24 Feb 2014 19:43:08 -0500
Original-Received: from debbugs.gnu.org ([140.186.70.43]:37137)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1WI66w-0004oQ-Nf
	for bug-gnu-emacs@gnu.org; Mon, 24 Feb 2014 19:43:02 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1WI66w-0006WS-AJ
	for bug-gnu-emacs@gnu.org; Mon, 24 Feb 2014 19:43:02 -0500
X-Loop: help-debbugs@gnu.org
In-Reply-To: <CABr8ebbLKP8As7ud-u3wmJ4cuua1NhKX8_yGpfSd7-1p1ez+bA@mail.gmail.com>
Resent-From: Katsumi Yamaoka <yamaoka@jpl.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Tue, 25 Feb 2014 00:43:02 +0000
Resent-Message-ID: <handler.16828.B16828.139328894925023@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 16828
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
Original-Received: via spool by 16828-submit@debbugs.gnu.org id=B16828.139328894925023
	(code B ref 16828); Tue, 25 Feb 2014 00:43:02 +0000
Original-Received: (at 16828) by debbugs.gnu.org; 25 Feb 2014 00:42:29 +0000
Original-Received: from localhost ([127.0.0.1]:38319 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1WI66O-0006VW-IR
	for submit@debbugs.gnu.org; Mon, 24 Feb 2014 19:42:28 -0500
Original-Received: from hampton-mail.hostforweb.net ([205.234.204.210]:48661
	helo=hampton.hostforweb.net)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <yamaoka@jpl.org>) id 1WI66M-0006VH-Gy
	for 16828@debbugs.gnu.org; Mon, 24 Feb 2014 19:42:27 -0500
Original-Received: from localhost.localdomain ([127.0.0.1]:58740 helo=localhost)
	by hampton.hostforweb.net with smtp (Exim 4.80.1)
	(envelope-from <yamaoka@jpl.org>)
	id 1WI66F-001saQ-0r; Mon, 24 Feb 2014 18:42:19 -0600
X-Face: #kKnN,xUnmKia.'[pp`;
	Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk
	B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;
	B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&(
User-Agent: Gnus/5.13001 (=?UTF-8?Q?=E7=9C=9F?= Gnus v0.10)
	Emacs/24.3.50 (i686-pc-cygwin)
Cancel-Lock: sha1:GVojZ2ORJp4mHqrMVKbFbHJSJxY=
X-OutGoing-Spam-Status: No, score=
X-AntiAbuse: This header was added to track abuse,
	please include it with any abuse report
X-AntiAbuse: Primary Hostname - hampton.hostforweb.net
X-AntiAbuse: Original Domain - debbugs.gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - jpl.org
X-Get-Message-Sender-Via: hampton.hostforweb.net: acl_c_authenticated_local_user:
	yamaoka
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 140.186.70.43
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
	the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org
Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org
Xref: news.gmane.org gmane.emacs.bugs:86164
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/86164>

Achim Gratz wrote:
> Eli Zaretskii writes:
>> I don't think the time this takes is spend _looking_ for a font, I
>> think it's spend loading a font.  But someone will have to trace and
>> profile this, and then come up with an analysis.

> Like Stephen I am fairly certain that most of the time is indeed spent
> looking for a suitable font, based on the disk noises that indicate
> seeking through many directories.

Especially on Cygwin, it's very annoying when edebugging.  Displaying
a character for the number of a point or a result of a calculation is
useless.  I use:

(if (eq system-type 'cygwin)
    (defadvice eval-expression-print-format
	(around dont-try-to-convert-char-to-string-when-edebugging
		(value) activate)
      "Don't try to convert char to string when edebugging."
      (if (and (boundp 'edebug-active) (eval 'edebug-active))
	  (if (and (integerp value)
		   (or (eq standard-output t)
		       (zerop (prefix-numeric-value current-prefix-arg))))
	      (format " (#o%o, #x%x)" value value))
	ad-do-it)))