all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: Juanma Barranquero <lekktu@gmail.com>,
	romain@orebokech.com, rms@gnu.org,
	Stefan Monnier <monnier@iro.umontreal.ca>,
	emacs-devel@gnu.org
Subject: Re: The emacsclient socket vs. etc/emacs.bash
Date: Fri, 15 Dec 2006 16:48:47 +0100	[thread overview]
Message-ID: <4582C3DF.1060308@student.lu.se> (raw)
In-Reply-To: <m3irgdcgoj.fsf@kfs-l.imdomain.dk>

Kim F. Storm wrote:
> Lennart Borgman <lennart.borgman.073@student.lu.se> writes:
>
>   
>> Maybe you misunderstood what I said? If emacsclient starts emacs the
>> way I have proposed then there is no need for the startup files for
>> emacs (.emacs etc) to start emacs server. That is taken care of by
>> emacsclient.
>>
>> If you in such a setup want to start a second emacs then you can just
>> start emacs the way you do it today. There will be no trouble with
>> emacs server then since the emacs you start this way simply does not
>> care about emacs server.
>>
>> Or, did I misunderstood you?
>>     
>
> I think we mis-communicate...
>
> You talk about emacsclient _starting emacs_ and instructing that emacs
> to start the server, so emacsclient can talk to that emacs.  I
> understand how that works nicely with e.g. Windows' Explorer and file
> associations, and how subsequent calls to emacsclient will talk to
> the emacs started by the first emacsclient.
>
> But in my case, I _always_ have emacs running (not started by
> emacsclient), so I want emacsclient to talk to that emacs -- how do
> you do that without starting the server (e.g. in .emacs) before
> running emacsclient?
>   

Yes, maybe we miscommunicate. I am talking about the suggestions I had 
to change emacsclient (and which I have implemented in a working, but 
not optimal way, in my patched version).

To be able to start "that emacs" I send along the value from emacsclient 
--server-file argument to emacs. No big deal, no changes to emacs 
itself. (I leave out the technical details for now.)

Would it be possible at all for you to start emacs through emacsclient 
this way? Or is something missing that makes it impossible for you?

I am not asking here if you like this way or not. I just want to know if 
it possible. And the second question is of course if you in principle 
would like such an arrangement? I think it has the advantage that I 
mentioned above (and of course the advantage of the automatic startup of 
emacs).

  reply	other threads:[~2006-12-15 15:48 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-15 13:54 The emacsclient socket vs. etc/emacs.bash LENNART BORGMAN
2006-12-15 15:18 ` Kim F. Storm
2006-12-15 15:24   ` Lennart Borgman
2006-12-15 15:38     ` Kim F. Storm
2006-12-15 15:48       ` Lennart Borgman [this message]
2006-12-15 23:21         ` Kim F. Storm
  -- strict thread matches above, loose matches on Subject: below --
2006-12-08 13:15 Romain Francoise
2006-12-08 13:46 ` Stefan Monnier
2006-12-08 14:06   ` Romain Francoise
2006-12-08 18:38     ` Stefan Monnier
2006-12-08 19:10       ` Juanma Barranquero
2006-12-08 23:33         ` Stefan Monnier
2006-12-08 23:47           ` Juanma Barranquero
2006-12-09  1:28             ` Stefan Monnier
2006-12-09 11:36           ` Romain Francoise
2006-12-09  1:26 ` Richard Stallman
2006-12-09  3:55   ` Stefan Monnier
2006-12-09 18:25     ` Richard Stallman
2006-12-15 12:45       ` Juanma Barranquero
2006-12-15 13:37         ` Kim F. Storm
2006-12-15 14:05           ` Juanma Barranquero
2006-12-15 23:40             ` Stefan Monnier
2006-12-15 23:47               ` Juanma Barranquero
2006-12-16  9:54                 ` Eli Zaretskii
2006-12-16 11:07                   ` Juanma Barranquero
2006-12-15 21:07           ` Andreas Schwab

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=4582C3DF.1060308@student.lu.se \
    --to=lennart.borgman.073@student.lu.se \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    --cc=rms@gnu.org \
    --cc=romain@orebokech.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.