unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* non-functioning abbrev mode
@ 2020-01-12 19:20 ken
  2020-01-12 19:43 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: ken @ 2020-01-12 19:20 UTC (permalink / raw)
  To: GNU Emacs List

It must be twenty years now that I've been using abbrev mode, never with
a problem.  But a few days ago it ceased working.  For instance, one
common abbrev "wtih" is automatically replaced by "with".  This has
always worked fine.  But now, although it says "Abbrev" on the status
line, nothing happens when I type "wtih".

Perhaps a related problem, the "abbrev-save" function appears to no
longer exist.





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

* Re: non-functioning abbrev mode
  2020-01-12 19:20 non-functioning abbrev mode ken
@ 2020-01-12 19:43 ` Eli Zaretskii
  2020-01-24  0:36   ` ken
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2020-01-12 19:43 UTC (permalink / raw)
  To: help-gnu-emacs

> From: ken <gebser@mousecar.com>
> Date: Sun, 12 Jan 2020 14:20:04 -0500
> 
> It must be twenty years now that I've been using abbrev mode, never with
> a problem.  But a few days ago it ceased working.  For instance, one
> common abbrev "wtih" is automatically replaced by "with".  This has
> always worked fine.  But now, although it says "Abbrev" on the status
> line, nothing happens when I type "wtih".

Crystal ball says your abbrev_defs file disappeared or got corrupted.

> Perhaps a related problem, the "abbrev-save" function appears to no
> longer exist.

There was never such a function in Emacs, AFAICT.  Maybe it's
something you defined in your init files?  There's a _variable_ named
save-abbrevs, though.



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

* Re: non-functioning abbrev mode
  2020-01-12 19:43 ` Eli Zaretskii
@ 2020-01-24  0:36   ` ken
  0 siblings, 0 replies; 3+ messages in thread
From: ken @ 2020-01-24  0:36 UTC (permalink / raw)
  To: help-gnu-emacs

On 1/12/20 2:43 PM, Eli Zaretskii wrote:
>> From: ken <gebser@mousecar.com>
>> Date: Sun, 12 Jan 2020 14:20:04 -0500
>>
>> It must be twenty years now that I've been using abbrev mode, never with
>> a problem.  But a few days ago it ceased working.  For instance, one
>> common abbrev "wtih" is automatically replaced by "with".  This has
>> always worked fine.  But now, although it says "Abbrev" on the status
>> line, nothing happens when I type "wtih".
> Crystal ball says your abbrev_defs file disappeared or got corrupted.

Your crystal ball works pretty good.  I don't know how it might have
gotten corrupted, but when I swapped in a backup, normality returned. 
Thanks for the prognostication.


>> Perhaps a related problem, the "abbrev-save" function appears to no
>> longer exist.
> There was never such a function in Emacs, AFAICT.  Maybe it's
> something you defined in your init files?  There's a _variable_ named
> save-abbrevs, though.

Yeah, I must have been thinking twenty or thirty years back in ancient
emacs history.  What I was looking for was write-abbrevs... and it works.





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

end of thread, other threads:[~2020-01-24  0:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-12 19:20 non-functioning abbrev mode ken
2020-01-12 19:43 ` Eli Zaretskii
2020-01-24  0:36   ` ken

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).