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

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

Re: non word abbrevs


From: Jean-Christophe Helary
Subject: Re: non word abbrevs
Date: Sat, 6 Nov 2021 17:20:58 +0900

Ok, so this time I try your regexp (thank you by the way):

> On Nov 1, 2021, at 21:13, Jean-Christophe Helary <lists@traduction-libre.org> 
> wrote:


(define-abbrev-table 'arrows-abbrev-table
 '(("->" "→")
   ("<-"  "←")
   ("<->" "⇆")
   ("==>" "⇒")
   ("<==" "⇐")
   ("<=>" "⇔")
   )
   "Arrows as defined on my macOS side."
   :regexp "[^<>=-]\\([<>=-]+\\)")

(setq local-abbrev-table arrows-abbrev-table)

and I have the abbrev-mode enabled in the *scratch* buffer where I run that, 
and nothing happens when I type -> for ex... 😢

-- 
Jean-Christophe Helary @brandelune
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/




reply via email to

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