unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu>
Cc: "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu>,
	emacs-devel@gnu.org
Subject: Re: Emacs server without emacsserver.
Date: Sun, 20 Oct 2002 15:57:29 -0400	[thread overview]
Message-ID: <200210201957.g9KJvTd12809@rum.cs.yale.edu> (raw)
In-Reply-To: m3lm4yuk79.fsf@loiso.podval.org

> I have a question about `server-switch-buffer'.
> most of it
> (after ";; OK, we know next-buffer is live, let's display and select it.")
> is just `pop-to-buffer' modified to support `server-window' and avoid
> at all costs creating a new frame (I am being sloppy here, I know).

I know what you mean, since it's exactly what I use ;-)
Most of the fixes I've installed recently have been made to help
in this kind of situation.  Right now, I get more-or-less the behavior
I want with the following customization:

(defun sm-server-visit-hook () (pop-to-buffer (current-buffer)))
(add-hook 'server-visit-hook 'sm-server-visit-hook)

I've been reluctant to change the default behavior because of
the effort to justify it.  But I do hope we can provide a cutomization
that would be eaiser than my hook while providing the same
kind of behavior.


	Stefan

  parent reply	other threads:[~2002-10-20 19:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-17 20:10 Emacs server without emacsserver Stefan Monnier
     [not found] ` <E17s34A-0006oU-00@fencepost.gnu.org>
     [not found]   ` <200209191632.g8JGWV408480@rum.cs.yale.edu>
     [not found]     ` <E17sEim-00081r-00@fencepost.gnu.org>
2002-09-20 18:41       ` Stefan Monnier
2002-09-21  0:58         ` Kim F. Storm
2002-09-21 19:39           ` Richard Stallman
2002-09-22 22:30             ` Stefan Monnier
2002-09-23 15:59               ` Richard Stallman
2002-10-16 21:50 ` Sam Steingold
2002-10-20  5:34   ` Richard Stallman
2002-10-20 19:57   ` Stefan Monnier [this message]
2002-10-20 22:51     ` Sam Steingold
2002-10-21 12:55       ` Stefan Monnier
2002-10-21 14:11         ` Sam Steingold
2002-12-27 19:10         ` Richard Stallman

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=200210201957.g9KJvTd12809@rum.cs.yale.edu \
    --to=monnier+gnu/emacs@rum.cs.yale.edu \
    --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 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).