unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* emacsclient always raise frame (possible regression)
@ 2013-07-25 18:29 Jon Dufresne
  2013-07-29  8:42 ` Michael Heerdegen
  2013-07-29 11:56 ` chad
  0 siblings, 2 replies; 6+ messages in thread
From: Jon Dufresne @ 2013-07-25 18:29 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 892 bytes --]

Hi,

I recently updated my system to Fedora 19. Fedora 19 packages Gnome 3.8 and
Emacs 24.2.1.

I run Emacs in daemon mode. When using tools such as mercurial or git from
the command line, an editor is invoked with the command "emacsclient -c
FILENAME". When this editor is invoked I want the newly created frame
immediately raised to the top of Gnome's window stack so I may interact
with it.

In previous Fedora/Emacs versions I achieved this with the following in my
init.el

(add-hook 'after-make-frame-functions
          (lambda (frame)
            (raise-frame frame)))

This no longer works. Now whenever mercurial invokes the editor the frame
remains at the bottom of the stack of windows.

First off, should this elisp do what I'm trying to do? Is this a regression
in Emacs or an issue with Gnome? If this is wrong, what is the correct way
to always raise new frames?

Thanks,
Jon

[-- Attachment #2: Type: text/html, Size: 1028 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-07-29 16:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-25 18:29 emacsclient always raise frame (possible regression) Jon Dufresne
2013-07-29  8:42 ` Michael Heerdegen
2013-07-29 11:56 ` chad
2013-07-29 15:20   ` Stefan Monnier
2013-07-29 15:44     ` chad
2013-07-29 16:41       ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).