all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Mauger <mmaug@yahoo.com>
Subject: Re: emacsclient: --quiet/--verbose
Date: Thu, 30 Nov 2006 16:47:15 -0800 (PST)	[thread overview]
Message-ID: <7631420.post@talk.nabble.com> (raw)
In-Reply-To: <f7ccd24b0611301459w373a160br6c5a6d4e3d62a02f@mail.gmail.com>



Juanma Barranquero wrote:
> 
> On 11/30/06, Michael Mauger <mmaug@yahoo.com> wrote:
> 
>> If it's deemed to be too late in pretest for these that's fine, but this
>> is a small change and leads to better interaction.
> 
> The patch is small and clear, but let's defer to Richard on this one.
> 
> BTW, after your previous patch I've committed a change to delay
> calling AllowSetForegroundWindow; otherwise, Emacs could not grab the
> focus when emacsclientw was used to connect to a remote server  (at
> least, if the "remote server" was the same machine) because
> emacsclientw itself grabbed it with its message box.
> 
> I don't think that change will affect this second patch of yours, but
> better you check it out.
> 
>                     /L/e/k/t/u
> 

A couple of questions on the use of AllowSetForegroundWindow:

* Should it be used if the emacs is "remote" i.e. not at 127.0.0.1?  What if
emacsclientw is running on w32, Emacs is running on Unix, and you try to
foreground a Unix pid.  Is it possible to confirm that a remote host is
actually the local host?  Is it worthwhile to do so?

* Is the AllowSetForegroundWindow really necessary since it isn't called
when emacsclient is run on Unix to a w32 Emacs yet the w32 Emacs responds
and raises in the window stack as you'd expect.


Finally, if people could take another look at the Tramp changes I proposed
for emacsclient.  Again, I'll defer to Richard on whether they should be
committed, but they make the use of multiple remote hosts talking to a
single Emacs much easier.  I can type fc at my Unix shell prompt and edit
the command in my w32 Emacs.  BTW, I do have an updated version (minor
changes) of that patch which I can post, but I'll wait until its clear we
want to move forward.  I'm running with it and it works flawlessly.

-- 
View this message in context: http://www.nabble.com/emacsclient%3A---quiet---verbose-tf2733832.html#a7631420
Sent from the Emacs - Dev mailing list archive at Nabble.com.

  parent reply	other threads:[~2006-12-01  0:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-30  5:34 emacsclient: --quiet/--verbose Michael Mauger
2006-11-30 22:59 ` Juanma Barranquero
2006-11-30 23:20   ` Lennart Borgman
2006-12-01 10:12     ` Eli Zaretskii
2006-12-01  0:47   ` Michael Mauger [this message]
2006-12-01  1:10     ` Juanma Barranquero
2006-12-01  3:39       ` Michael Mauger
2006-12-02 19:03         ` Lennart Borgman
2006-12-01  9:12 ` Jason Rumney
2006-12-01 13:37 ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2006-12-02 22:02 Michael Mauger
2006-12-03 12:25 ` Lennart Borgman

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7631420.post@talk.nabble.com \
    --to=mmaug@yahoo.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.