unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: lennart.borgman.073@student.lu.se, emacs-devel@gnu.org
Subject: Re: Select and Paste
Date: Fri, 01 Dec 2006 17:02:14 -0500	[thread overview]
Message-ID: <E1GqGSU-0002iS-C7@fencepost.gnu.org> (raw)
In-Reply-To: <u3b7zal0w.fsf@gnu.org> (message from Eli Zaretskii on Fri, 01 Dec 2006 13:54:55 +0200)

    > That seems like a bug, but it doesn't happen when I try it,
    > and the code checks buffer-read-only.  Can you debug why it
    > fails for you?

    The fact that Paste and Select and Paste behave differently is not a
    bug: Paste could be enabled because Emacs sees text in the X selection
    (or the Windows clipboard).  In that case, if the Emacs kill-ring is
    empty, Select and Paste will be disabled.

Both of these have conditions of the form (and ... (not buffer-read-only)),
so I don't see how either of them could be enabled in a read-only buffer
regardless of other circumstances.

The same is true of Cut.

Can anyone debug this?  Does anyone else see it fail this way?

  parent reply	other threads:[~2006-12-01 22:02 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-30  1:35 Select and Paste Lennart Borgman
2006-11-30 19:48 ` Richard Stallman
2006-12-01 11:54   ` Eli Zaretskii
2006-12-01 12:35     ` Kim F. Storm
2006-12-01 15:30       ` Lennart Borgman
2006-12-02 17:55         ` Richard Stallman
2006-12-02 20:54           ` Lennart Borgman
2006-12-01 22:02     ` Richard Stallman [this message]
2006-12-02 19:53       ` martin rudalics
2006-12-03  5:07         ` Richard Stallman
2006-12-03 10:04           ` martin rudalics
2006-12-01 14:35   ` Lennart Borgman
2006-12-01 20:21     ` Stuart D. Herring
2006-12-02 17:55     ` Richard Stallman

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1GqGSU-0002iS-C7@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman.073@student.lu.se \
    /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 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).