From: dhruva <dhruvakm@gmail.com>
To: "Juanma Barranquero" <lekktu@gmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: emacsclient on WXP does not work (as it used to)
Date: Fri, 31 Oct 2008 19:10:22 +0530 [thread overview]
Message-ID: <e3f230850810310640k14584148u1805011ebc0c94f2@mail.gmail.com> (raw)
In-Reply-To: <e3f230850810310638la2ab38dv2dbdb2eb72391f53@mail.gmail.com>
Recipe for reproducing the problem:
1. Start emacs with server
2. Use emacsclient to open a file (with -n option not to wait)
3. Start another emacs with server
4. Use emacsclient as in #2 (it will open in emacs on #3 for me)
5. Kill emacs started in #3
6. Use emacsclient and you get the error!
On Fri, Oct 31, 2008 at 7:08 PM, dhruva <dhruvakm@gmail.com> wrote:
> Hi,
> I figured it out... I guess. The port is same as pid of the process.
> I guess I had 2 sessions of emacs running and one in which server was
> not. The client finds the one without the server running and tries to
> connect to a port with the pid of that emacs. Hence, it fails. I think
> we should use some UDP based discovery of running emacs if it is not
> too tough...
>
> On Fri, Oct 31, 2008 at 6:40 PM, Juanma Barranquero <lekktu@gmail.com> wrote:
>> On Fri, Oct 31, 2008 at 13:58, dhruva <dhruvakm@gmail.com> wrote:
>>
>>> The second failure is because I did not use '-a' option to emacsclient
>>
>> You're right. I'm having a bad day, and it seems I'm not thinking straight.
>>
>> Now the question is, you were getting a "connect" error. How is that
>> related to entering the if()? When I run emacsclient, the error I get
>> is "could not get terminal name", as expected.
>>
>> Juanma
>>
>
>
>
> --
> Contents reflect my personal views only!
>
--
Contents reflect my personal views only!
next prev parent reply other threads:[~2008-10-31 13:40 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-31 10:35 emacsclient on WXP does not work (as it used to) dhruva
2008-10-31 11:02 ` Juanma Barranquero
2008-10-31 11:15 ` Eli Zaretskii
2008-10-31 12:27 ` Juanma Barranquero
2008-10-31 12:46 ` dhruva
2008-10-31 12:52 ` dhruva
2008-10-31 12:53 ` Juanma Barranquero
2008-10-31 12:57 ` dhruva
2008-10-31 12:52 ` Juanma Barranquero
2008-10-31 12:58 ` dhruva
2008-10-31 13:10 ` Juanma Barranquero
2008-10-31 13:38 ` dhruva
2008-10-31 13:40 ` dhruva [this message]
2008-10-31 14:22 ` Juanma Barranquero
2008-10-31 14:27 ` Juanma Barranquero
2008-10-31 14:29 ` dhruva
2008-10-31 14:13 ` Chong Yidong
2008-10-31 14:14 ` Juanma Barranquero
2008-10-31 14:44 ` Eli Zaretskii
2008-10-31 15:21 ` dhruva
2008-11-01 13:53 ` Eli Zaretskii
2008-11-01 14:55 ` Juanma Barranquero
2008-11-01 16:41 ` Eli Zaretskii
2008-11-01 17:01 ` Eli Zaretskii
2008-11-02 4:03 ` Juanma Barranquero
2008-11-02 4:19 ` Eli Zaretskii
2008-11-01 17:02 ` Eli Zaretskii
2008-11-02 2:59 ` dhruva
2008-11-02 4:17 ` Eli Zaretskii
2008-10-31 21:58 ` Andreas Schwab
2008-10-31 14:31 ` Newsticker is jealous Paul R
2008-10-31 14:43 ` Paul R
2008-10-31 17:21 ` Ulf Jasper
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=e3f230850810310640k14584148u1805011ebc0c94f2@mail.gmail.com \
--to=dhruvakm@gmail.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=lekktu@gmail.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.