[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: did the abbrev mechanism ever expand «two words» to «two different w
From: |
Eli Zaretskii |
Subject: |
Re: did the abbrev mechanism ever expand «two words» to «two different words». |
Date: |
Thu, 07 Jan 2021 22:40:12 +0200 |
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Uwe Brauer <oub@mat.ucm.es>, emacs-devel@gnu.org
> Date: Thu, 07 Jan 2021 15:36:52 -0500
>
> > An “abbrev” is a word that has been defined to “expand” into a specified
> > “expansion”. When you insert a word-separator character following the
> > abbrev, that expands the abbrev—replacing the abbrev with its expansion.
> > For example, if ‘foo’ is defined as an abbrev expanding to ‘find outer
> > otter’, then typing ‘f o o .’ will insert ‘find outer otter.’.
> >
> > This mean a word-separator character cannot be part of an abbrev.
>
> That's true for the default behavior.
> Since Emacs-24, abbrev tables do support abbrevs whose name includes
> non-word characters, but it requires extra work on the part of the user
> in order to characterize the possible names via the `:regexp` property
> (see `C-h o define-abbrev-table`).
Then I guess we did a poor job of documenting that extension.
- did the abbrev mechanism ever expand «two words» to «two different words»., Uwe Brauer, 2021/01/07
- Re: did the abbrev mechanism ever expand «two words» to «two different words»., Eli Zaretskii, 2021/01/07
- Re: did the abbrev mechanism ever expand «two words» to «two different words»., Uwe Brauer, 2021/01/07
- Re: did the abbrev mechanism ever expand «two words» to «two different words»., Stefan Monnier, 2021/01/07
- Re: did the abbrev mechanism ever expand «two words» to «two different words».,
Eli Zaretskii <=
- Re: did the abbrev mechanism ever expand «two words» to «two different words»., Uwe Brauer, 2021/01/08
- Re: did the abbrev mechanism ever expand «two words» to «two different words»., Robert Pluim, 2021/01/08
- Re: did the abbrev mechanism ever expand «two words» to «two different words»., Uwe Brauer, 2021/01/08
- Re: did the abbrev mechanism ever expand «two words» to «two different words»., Robert Pluim, 2021/01/08
- Re: did the abbrev mechanism ever expand «two words» to «two different words»., Uwe Brauer, 2021/01/08
- Re: did the abbrev mechanism ever expand «two words» to «two different words»., Robert Pluim, 2021/01/08
- Re: did the abbrev mechanism ever expand «two words» to «two different words»., Uwe Brauer, 2021/01/08
- Re: did the abbrev mechanism ever expand «two words» to «two different words»., Stefan Monnier, 2021/01/08
- Re: did the abbrev mechanism ever expand «two words» to «two different words»., Uwe Brauer, 2021/01/08
- Re: did the abbrev mechanism ever expand «two words» to «two different words»., Eric S Fraga, 2021/01/09