all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 14574@debbugs.gnu.org
Subject: bug#14574: prog-prettify-symbols breaks font-locking
Date: Mon, 17 Jun 2013 18:24:11 +0200	[thread overview]
Message-ID: <CAAeL0SSNE=ZjvnwfEHW0i5bD3jBO6Y9AQ7rqjmJzMNMmzHOkNQ@mail.gmail.com> (raw)
In-Reply-To: <837ghsu6it.fsf@gnu.org>

On Mon, Jun 17, 2013 at 5:00 PM, Eli Zaretskii <eliz@gnu.org> wrote:

> Arabic uses automatic compositions, not static compositions produced
> by text properties.  If you want to see which scripts use the
> 'composition' properties, search Lisp files for compose-region.

Ethiopic, indian languages, Lao, Thai, Tibetan and Tai languages, currently.

> Perhaps Handa-san could tell if having 'composition' properties in
> comments and strings is something that can happen in real life for
> some scripts used in those comments/strings.  If it can (and I don't
> know one way or the other), then I don't think we should remove all of
> the 'composition' properties just because font-lock was turned off.

I don't disagree (or at least, not strongly), but I think is an
unlikely problem because, as I said, the set of conditions under which
can happen is not that big. Currently only Perl (but not Cperl),
(e)lisp and CFEngine buffers will be affected, and only if the user
choses to enable prettification, which is off by default. And then
s/he would have to need to turn off font-locking, which I don't think
it is really a common operation while editing code, is it? So it seems
to me like we have a two line fix for 95% of use cases (were 95% is a
number just invented out of thin air, but you catch my meaning), where
covering 100% of cases is likely to be much more complex.

> You assume that representatives of affected communities track Emacs
> development.  But that assumption is not really guaranteed to be true.

No, I'm assuming that we usually go for fixing real problems versus
perceived ones. Even if we are mistaken and the affected communities
discover after the fact, is not like there are no workarounds or we
cannot implement a 100% fix later.

But don't take that as that I'm opposing a better fix. I'm not. I just
don't see the point yet.

   J





  reply	other threads:[~2013-06-17 16:24 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
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 [this message]
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='CAAeL0SSNE=ZjvnwfEHW0i5bD3jBO6Y9AQ7rqjmJzMNMmzHOkNQ@mail.gmail.com' \
    --to=lekktu@gmail.com \
    --cc=14574@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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.