emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Selected text -> system clipboard on NS?


From: Jan Djärv
Subject: Re: Selected text -> system clipboard on NS?
Date: Mon, 13 Dec 2010 22:57:57 +0100
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.13) Gecko/20101129 Thunderbird/3.1.7



David De La Harpe Golden skrev 2010-12-13 22.43:
On 13/12/10 21:17, Jan Djärv wrote:


Ctrl-space then shift-mouse-1 seems to work.

Of course, shift-mouse-1 pops up a menu on X11.


Yes, it is ns-specific.  In ns-win.el:
;; Allow shift-clicks to work similarly to under Nextstep.
(define-key global-map [S-mouse-1] 'mouse-save-then-kill)
(global-unset-key [S-down-mouse-1])

I guess the context menu isn't available for NS, not that I missed it.


That was something of a symmetry, actually:

emacs other-apps
S-mouse-1 menu adjust sel.
mouse-3 adjust sel. menu

(though the menu for other-apps is typically a "context menu" and heavily used
whereas for emacs it's a font select thing ...and then certain emacs major
modes hijack mouse-3 to imitate other-app's context menus, leaving you without
a mouse-3 and two different menus, sigh).

I think this was discussed a while back (a long while...).

        Jan D.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]