From unknown Fri Jun 20 05:27:26 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#2515 <2515@debbugs.gnu.org> To: bug#2515 <2515@debbugs.gnu.org> Subject: Status: 23.0.91; Documentation of clear-abbrev-table seems wrong Reply-To: bug#2515 <2515@debbugs.gnu.org> Date: Fri, 20 Jun 2025 12:27:26 +0000 retitle 2515 23.0.91; Documentation of clear-abbrev-table seems wrong reassign 2515 emacs submitter 2515 Leo severity 2515 normal thanks From sl392@cam.ac.uk Sat Feb 28 06:54:10 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 28 Feb 2009 14:54:10 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1SEs7nn020095 for ; Sat, 28 Feb 2009 06:54:08 -0800 Received: from mx10.gnu.org ([199.232.76.166]:38759) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LdQXb-0007aF-76 for emacs-pretest-bug@gnu.org; Sat, 28 Feb 2009 09:51:47 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LdQZp-0001ar-Ry for emacs-pretest-bug@gnu.org; Sat, 28 Feb 2009 09:54:06 -0500 Received: from ppsw-5.csi.cam.ac.uk ([131.111.8.135]:42717) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LdQZp-0001aj-GU for emacs-pretest-bug@gnu.org; Sat, 28 Feb 2009 09:54:05 -0500 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from smaug.linux.pwf.cam.ac.uk ([193.60.95.72]:43363) by ppsw-5.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.155]:587) with esmtpsa (LOGIN:sl392) (TLSv1:DHE-RSA-AES256-SHA:256) id 1LdQZp-0005KP-GA (Exim 4.70) for emacs-pretest-bug@gnu.org (return-path ); Sat, 28 Feb 2009 14:54:05 +0000 From: Leo To: emacs-pretest-bug@gnu.org Subject: 23.0.91; Documentation of clear-abbrev-table seems wrong Date: Sat, 28 Feb 2009 14:54:04 +0000 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: "Leo, Shidai Liu" X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing lis= t. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: I came across: ,----[ (info "(elisp)Abbrev Tables") ] | -- =BA=AF=CA=FD: clear-abbrev-table table | This function undefines all the abbrevs in abbrev table TABLE, | leaving it empty. It always returns `nil'. `---- However after experimenting with it, I have the impression that it returns the number of abbrevs being cleared. Please take a look at this. Leo From cyd@stupidchicken.com Sun Mar 1 11:23:47 2009 Received: (at 2515-done) by emacsbugs.donarmstrong.com; 1 Mar 2009 19:23:48 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n21JNjQU013720 for <2515-done@emacsbugs.donarmstrong.com>; Sun, 1 Mar 2009 11:23:46 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id 3F41557E21A; Sun, 1 Mar 2009 14:24:50 -0500 (EST) From: Chong Yidong To: Leo Cc: 2515-done@debbugs.gnu.org Subject: Re: 23.0.91; Documentation of clear-abbrev-table seems wrong Date: Sun, 01 Mar 2009 14:24:50 -0500 Message-ID: <87wsb9avwd.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > ,----[ (info "(elisp)Abbrev Tables") ] > | -- clear-abbrev-table table > | This function undefines all the abbrevs in abbrev table TABLE, > | leaving it empty. It always returns `nil'. > `---- > > However after experimenting with it, I have the impression that it > returns the number of abbrevs being cleared. I've changed the code to ensure that clear-abbrev-table always returns nil, as it did in Emacs 22. Thanks. From unknown Fri Jun 20 05:27:26 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Mon, 30 Mar 2009 14:24:07 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator