GNU bug report logs - #514
emacsclient does not seem to work with --eval and relative directories

Previous Next

Package: emacs;

Reported by: "Matzi Kratzi" <matzikratzi <at> gmail.com>

Date: Tue, 1 Jul 2008 04:55:04 UTC

Severity: normal

Fixed in version 23.0.60

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 514 in the body.
You can then email your comments to 514 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#514; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Matzi Kratzi" <matzikratzi <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Matzi Kratzi" <matzikratzi <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: emacsclient does not seem to work with --eval and relative directories
Date: Tue, 1 Jul 2008 06:47:59 +0200
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs <at> gnu.org mailing list,
and to the gnu.emacs.bug news group.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Hi,
I try to use emacsclient with --eval. First I open a file, and then I
intend to do more using elisp. I have however problems already to open
files if I use the "../filename"-syntax.

These commands is from my cmd.exe shell:
-----------
C:\>cd "Program Files\emacs-22.1\bin"

C:\Program Files\emacs-22.1\bin>emacsclient.exe --eval "(find-file
\"../README\")"
#<buffer README>

C:\Program Files\emacs-22.1\bin>emacsclient.exe --eval "(find-file
\"../README\")"
#<buffer README<2>>

C:\Program Files\emacs-22.1\bin>

-----------------
The second time I do not get to the README file in the emacs
distribution. Instead emacs tries to open a file README located in
"C:\Program Files\".

Is this intended? I find it strange.

Thanks
Mats

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
c:/Program Files/emacs-22.1/etc/DEBUG for instructions.


In GNU Emacs 22.1.1 (i386-mingw-nt6.0.6000)
 of 2007-06-02 on RELEASE
Windowing system distributor `Microsoft Corp.', version 6.0.6000
configured using `configure --with-gcc (3.4) --cflags -Ic:/gnuwin32/include'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: SVE
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  encoded-kbd-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent input:
M-x s e r v e r - s t a r t <return> <lwindow> M-x
r e p o r t <tab> <return>

Recent messages:
("C:\\Program Files\\emacs-22.1\\bin\\emacs.exe" "-Q")
Loading encoded-kb...done
For information about the GNU Project and its goals, type C-h C-p.
Loading server...done
Loading pp...done
(New file)
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#514; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Juanma Barranquero" <lekktu <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #10 received at 514 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Juanma Barranquero" <lekktu <at> gmail.com>
To: "Matzi Kratzi" <matzikratzi <at> gmail.com>, 514 <at> debbugs.gnu.org
Subject: Re: bug#514: emacsclient does not seem to work with --eval and relative directories
Date: Tue, 1 Jul 2008 16:00:31 +0200
On Tue, Jul 1, 2008 at 06:47, Matzi Kratzi <matzikratzi <at> gmail.com> wrote:

> C:\Program Files\emacs-22.1\bin>emacsclient.exe --eval "(find-file
> \"../README\")"
> #<buffer README<2>>

Confirmed that it happens with Emacs 22.1, 22.2 and the 22.X release
branch (from which there's no guarantee a 22.3 will ever be released).

The current version in the CVS repository does not suffer this problem.

   Juanma




bug marked as fixed in version 23.0.60. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Tue, 01 Jul 2008 20:20:03 GMT) Full text and rfc822 format available.

Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to "Matzi Kratzi" <matzikratzi <at> gmail.com>:
bug acknowledged by developer. Full text and rfc822 format available.

Message #17 received at 514-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: 514-done <at> debbugs.gnu.org
Subject: Re: bug#514: emacsclient does not seem to work with --eval and relative directories
Date: Fri, 05 Sep 2008 17:49:21 -0400
Since this bug only applies to the Emacs 22 branch, and we aren't
planning any more releases from the branch, I'll close this bug.




bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Sun, 14 Dec 2008 15:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 249 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.