unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7465: 24.0.50; transient-mark-mode customization UI is confusing
@ 2010-11-22 15:21 Stephen Berman
  2010-11-22 16:15 ` Drew Adams
  2010-12-04 21:15 ` Chong Yidong
  0 siblings, 2 replies; 3+ messages in thread
From: Stephen Berman @ 2010-11-22 15:21 UTC (permalink / raw)
  To: 7465

1. emacs -Q
2. M-x customize-option RET transient-mark-mode RET
=>
The complete text of the doc string is displayed, as usual, but here it
is confusing, because the values `lambda' and `(only . OLDVAL)' cannot
be entered, since only toggling on-off is allowed.  As noted in the
Elisp manual, these values are intended for Lisp programs, so they
should not be mentioned in the Custom interface, which is concerned with
user settings.

In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.18.6)
 of 2010-11-22 on escher
Windowing system distributor `The X.Org Foundation', version 11.0.10605000
configured using `configure  '--without-toolkit-scroll-bars''





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#7465: 24.0.50; transient-mark-mode customization UI is confusing
  2010-11-22 15:21 bug#7465: 24.0.50; transient-mark-mode customization UI is confusing Stephen Berman
@ 2010-11-22 16:15 ` Drew Adams
  2010-12-04 21:15 ` Chong Yidong
  1 sibling, 0 replies; 3+ messages in thread
From: Drew Adams @ 2010-11-22 16:15 UTC (permalink / raw)
  To: 'Stephen Berman', 7465

> The complete text of the doc string is displayed, as usual, 
> but here it is confusing, because the values `lambda' and
> `(only . OLDVAL)' cannot be entered, since only toggling
> on-off is allowed.  As noted in the Elisp manual, these
> values are intended for Lisp programs, so they should not
> be mentioned in the Custom interface, which is concerned with
> user settings.

Users, even users of Customize, can also use Emacs Lisp.  The complete doc
string should always be available in Customize, and the Lisp interface should be
described in the doc string (not just the Customize interface).

However, you have a point in that the Lisp description is not identified as such
here, so this text can indeed be confusing to users.  The correct fix is to
introduce the description of the Lisp values by saying that these are the values
used in Lisp code.

Also, the text should not say that "non-nil _also_ enables highlighting...", for
this highlighting is a big part of what t-m mode is all about.  Please remove
"also" here.







^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#7465: 24.0.50; transient-mark-mode customization UI is confusing
  2010-11-22 15:21 bug#7465: 24.0.50; transient-mark-mode customization UI is confusing Stephen Berman
  2010-11-22 16:15 ` Drew Adams
@ 2010-12-04 21:15 ` Chong Yidong
  1 sibling, 0 replies; 3+ messages in thread
From: Chong Yidong @ 2010-12-04 21:15 UTC (permalink / raw)
  To: Stephen Berman; +Cc: 7465

Stephen Berman <stephen.berman@gmx.net> writes:

> The complete text of the doc string is displayed, as usual, but here it
> is confusing, because the values `lambda' and `(only . OLDVAL)' cannot
> be entered, since only toggling on-off is allowed.  As noted in the
> Elisp manual, these values are intended for Lisp programs, so they
> should not be mentioned in the Custom interface, which is concerned with
> user settings.

I noted explicitly in the docstring that these values are meant for
Lisp.  Thanks.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-12-04 21:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-22 15:21 bug#7465: 24.0.50; transient-mark-mode customization UI is confusing Stephen Berman
2010-11-22 16:15 ` Drew Adams
2010-12-04 21:15 ` Chong Yidong

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).