all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 11361@debbugs.gnu.org
Subject: bug#11361: 24.1.50; doc string of `yank-pop-change-selection'
Date: Fri, 27 Apr 2012 18:46:03 +0300	[thread overview]
Message-ID: <83obqdgouc.fsf@gnu.org> (raw)
In-Reply-To: <21F070A715AC494CAD3EBDD54749EE53@us.oracle.com>

> From: "Drew Adams" <drew.adams@oracle.com>
> Cc: <11361@debbugs.gnu.org>
> Date: Fri, 27 Apr 2012 08:34:36 -0700
> 
> > > How is it changed by setting this to non-nil?  What do nil 
> > > and non-nil actually do?
> > 
> > The nil value doesn't do anything, obviously.
> 
> There must be a difference in behavior between nil and non-nil (or else it is
> not only the doc string that is problematic).  That's the point.

A non-nil value changes the default behavior in the way that is
documented.  A nil value does not make that change, that's all.  I see
no need to say obvious things like that; I wonder why you do.

> Instead of playing word games, try clarifying what this option does.  What does
> it mean to "change" the "window system selection"?  Change it how?  Change it to
> what?  From what?

I suggested to use "set" instead of "change", for that very reason.

> As I said:
> > See the Emacs manual, node Clipboard (presumably) for inspiration.

There's more than one way to cut a cake.  The issue here is why this
particular way is "useless".  I think it needs small improvements,
like I suggested, but that's all.

>  "if you change `yank-pop-change-selection' to `t', then `M-y'
>   saves the new yank to the clipboard."
> 
> That at least is clear.

Is it?  What is a "yank"? what is a "clipboard"?  And why an option is
called yank-pop-change-SELECTION when it affects the clipboard?  Etc.,
etc., ad nauseam.





  reply	other threads:[~2012-04-27 15:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-27 14:18 bug#11361: 24.1.50; doc string of `yank-pop-change-selection' Drew Adams
2012-04-27 14:58 ` Eli Zaretskii
2012-04-27 15:34   ` Drew Adams
2012-04-27 15:46     ` Eli Zaretskii [this message]
2012-07-07  9:35       ` Chong Yidong
2012-07-07 15:35         ` Drew Adams

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=83obqdgouc.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=11361@debbugs.gnu.org \
    --cc=drew.adams@oracle.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.