🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #88060

Can't Auto-Save Abbrevs via `C-x s'

#88060
From: overton
Date: Sun, 07 Aug 1994 04:25
44 lines
2136 bytes
In GNU Emacs 19.22.9 of Wed Apr 20 1994 on gargoyle (berkeley-unix)

Description
-----------
Abbreviations defined in an editing session do not automatically save
as described in the info node.  

Info-node (Abbreviations/Saving Abbrevs), says:

	Emacs will offer to save abbrevs automatically if you have
	changed any of them, whenever it offers to save all files (for
	`C-x s' or `C-x C-c').  This feature can be inhibited by
	setting the variable `save-abbrevs' to `nil'.

Settings
--------
I have these settings:
  (setq abbrev-file-name '"~/emacs/abbreviations")
  (setq save-abbrevs "t")
  (quietly-read-abbrev-file "~/emacs/abbreviations")

However, neither `C-x s' nor `C-x C-c' offers to save my abbreviation
file, along with other buffers.  So if I quit without explicitly
saving my abbreviations, I lose that session's abbreviations.

Example (Keystrokes)
--------------------
1) overton C-x a g mmm

2) C-x s.  This prompts to save unsaved buffers, but does not prompt
   to save `~/emacs/abbreviations'.  And sure enough, abbreviations
   are not saved.  (NOTE: Neither does C-x C-c prompt to (or actually)
   save `~/emacs/abbreviations'.)


Is this a known bug?  Is there a work-around?  

I have been using lemacs (with about 1000 abbreviations distributed
across different modes), and would like to switch over to gemacs, if
there is some solution to this problem.

Thanks,

-John Overton
Technical Details
Message-ID: <9408031745.AA12845@rose.uchicago.edu>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!sun.cais.com!io.org!uunet.ca!uunet.ca!spool.mu.edu!sdd.hp.com!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!cs.uchicago.edu!overton

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,99a389e80d85a90c,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-08-07 07:52:55 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!sun.cais.com!io.org!uunet.ca!uunet.ca!spool.mu.edu!sdd.hp.com!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!cs.uchicago.edu!overton
From: overton@cs.uchicago.edu
Newsgroups: gnu.emacs.bug
Subject: Can't Auto-Save Abbrevs via `C-x s'
Date: 7 Aug 1994 00:25:31 -0400
Organization: GNUs Not Usenet
Lines: 46
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <9408031745.AA12845@rose.uchicago.edu>