From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#3494: 23.0.94; line-move-visual: temporary goal column confused by hscrolling Date: Sun, 12 Jul 2009 18:38:36 +0200 Message-ID: References: <87zlbbnp8z.fsf@iki.fi> <871vonw2rq.fsf@stupidchicken.com> <87k52f5c8n.fsf@iki.fi> <87fxd2su6a.fsf@stupidchicken.com> <871vombcu3.fsf@iki.fi> <871volq44a.fsf@stupidchicken.com> Reply-To: Lennart Borgman , 3494@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1247417872 25773 80.91.229.12 (12 Jul 2009 16:57:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Jul 2009 16:57:52 +0000 (UTC) Cc: Kees Bakker , Teemu Likonen , Johan =?UTF-8?Q?Bockg=C3=A5rd?= To: Chong Yidong , 3494@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 12 18:57:44 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 1MQ2Mx-0001cL-KK for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Jul 2009 18:57:43 +0200 Original-Received: from localhost ([127.0.0.1]:33914 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQ2Mw-0003kF-QA for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Jul 2009 12:57:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MQ2Mr-0003j3-AN for bug-gnu-emacs@gnu.org; Sun, 12 Jul 2009 12:57:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MQ2Ml-0003fK-RR for bug-gnu-emacs@gnu.org; Sun, 12 Jul 2009 12:57:35 -0400 Original-Received: from [199.232.76.173] (port=54132 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQ2Ml-0003fC-Jo for bug-gnu-emacs@gnu.org; Sun, 12 Jul 2009 12:57:31 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:42703) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MQ2Ml-0003Ti-1T for bug-gnu-emacs@gnu.org; Sun, 12 Jul 2009 12:57: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 n6CGvRIv027685; Sun, 12 Jul 2009 09:57:28 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n6CGj4t8025610; Sun, 12 Jul 2009 09:45:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Lennart Borgman Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 12 Jul 2009 16:45: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.124741673024825 (code B ref 3494); Sun, 12 Jul 2009 16:45:04 +0000 Original-Received: (at 3494) by emacsbugs.donarmstrong.com; 12 Jul 2009 16:38:50 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail-bw0-f225.google.com (mail-bw0-f225.google.com [209.85.218.225]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6CGcgJW024815 for <3494@emacsbugs.donarmstrong.com>; Sun, 12 Jul 2009 09:38:43 -0700 Original-Received: by bwz25 with SMTP id 25so78142bwz.1 for <3494@emacsbugs.donarmstrong.com>; Sun, 12 Jul 2009 09:38:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=rWvLPD8vAtVIqE96Vp8FAk0Lk1MwJcR0srZtxQr8n6U=; b=tegENjl6g2Djo6BH+V0ErOWXsMcVD0OFJ8gLHbiBq9tyk7aVth6Qzxvat5qiWQ/Oac ol76ZyIMxtjNEanzUqOHebKf2urI5X2IYg3BK8ScCvatrh+47S96L3aXXuf4LdOeIjlK S4AJP1WwREgESEwcFFNV+dZAf5cjybzEy8fj4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=xGdaUyZY2bKtn6cU2Vzw/MOsI4UWdTFv/fT2ffF5l5WyRW90fIUNB8xDqdzwpDrPlv Z7sRsQTWjgStWd8gDtgQA6Wq66KU6jq6Ojge4SiR3Xt5mX276MsuNYjasE2d9L8nHLsH Ykcz8OyegLuAegUH196nGnE2nmDXskhH42eZY= Original-Received: by 10.223.114.207 with SMTP id f15mr1643907faq.90.1247416716364; Sun, 12 Jul 2009 09:38:36 -0700 (PDT) In-Reply-To: <871volq44a.fsf@stupidchicken.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 12 Jul 2009 12:57: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:29355 Archived-At: On Sun, Jul 12, 2009 at 6:04 PM, Chong Yidong wrote: >> =C2=A01. xrdb -remove; xterm -geometry 80x25 >> =C2=A02. emacs -Q -nw -f toggle-truncate-lines -f column-number-mode >> =C2=A03. C-u 85 a RET >> =C2=A0 =C2=A0 C-u 100 b RET >> =C2=A04. Press C-p two times to move the the beginning of "a" line. >> =C2=A05. Press C-e to get to the end of "a" line. (See screenshot 1.) >> =C2=A06. Press C-x C-n and "y" to set goal column. >> =C2=A07. Press C-n. The screen is scrolled horizontally and the cursor a= t the >> =C2=A0 =C2=A0 column 94. (See screenshot 2.) > > I see the problem. =C2=A0It's not trivial to fix; maybe it's preferable f= or > `line-move' to call `line-move-1' instead of `line-move-visual' when the > window is hscrolled. I don't understand what is wrong here, but is this perhaps related to the problem with posn-at-point that I reported for example here: http://www.opensubscriber.com/message/emacs-devel@gnu.org/10283709.html