unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* emacs.bash?
@ 2008-10-29  1:15 Chong Yidong
  2008-10-29  3:25 ` emacs.bash? Glenn Morris
  0 siblings, 1 reply; 10+ messages in thread
From: Chong Yidong @ 2008-10-29  1:15 UTC (permalink / raw)
  To: emacs-devel

Does anyone know what's the purpose of etc/emacs.bash, as opposed to
running `emacsclient -a emacs'?




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: emacs.bash?
  2008-10-29  1:15 emacs.bash? Chong Yidong
@ 2008-10-29  3:25 ` Glenn Morris
  2008-10-29  5:04   ` emacs.bash? Chong Yidong
  0 siblings, 1 reply; 10+ messages in thread
From: Glenn Morris @ 2008-10-29  3:25 UTC (permalink / raw)
  To: Chong Yidong; +Cc: emacs-devel

Chong Yidong wrote:

> Does anyone know what's the purpose of etc/emacs.bash, as opposed to
> running `emacsclient -a emacs'?

There is some discussion of this in bug#890 (perhaps this is what
prompted your question though).




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: emacs.bash?
  2008-10-29  3:25 ` emacs.bash? Glenn Morris
@ 2008-10-29  5:04   ` Chong Yidong
  2008-10-29  6:05     ` emacs.bash? Dan Nicolaescu
  2008-10-29  6:47     ` emacs.bash? Glenn Morris
  0 siblings, 2 replies; 10+ messages in thread
From: Chong Yidong @ 2008-10-29  5:04 UTC (permalink / raw)
  To: Glenn Morris; +Cc: emacs-devel

Glenn Morris <rgm@gnu.org> writes:

> Chong Yidong wrote:
>
>> Does anyone know what's the purpose of etc/emacs.bash, as opposed to
>> running `emacsclient -a emacs'?
>
> There is some discussion of this in bug#890 (perhaps this is what
> prompted your question though).

Thanks, now I remember that discussion.  I've removed the mention of
emacs.bash from the Emacs manual.

I've also rewritten the documentation of the Emacs server substantially.
If anyone is familiar with the Emacs server/client functionality, I
encourage you to take a look, and check if I screwed up anywhere.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: emacs.bash?
  2008-10-29  5:04   ` emacs.bash? Chong Yidong
@ 2008-10-29  6:05     ` Dan Nicolaescu
  2008-10-29 15:36       ` emacs.bash? Chong Yidong
  2008-10-29  6:47     ` emacs.bash? Glenn Morris
  1 sibling, 1 reply; 10+ messages in thread
From: Dan Nicolaescu @ 2008-10-29  6:05 UTC (permalink / raw)
  To: Chong Yidong; +Cc: Glenn Morris, emacs-devel

Chong Yidong <cyd@stupidchicken.com> writes:

  > Glenn Morris <rgm@gnu.org> writes:
  > 
  > > Chong Yidong wrote:
  > >
  > >> Does anyone know what's the purpose of etc/emacs.bash, as opposed to
  > >> running `emacsclient -a emacs'?
  > >
  > > There is some discussion of this in bug#890 (perhaps this is what
  > > prompted your question though).
  > 
  > Thanks, now I remember that discussion.  I've removed the mention of
  > emacs.bash from the Emacs manual.

There's still a mention of it (and emacs.csh) in cmdargs.texi

  > I've also rewritten the documentation of the Emacs server substantially.
  > If anyone is familiar with the Emacs server/client functionality, I
  > encourage you to take a look, and check if I screwed up anywhere.

Looks good to me.
Maybe adding some info about `server-use-tcp' and `server-host' would be
useful too, it's hard to find out about those without reading the code.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: emacs.bash?
  2008-10-29  5:04   ` emacs.bash? Chong Yidong
  2008-10-29  6:05     ` emacs.bash? Dan Nicolaescu
@ 2008-10-29  6:47     ` Glenn Morris
  2008-10-29 15:32       ` emacs.bash? Chong Yidong
  1 sibling, 1 reply; 10+ messages in thread
From: Glenn Morris @ 2008-10-29  6:47 UTC (permalink / raw)
  To: Chong Yidong; +Cc: emacs-devel

Chong Yidong wrote:

> I've removed the mention of emacs.bash from the Emacs manual.

I think this means lisp/resume.el should be moved to obsolete.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: emacs.bash?
  2008-10-29  6:47     ` emacs.bash? Glenn Morris
@ 2008-10-29 15:32       ` Chong Yidong
  0 siblings, 0 replies; 10+ messages in thread
From: Chong Yidong @ 2008-10-29 15:32 UTC (permalink / raw)
  To: Glenn Morris; +Cc: emacs-devel

Glenn Morris <rgm@gnu.org> writes:

>> I've removed the mention of emacs.bash from the Emacs manual.
>
> I think this means lisp/resume.el should be moved to obsolete.

