GNU bug report logs - #2213
(Non)optional arg in kill-whole-line

Previous Next

Package: emacs;

Reported by: Arni Magnusson <arnima <at> hafro.is>

Date: Thu, 5 Feb 2009 18:10:05 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2213 in the body.
You can then email your comments to 2213 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2213; Package emacs. (Thu, 05 Feb 2009 18:10:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Arni Magnusson <arnima <at> hafro.is>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Thu, 05 Feb 2009 18:10:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Arni Magnusson <arnima <at> hafro.is>
To: bug-gnu-emacs <at> gnu.org
Subject: (Non)optional arg in kill-whole-line
Date: Thu, 5 Feb 2009 18:02:02 +0000 (GMT)
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





Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Fri, 06 Feb 2009 17:35:03 GMT) Full text and rfc822 format available.

Notification sent to Arni Magnusson <arnima <at> hafro.is>:
bug acknowledged by developer. (Fri, 06 Feb 2009 17:35:03 GMT) Full text and rfc822 format available.

Message #10 received at 2213-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 2213-done <at> debbugs.gnu.org
Subject: Re: bug#2213: (Non)optional arg in kill-whole-line
Date: Fri, 06 Feb 2009 12:25:41 -0500
Thanks; fixed.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Sat, 07 Mar 2009 15:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 168 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.