unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* doc string of `diff' does not mention prefix arg
@ 2007-07-09 23:00 Drew Adams
  2007-07-09 23:36 ` Andreas Schwab
  0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2007-07-09 23:00 UTC (permalink / raw)
  To: Bug-Gnu-Emacs

The doc string of command `diff' should mention that if you supply a
prefix arg you are prompted for the diff switches.  Otherwise, there
is no way to know this.  If you somehow figure out that a prefix arg
calls function `diff-switches', you still can't know what it does,
because there is no doc string for `diff-switches' - it should have a
doc string.


In GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600)
 of 2007-06-02 on RELEASE
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -Ic:/gnuwin32/include'

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

* Re: doc string of `diff' does not mention prefix arg
  2007-07-09 23:00 doc string of `diff' does not mention prefix arg Drew Adams
@ 2007-07-09 23:36 ` Andreas Schwab
  2007-07-09 23:51   ` Drew Adams
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Schwab @ 2007-07-09 23:36 UTC (permalink / raw)
  To: Drew Adams; +Cc: Bug-Gnu-Emacs

"Drew Adams" <drew.adams@oracle.com> writes:

> The doc string of command `diff' should mention that if you supply a
> prefix arg you are prompted for the diff switches.

"With prefix arg, prompt for diff switches."

Copied directly from the doc string.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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

* RE: doc string of `diff' does not mention prefix arg
  2007-07-09 23:36 ` Andreas Schwab
@ 2007-07-09 23:51   ` Drew Adams
  0 siblings, 0 replies; 3+ messages in thread
From: Drew Adams @ 2007-07-09 23:51 UTC (permalink / raw)
  To: Bug-Gnu-Emacs

> > The doc string of command `diff' should mention that if you supply a
> > prefix arg you are prompted for the diff switches.
>
> "With prefix arg, prompt for diff switches."
>
> Copied directly from the doc string.

My bad; sorry for the noise. Thanks.

No excuse for my not seeing that, but don't we usually mention the
interactive use first? That is, wouldn't it be better to put the info about
C-u before the explanation of non-interactive arg NO-ASYNC? And to
explicitly call out that NO-ASYNC is for a non-interactive call?

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

end of thread, other threads:[~2007-07-09 23:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-09 23:00 doc string of `diff' does not mention prefix arg Drew Adams
2007-07-09 23:36 ` Andreas Schwab
2007-07-09 23:51   ` Drew Adams

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).