Yes, it should.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: emacs.bash?
  2008-10-29  6:05     ` emacs.bash? Dan Nicolaescu
@ 2008-10-29 15:36       ` Chong Yidong
  2008-10-29 16:20         ` emacs.bash? Juanma Barranquero
  2008-10-29 16:44         ` emacs.bash? Dan Nicolaescu
  0 siblings, 2 replies; 10+ messages in thread
From: Chong Yidong @ 2008-10-29 15:36 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: Glenn Morris, emacs-devel

>   > I've also rewritten the documentation of the Emacs server substantially.
>   > If anyone is familiar with the Emacs server/client functionality, I
>   > encourage you to take a look, and check if I screwed up anywhere.
>
> Looks good to me.
> Maybe adding some info about `server-use-tcp' and `server-host' would be
> useful too, it's hard to find out about those without reading the code.

Is it generally useful to connect to the server via TCP?  Or is it
useful only on systems without local sockets?




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: emacs.bash?
  2008-10-29 15:36       ` emacs.bash? Chong Yidong
@ 2008-10-29 16:20         ` Juanma Barranquero
  2008-10-29 17:31           ` emacs.bash? Chong Yidong
  2008-10-29 16:44         ` emacs.bash? Dan Nicolaescu
  1 sibling, 1 reply; 10+ messages in thread
From: Juanma Barranquero @ 2008-10-29 16:20 UTC (permalink / raw)
  To: Chong Yidong; +Cc: Glenn Morris, Dan Nicolaescu, emacs-devel

On Wed, Oct 29, 2008 at 16:36, Chong Yidong <cyd@stupidchicken.com> wrote:

> Is it generally useful to connect to the server via TCP?  Or is it
> useful only on systems without local sockets?

TCP allows connecting from remote machines (though you still need
access to the server file), and supports a very trivial scheme for
authentication. Other than that, there is no benefit in using it on
systems with local sockets.

             Juanma




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: emacs.bash?
  2008-10-29 15:36       ` emacs.bash? Chong Yidong
  2008-10-29 16:20         ` emacs.bash? Juanma Barranquero
@ 2008-10-29 16:44         ` Dan Nicolaescu
  1 sibling, 0 replies; 10+ messages in thread
From: Dan Nicolaescu @ 2008-10-29 16:44 UTC (permalink / raw)
  To: Chong Yidong; +Cc: Glenn Morris, emacs-devel

Chong Yidong <cyd@stupidchicken.com> writes:

  > >   > I've also rewritten the documentation of the Emacs server substantially.
  > >   > If anyone is familiar with the Emacs server/client functionality, I
  > >   > encourage you to take a look, and check if I screwed up anywhere.
  > >
  > > Looks good to me.
  > > Maybe adding some info about `server-use-tcp' and `server-host' would be
  > > useful too, it's hard to find out about those without reading the code.
  > 
  > Is it generally useful to connect to the server via TCP? 

It is quite useful.  If $HOME is on NFS, then `server-use-tcp' = t puts the
server file in $HOME/.emacs.d/server/server.  
If on top of that you set `server-host' to $HOSTNAME, then you can
use emacsclient from all the hosts that NFS mount $HOME.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: emacs.bash?
  2008-10-29 16:20         ` emacs.bash? Juanma Barranquero
@ 2008-10-29 17:31           ` Chong Yidong
  0 siblings, 0 replies; 10+ messages in thread
From: Chong Yidong @ 2008-10-29 17:31 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: Glenn Morris, Dan Nicolaescu, emacs-devel

"Juanma Barranquero" <lekktu@gmail.com> writes:

> On Wed, Oct 29, 2008 at 16:36, Chong Yidong <cyd@stupidchicken.com> wrote:
>
>> Is it generally useful to connect to the server via TCP?  Or is it
>> useful only on systems without local sockets?
>
> TCP allows connecting from remote machines (though you still need
> access to the server file), and supports a very trivial scheme for
> authentication. Other than that, there is no benefit in using it on
> systems with local sockets.

I see.  OK, I added documentation for server-use-tcp and server-host.




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-10-29 17:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-29  1:15 emacs.bash? Chong Yidong
2008-10-29  3:25 ` emacs.bash? Glenn Morris
2008-10-29  5:04   ` emacs.bash? Chong Yidong
2008-10-29  6:05     ` emacs.bash? Dan Nicolaescu
2008-10-29 15:36       ` emacs.bash? Chong Yidong
2008-10-29 16:20         ` emacs.bash? Juanma Barranquero
2008-10-29 17:31           ` emacs.bash? Chong Yidong
2008-10-29 16:44         ` emacs.bash? Dan Nicolaescu
2008-10-29  6:47     ` emacs.bash? Glenn Morris
2008-10-29 15:32       ` emacs.bash? Chong Yidong

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).