unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: chad <yandros@MIT.EDU>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Jon Dufresne <jon.dufresne@gmail.com>, emacs-devel@gnu.org
Subject: Re: emacsclient always raise frame (possible regression)
Date: Mon, 29 Jul 2013 10:44:26 -0500	[thread overview]
Message-ID: <835225AA-DA56-47E7-B310-4EF7E132363D@mit.edu> (raw)
In-Reply-To: <jwvob9le6lz.fsf-monnier+emacs@gnu.org>


On 29 Jul 2013, at 10:20, Stefan Monnier <monnier@iro.umontreal.ca> wrote:

>> (setq server-visit-hook (append server-visit-hook '(raise-frame)))
> 
> I strongly recommend you use `add-hook' to manipulate hooks.

Good point! That particular snippet might actually pre-date add-hook;
it's from somewhere around emacs 21, maybe 22. Sorry for not fixing
it up before sending it.

~Chad




  reply	other threads:[~2013-07-29 15:44 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
2013-07-29 15:20   ` Stefan Monnier
2013-07-29 15:44     ` chad [this message]
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=835225AA-DA56-47E7-B310-4EF7E132363D@mit.edu \
    --to=yandros@mit.edu \
    --cc=emacs-devel@gnu.org \
    --cc=jon.dufresne@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    /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).