unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
Cc: lennart.borgman.073@student.lu.se, emacs-devel@gnu.org
Subject: Re: Select and Paste
Date: Fri, 01 Dec 2006 13:54:55 +0200	[thread overview]
Message-ID: <u3b7zal0w.fsf@gnu.org> (raw)
In-Reply-To: <E1Gprtj-0006cx-Az@fencepost.gnu.org> (message from Richard Stallman on Thu, 30 Nov 2006 14:48:43 -0500)

> From: Richard Stallman <rms@gnu.org>
> Date: Thu, 30 Nov 2006 14:48:43 -0500
> Cc: emacs-devel@gnu.org
> 
>     is a very nice feature to have in the menus but maybe not the best name 
>     for it since "Select" in nearly the same context refers to selecting 
>     text in the buffer.
> 
>     Maybe "Paste More"?
> 
> How about Paste Menu?

How about "Paste From Menu"?

>     BTW "Paste" is enabled when you are in an info buffer, but "Select and 
>     Paste" is not.
> 
> 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.

As for the buffer-read-only test, I see that it doesn't work in more
than just Paste: for example, Cut also becomes enabled when I mark a
region in a read-only buffer.  I didn't have time to debug this,
though.

  reply	other threads:[~2006-12-01 11:54 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 [this message]
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
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=u3b7zal0w.fsf@gnu.org \
    --to=eliz@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).