From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Johan =?UTF-8?Q?Bockg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#9936: kill-line problem Date: Fri, 04 Nov 2011 01:05:21 +0100 Message-ID: <87wrbgah1a.fsf@gnu.org> References: <20111101204642.GC20741@sfu.ca> <5bbosvl3rn.fsf@fencepost.gnu.org> <20111102165024.GD26922@sfu.ca> <20145.41970.282049.500375@fencepost.gnu.org> <20111102221250.GA20214@sfu.ca> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1320365141 32130 80.91.229.12 (4 Nov 2011 00:05:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 4 Nov 2011 00:05:41 +0000 (UTC) Cc: 9936@debbugs.gnu.org To: Andrew Kurn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 04 01:05:36 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RM7Hr-0006gQ-IP for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Nov 2011 01:05:35 +0100 Original-Received: from localhost ([::1]:46103 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RM7Hr-0003Sn-0V for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Nov 2011 20:05:35 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:39992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RM7Ho-0003Si-5Q for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2011 20:05:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RM7Hn-00036Q-6w for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2011 20:05:32 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38867) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RM7Hn-00036L-4C for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2011 20:05:31 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RM7KE-0007ap-3y for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2011 20:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Johan =?UTF-8?Q?Bockg=C3=A5rd?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Nov 2011 00:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9936 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9936-submit@debbugs.gnu.org id=B9936.132036527829178 (code B ref 9936); Fri, 04 Nov 2011 00:08:01 +0000 Original-Received: (at 9936) by debbugs.gnu.org; 4 Nov 2011 00:07:58 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RM7KA-0007aZ-LG for submit@debbugs.gnu.org; Thu, 03 Nov 2011 20:07:58 -0400 Original-Received: from smtprelay-h22.telenor.se ([195.54.99.197]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RM7K8-0007aQ-2e for 9936@debbugs.gnu.org; Thu, 03 Nov 2011 20:07:57 -0400 Original-Received: from iph3.telenor.se (iph3.telenor.se [195.54.127.134]) by smtprelay-h22.telenor.se (Postfix) with ESMTP id CEAC6D53E for <9936@debbugs.gnu.org>; Fri, 4 Nov 2011 01:05:23 +0100 (CET) X-SMTPAUTH-B2: [bocjoh] X-SENDER-IP: [85.228.192.203] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgdOAPQqs05V5MDLPGdsb2JhbABDiUGgRBkBAQEBNzKBcgEBBAFWIwULCxgJJQ8BBBgBDAoaE4gCArUjiR8EpX4 X-IronPort-AV: E=Sophos;i="4.69,453,1315173600"; d="scan'208";a="143576784" Original-Received: from c-cbc0e455.04-211-6c6b701.cust.bredbandsbolaget.se (HELO muon.localdomain) ([85.228.192.203]) by iph3.telenor.se with ESMTP; 04 Nov 2011 01:05:23 +0100 Original-Received: by muon.localdomain (Postfix, from userid 1000) id 508EE4843B8; Fri, 4 Nov 2011 01:05:22 +0100 (CET) Mail-Copies-To: never In-Reply-To: <20111102221250.GA20214@sfu.ca> (Andrew Kurn's message of "Wed, 2 Nov 2011 15:12:50 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 03 Nov 2011 20:08:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:53494 Archived-At: Andrew Kurn 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.)