From: chad <yandros@MIT.EDU>
To: Jon Dufresne <jon.dufresne@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: emacsclient always raise frame (possible regression)
Date: Mon, 29 Jul 2013 06:56:00 -0500 [thread overview]
Message-ID: <E157145F-6E2B-404F-8314-4B878170364B@mit.edu> (raw)
In-Reply-To: <CADhq2b4RH-7wgTmo9zwc2-KbjTeoSYp0FB7VD+EShQmt=JybuQ@mail.gmail.com>
On 25 Jul 2013, at 13:29, Jon Dufresne <jon.dufresne@gmail.com> wrote:
> 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.
I used to use:
(setq server-visit-hook (append server-visit-hook '(raise-frame)))
I'm not in a position to test it right now, but you might give it a try.
Hope that helps,
~Chad
next prev parent reply other threads:[~2013-07-29 11:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2013-07-29 15:20 ` Stefan Monnier
2013-07-29 15:44 ` chad
2013-07-29 16:41 ` Stefan Monnier
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E157145F-6E2B-404F-8314-4B878170364B@mit.edu \
--to=yandros@mit.edu \
--cc=emacs-devel@gnu.org \
--cc=jon.dufresne@gmail.com \
/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 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).