unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Allen Li <vianchielfaura@gmail.com>
To: 29923@debbugs.gnu.org
Subject: bug#29923: 25.3; write-abbrev-file inserts many empty tables
Date: Sun, 31 Dec 2017 19:44:07 -0800	[thread overview]
Message-ID: <CAJr1M6fXbODdTwi-0LoQmU-Lf1KkztXPt8dp1ty_hs_ZPnZLsg@mail.gmail.com> (raw)

write-abbrev-file write a lot of empty tables.  e.g.

  (define-abbrev-table 'Buffer-menu-mode-abbrev-table '())

  (define-abbrev-table 'Info-edit-mode-abbrev-table '())

  (define-abbrev-table 'awk-mode-abbrev-table '())

  (define-abbrev-table 'bibtex-mode-abbrev-table '())

  (define-abbrev-table 'bookmark-bmenu-mode-abbrev-table '())

  (define-abbrev-table 'bookmark-edit-annotation-mode-abbrev-table '())

  (define-abbrev-table 'c++-mode-abbrev-table '())

  (define-abbrev-table 'c-mode-abbrev-table '())

It would be better (e.g., for managing abbrevs together with Emacs
configuration with version control) if empty tables were not written.

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'





             reply	other threads:[~2018-01-01  3:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-01  3:44 Allen Li [this message]
2018-01-01  4:36 ` bug#29923: [PATCH] Skip writing empty abbrev tables Allen Li
2018-09-09 20:43   ` Noam Postavsky
2018-09-15  1:22     ` Allen Li
2018-09-18 22:53       ` Noam Postavsky
2018-09-19  2:55         ` Allen Li
2018-09-19  6:04           ` Andreas Röhler
2018-09-26  9:03             ` Allen Li
2018-09-19  6:44           ` Eli Zaretskii
2018-09-26  9:01             ` Allen Li
2018-09-29  7:29               ` Eli Zaretskii
2018-09-09  0:31 ` bug#29923: 25.3; write-abbrev-file inserts many empty tables Allen Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJr1M6fXbODdTwi-0LoQmU-Lf1KkztXPt8dp1ty_hs_ZPnZLsg@mail.gmail.com \
    --to=vianchielfaura@gmail.com \
    --cc=29923@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).