GNU bug report logs - #5215
23.1.50; blink-cursor-mode docstring

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Tue, 15 Dec 2009 00:05:04 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Kevin Rodgers <kevin.d.rodgers <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Cc: emacs-pretest-bug <at> gnu.org
Subject: Re: bug#5215: 23.1.50; blink-cursor-mode docstring
Date: Tue, 15 Dec 2009 01:27:11 -0700
jidanni <at> jidanni.org wrote:
> One finds
> (custom-set-variables
>  '(blink-cursor-mode nil)...
> However
>   blink-cursor-mode is an interactive compiled Lisp function in...
>   With a numeric argument, turn blinking cursor mode on if ARG is
>   positive,...

According to its doc string, custom-set-variables sets each SYMBOL's
value cell.  It does not call each SYBMOL's function cell.

Do you understand the difference between a variable and a function?

> But only numeric arguments are mentioned. And a quick peek in the Emacs
> Lisp manual doesn't say if nil is a numeric argument. Therefore the
> docstring of blink-cursor-mode should be beefed up perhaps.
> 
> Compare
>   size-indication-mode is an interactive compiled Lisp function in...
>   With ARG, turn Size Indication mode on if ARG is positive...

-- 
Kevin Rodgers
Denver, Colorado, USA





This bug report was last modified 15 years and 132 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.