all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tak Ota <Takaaki.Ota@am.sony.com>
Subject: lost argument and doc string
Date: Sat, 09 Feb 2002 22:59:05 -0800 (PST)	[thread overview]
Message-ID: <20020209.225905.01368760.Takaaki.Ota@am.sony.com> (raw)

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 <menu-bar> <options> <showhide> <line-number-mode>.
    (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


             reply	other threads:[~2002-02-10  6:59 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-10  6:59 Tak Ota [this message]
2002-02-10 17:08 ` lost argument and doc string Eli Zaretskii
2002-02-10 17:32   ` Pavel Janík
2002-02-10 23:28     ` Tak Ota
2002-02-11  5:48       ` Pavel Janík
2002-02-11  5:48       ` Eli Zaretskii
2002-02-11 16:34         ` Juanma Barranquero
2002-02-11 19:37           ` Eli Zaretskii
2002-02-12  2:32             ` Tak Ota
2002-02-12  8:35               ` Eli Zaretskii
2002-02-12 14:23                 ` Tak Ota
2002-02-12 18:57                   ` Jason Rumney
2002-02-12 19:48                     ` Tak Ota
2002-02-13  5:43                       ` Eli Zaretskii
2002-02-13  6:01                         ` Tak Ota
2002-02-13 13:40                         ` Andreas Schwab
2002-02-13 14:23                           ` Eli Zaretskii
2002-02-13 19:50                       ` Jason Rumney
2002-02-13 20:22                         ` Tak Ota
2002-02-13 21:02                           ` Jason Rumney
2002-02-14  7:36                             ` Tak Ota
2002-02-15 10:36                               ` Richard Stallman
2002-02-15 20:36                                 ` Tak Ota
2002-02-13 21:00                         ` Tak Ota
2002-02-14  3:11                     ` Richard Stallman
2002-02-14 15:13                       ` Tak Ota
2002-02-13 15:37                 ` Richard Stallman
2002-02-11 18:48       ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020209.225905.01368760.Takaaki.Ota@am.sony.com \
    --to=takaaki.ota@am.sony.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.