GNU bug report logs - #9936
kill-line problem

Previous Next

Package: emacs;

Reported by: Andrew Kurn <kurn <at> sfu.ca>

Date: Tue, 1 Nov 2011 20:50:02 UTC

Severity: normal

Fixed in version 22.1

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 (GNU bug Tracking System)
To: Andrew Kurn <kurn <at> sfu.ca>
Subject: bug#9936: closed (Re: bug#9936: kill-line problem)
Date: Fri, 04 Nov 2011 00:59:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#9936: kill-line problem

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 9936 <at> debbugs.gnu.org.

-- 
9936: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9936
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 9936-done <at> debbugs.gnu.org
Subject: Re: bug#9936: kill-line problem
Date: Thu, 03 Nov 2011 20:55:59 -0400
Version: 22.1

>> emacs -nw -q --no-site-file
>>
>> (setq ss (concat (make-string 10 ?X) "," ))
>>
>>
>> (put-text-property 0 10 'invisible t ss)
>>
>>
>> (insert ss ss ss "\n" ss ss ss "\n" ss ss ss "\n" ss ss ss "\n" )
>>
>>
>> (setq kill-whole-line t)
>
> I can reproduce this bug in Emacs 21, but it appears to be fixed in
> Emacs 22 and later. (The problem was in forward-visible-line.)

Yes, I also see it in 21.4, but not in 22.1 or 23.3, so I'm closing
this as fixed in 22.1.

Thanks for the bug recipe. You are encouraged to upgrade to a more
recent Emacs! :)

[Message part 3 (message/rfc822, inline)]
From: Andrew Kurn <kurn <at> sfu.ca>
To: bug-gnu-emacs <at> gnu.org
Subject: kill-line problem
Date: Tue, 1 Nov 2011 13:46:42 -0700
I'm getting a problem using kill-line in a buffer with much invisible text.
Instead of killing one line, it kills on and on til the end of the buffer.

Version is 21.2.1.
kill-whole-line = t
emacs -nw   (I have found other bugs persisting in this less popular use
      	    of emacs.)

I know you will ask me to reproduce the bug in the latest version of
emacs, but I don't want to get side-tracked right now, and I figure
that a preliminary bug-report is better than none at all.

Has anyone seen this one before?  Worked on it?

Thanks and keep up the good work.
Andrew





This bug report was last modified 13 years and 203 days ago.

Previous Next


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