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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Glenn Morris <rgm <at> gnu.org>
Subject: bug#2213: marked as done ((Non)optional arg in kill-whole-line)
Date: Fri, 06 Feb 2009 17:35:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 06 Feb 2009 12:25:41 -0500
with message-id <h47i437a0a.fsf <at> fencepost.gnu.org>
and subject line Re: bug#2213: (Non)optional arg in kill-whole-line
has caused the Emacs bug report #2213,
regarding (Non)optional arg in kill-whole-line
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 help-debbugs <at> gnu.org
immediately.)


-- 
2213: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2213
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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



[Message part 3 (message/rfc822, inline)]
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.


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

Previous Next


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