From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Sebastien Vauban" Newsgroups: gmane.emacs.bugs Subject: bug#15876: 24.3.50; Highly degraded performance between rev 114715 and 115006 Date: Mon, 02 Dec 2013 10:29:10 +0100 Organization: Sebastien Vauban Message-ID: <86bo0z1tzt.fsf@somewhere.org> References: <867gcdiqji.fsf@somewhere.org> <86fvr09z55.fsf@somewhere.org> <83fvr01du4.fsf@gnu.org> <8638n0nj9p.fsf@somewhere.org> <86bo1eaelv.fsf@somewhere.org> <86r4a2vqbu.fsf@somewhere.org> <867gbqdisp.fsf@somewhere.org> <861u1w492o.fsf@somewhere.org> <868uw42qaj.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1385976671 18483 80.91.229.3 (2 Dec 2013 09:31:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Dec 2013 09:31:11 +0000 (UTC) Cc: 15876-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org, dmantipov-o+MxOtu4lMCHXe+LvDLADg@public.gmane.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Mon Dec 02 10:31:17 2013 Return-path: 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 ) id 1VnPqW-0002mf-Nd for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Dec 2013 10:31:16 +0100 Original-Received: from localhost ([::1]:34692 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnPqW-0005Az-4o for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Dec 2013 04:31:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50403) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnPqN-00056G-GQ for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Mon, 02 Dec 2013 04:31:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VnPqJ-00064t-DM for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Mon, 02 Dec 2013 04:31:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnPqJ-00064o-9U for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Mon, 02 Dec 2013 04:31:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VnPqI-0007ua-7n for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Mon, 02 Dec 2013 04:31:02 -0500 X-Loop: help-debbugs-mXXj517/zsQ@public.gmane.org Resent-From: "Sebastien Vauban" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org Resent-Date: Mon, 02 Dec 2013 09:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs-mXXj517/zsQ@public.gmane.org X-GNU-PR-Message: followup 15876 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15876-submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org id=B15876.138597660430299 (code B ref 15876); Mon, 02 Dec 2013 09:31:02 +0000 Original-Received: (at 15876) by debbugs.gnu.org; 2 Dec 2013 09:30:04 +0000 Original-Received: from localhost ([127.0.0.1]:53993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VnPpJ-0007rq-4t for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Mon, 02 Dec 2013 04:30:01 -0500 Original-Received: from dd5e0353a.access.telenet.be ([213.224.53.58]:2109 helo=mail.missioncriticalit.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VnPpE-0007rW-Ju for 15876-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Mon, 02 Dec 2013 04:29:57 -0500 Original-Received: from MUNDANEUM.i-did-not-set--mail-host-address--so-tickle-me (unknown [10.10.10.51]) by mail.missioncriticalit.com (Postfix) with ESMTPS id 0AF1B50085A; Mon, 2 Dec 2013 10:32:28 +0100 (CET) X-Url: Under construction... X-Archive: encrypt In-Reply-To: (Eli Zaretskii's message of "Mon, 02 Dec 2013 05:45:15 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) X-BeenThere: debbugs-submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.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-mXXj517/zsQ@public.gmane.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.bugs:81240 Archived-At: Eli Zaretskii wrote: >> From: "Sebastien Vauban" >> Cc: 15876-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org, dmantipov-o+MxOtu4lMCHXe+LvDLADg@public.gmane.org >> Date: Sun, 01 Dec 2013 22:51:32 +0100 >> >> I don't succeed putting point on it. See http://screencast.com/t/jiC9rO3bj9T. > > Use my recipe, not yours. The problem happens as soon as the u+25b7 > character is displayed in the buffer, no matter where it is displayed > and by which mechanism. > >> Anyway, it must be Consolas, as Consolas is the font used everywhere else, and >> as I have the following in my .emacs: >> >> --8<---------------cut here---------------start------------->8--- >> (setq org-ellipsis >> (if (char-displayable-p ?\u25B7) ; white right-pointing triangle >> " \u25B7" ; string >> 'org-ellipsis))) ; face >> --8<---------------cut here---------------end--------------->8--- >> >> As you see, the triangle is used only if the char is displayable in the current >> font, that is in Consolas in my case. > > Where does it say "in the current font"? It doesn't. Emacs will use > any font available to it. So your conclusion is incorrect. I had the impression that, when I wrote that code, I tested it with different fonts, and that I sometimes had the triangle, sometimes "...". That made me think that my code does correctly check in the current font if the triangle is displayable (or not), and then chooses the right character whether it is (not). I must be mistaken because... > Only "C-u C-x =" can tell what font is used. ... you're right: on my Windows 8, Emacs uses the BatangChe font for the triangle. Best regards, Seb -- Sebastien Vauban