From cz2s20d02@sneakemail.com Tue May 26 18:13:41 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 27 May 2009 01:13:41 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4R1DaJQ008906 for ; Tue, 26 May 2009 18:13:38 -0700 Received: from mx10.gnu.org ([199.232.76.166]:42841) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1M97i4-0000Ru-D5 for emacs-pretest-bug@gnu.org; Tue, 26 May 2009 21:13:36 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1M97i2-0004qP-PB for emacs-pretest-bug@gnu.org; Tue, 26 May 2009 21:13:35 -0400 Received: from sneakemail.com ([38.113.6.61]:38832 helo=sneak1.sneakemail.com) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1M97i2-0004q7-3v for emacs-pretest-bug@gnu.org; Tue, 26 May 2009 21:13:34 -0400 Received: (qmail 22877 invoked by uid 508); 27 May 2009 01:13:30 -0000 Date: 27 May 2009 01:13:30 -0000 To: emacs-pretest-bug@gnu.org Subject: next-line and previous-line do not work correctly near long lines Encoding: 8bit From: "Shannon Jones" Message-ID: <15898-55143@sneakemail.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) This is similar to bug#3386 posted by Heinrich Rommerskirchen. It's somewhat different, so I decided to post a new bug report. * Emacs version: GNU Emacs 23.0.94.1 (i686-pc-linux-gnu, GTK+ Version 2.10.4) of 2009-05-26 Also reproduced on 23.0.94.1 on Windows. * Compiled on CentOS 5.3. * No options given to configure * To reproduce: Run: emacs -Q (happens with or without -nw) C-x b *scratch* C-u 1000 X This will put 1000 X's on the screen and the cursor will be on the line below them. The line of X's should wrap over several lines of the screen with continuation marks at the end of each line. Hit C-p. This *should* put the cursor at the beginning of the line of X's. Instead, it puts the cursor at the left column on the screen, but somewhere in the middle of the line of X's. Hitting C-p again a few times moves the cursor somewhere else on the line, but still at the left-most column. Hitting C-n now should move you to the beginning of the next physical line (the blank one after the X's), but instead moves you somewhere else on the line of X's (but still in the first column). In other words, next-line and previous-line should move relative to physical lines in the file, but are instead moving relative to lines on the screen. Changing the screen width changes the behavior of C-n and C-p when the lines are long enough to wrap. This is different from Emacs 22. I noticed this when writing macros that do something to one line, then move to the next line at the end macro to prepare for the next run. The macro failed on lines that were longer than my screen width. From jasonrumney@gmail.com Tue May 26 21:58:51 2009 Received: (at 3396) by emacsbugs.donarmstrong.com; 27 May 2009 04:58:51 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.9 required=4.0 tests=AWL,FOURLA,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.232]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4R4wl9t007996 for <3396@emacsbugs.donarmstrong.com>; Tue, 26 May 2009 21:58:48 -0700 Received: by rv-out-0506.google.com with SMTP id f9so1380774rvb.1 for <3396@emacsbugs.donarmstrong.com>; Tue, 26 May 2009 21:58:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=+Q9VI12KfNOusJpbbC+yVf3Y7IzHVGNpxwbsTVYvbcI=; b=ZHOkAPD2eX66CMI0dZI774BUYHFkztNKbR8o1v44GSzanCJbQHne+uTYYYRMicSMRE Xg6vaZbbYBLbbMDXRxYq9wdpg21nu2EEspYi599h3CIWLsJruOee0O395LdTdu7r+TE3 9wqorw5/wY7nma/f2eOwGuQPq/0K9C8Rg8lUs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=iQjhurtYVrg4c6O/EJNvVyDUe4CuvFEqJ6wKPpLVtSGMDzXLT8mbi6zfrBx3I1xn0x Uwo89ZaxpEGFhYu7HgXFpQESIXhHvUQojLm/SVwaW2dzzKr1XJJ+OApDucBWylwtKY8H YcZ/abIMmuzXzBQ5QcmyAYlIs3HQfOxs+bKtU= Received: by 10.141.137.8 with SMTP id p8mr3726151rvn.157.1243400326993; Tue, 26 May 2009 21:58:46 -0700 (PDT) Received: from ?10.1.1.113? ([61.4.103.130]) by mx.google.com with ESMTPS id b8sm15480098rvf.4.2009.05.26.21.58.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 26 May 2009 21:58:46 -0700 (PDT) Sender: Jason Rumney Message-ID: <4A1CC867.5040705@gnu.org> Date: Wed, 27 May 2009 12:58:15 +0800 From: Jason Rumney User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Shannon Jones , 3396@debbugs.gnu.org Subject: Re: bug#3396: next-line and previous-line do not work correctly near long lines References: <15898-55143@sneakemail.com> In-Reply-To: <15898-55143@sneakemail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Shannon Jones wrote: > Hit C-p. This *should* put the cursor at the beginning of the line of X's. Instead, it puts the cursor at the left column on the screen, but somewhere in the middle of the line of X's. This is intentional, see etc/NEWS under the heading "Editing Changes in Emacs 23.1". > This is different from Emacs 22. I noticed this when writing macros that do something to one line, then move to the next line at the end macro to prepare for the next run. The macro failed on lines that were longer than my screen width. > The effect of this change on keyboard macros is currently being discussed on emacs-devel. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 26 13:41:57 2010 Received: (at control) by debbugs.gnu.org; 26 Jan 2010 18:41:58 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NZqMP-0002bu-EP for submit@debbugs.gnu.org; Tue, 26 Jan 2010 13:41:57 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NZqMC-0002bf-7k for control@debbugs.gnu.org; Tue, 26 Jan 2010 13:41:56 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NZqM6-00073h-Sb; Tue, 26 Jan 2010 13:41:38 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19295.14178.860840.157022@fencepost.gnu.org> Date: Tue, 26 Jan 2010 13:41:38 -0500 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: magenta X-Ran: c>qUJL[3-J}PozrYQKhkXmOqKZpEn9|:irefvRW$aMi54 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.0 (-----) severity 3304 minor severity 3314 minor close 3356 severity 3366 minor severity 3370 wishlist tags 3370 wontfix severity 3395 minor close 3396 unarchive 3443 unarchive 3431 reassign 3443 emacs,w32 merge 3431 3443 tags 3500 moreinfo From unknown Sat Jun 14 03:57:39 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 24 Feb 2010 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator