From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adam Nielsen Newsgroups: gmane.emacs.bugs Subject: bug#15712: 24.3; Point forgets what column it was in when vertical movement causes horizontal scroll Date: Fri, 25 Oct 2013 16:42:03 +1000 Message-ID: <20131025164203.30d3505d@teln.shikadi.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1382686630 23384 80.91.229.3 (25 Oct 2013 07:37:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Oct 2013 07:37:10 +0000 (UTC) To: 15712@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 25 09:37:15 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VZbxK-000761-RE for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Oct 2013 09:37:15 +0200 Original-Received: from localhost ([::1]:57999 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZbxK-00028i-G9 for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Oct 2013 03:37:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZbxD-00028c-FS for bug-gnu-emacs@gnu.org; Fri, 25 Oct 2013 03:37:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZbx8-00077D-Lo for bug-gnu-emacs@gnu.org; Fri, 25 Oct 2013 03:37:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56879) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZbx8-000779-Eo for bug-gnu-emacs@gnu.org; Fri, 25 Oct 2013 03:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VZbx7-0001e9-RM for bug-gnu-emacs@gnu.org; Fri, 25 Oct 2013 03:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Adam Nielsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Oct 2013 07:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15712 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13826865746264 (code B ref -1); Fri, 25 Oct 2013 07:37:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Oct 2013 07:36:14 +0000 Original-Received: from localhost ([127.0.0.1]:42665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VZbwJ-0001cv-U5 for submit@debbugs.gnu.org; Fri, 25 Oct 2013 03:36:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40052) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VZb6I-0000JJ-7E for submit@debbugs.gnu.org; Fri, 25 Oct 2013 02:42:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZb68-0007gd-Ag for submit@debbugs.gnu.org; Fri, 25 Oct 2013 02:42:20 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:53841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZb68-0007gZ-76 for submit@debbugs.gnu.org; Fri, 25 Oct 2013 02:42:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41759) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZb63-0002tK-Od for bug-gnu-emacs@gnu.org; Fri, 25 Oct 2013 02:42:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZb5z-0007fz-BT for bug-gnu-emacs@gnu.org; Fri, 25 Oct 2013 02:42:11 -0400 Original-Received: from vitalin.sorra.shikadi.net ([173.255.220.46]:36477) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZb5z-0007fr-1T for bug-gnu-emacs@gnu.org; Fri, 25 Oct 2013 02:42:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=shikadi.net; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:Message-ID:Subject:To:From:Date; bh=9ctCSmYi2j8W/6USVL62Eyx4Vl9o/WhsEbYDKvULC5A=; b=TPZbj1EUgh+w3sffWE5R32pEK/fthDyRkcDFPxv83aFUYiGg2ty5+koixA2Fslqz4hDYoq77CMyXgcAxIw+4b8kpfQpFwMU4pE5BxBKqWWHaW9AKp2qBWxUTdsUzDAem; Original-Received: from vorticon.vlook.shikadi.net ([172.16.255.9]) by vitalin.sorra.shikadi.net with esmtp (Exim 4.80) (envelope-from ) id 1VZb5w-0003ky-VJ for bug-gnu-emacs@gnu.org; Fri, 25 Oct 2013 16:42:05 +1000 Original-Received: from arachnut.teln.shikadi.net ([192.168.0.6] helo=teln.shikadi.net) by vorticon.teln.shikadi.net with esmtp (Exim 4.80) (envelope-from ) id 1VZb5w-00077k-58 for bug-gnu-emacs@gnu.org; Fri, 25 Oct 2013 16:42:04 +1000 X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.20; x86_64-unknown-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Fri, 25 Oct 2013 03:36:09 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:79625 Archived-At: Say you have a number of long lines, which are truncated because they are wider than Emacs can display. There are blank lines in between them. Like this: (the "..." should be expanded until the line is wider than the Emacs window) long 1 longlonglong...2 long 1 longlonglong...2 long 1 longlonglong...2 long 1 longlonglong...2 If you place the point on the "1" and move down one line, the point will move to the "1" on the line below (i.e. it stays on the same column.) Moving down another line (to the blank line) the point changes column, but moving down a third time the point returns to the original column and is again on the "1". This is normal and correct. However if this process is repeated on the "2" instead, when the point is moved to the blank line Emacs will scroll horizontally to ensure the point remains visible. This scrolling however, causes the point to forget what column it was on, so when moving down below the blank line, it does not return to the "2" and instead moves to the "l", as if the point had been commanded to return to the first column. I believe this is a bug because the behaviour is not consistent, and changes depending on the width of the Emacs window - it only affects lines too long to display. In GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.8.2) of 2013-08-07 on -mnt-storage-buildroots-staging-x86_64-eric Windowing system distributor `The X.Org Foundation', version 11.0.11402000 Configured using: `configure '--prefix=/usr' '--sysconfdir=/etc' '--libexecdir=/usr/lib' '--localstatedir=/var' '--with-x-toolkit=gtk3' '--with-xft' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LC_COLLATE: C value of $LC_TIME: en_DK.UTF-8 value of $LANG: en_AU.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: C++/l Minor modes in effect: shell-dirtrack-mode: t ido-everywhere: t winner-mode: t show-paren-mode: t autopair-mode: t autopair-global-mode: t global-whitespace-mode: t delete-selection-mode: t desktop-save-mode: t recentf-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Load-path shadows: /usr/share/emacs/site-lisp/php-mode hides /home/adam/.emacs.d/site-lisp/nxhtml/related/php-mode /usr/share/emacs/24.3/lisp/emacs-lisp/ert hides /home/adam/.emacs.d/site-lisp/nxhtml/tests/ert Features: (shadow sort mail-extr emacsbug message idna rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils jka-compr info windmove vcursor ruler-mode mule-util reveal repeat org-protocol master linum iswitchb ibuffer hl-line hippie-exp follow filesets filecache ffap url-parse url-vars emacs-lock dabbrev completion bs autorevert autoinsert pp viper viper-ex viper-macs viper-mous viper-cmd viper-keym viper-util viper-init vip tpu-edt edt picture ehelp cua-base crisp electric cus-edit cus-start cus-load vc vc-dispatcher js json moz imenu thingatpt make-mode tramp-cache tramp tramp-compat auth-source eieio mm-util mail-prsvr password-cache tramp-loaddefs shell dired-aux help-mode dired misearch multi-isearch css-mode org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp ob-exp org-exp-blocks org-agenda org-info org-gnus gnus-util org-docview org-bibtex bibtex org-bbdb org byte-opt warnings bytecomp byte-compile cconv ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys org-pcomplete pcomplete comint ansi-color org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob org-compat org-macs ob-eval org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok vc-git php-mode derived etags cc-langs cc-mode cc-fonts cc-guess cc-menus cc-cmds speedbar sb-image ezimage dframe ido winner ring edmacro kmacro cc-styles cc-align cc-engine cc-vars cc-defs rainbow-delimiters paren autopair whitespace smarttabs advice help-fns advice-preload delsel desktop recentf tree-widget cl-macs gv color-theme-borland color-theme easymenu wid-edit cl cl-lib time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)