From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#3494: 23.0.94; line-move-visual: temporary goal column confused by hscrolling Date: Sun, 12 Jul 2009 12:04:53 -0400 Message-ID: <871volq44a.fsf@stupidchicken.com> References: <87zlbbnp8z.fsf@iki.fi> <871vonw2rq.fsf@stupidchicken.com> <87k52f5c8n.fsf@iki.fi> <87fxd2su6a.fsf@stupidchicken.com> <871vombcu3.fsf@iki.fi> Reply-To: Chong Yidong , 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 1247415482 20032 80.91.229.12 (12 Jul 2009 16:18:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Jul 2009 16:18:02 +0000 (UTC) Cc: 3494@emacsbugs.donarmstrong.com, Kees Bakker , Teemu Likonen , =?UTF-8?Q?Bockg=C3=A5rd?= , Johan To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 12 18:17:54 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 1MQ1kP-000693-Ha for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Jul 2009 18:17:53 +0200 Original-Received: from localhost ([127.0.0.1]:37939 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQ1kO-0001NU-QY for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Jul 2009 12:17:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MQ1k8-0001HA-Az for bug-gnu-emacs@gnu.org; Sun, 12 Jul 2009 12:17:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MQ1k3-0001FS-Gf for bug-gnu-emacs@gnu.org; Sun, 12 Jul 2009 12:17:35 -0400 Original-Received: from [199.232.76.173] (port=40508 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQ1k3-0001F9-5b for bug-gnu-emacs@gnu.org; Sun, 12 Jul 2009 12:17:31 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:45701) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MQ1k2-0004ZE-OW for bug-gnu-emacs@gnu.org; Sun, 12 Jul 2009 12:17:31 -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 n6CGHRVR021906; Sun, 12 Jul 2009 09:17:27 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n6CGA58n020577; Sun, 12 Jul 2009 09:10:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Chong Yidong Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 12 Jul 2009 16:10:05 +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.124741470919844 (code B ref 3494); Sun, 12 Jul 2009 16:10:05 +0000 Original-Received: (at 3494) by emacsbugs.donarmstrong.com; 12 Jul 2009 16:05:09 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from pantheon-po28.its.yale.edu (pantheon-po28.its.yale.edu [130.132.50.123]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6CG54FX019036 for <3494@emacsbugs.donarmstrong.com>; Sun, 12 Jul 2009 09:05:05 -0700 Original-Received: from furry (c-71-192-161-14.hsd1.nh.comcast.net [71.192.161.14]) (authenticated bits=0) by pantheon-po28.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n6CG4sVO018565 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 12 Jul 2009 12:04:54 -0400 Original-Received: by furry (Postfix, from userid 1000) id C0423C09B; Sun, 12 Jul 2009 12:04:53 -0400 (EDT) In-Reply-To: <871vombcu3.fsf@iki.fi> (Teemu Likonen's message of "Sun, 12 Jul 2009 10:05:40 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 12 Jul 2009 12:17:35 -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:29354 Archived-At: > 1. xrdb -remove; xterm -geometry 80x25 > 2. emacs -Q -nw -f toggle-truncate-lines -f column-number-mode > 3. 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. > 7. Press C-n. The screen is scrolled horizontally and the cursor at the > column 94. (See screenshot 2.) I see the problem. It's not trivial to fix; maybe it's preferable for `line-move' to call `line-move-1' instead of `line-move-visual' when the window is hscrolled. Stefan, WDYT?