all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Error in emacsclient operation
@ 2007-06-10  6:30 Bostjan Vilfan
  2007-06-10 19:12 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Bostjan Vilfan @ 2007-06-10  6:30 UTC (permalink / raw)
  To: bug-gnu-emacs


[-- Attachment #1.1: Type: text/plain, Size: 1264 bytes --]


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.

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.

In addition, my suggestion is that gnuclient be equipped with a command line
option to accept arguments as a continuation of the command line (i.e., 
similarly to gnuclientw).

Regards,
BV bostjanv@alum.mit.edu




      ____________________________________________________________________________________
Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/ 

[-- Attachment #1.2: Type: text/html, Size: 1624 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
bug-gnu-emacs mailing list
bug-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs

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

end of thread, other threads:[~2007-06-10 19:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-10  6:30 Error in emacsclient operation Bostjan Vilfan
2007-06-10 19:12 ` Eli Zaretskii

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.