GNU bug report logs -
#45693
28.0.50; abbrev does not expand two words any more
Previous Next
Full log
Message #23 received at 45693 <at> debbugs.gnu.org (full text, mbox):
Uwe Brauer <oub <at> mat.ucm.es> writes:
> The part
> (define-abbrev-table 'my-abbrev-table
> '(
> ("a que" "a qué" nil :count 0))
> "Uwe's table"
> :regexp "\\(\\w+ \\w+\\)")
>
> Is gone!
Yes, and it gets worse. You can get around the 'setq
local-abbrev-table' issue by using the ':parents' property:
(define-abbrev-table 'fundamental-mode-abbrev-table
'(
("asi" "así" nil :count 0))
"Fundamental"
:parents (list my-abbrev-table))
(define-abbrev-table 'my-abbrev-table
'(
("a que" "a qué" nil :count 0))
"Uwe's table"
:regexp "\\(\\w+ \\w+\\)")
but write-abbrev-table then produces the following abbrev file:
;;-*-coding: utf-8;-*-
(define-abbrev-table 'fundamental-mode-abbrev-table
'(
("asi" "así" nil :count 1)
))
(define-abbrev-table 'my-abbrev-table
'(
("a que" "a qué" nil :count 1)
))
so write-abbrev-file doesnʼt write any of the properties specified in
define-abbrev-table to the abbrev file.
Robert
This bug report was last modified 4 years and 212 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.