Any ideas?
Thanks.
> I'd like for Emacs to "pass this through" to OS X like other
> commands, so that it hides the
> application.
Did you find the preferences pane?
--
Greetings
Pete
Basic, n.:
A programming language. Related to certain social diseases in
that those who have it will not admit it in polite company.
I've checked it, but I see nothing regarding this ... and I don't have
Command set to anything (I'm using Alt for Meta).
Prefs: http://i39.tinypic.com/n3r7yq.png
Brett
Perhaps
(global-set-key (kbd "A-h") 'iconify-or-deiconify-frame)
would do?
Yes,
(global-set-key (kbd "A-h") 'iconify-or-deiconify-frame)
will do!
(global-set-key (kbd "A-h") 'iconify-or-deiconify-frame)
WILL DO!
--
__Pascal Bourguignon__
Thanks for the help, but that does the equivalent of "Command +
M" (minimize), not "Command + H" (hide), which do have differences. :/
Brett
I don't use mac, but do make-frame-invisible and make-frame-visible
work?
Chetan
Nope. :/
For some reason, I don't expect this to be an Emacs function, so much
as a way to "hand off" the keypress to OS X. Command+H is a key bound
in every application to 'Hide', but the actual 'Hiding' is done by the
window manager / Finder / whatever OS X calls it. Here you can see in
the Emacs menu it even has Hide (which I can use via the mouse, but
not they keyboard ... Emacs still seems to "grab" it when I press it
and like I said - it says it isn't bound to anything).
http://i43.tinypic.com/2djxbmq.png
Brett
> Emacs still seems to "grab" it when I press it
I have set Command to Command and Alt/Opt to none – because I need
characters like ï or ¡ Then there is still a yellow button to
minimise the frame ...
Maybe it helps to ask the question on this specialised list:
---------------------------- Info -----------------------------
List Post: <mailto:macosx...@email.esm.psu.edu>
List Archives: <http://dir.gmane.org/gmane.emacs.macintosh.osx>
--
Greetings
Pete
When people run around and around in circles we say they are crazy.
When planets do it we say they are orbiting.
I use the following for Carbon emacs:
; disable the Mac shortcut convention of cmd-h to hide current
application.
(setq mac-pass-command-to-system nil)
Xah
∑ http://xahlee.org/
☄
If you set "Command Key" to "Command," it works; but you cannot use
the Command key in Emacs at all.
In the Carbon Emacs port, there was a way to pass the Command key
through to the OS if there was no Emacs binding for the pressed chord.
This functionality isn’t available in the Cocoa Emacs port.
- Ian
(define-key map [(alt h)] 'ns-do-hide-emacs)
Thanks,
Brett