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: Uwe Brauer
Subject: Re: did the abbrev mechanism ever expand «two words» to «two different words».
Date: Thu, 07 Jan 2021 21:29:42 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>>> "EZ" == Eli Zaretskii <eliz@gnu.org> writes:

>> 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.


Yeah makes sense, but is there or was some package that would allow to
replace several strings by several other strings, in my case

 "a que" a "a qué"

I thought I had used that functionality, hm 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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