emacs-devel
[Top][All Lists]
Advanced

[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:15:23 +0200

> From: Uwe Brauer <oub@mat.ucm.es>
> Date: Thu, 07 Jan 2021 21:10:54 +0100
> 
> I open an empty file in fundamental mode turn abbrev mode on
> 
> And type 
> 
>  asi --> así  So the expansion works
> 
> However 
> 
>  "a que" is NOT expanded to "a qué"
> 
> As indicated in the table. I am pretty sure that worked some time ago. 

I doubt it.  From the Emacs manual:

  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.



reply via email to

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