From unknown Sat Aug 16 15:58:31 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#514 <514@debbugs.gnu.org> To: bug#514 <514@debbugs.gnu.org> Subject: Status: emacsclient does not seem to work with --eval and relative directories Reply-To: bug#514 <514@debbugs.gnu.org> Date: Sat, 16 Aug 2025 22:58:31 +0000 retitle 514 emacsclient does not seem to work with --eval and relative dire= ctories reassign 514 emacs submitter 514 "Matzi Kratzi" severity 514 normal thanks 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 From lekktu@gmail.com Tue Jul 1 07:00:35 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=-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 Subject: Re: bug#514: emacsclient does not seem to work with --eval and relative directories 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 rgm@gnu.org Tue Jul 1 13:13:34 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.8 required=4.0 tests=AWL,BAYES_00,MISSING_SUBJECT, NOSUBJECT,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 1 Jul 2008 20:13:34 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m61KDQAY026876 for ; Tue, 1 Jul 2008 13:13:28 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KDmDu-0000Xt-Cd; Tue, 01 Jul 2008 16:13:10 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18538.36822.286457.639059@fencepost.gnu.org> Date: Tue, 1 Jul 2008 16:13:10 -0400 From: Glenn Morris To: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: yellow X-Ran: ^VZE+O@ZE!RZ8U}b;=y]$iQ?M0uAHqz$n-$nvJ|@)K;/c+UvO/mYX/m"~u:}&^7"Y9/,w= fixed 514 23.0.60 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. From unknown Sat Aug 16 15:58:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Sun, 14 Dec 2008 15:24:03 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator