unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#29924: 25.3; write-abbrev-file does not preserve abbrev properties
@ 2018-01-01  3:47 Allen Li
  2018-01-01  4:18 ` bug#29924: [PATCH] Preserve special abbrev properties when writing Allen Li
  0 siblings, 1 reply; 10+ messages in thread
From: Allen Li @ 2018-01-01  3:47 UTC (permalink / raw)
  To: 29924

Steps:

Create abbrevs_defs file with contents:

  (define-abbrev-table 'python-mode-abbrev-table
    '(
      ("NT" "NamedTuple" nil :count 0 :case-fixed t)
     ))

Load abbrevs_defs.  Write abbrevs with write-abbrev-file

Expected: File contains something like:

  (define-abbrev-table 'python-mode-abbrev-table
    '(
      ("NT" "NamedTuple" nil :count 0 :case-fixed t)
     ))

Actual:  :case-fixed is missing:

  (define-abbrev-table 'python-mode-abbrev-table
    '(
      ("NT" "NamedTuple" nil 0)
     ))

In GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.26)
 of 2017-12-04 built on arojas
Windowing system distributor 'The X.Org Foundation', version 11.0.11905000
Configured using:
 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-modules
 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
 -fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-02-17 14:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-01  3:47 bug#29924: 25.3; write-abbrev-file does not preserve abbrev properties Allen Li
2018-01-01  4:18 ` bug#29924: [PATCH] Preserve special abbrev properties when writing Allen Li
2018-01-23  8:19   ` Allen Li
2018-01-27  2:12     ` Noam Postavsky
2018-01-27  2:48       ` Allen Li
2018-01-27 12:19         ` Noam Postavsky
2018-01-30 21:49           ` Allen Li
2018-02-01  2:12             ` Noam Postavsky
2018-02-16  5:40               ` Allen Li
2018-02-17 14:11                 ` Noam Postavsky

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).