From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Arni Magnusson Newsgroups: gmane.emacs.bugs Subject: bug#2213: (Non)optional arg in kill-whole-line Date: Thu, 5 Feb 2009 18:02:02 +0000 (GMT) Message-ID: Reply-To: Arni Magnusson , 2213@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: ger.gmane.org 1233928994 23617 80.91.229.12 (6 Feb 2009 14:03:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Feb 2009 14:03:14 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 06 15:04:28 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 1LVRJh-0003is-9y for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Feb 2009 15:04:25 +0100 Original-Received: from localhost ([127.0.0.1]:53838 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVRIO-0001rV-8S for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Feb 2009 09:03:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LV8t3-0001pg-7z for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2009 13:23:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LV8sx-0001le-Mw for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2009 13:23:36 -0500 Original-Received: from [199.232.76.173] (port=56588 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LV8sx-0001lK-E6 for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2009 13:23:35 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:54903) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LV8sw-0005HV-4a for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2009 13:23:35 -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 n15INWOq004851; Thu, 5 Feb 2009 10:23:32 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n15IA5mS001382; Thu, 5 Feb 2009 10:10:05 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Arni Magnusson Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 05 Feb 2009 18:10:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 2213 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123385696531704 (code B ref -1); Thu, 05 Feb 2009 18:10:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 5 Feb 2009 18:02:45 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 X-X-Sender: arnima@localhost.localdomain X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 05 Feb 2009 13:23:36 -0500 X-Mailman-Approved-At: Thu, 05 Feb 2009 22:38:32 -0500 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:24982 Archived-At: 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