From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Tak Ota Newsgroups: gmane.emacs.devel Subject: lost argument and doc string Date: Sat, 09 Feb 2002 22:59:05 -0800 (PST) Organization: Sony Electronics Inc. Message-ID: <20020209.225905.01368760.Takaaki.Ota@am.sony.com> NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: quimby2.netfonds.no 1013324987 29117 195.204.10.66 (10 Feb 2002 07:09:47 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 10 Feb 2002 07:09:47 GMT Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16Zo7O-0007ZX-00 for ; Sun, 10 Feb 2002 08:09:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16Zny4-0008AP-00; Sun, 10 Feb 2002 02:00:08 -0500 Original-Received: from mail6.fw-sj.sony.com ([160.33.82.73]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16ZnxA-00087j-00 for ; Sun, 10 Feb 2002 01:59:12 -0500 Original-Received: from mail1.bc.in.sel.sony.com (mail1.bc.in.sel.sony.com [43.144.65.11]) by mail6.fw-sj.sony.com (8.8.8/8.8.8) with ESMTP id GAA07329 for ; Sun, 10 Feb 2002 06:54:31 GMT Original-Received: by mail1.bc.in.sel.sony.com id GAA20151; Sun, 10 Feb 2002 06:59:08 GMT Original-To: emacs-devel@gnu.org X-Telephone: +1-858-942-3239 X-Fax------: +1-858-942-9142 X-SnailMail: 16450 West Bernardo Drive MZ7205, San Diego, CA 92127-1804 X-Mailer: Mew version 3.0.52 on Emacs 21.2.50.1 / Mule 5.0 (SAKAKI) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:946 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:946 In 21.2.50 some functions in simple.el have lost their arguments. For example, C-h f line-number-mode shows line-number-mode is an interactive compiled Lisp function in `simple'. It is bound to . (line-number-mode) Toggle whether to show the current line number in the mode-line. where ARG and the doc string are gone. It is the same for `column-number-mode'. In the vicinity of these functions in simple.el `overwrite-mode' and `binary-overwrite-mode' do retain the ARG however lost the doc string. The functions missing the argument is really compiled that way. For example, evaluating (line-number-mode 1) causes an error as Debugger entered--Lisp error: (wrong-number-of-arguments #[nil "..." [line-number-mode message "Line number mode %s" "enabled" "disabled"] 3 "Toggle whether to show the current line number in the mode-line." nil] 1) line-number-mode(1) eval((line-number-mode 1)) eval-expression((line-number-mode 1) nil) * call-interactively(eval-expression) Above tested under -q --no-site-file. -Tak _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel