GNU bug report logs - #21315
25.0.50; doc of `kill-ring-save', `copy-region-as-kill' - bad

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Fri, 21 Aug 2015 17:19:02 UTC

Severity: minor

Found in version 25.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 21315 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Eli Zaretskii <eliz <at> gnu.org>, Drew Adams <drew.adams <at> oracle.com>
Cc: 21315 <at> debbugs.gnu.org, juri <at> linkov.net
Subject: RE: bug#21315: 25.0.50;	doc of `kill-ring-save',
 `copy-region-as-kill' - bad
Date: Sun, 6 Dec 2015 08:54:44 -0800 (PST)
> say this:
>   The optional argument REGION non-nil means to ignore BEG and END and
>   copy the region instead.

Yes.

(But I think we usually phrase that as: "Non-nil optional argument
REGION means...".)

> Also, we should tell that this distinction is only relevant to
> invoking these functions from Lisp programs, not interactively.

Yes.

  From Lisp, non-nil optional argument REGION means...

> As for the argument, AFAICT it makes no difference in interactive
> usage.

Yes, it is always non-nil interactively: `prefix-numeric-value'
never returns nil.

> Does documenting the above clarify the issue?

Yes, I think so.  Thx.




This bug report was last modified 9 years and 171 days ago.

Previous Next


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