* Emacsclient buffers
@ 2007-02-09 16:21 weber
2007-02-09 16:49 ` Juanma Barranquero
[not found] ` <mailman.4242.1171039778.2155.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 3+ messages in thread
From: weber @ 2007-02-09 16:21 UTC (permalink / raw)
To: help-gnu-emacs
Hi!
I use emacsw32 on winxp and it has this nice feature that let's me
open files directly from explorer etc...
But those files seem to be "special": for example, they have a
different command to kill buffers (server-edit?).
My question is: is there some variable that I can check to see if a
buffer is regular or opened by emacsclient?
This way I'd be able to unify my kill command to both kinds of
buffers..
TIA
weber
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Emacsclient buffers
2007-02-09 16:21 Emacsclient buffers weber
@ 2007-02-09 16:49 ` Juanma Barranquero
[not found] ` <mailman.4242.1171039778.2155.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 3+ messages in thread
From: Juanma Barranquero @ 2007-02-09 16:49 UTC (permalink / raw)
To: weber; +Cc: help-gnu-emacs
On 9 Feb 2007 08:21:35 -0800, weber <hugows@gmail.com> wrote:
> My question is: is there some variable that I can check to see if a
> buffer is regular or opened by emacsclient?
If emacsclient is waiting for a buffer to be edited, the buffer will
have a non-nil local variable `server-buffer-clients'.
/L/e/k/t/u
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Emacsclient buffers
[not found] ` <mailman.4242.1171039778.2155.help-gnu-emacs@gnu.org>
@ 2007-02-09 16:54 ` weber
0 siblings, 0 replies; 3+ messages in thread
From: weber @ 2007-02-09 16:54 UTC (permalink / raw)
To: help-gnu-emacs
On 9 fev, 13:49, "Juanma Barranquero" <lek...@gmail.com> wrote:
> On 9 Feb 2007 08:21:35 -0800, weber <hug...@gmail.com> wrote:
>
> > My question is: is there some variable that I can check to see if a
> > buffer is regular or opened by emacsclient?
>
> If emacsclient is waiting for a buffer to be edited, the buffer will
> have a non-nil local variable `server-buffer-clients'.
>
> /L/e/k/t/u
server-buffer-clients is a variable defined in `server.el'.
Its value is
(#<process server <127.0.0.1:2906>>)
TRUE :)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-02-09 16:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-09 16:21 Emacsclient buffers weber
2007-02-09 16:49 ` Juanma Barranquero
[not found] ` <mailman.4242.1171039778.2155.help-gnu-emacs@gnu.org>
2007-02-09 16:54 ` weber
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).