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

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

Re: non word abbrevs


From: Emanuel Berg
Subject: Re: non word abbrevs
Date: Mon, 01 Nov 2021 11:54:05 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Jean-Christophe Helary wrote:

> (define-abbrev-table 'arrows-abbrev-table
>   '(("->" "→")
>     ("<-"  "←")
>     ("<->" "⇆")
>     ("==>" "⇒")
>     ("<==" "⇐")
>     ("<=>" "⇔")
>     )
>     "Arrows as defined on my macOS side."
>     :regexp "\(<?[-=]>?\)")
>
> I must be missing something. I evaluate the expression but
> the abbrevs do not work.

Try with just one arrow - the simplest - and see if you can
find the regexp that works for that ...

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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