[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: |
Fri, 08 Jan 2021 16:23:49 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>>> "RP" == Robert Pluim <rpluim@gmail.com> writes:
>> To make matter worse, I added your suggestion to my old
>> fundamental-mode-abbrev-table restarted emacs and then *nothing* was
>> expanded.
>>
>> I am puzzled
>>
> Hmm, so am I. Youʼre right, what I sent doesnʼt work, but this does:
> (define-abbrev-table 'fundamental-mode-abbrev-table
> '(
> ("a que" "a qué" nil :count 0))
> "Uwe's table"
> :regexp "\\(\\w+ \\w+\\)")
Right, thanks, however good and bad news.
I am using
(define-abbrev-table 'fundamental-mode-abbrev-table
'(
("a que" "a qué" nil :count 0)
("asi" "así" nil :count 0))
"Uwe's table"
:regexp "\\(\\w+ \\w+\\)")
1. It works in the sense that "a que" is expanded to "a qué"
2. But now asi is *not* expanded to así
The reasons seems to me that what you did is globally for the whole
table, while I hoped it could be done locally for each entry.
Am I correct?
smime.p7s
Description: S/MIME cryptographic signature
- 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, 2021/01/07
- 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 <=
- 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
- Re: did the abbrev mechanism ever expand «two words» to «two different words»., Uwe Brauer, 2021/01/09
- [BUG? write-abbrev-file destroys this construction] (was: did the abbrev mechanism ever expand «two words» to «two different words».), Uwe Brauer, 2021/01/09
Re: did the abbrev mechanism ever expand «two words» to «two different words»., Richard Stallman, 2021/01/09