From: martin rudalics <rudalics@gmx.at>
Cc: lennart.borgman.073@student.lu.se, eliz@gnu.org, emacs-devel@gnu.org
Subject: Re: Select and Paste
Date: Sun, 03 Dec 2006 11:04:58 +0100 [thread overview]
Message-ID: <4572A14A.8070408@gmx.at> (raw)
In-Reply-To: <E1GqjZN-0001T2-Mc@fencepost.gnu.org>
[-- Attachment #1: Type: text/plain, Size: 64 bytes --]
Could people try whether the attached patch gives good results?
[-- Attachment #2: menu-bar.patch --]
[-- Type: text/plain, Size: 1253 bytes --]
*** menu-bar.el.~1.296.~ Sun Nov 19 18:04:18 2006
--- menu-bar.el Sun Dec 3 11:00:30 2006
***************
*** 502,512 ****
;; These are alternative definitions for the cut, paste and copy
;; menu items. Use them if your system expects these to use the clipboard.
! (put 'clipboard-kill-region 'menu-enable 'mark-active)
(put 'clipboard-kill-ring-save 'menu-enable 'mark-active)
(put 'clipboard-yank 'menu-enable
! '(or (and (fboundp 'x-selection-exists-p) (x-selection-exists-p))
! (x-selection-exists-p 'CLIPBOARD)))
(defun clipboard-yank ()
"Insert the clipboard contents, or the last stretch of killed text."
--- 502,515 ----
;; These are alternative definitions for the cut, paste and copy
;; menu items. Use them if your system expects these to use the clipboard.
! (put 'clipboard-kill-region 'menu-enable
! '(and mark-active (not buffer-read-only)))
(put 'clipboard-kill-ring-save 'menu-enable 'mark-active)
(put 'clipboard-yank 'menu-enable
! '(and (or (and (fboundp 'x-selection-exists-p)
! (x-selection-exists-p))
! (x-selection-exists-p 'CLIPBOARD))
! (not buffer-read-only)))
(defun clipboard-yank ()
"Insert the clipboard contents, or the last stretch of killed text."
[-- Attachment #3: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
next prev parent reply other threads:[~2006-12-03 10:04 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
2006-12-02 19:53 ` martin rudalics
2006-12-03 5:07 ` Richard Stallman
2006-12-03 10:04 ` martin rudalics [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4572A14A.8070408@gmx.at \
--to=rudalics@gmx.at \
--cc=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 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.