From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Teemu Likonen Newsgroups: gmane.emacs.bugs Subject: bug#3494: 23.0.94; line-move-visual: temporary goal column confused by hscrolling Date: Sun, 12 Jul 2009 10:05:40 +0300 Message-ID: <871vombcu3.fsf@iki.fi> References: <87zlbbnp8z.fsf@iki.fi> <871vonw2rq.fsf@stupidchicken.com> <87k52f5c8n.fsf@iki.fi> <87fxd2su6a.fsf@stupidchicken.com> Reply-To: Teemu Likonen , 3494@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1247383078 15569 80.91.229.12 (12 Jul 2009 07:17:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Jul 2009 07:17:58 +0000 (UTC) Cc: 3494@emacsbugs.donarmstrong.com, Kees Bakker , Johan =?UTF-8?Q?Bockg=C3=A5rd?= To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 12 09:17:50 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MPtJk-00010u-N8 for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Jul 2009 09:17:49 +0200 Original-Received: from localhost ([127.0.0.1]:34601 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MPtJj-00084V-OI for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Jul 2009 03:17:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MPtJf-00082l-GT for bug-gnu-emacs@gnu.org; Sun, 12 Jul 2009 03:17:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MPtJa-0007xC-3T for bug-gnu-emacs@gnu.org; Sun, 12 Jul 2009 03:17:42 -0400 Original-Received: from [199.232.76.173] (port=35695 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MPtJZ-0007x8-Vc for bug-gnu-emacs@gnu.org; Sun, 12 Jul 2009 03:17:37 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:17920) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MPtJZ-0004aE-Df for bug-gnu-emacs@gnu.org; Sun, 12 Jul 2009 03:17:37 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MPtJY-00022A-GN for bug-gnu-emacs@gnu.org; Sun, 12 Jul 2009 03:17:36 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6C7HRev001047; Sun, 12 Jul 2009 00:17:27 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n6C7F41v000456; Sun, 12 Jul 2009 00:15:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Teemu Likonen Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 12 Jul 2009 07:15:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3494 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3494-submit@emacsbugs.donarmstrong.com id=B3494.124738235131812 (code B ref 3494); Sun, 12 Jul 2009 07:15:04 +0000 Original-Received: (at 3494) by emacsbugs.donarmstrong.com; 12 Jul 2009 07:05:51 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from jenni2.inet.fi (mta-out.inet.fi [195.156.147.13]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6C75iob031807 for <3494@emacsbugs.donarmstrong.com>; Sun, 12 Jul 2009 00:05:46 -0700 Original-Received: from mithlond.arda.local (80.220.180.181) by jenni2.inet.fi (8.5.014) id 4A52D15A0029E407; Sun, 12 Jul 2009 10:05:42 +0300 Original-Received: from dtw by mithlond.arda.local with local (Exim 4.69) (envelope-from ) id 1MPt80-00016j-0n; Sun, 12 Jul 2009 10:05:40 +0300 In-Reply-To: <87fxd2su6a.fsf@stupidchicken.com> (Chong Yidong's message of "Sat, 11 Jul 2009 18:59:09 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Sun, 12 Jul 2009 03:17:42 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29349 Archived-At: On 2009-07-11 18:59 (-0400), Chong Yidong wrote: > I can't reproduce it. Your recipe is missing one step: C-x C-n is a > disabled command, so you need to type "y" to enable it, as I presume > you intended. I don't observe any column change, though. > > Did you do xrdb -remove beforehand? (I can't reproduce the problem > with or without Xresource settings.) What's the size of your Emacs > frame? Yes, I enabled the disabled set-goal-column command with "y". The bug appears on terminal too. Here's another, even more accurate recipe what I do. I uploaded screenshots too (see the link below). This time I use Emacs in terminal: 1. xrdb -remove; xterm -geometry 80x25 2. emacs -Q -nw -f toggle-truncate-lines -f column-number-mode 3. Create content exactly like this: C-u 85 a RET C-u 100 b RET 4. Press C-p two times to move the the beginning of "a" line. 5. Press C-e to get to the end of "a" line. (See screenshot 1.) 6. Press C-x C-n and "y" to set goal column. This message is displayed: Goal column 85 (use C-x C-n with an arg to unset it) 7. Press C-n. The screen is scrolled horizontally and the cursor at the column 94. (See screenshot 2.) Let's continue to reproduce the bug which appears without goal column. 8. Disable the goal column: C-u C-x C-n 9. Move to the beginning of the "a" line. 10. Move to the end of the "a" line (C-e). Again the screen looks like in my first screenshot, see the item 5 above. 11. Press C-n to go the next line. The screen is scrolled horizontally and the cursor column is correct: 85. (See screenshot 3.) 12. Press C-p to go the previous line. The cursor stays on the "b" line but the cursor column is now 79. (See screenshot 4.) None of these bugs appear when line-move-visual=nil. Screenshots here: http://dtw.silverentertainment.fi/pics/emacs/emacs-bug-3494.png