all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Garreau\, Alexandre" <galex-713@galex-713.eu>
To: Marcin Borkowski <mbork@mbork.pl>
Cc: help-gnu-emacs@gnu.org
Subject: Re: message-smileys boundaries
Date: Sun, 21 Oct 2018 04:53:02 +0200	[thread overview]
Message-ID: <87y3as80z5.fsf@portable.galex-713.eu> (raw)
In-Reply-To: <877eidt587.fsf@mbork.pl> (Marcin Borkowski's message of "Sat, 20 Oct 2018 10:03:20 +0200")

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.



      parent reply	other threads:[~2018-10-21  2:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-14 23:35 message-smileys boundaries Garreau, Alexandre
2018-10-20  8:03 ` Marcin Borkowski
2018-10-20  8:38   ` tomas
2018-10-21  2:53   ` Garreau, Alexandre [this message]

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=87y3as80z5.fsf@portable.galex-713.eu \
    --to=galex-713@galex-713.eu \
    --cc=help-gnu-emacs@gnu.org \
    --cc=mbork@mbork.pl \
    /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.