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: Sat, 11 Jul 2009 21:02:48 +0300 Message-ID: <87k52f5c8n.fsf@iki.fi> References: <87zlbbnp8z.fsf@iki.fi> <871vonw2rq.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 1247336279 28928 80.91.229.12 (11 Jul 2009 18:17:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 Jul 2009 18:17:59 +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 Sat Jul 11 20:17:52 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 1MPh8x-0007IP-Si for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Jul 2009 20:17:52 +0200 Original-Received: from localhost ([127.0.0.1]:48158 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MPh8x-0005Fm-7n for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Jul 2009 14:17:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MPh8h-00058Q-9I for bug-gnu-emacs@gnu.org; Sat, 11 Jul 2009 14:17:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MPh8c-00056T-Dq for bug-gnu-emacs@gnu.org; Sat, 11 Jul 2009 14:17:34 -0400 Original-Received: from [199.232.76.173] (port=50447 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MPh8c-00056P-6H for bug-gnu-emacs@gnu.org; Sat, 11 Jul 2009 14:17:30 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:50967) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MPh8b-0005F1-Nn for bug-gnu-emacs@gnu.org; Sat, 11 Jul 2009 14:17:30 -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 n6BIHRjR008195; Sat, 11 Jul 2009 11:17:27 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n6BIA4mW006834; Sat, 11 Jul 2009 11:10: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: Sat, 11 Jul 2009 18:10: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.12473353815250 (code B ref 3494); Sat, 11 Jul 2009 18:10:04 +0000 Original-Received: (at 3494) by emacsbugs.donarmstrong.com; 11 Jul 2009 18:03:01 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from kirsi1.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 n6BI2u1h005244 for <3494@emacsbugs.donarmstrong.com>; Sat, 11 Jul 2009 11:02:58 -0700 Original-Received: from mithlond.arda.local (80.220.180.181) by kirsi1.inet.fi (8.5.014) id 49F6055A02A1AE35; Sat, 11 Jul 2009 21:02:55 +0300 Original-Received: from dtw by mithlond.arda.local with local (Exim 4.69) (envelope-from ) id 1MPguO-0007xW-RG; Sat, 11 Jul 2009 21:02:48 +0300 In-Reply-To: <871vonw2rq.fsf@stupidchicken.com> (Chong Yidong's message of "Sat, 11 Jul 2009 13:25:13 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 11 Jul 2009 14:17:34 -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:29337 Archived-At: On 2009-07-11 13:25 (-0400), Chong Yidong wrote: > Teemu Likonen writes: > >> 1. emacs -Q -f toggle-truncate-lines >> >> 2. Don't change the size of the window. Create test buffer with >> commands: >> >> C-u 85 a RET >> C-u 100 b RET >> >> 3. Move the cursor to the end of the first (the line with a's). >> >> 4. Enable goal column: C-x C-n >> >> 5. Repeat C-n and C-p. The column changes quite wildly. >> >> The problem goes away if I set line-move-visual to nil. > > I can't reproduce this. Could you try with the latest patch in the > trunk? The above is 100% reproducible in my Debian GNU/Linux system. I use the GTK version GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12) of 2009-07-11 on mithlond This is the revision I compiled (with make bootstrap): commit 9bcb78f2eeba70b10d6d1d74dd98c1b36dfc1ca6 Author: Chong Yidong Date: 2009-07-11 16:36:05 +0000 * simple.el (temporary-goal-column): Change the value for line-move-visual to a cons cell. (line-move-visual): Record or set the window hscroll, if necessary (Bug#3494). (line-move-1): Handle cons value of temporary-goal-column.