From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#2407: marked as done (23.0.90; Emacs chokes on empty command line argument) Date: Fri, 20 Feb 2009 15:35:08 +0000 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1235144108-25760-0" X-Trace: ger.gmane.org 1235144650 8279 80.91.229.12 (20 Feb 2009 15:44:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Feb 2009 15:44:10 +0000 (UTC) To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 20 16:45:24 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LaXYq-0000vp-O4 for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Feb 2009 16:45:09 +0100 Original-Received: from localhost ([127.0.0.1]:46333 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LaXXW-00059e-6b for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Feb 2009 10:43:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LaXXQ-00058o-NW for bug-gnu-emacs@gnu.org; Fri, 20 Feb 2009 10:43:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LaXXP-00058M-Oa for bug-gnu-emacs@gnu.org; Fri, 20 Feb 2009 10:43:40 -0500 Original-Received: from [199.232.76.173] (port=44439 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LaXXP-00058E-KM for bug-gnu-emacs@gnu.org; Fri, 20 Feb 2009 10:43:39 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:60609) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LaXXO-0000ZO-Ra for bug-gnu-emacs@gnu.org; Fri, 20 Feb 2009 10:43:39 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KFhaYV027914; Fri, 20 Feb 2009 07:43:36 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1KFZ9WG025984; Fri, 20 Feb 2009 07:35:09 -0800 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 2407 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:25512 Archived-At: This is a multi-part message in MIME format... ------------=_1235144108-25760-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Fri, 20 Feb 2009 10:28:14 -0500 with message-id and subject line Re: bug#2407: 23.0.90; Emacs chokes on empty command line = argument has caused the Emacs bug report #2407, regarding 23.0.90; Emacs chokes on empty command line argument to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 2407: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D2407 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1235144108-25760-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 20 Feb 2009 09:50:45 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 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 n1K9of34023806 for ; Fri, 20 Feb 2009 01:50:42 -0800 Received: from mx10.gnu.org ([199.232.76.166]:47671) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LaRzj-0005Ew-Qp for emacs-pretest-bug@gnu.org; Fri, 20 Feb 2009 04:48:32 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LaS1l-0003PE-H3 for emacs-pretest-bug@gnu.org; Fri, 20 Feb 2009 04:50:39 -0500 Received: from mail-bw0-f160.google.com ([209.85.218.160]:55604) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LaS1k-0003OT-I2 for emacs-pretest-bug@gnu.org; Fri, 20 Feb 2009 04:50:36 -0500 Received: by bwz4 with SMTP id 4so2290700bwz.18 for ; Fri, 20 Feb 2009 01:50:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=kwDrsfbhLzV+jeOL1Odmwp3YdlIvmpSSZ6WDBtYGUIw=; b=dGHeGMe/w6sOjFNd4Rc7qqLxAg7njROlSZ2bIiou5nYbx2eQO+0i4t7yuyFuZC4tTl piO0Ql5JhUcSscGJSmPt1PaGmKjgpVDcN4MsDkE/MRV4PRmoMbJ1fAPenBEVenDbCPNg Cj6qhvs2BEaKVLPn6pAVqjPoeZyc9/70zFUaE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=wwEaySNftBN5E1j0aTImAUclMbRIyKW1dv25pttK7N6t2FFHtdqb4e39UwASpjPXEL HoZQ5WjngnKqJ8i5bbYWBdiHdc86DU/70Ib4YlnErqxR+gEQlSlS2fLlNzfaaFRxVBTR yyvmcUMz838asNmCoaFrVe1KsRU1Vqk2x4iUs= MIME-Version: 1.0 Received: by 10.181.202.8 with SMTP id e8mr224659bkq.25.1235123434766; Fri, 20 Feb 2009 01:50:34 -0800 (PST) Date: Fri, 20 Feb 2009 10:50:34 +0100 Message-ID: Subject: 23.0.90; Emacs chokes on empty command line argument From: Geralt To: emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/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 emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: When running emacs with an empty command line argument like this: emacs '' it won't start and display the following message: Option `' is ambiguous This makes it impossible to just call emacs "$*" inside a shell script (without checking if "$*" is an empty string). 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 /usr/share/emacs/23.0.90/etc/DEBUG for instructions. In GNU Emacs 23.0.90.1 (i686-pc-linux-gnu, GTK+ Version 2.14.7) of 2009-02-17 on sascha-xps Windowing system distributor `The X.Org Foundation', version 11.0.10502000 configured using `configure '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--with-sound' '--with-x' '--with-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--with-freetype' '--with-xft' '--without-libotf' '--without-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' '--build=i686-pc-linux-gnu' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-O2 -march=prescott -pipe' 'LDFLAGS=-Wl,-O1'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: de_DE.utf8 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.utf8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: eldoc-mode: t auto-complete-mode: t iswitchb-mode: t which-function-mode: t minibuffer-depth-indicate-mode: t recentf-mode: t icicle-mode: t show-paren-mode: t auto-dictionary-mode: t flyspell-mode: t tooltip-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: -1 global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: Recent messages: Loading /home/sascha/.emacs.d/site-lisp/auto-complete/auto-complete.el (source)...done Loading /home/sascha/.emacs.d/site-lisp/auto-complete/ac-dabbrev.el (source)...done Loading /home/sascha/.emacs.d/site-lisp/my-stuff/init.el (source)...done Starting new Ispell process [default] ... For information about GNU Emacs and the GNU system, type C-h C-a. Menu-Bar mode enabled Buffer dictionary was nil Ispell process killed Local Ispell dictionary set to en Buffer dictionary is now en ------------=_1235144108-25760-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2407-done) by emacsbugs.donarmstrong.com; 20 Feb 2009 15:28:39 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.5 required=4.0 tests=HAS_BUG_NUMBER,XIRONPORT autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KFSab8024122 for <2407-done@emacsbugs.donarmstrong.com>; Fri, 20 Feb 2009 07:28:38 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkwFAEdbnklMCpTK/2dsb2JhbACBbtMPhA8Gg0o X-IronPort-AV: E=Sophos;i="4.38,242,1233550800"; d="scan'208";a="34142397" Received: from 76-10-148-202.dsl.teksavvy.com (HELO pastel.home) ([76.10.148.202]) by ironport2-out.teksavvy.com with ESMTP; 20 Feb 2009 10:28:15 -0500 Received: by pastel.home (Postfix, from userid 20848) id D92884B488; Fri, 20 Feb 2009 10:28:14 -0500 (EST) From: Stefan Monnier To: Andreas Schwab Cc: 2407-done@emacsbugs.donarmstrong.com Subject: Re: bug#2407: 23.0.90; Emacs chokes on empty command line argument Message-ID: References: Date: Fri, 20 Feb 2009 10:28:14 -0500 In-Reply-To: (Andreas Schwab's message of "Fri, 20 Feb 2009 11:17:38 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >> This makes it impossible to just call emacs "$*" inside a shell script >> (without checking if "$*" is an empty string). > You should use "$@" anyway. Exactly. Stefan ------------=_1235144108-25760-0--