From unknown Sat Aug 16 18:43:10 2025 X-Loop: don@donarmstrong.com Subject: bug#514: emacsclient does not seem to work with --eval and relative directories Reply-To: "Matzi Kratzi" , 514@debbugs.gnu.org Resent-From: "Matzi Kratzi" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 01 Jul 2008 04:55:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 514 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121488769224247 (code B ref -1); Tue, 01 Jul 2008 04:55:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.9 required=4.0 tests=BAYES_00,FOURLA, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 1 Jul 2008 04:48:12 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m614m8WE024241 for ; Mon, 30 Jun 2008 21:48:09 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KDXmi-0003XF-8N for bug-gnu-emacs@gnu.org; Tue, 01 Jul 2008 00:48:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KDXmh-0003X1-H4 for bug-gnu-emacs@gnu.org; Tue, 01 Jul 2008 00:48:07 -0400 Received: from [199.232.76.173] (port=55464 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KDXmh-0003Wy-9t for bug-gnu-emacs@gnu.org; Tue, 01 Jul 2008 00:48:07 -0400 Received: from yw-out-1718.google.com ([74.125.46.153]:26807) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KDXmg-0004Rn-R8 for bug-gnu-emacs@gnu.org; Tue, 01 Jul 2008 00:48:06 -0400 Received: by yw-out-1718.google.com with SMTP id 9so1348699ywk.66 for ; Mon, 30 Jun 2008 21:47:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=PWYKXtJHsNpkZE7XNLxJTtktUfFh8zMmhrv2XDQajrg=; b=RMC5ehFcP+8zgwYvNUlFNY2dcSvxUnXBMbKUIEhgYam4zIdHq824o3z6CSN3ySjaCN 4gBuStzHyiIp0d3eprFieYKhG/3VIUViYLKXFAui/2RUBNmufEUf4bnJm8bLn9Z29ppi Upp6uLynHBelh3o6G3b/xhmuAaJklyPY4hgMs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=bMubQkwZugGEf4SXeFddWCU5aqQxsfDm//yQDDvhYqww41MRSpawtWFrJsvHXnXuIi qUm7q8HhsXI8euHBkjg5OAbtVjHkgYKN+9GEnQ1V3TK7f10h36jbXwKylTem8GzPLyb9 QTnA6u5YrGV42UXpR6ijIOZXxX7fIdSDK9CAY= Received: by 10.151.150.13 with SMTP id c13mr9801191ybo.155.1214887679140; Mon, 30 Jun 2008 21:47:59 -0700 (PDT) Received: by 10.150.230.8 with HTTP; Mon, 30 Jun 2008 21:47:59 -0700 (PDT) Message-ID: <7f9b11c90806302147o26a6c04cmd6e036d5465a838@mail.gmail.com> Date: Tue, 1 Jul 2008 06:47:59 +0200 From: "Matzi Kratzi" To: bug-gnu-emacs@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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@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\")" # C:\Program Files\emacs-22.1\bin>emacsclient.exe --eval "(find-file \"../README\")" #> 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 M-x r e p o r t 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 From unknown Sat Aug 16 18:43:10 2025 X-Loop: don@donarmstrong.com Subject: bug#514: emacsclient does not seem to work with --eval and relative directories Reply-To: "Juanma Barranquero" , 514@debbugs.gnu.org Resent-From: "Juanma Barranquero" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 01 Jul 2008 14:10:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 514 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 514-submit@emacsbugs.donarmstrong.com id=B514.121492083531451 (code B ref 514); Tue, 01 Jul 2008 14:10:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.0 required=4.0 tests=BAYES_00,GMAIL,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 514) by emacsbugs.donarmstrong.com; 1 Jul 2008 14:00:35 +0000 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m61E0VVK031352 for <514@emacsbugs.donarmstrong.com>; Tue, 1 Jul 2008 07:00:33 -0700 Received: by ug-out-1314.google.com with SMTP id m3so362427uge.19 for <514@emacsbugs.donarmstrong.com>; Tue, 01 Jul 2008 07:00:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=hVpIBPucn7ttH/I5sSG+IHt/MhznVhBVumlnTYjuKw4=; b=Dq2vUQ/0eZdnLLLJ7IMEgpD3m4bOLaEYn3P5kpf7lBELiOo3eIteo1xwUtoiObjaH0 96YvMO5t/AgzJufiVCZJfKxwGc3yDYVJvZt2BjEghJ0NyxB1poli9OTmvJaMKpzLpC4W SajnsmI7A1GhWYrPkwgPx3nwX3YIHSZlEgNNg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=p9s7XLbwOk5ihAEVUb4R1NKFhWUNPH/6UVd5ofcCIvL3w5H7KwCA/+Hi5B6smODGi5 iD+giir2jL42kqV8K+m1xmAQcVeYuqGyTBLuPUg9FzGHysIQrWt1opguRq/yTru0MJF5 t1F2NHmcs6fmQVSOkAvb6pntBwMqcrBqpfjqE= Received: by 10.210.144.3 with SMTP id r3mr5361247ebd.148.1214920831202; Tue, 01 Jul 2008 07:00:31 -0700 (PDT) Received: by 10.210.71.14 with HTTP; Tue, 1 Jul 2008 07:00:31 -0700 (PDT) Message-ID: Date: Tue, 1 Jul 2008 16:00:31 +0200 From: "Juanma Barranquero" To: "Matzi Kratzi" , 514@debbugs.gnu.org In-Reply-To: <7f9b11c90806302147o26a6c04cmd6e036d5465a838@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7f9b11c90806302147o26a6c04cmd6e036d5465a838@mail.gmail.com> On Tue, Jul 1, 2008 at 06:47, Matzi Kratzi wrote: > C:\Program Files\emacs-22.1\bin>emacsclient.exe --eval "(find-file > \"../README\")" > #> 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 From unknown Sat Aug 16 18:43:10 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: "Matzi Kratzi" Subject: bug#514 closed by Chong Yidong (Re: bug#514: emacsclient does not seem to work with --eval and relative directories) Message-ID: References: <874p4ujmam.fsf@cyd.mit.edu> <7f9b11c90806302147o26a6c04cmd6e036d5465a838@mail.gmail.com> X-Emacs-PR-Message: they-closed 514 X-Emacs-PR-Package: emacs Reply-To: 514@debbugs.gnu.org Content-Type: multipart/mixed; boundary="----------=_1220651704-22123-1" This is a multi-part message in MIME format... ------------=_1220651704-22123-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #514: emacsclient does not seem to work with --eval and relative directories It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 514: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D514 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1220651704-22123-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From cyd@stupidchicken.com Fri Sep 5 14:46:46 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.3 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 514-done) by emacsbugs.donarmstrong.com; 5 Sep 2008 21:46:46 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m85Lkhdn020064 for <514-done@emacsbugs.donarmstrong.com>; Fri, 5 Sep 2008 14:46:44 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id AFEA657E18A; Fri, 5 Sep 2008 17:49:21 -0400 (EDT) From: Chong Yidong To: 514-done@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 Message-ID: <874p4ujmam.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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. ------------=_1220651704-22123-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From matzikratzi@gmail.com Mon Jun 30 21:48:12 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.9 required=4.0 tests=BAYES_00,FOURLA, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 1 Jul 2008 04:48:12 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m614m8WE024241 for ; Mon, 30 Jun 2008 21:48:09 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KDXmi-0003XF-8N for bug-gnu-emacs@gnu.org; Tue, 01 Jul 2008 00:48:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KDXmh-0003X1-H4 for bug-gnu-emacs@gnu.org; Tue, 01 Jul 2008 00:48:07 -0400 Received: from [199.232.76.173] (port=55464 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KDXmh-0003Wy-9t for bug-gnu-emacs@gnu.org; Tue, 01 Jul 2008 00:48:07 -0400 Received: from yw-out-1718.google.com ([74.125.46.153]:26807) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KDXmg-0004Rn-R8 for bug-gnu-emacs@gnu.org; Tue, 01 Jul 2008 00:48:06 -0400 Received: by yw-out-1718.google.com with SMTP id 9so1348699ywk.66 for ; Mon, 30 Jun 2008 21:47:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=PWYKXtJHsNpkZE7XNLxJTtktUfFh8zMmhrv2XDQajrg=; b=RMC5ehFcP+8zgwYvNUlFNY2dcSvxUnXBMbKUIEhgYam4zIdHq824o3z6CSN3ySjaCN 4gBuStzHyiIp0d3eprFieYKhG/3VIUViYLKXFAui/2RUBNmufEUf4bnJm8bLn9Z29ppi Upp6uLynHBelh3o6G3b/xhmuAaJklyPY4hgMs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=bMubQkwZugGEf4SXeFddWCU5aqQxsfDm//yQDDvhYqww41MRSpawtWFrJsvHXnXuIi qUm7q8HhsXI8euHBkjg5OAbtVjHkgYKN+9GEnQ1V3TK7f10h36jbXwKylTem8GzPLyb9 QTnA6u5YrGV42UXpR6ijIOZXxX7fIdSDK9CAY= Received: by 10.151.150.13 with SMTP id c13mr9801191ybo.155.1214887679140; Mon, 30 Jun 2008 21:47:59 -0700 (PDT) Received: by 10.150.230.8 with HTTP; Mon, 30 Jun 2008 21:47:59 -0700 (PDT) Message-ID: <7f9b11c90806302147o26a6c04cmd6e036d5465a838@mail.gmail.com> Date: Tue, 1 Jul 2008 06:47:59 +0200 From: "Matzi Kratzi" To: bug-gnu-emacs@gnu.org Subject: emacsclient does not seem to work with --eval and relative directories MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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@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\")" # C:\Program Files\emacs-22.1\bin>emacsclient.exe --eval "(find-file \"../README\")" #> 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 M-x r e p o r t 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 ------------=_1220651704-22123-1--