From unknown Thu Jun 19 14:10:50 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2515: 23.0.91; Documentation of clear-abbrev-table seems wrong Reply-To: Leo , 2515@debbugs.gnu.org Resent-From: Leo Original-Sender: "Leo, Shidai Liu" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 28 Feb 2009 15:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 2515 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123583285020101 (code B ref -1); Sat, 28 Feb 2009 15:00:02 +0000 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 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 unknown Thu Jun 19 14:10:50 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Leo Subject: bug#2515 closed by Chong Yidong (Re: 23.0.91; Documentation of clear-abbrev-table seems wrong) Message-ID: References: <87wsb9avwd.fsf@cyd.mit.edu> X-Emacs-PR-Message: they-closed 2515 X-Emacs-PR-Package: emacs Reply-To: 2515@debbugs.gnu.org Date: Sun, 01 Mar 2009 19:30:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1235935803-15027-1" This is a multi-part message in MIME format... ------------=_1235935803-15027-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #2515: 23.0.91; Documentation of clear-abbrev-table seems wrong It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 2515: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D2515 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1235935803-15027-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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. ------------=_1235935803-15027-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 ------------=_1235935803-15027-1--