[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: |
Sun, 07 Nov 2021 05:06:03 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Stefan Monnier via Users list for the GNU Emacs text editor wrote:
> In the mean time, you might be able to implement
> a `post-self-insert-hook` which runs expands your abbrevs.
> You could start with something like:
>
> (add-hook 'post-self-insert-hook #'my-expand-arrow-abbrevs)
> (defun my-expand-arrow-abbrevs ()
> (if (memq (char-before) '(?= ?< ?-))
> (expand-abbrev)))
Isn't it faster to type something, e.g. "leftarr" or
something, anyway? I mean, compared with typing "<-" ...
But I get it one would like it configurable anyway, and not
a bug.
--
underground experts united
https://dataswamp.org/~incal
- Re: non word abbrevs, (continued)
- Re: non word abbrevs, Stefan Monnier, 2021/11/01
- Re: non word abbrevs, Jean-Christophe Helary, 2021/11/06
- Re: non word abbrevs, Stefan Monnier, 2021/11/06
- Re: non word abbrevs, Jean-Christophe Helary, 2021/11/06
- Re: non word abbrevs, Stefan Monnier, 2021/11/06
- Re: non word abbrevs, Jean-Christophe Helary, 2021/11/06
- Re: non word abbrevs, Emanuel Berg, 2021/11/07
- Re: non word abbrevs, Kevin Vigouroux, 2021/11/08
- Re: non word abbrevs, Jean-Christophe Helary, 2021/11/08
- Re: non word abbrevs, Stefan Monnier, 2021/11/08
- Re: non word abbrevs,
Emanuel Berg <=