emacs-devel
[Top][All Lists]
Advanced

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

emacsclient always raise frame (possible regression)


From: Jon Dufresne
Subject: emacsclient always raise frame (possible regression)
Date: Thu, 25 Jul 2013 11:29:29 -0700

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

reply via email to

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