all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: 14574@debbugs.gnu.org
Subject: bug#14574: prog-prettify-symbols breaks font-locking
Date: Sat, 15 Jun 2013 11:54:51 +0300	[thread overview]
Message-ID: <83hagzvjms.fsf@gnu.org> (raw)
In-Reply-To: <m2obb7u6ih.fsf@lifelogs.com>

> From: Ted Zlatanov <tzz@lifelogs.com>
> Date: Sat, 15 Jun 2013 04:23:34 -0400
> 
> On Tue, 11 Jun 2013 23:50:18 +0200 Juanma Barranquero <lekktu@gmail.com> wrote: 
> 
> JB> On Tue, Jun 11, 2013 at 11:35 PM, Ted Zlatanov <tzz@lifelogs.com> wrote:
> >> Weird.  I don't know what's happening, and it works well for me.  Does
> >> turning `font-lock-mode' off and back on fix it?
> 
> JB> No.
> 
> JB> BTW, shouldn't turning font-lock-mode off disable the pretiffication?
> 
> They are entirely implemented by font-lock keywords, so I would assume so.
> 
> At least for me, that works every time.

From Juanma's data, it is clear that the composition list is sometimes
created incorrectly, to include the list of all the characters in
"lambda".  The way to debug this is to catch the circumstances when
this happens.  One possible way of doing that (a.k.a. "printf
debugging") is to instrument prog--prettify-font-lock-compose-symbol
so that it logs a message with values of important variables when
the composition is incorrect, i.e. when the rule is (?l ?a ?m ?b ?d ?a).
That should give enough hints to find the villain.





  reply	other threads:[~2013-06-15  8:54 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-08  4:35 bug#14574: prog-prettify-symbols breaks font-locking Juanma Barranquero
2013-06-11 18:01 ` Glenn Morris
2013-06-11 21:03   ` Ted Zlatanov
2013-06-11 21:19     ` Glenn Morris
2013-06-11 21:29     ` Juanma Barranquero
2013-06-11 21:35       ` Ted Zlatanov
2013-06-11 21:50         ` Juanma Barranquero
2013-06-11 22:41           ` Juanma Barranquero
2013-06-15  8:23           ` Ted Zlatanov
2013-06-15  8:54             ` Eli Zaretskii [this message]
2013-06-15 16:57             ` Juanma Barranquero
2013-06-15 18:43               ` Eli Zaretskii
2013-06-15 22:48                 ` Juanma Barranquero
2013-06-16  0:07                   ` Ted Zlatanov
2013-06-16  1:52                     ` Juanma Barranquero
2013-06-16  9:34                       ` Ted Zlatanov
2013-06-16 10:11                         ` Juanma Barranquero
2013-06-16 11:25                           ` Ted Zlatanov
2013-06-16 23:14                         ` Stefan Monnier
2013-06-17  2:45                           ` Eli Zaretskii
2013-06-17  2:49                             ` Juanma Barranquero
2013-06-17  7:25                               ` Ted Zlatanov
2013-06-17  9:22                                 ` Juanma Barranquero
2013-06-17 10:52                                   ` Ted Zlatanov
2013-06-17 15:00                                   ` Eli Zaretskii
2013-06-17 16:24                                     ` Juanma Barranquero
2013-06-17 16:44                                       ` Eli Zaretskii
2013-06-17 16:51                                         ` Juanma Barranquero
2013-06-17 14:44                                 ` Stefan Monnier
2013-06-16 10:03                   ` Dmitry Gutov
2013-06-16 10:12                     ` Juanma Barranquero
2013-06-16 16:14                       ` Eli Zaretskii
2013-06-16 16:18                         ` Juanma Barranquero
2013-06-16 16:36                           ` Eli Zaretskii
2013-06-16 23:16                     ` Stefan Monnier
2013-06-12  2:54         ` Juanma Barranquero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83hagzvjms.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=14574@debbugs.gnu.org \
    --cc=lekktu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.