From arnima@hafro.is Thu Feb 5 10:02:45 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 5 Feb 2009 18:02: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.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 n15I2fpN031698 for ; Thu, 5 Feb 2009 10:02:43 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LV8Yj-0001Ou-9f for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2009 13:02:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LV8Yg-0001Kg-8O for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2009 13:02:40 -0500 Received: from [199.232.76.173] (port=35764 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LV8Yg-0001KD-4j for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2009 13:02:38 -0500 Received: from hafgarpur.hafro.is ([130.208.64.48]:47973) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LV8Yf-000263-Gl for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2009 13:02:37 -0500 X-Virus-Scanned: amavisd-new at hafro.is Received: from localhost.localdomain (hafstormur.hafro.is [130.208.66.52]) by hafgarpur.hafro.is (8.14.2/8.14.2/hafro-2.45) with ESMTP id n15I24pe009077 for ; Thu, 5 Feb 2009 18:02:04 GMT Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost.localdomain (8.14.2/8.14.2/hafro-1.6) with ESMTP id n15I240a026348 for ; Thu, 5 Feb 2009 18:02:04 GMT Received: from localhost (arnima@localhost) by localhost.localdomain (8.14.2/8.14.2/hafro-0.3) with ESMTP id n15I22Vd026345 for ; Thu, 5 Feb 2009 18:02:04 GMT X-Authentication-Warning: localhost.localdomain: arnima owned process doing -bs Date: Thu, 5 Feb 2009 18:02:02 +0000 (GMT) From: Arni Magnusson X-X-Sender: arnima@localhost.localdomain To: bug-gnu-emacs@gnu.org Subject: (Non)optional arg in kill-whole-line Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) Hi there, I am using the 'kill-whole-line' function from the 'simple' library, noninteractively. According to the function definition and documentation, the 'arg' is supposed to be optional, so I was expecting (kill-whole-line) to work, but it crashes with the message: Wrong type argument: number-or-marker-p, nil My current workaround is to use (kill-whole-line 1). I have tested this in GNU Emacs 22.3.1. Thanks, Arni From rgm@gnu.org Fri Feb 6 09:27:37 2009 Received: (at 2213-done) by emacsbugs.donarmstrong.com; 6 Feb 2009 17:27:37 +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=-6.0 required=4.0 tests=HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham 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 n16HRYsL032154 for <2213-done@emacsbugs.donarmstrong.com>; Fri, 6 Feb 2009 09:27:36 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LVUSU-0001Ce-1v; Fri, 06 Feb 2009 12:25:42 -0500 From: Glenn Morris To: 2213-done@debbugs.gnu.org Subject: Re: bug#2213: (Non)optional arg in kill-whole-line References: X-Spook: terrorism cracking Bruxelles CipherTAC-2000 South Africa X-Ran: 0RG-hkb'u|Cv6+bp{4q/Mg\B73x:Jgc~{%TJ/2!>spY{P1=tD*-zd&`|sCxR%]s[L28s:b X-Hue: red X-Debbugs-No-Ack: yes X-Attribution: GM Date: Fri, 06 Feb 2009 12:25:41 -0500 In-Reply-To: (Arni Magnusson's message of "Thu, 5 Feb 2009 18:02:02 +0000 (GMT)") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Thanks; fixed. From unknown Mon Aug 18 21:32:26 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Sat, 07 Mar 2009 15:24:09 +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