GNU bug report logs - #6944
Paste in Edit menu not active at start

Previous Next

Package: emacs;

Reported by: Lennart Borgman <lennart.borgman <at> gmail.com>

Date: Mon, 30 Aug 2010 11:07:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#6944: closed (Paste in Edit menu not active at start)
Date: Mon, 30 Aug 2010 18:10:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 30 Aug 2010 21:12:26 +0300
with message-id <83vd6sj7g5.fsf <at> gnu.org>
and subject line Re: bug#6944: Paste in Edit menu not active at start
has caused the GNU bug report #6944,
regarding Paste in Edit menu not active at start
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
6944: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6944
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Emacs Bugs <bug-gnu-emacs <at> gnu.org>
Subject: Paste in Edit menu not active at start
Date: Mon, 30 Aug 2010 12:32:56 +0200
After starting Emacs with "emacs -Q" the "Paste" alternative is not
active in the menu even though C-y works.


In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2010-08-10
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags
-Ic:/g/include -fno-crossjumping'


[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: lennart.borgman <at> gmail.com, 6944-done <at> debbugs.gnu.org
Subject: Re: bug#6944: Paste in Edit menu not active at start
Date: Mon, 30 Aug 2010 21:12:26 +0300
> From: Chong Yidong <cyd <at> stupidchicken.com>
> Cc: Lennart Borgman <lennart.borgman <at> gmail.com>, 6944 <at> debbugs.gnu.org
> Date: Mon, 30 Aug 2010 13:37:52 -0400
> 
> Eli Zaretskii <eliz <at> 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.


This bug report was last modified 14 years and 346 days ago.

Previous Next


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