🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98576

It is not possible to remove an abbreviation.

#98576
From: Inge Frick
Date: Fri, 26 Apr 1991 15:09
14 lines
1462 bytes
To be more precise, the only way to remove an abbreviation is to remove all
abbreviations from an abbreviation table and the again define the abbreviations
you wont to keep.
The bug is in define-abbrev: According to the documentation, if the third
argument (the expansion) is nil the abbreviation is removed. What really
happens is that one gets an error message "Wrong type stringp, nil". If one
looks at the code for define-abbrev it is easy to see wy this happens. The code
to take care of the special case when the expansion is nil and not a string,
is not there.
I have checked this in emacs version 18.55 and 18.57.
--
Inge Frick                                Tel: +46 8 7908193
Postal address: Inge Frick, NADA, KTH, S-100 44  Stockholm, Sweden
Internet: inge@nada.kth.se  UUCP: {uunet,mcvax..}!enea!nada.kth.se!inge
Technical Details
Message-ID: <INGE.91Apr26170909@inge.nada.kth.se>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!unreplyable!garbage

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,12dc68585b14bc6c,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-04-27 02:01:25 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!unreplyable!garbage
From: inge@NADA.KTH.SE (Inge Frick)
Newsgroups: gnu.emacs.bug
Subject: It is not possible to remove an abbreviation.
Message-ID: <INGE.91Apr26170909@inge.nada.kth.se>
Date: 26 Apr 91 15:09:23 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: Royal Institute of Technology, Stockholm, Sweden
Lines: 14
Approved: bug-gnu-emacs@prep.ai.mit.edu