all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Seiji Zenitani <zenitani@mac.com>
To: emacs-devel@gnu.org
Subject: OS X: raise-frame at reopen event
Date: Thu, 09 Aug 2007 15:35:08 -0700	[thread overview]
Message-ID: <C93FCF46-0114-1000-97EA-0FCC77C9A6B1-Webmail-10019@mac.com> (raw)

Hi,

On Mac OS X, when the emacs window (frame) is minimized in the Dock,
nothing happens when the user click the application icon in the Dock.
I modified the following line in lisp/term/mac-win.el (1771st line; EMACS_22_BASE)

  (define-key mac-apple-event-map [core-event reopen-application] 'ignore)

to

  (define-key mac-apple-event-map [core-event reopen-application] 'raise-frame)

and then the minimized window (frame) is brought to the front
when I click the application icon in the Dock.
I think this is more reasonable behavior on Mac OS X.
How about modifying 'ignore to 'raise-frame in mac-win.el?


Seiji Zenitani
zenitani@mac.com

             reply	other threads:[~2007-08-09 22:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-09 22:35 Seiji Zenitani [this message]
2007-08-09 23:11 ` OS X: raise-frame at reopen event Randal L. Schwartz
2007-08-10 10:18 ` YAMAMOTO Mitsuharu
2007-08-10 23:07   ` Seiji Zenitani
2007-08-11  0:18     ` YAMAMOTO Mitsuharu
     [not found]   ` <E2DE3E97-35A2-4EC3-8DEC-4D1D6FAAD72D@mac.com>
2007-10-17  2:30     ` Seiji Zenitani
2007-10-17  8:21       ` YAMAMOTO Mitsuharu

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=C93FCF46-0114-1000-97EA-0FCC77C9A6B1-Webmail-10019@mac.com \
    --to=zenitani@mac.com \
    --cc=emacs-devel@gnu.org \
    /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.