From: Eli Zaretskii <eliz@gnu.org>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 6944-done@debbugs.gnu.org
Subject: bug#6944: Paste in Edit menu not active at start
Date: Mon, 30 Aug 2010 21:12:26 +0300 [thread overview]
Message-ID: <83vd6sj7g5.fsf@gnu.org> (raw)
In-Reply-To: <87bp8kxaq7.fsf@stupidchicken.com>
> From: Chong Yidong <cyd@stupidchicken.com>
> Cc: Lennart Borgman <lennart.borgman@gmail.com>, 6944@debbugs.gnu.org
> Date: Mon, 30 Aug 2010 13:37:52 -0400
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > (define-key menu-bar-edit-menu [paste]
> > `(menu-item ,(purecopy "Paste") yank
> > :enable (and (or
> > ;; Emacs compiled --without-x doesn't have
> > ;; x-selection-exists-p.
> > (and (fboundp 'x-selection-exists-p)
> > (x-selection-exists-p))
> > kill-ring)
> > (not buffer-read-only))
> >
> > I can easily fix that with an MS-Windows specific change, but I'm
> > actually surprised we don't call (x-selection-exists-p 'CLIPBOARD)
> > here: isn't C-y supposed to yank from the clipboard, not from PRIMARY?
> > If we use 'CLIPBOARD, the code will work on Windows without any
> > changes.
>
> Yes, please make the change. This looks like an oversight.
Done.
prev parent reply other threads:[~2010-08-30 18:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-30 10:32 bug#6944: Paste in Edit menu not active at start Lennart Borgman
2010-08-30 12:49 ` Stephen Berman
2010-08-30 16:56 ` Eli Zaretskii
2010-08-30 17:37 ` Chong Yidong
2010-08-30 18:12 ` Eli Zaretskii [this message]
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=83vd6sj7g5.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=6944-done@debbugs.gnu.org \
--cc=cyd@stupidchicken.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 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).