emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The current state of the comment-cache branch


From: Andreas Röhler
Subject: Re: The current state of the comment-cache branch
Date: Sat, 21 Jan 2017 10:06:05 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.6.0



On 20.01.2017 22:48, Stefan Monnier wrote:
Alongside with some other impediments removed, for example allowing
all chars being an abbrev.
The restriction to word chars in abbrevs as removed a long time ago.
Really? That should be known.
It is known.

It's known you delivered some code WRT that purpose.
It never worked here. Seems other faced some difficulties too:

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=23891



So https://debbugs.gnu.org/cgi/bugreport.cgi?bug=15485 is fixed?
No, but I'm not sure it's a bug.  It's the way `add-abbrev` works.
The abbrev-tables themselves don't have that restriction.

So what does abbrev--check-chars inside define-mode-abbrev?:

        (error "Some abbrev characters (%s) are not word constituents %s"

A related issue later on:

  (define-abbrev local-abbrev-table (downcase abbrev) expansion))


If everything is downcased, expansion can't distinguish the original case.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]