help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: message-smileys boundaries


From: Garreau, Alexandre
Subject: Re: message-smileys boundaries
Date: Sun, 21 Oct 2018 04:53:02 +0200
User-agent: Gnus (5.13), GNU Emacs 25.1.1 (i686-pc-linux-gnu)

On 2018-10-20 at 10:03, Marcin Borkowski wrote:
> On 2018-10-15, at 01:35, Garreau, Alexandre <galex-713@galex-713.eu> wrote:
>
>> Hi,
>>
>> I’ve loved to see message-smileys in effect and how it allows me to keep
>> show-paren working when I’m writing texts with smileys (I didn’t think
>> it would be that simple and straightforward), however, I think it would
>> be interesting to make them regexps, or to put \\< and \\> somewhere
>> because currently, if I define the smiley “x)”, it means if the last
>> word in a parenthesis end with “x”, the parenthesis is not matched,
>> while if I use “ x)”, and the smiley “x)” is at the beginning of a line,
>> the smiley is not matched…
>>
>> Are there other solutions?
>
> Would that be useful?
>
> http://mbork.pl/2015-10-17_xkcd-541_mode

Maybe, afaik it is through matching and fontification too that
message-smileys work right?  so if what you were trying to say is
tweaking the current implementation so to support, too, one unique
regexp (btw his regexp suffer from just the same problem with the letter
“B”), maybe made with regexp-opt or rx, I’ll try when I have more time,
but not now then.



reply via email to

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