[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error in emacsclient operation

From: Eli Zaretskii
Subject: Re: Error in emacsclient operation
Date: Sun, 10 Jun 2007 22:12:03 +0300

> Date: Sat, 9 Jun 2007 23:30:07 -0700 (PDT)
> From: Bostjan Vilfan <bvilf@yahoo.com>
> I made the following experiment: Emacs had two buffers, <file 1> and <file 2>,
> and I entered the following text on the command line,
> emacsclient -e <RET>
> (kill-buffer (string [file 1])) <RET>
> (kill-buffer (string [file 2])) <RET>
> <CTRL-Z>
> where [file 1] and [file 2] are the string argument forms of <file 1> and
> <file 2>, resp. The result was that only the first buffer was killed.

Thank you for your report.

Try this command, it works for me:

  emacsclient -e "(kill-buffer \"file 1\")" "(kill-buffer \"file 2\")"

> Since Emacs version 21.3 does not have a built in server, I used the program
> gnuserv, and I checked the operation of the corresponding gnuclientw program
> with Emacs v. 21.3 in the identical situation. I entered the following text:
> gnuclientw -e (kill-buffer (string [file 1])) (kill-buffer (string [file 2]))
> <RET>
> and the result was as expected, i.e., both buffers got killed. Therefore, I
> think that emacsclient has a bug.

Given the above command I suggested, do you still think emacsclient
has a bug?  The fact that gnuclientw works differently is not a proof,
since emacsclient's UI does not mimic that of gnuclientw's.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]