From: "Johan Bockgård" <bojohan@gnu.org>
To: Andrew Kurn <kurn@sfu.ca>
Cc: 9936@debbugs.gnu.org
Subject: bug#9936: kill-line problem
Date: Fri, 04 Nov 2011 01:05:21 +0100 [thread overview]
Message-ID: <87wrbgah1a.fsf@gnu.org> (raw)
In-Reply-To: <20111102221250.GA20214@sfu.ca> (Andrew Kurn's message of "Wed, 2 Nov 2011 15:12:50 -0700")
Andrew Kurn <kurn@sfu.ca> writes:
> On Wed 2 Nov 2011 16:11 -0400, Glenn Morris wrote:
>>
>>
>> (Please keep 9936@debbugs cc'd)
>>
>> Andrew Kurn wrote (on Wed, 2 Nov 2011 at 09:50 -0700):
>>
>> > > It sounds like the intended behaviour. With kill-whole-line non-nil,
>> > > kill-line kills up to wherever forward-visible-line ends up. Ie,
>> > > invisible newlines are ignored.
>> >
>> > No, sorry, but there are several visible newlines in the way. It eats
>> > them all up.
>>
>> Can you give a recipe showing how to reproduce the problem, starting
>> from emacs -q --no-site-file?
>
>
> This seems to work:
>
> 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.)
next prev parent reply other threads:[~2011-11-04 0:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-01 20:46 bug#9936: kill-line problem Andrew Kurn
2011-11-02 1:19 ` Glenn Morris
2011-11-02 16:50 ` Andrew Kurn
2011-11-02 20:11 ` Glenn Morris
2011-11-02 22:12 ` Andrew Kurn
2011-11-04 0:05 ` Johan Bockgård [this message]
2011-11-04 0:55 ` Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wrbgah1a.fsf@gnu.org \
--to=bojohan@gnu.org \
--cc=9936@debbugs.gnu.org \
--cc=kurn@sfu.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).