From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christoph Ruegge Newsgroups: gmane.emacs.bugs Subject: bug#19769: 25.0.50; Incorrect beginning of line in visual-line-mode Date: Wed, 04 Feb 2015 16:31:31 +0100 Message-ID: <87bnl9d770.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1423063977 23286 80.91.229.3 (4 Feb 2015 15:32:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Feb 2015 15:32:57 +0000 (UTC) To: 19769@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 04 16:32:53 2015 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 1YJ1wd-0004js-1W for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Feb 2015 16:32:47 +0100 Original-Received: from localhost ([::1]:36936 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJ1wc-00045a-Ft for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Feb 2015 10:32:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJ1vy-00037m-61 for bug-gnu-emacs@gnu.org; Wed, 04 Feb 2015 10:32:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJ1vu-0008Js-0y for bug-gnu-emacs@gnu.org; Wed, 04 Feb 2015 10:32:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJ1vt-0008Jo-UO for bug-gnu-emacs@gnu.org; Wed, 04 Feb 2015 10:32:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YJ1vt-0003g0-OR for bug-gnu-emacs@gnu.org; Wed, 04 Feb 2015 10:32:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Christoph Ruegge Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Feb 2015 15:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19769 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.142306391114114 (code B ref -1); Wed, 04 Feb 2015 15:32:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Feb 2015 15:31:51 +0000 Original-Received: from localhost ([127.0.0.1]:34018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YJ1vj-0003fZ-4X for submit@debbugs.gnu.org; Wed, 04 Feb 2015 10:31:51 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39799) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YJ1vg-0003fK-Qp for submit@debbugs.gnu.org; Wed, 04 Feb 2015 10:31:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJ1va-0008Fw-Hp for submit@debbugs.gnu.org; Wed, 04 Feb 2015 10:31:43 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:58944) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJ1va-0008Fs-FS for submit@debbugs.gnu.org; Wed, 04 Feb 2015 10:31:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJ1vZ-0002ko-D1 for bug-gnu-emacs@gnu.org; Wed, 04 Feb 2015 10:31:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJ1v9-0008BW-64 for bug-gnu-emacs@gnu.org; Wed, 04 Feb 2015 10:31:41 -0500 Original-Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]:35937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJ1v8-0008BI-UH for bug-gnu-emacs@gnu.org; Wed, 04 Feb 2015 10:31:15 -0500 Original-Received: by mail-wi0-f178.google.com with SMTP id bs8so4425450wib.5 for ; Wed, 04 Feb 2015 07:31:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=S5AyekZhxkJa0gClV4TFuk1ENkTAabpMGfSYhZ+ZEF4=; b=nNamERaKZ1/ErJDrOhKLYME+igdkqCJbbY8/LTT3ZvFz4bED7cGRq6j3/jl2flh42h YDzMgAJZeDAQa2NdGq+GqNpEhsoeYqebVajMernXOnznh/69edx6xAgAZ8vzbNEBUAXf JOHB2D/TJSTufFMXWYGBQUsDyUBWcnqA0httI4D2tevG3wSKLBYofNiL8e5l/Y8xvgpi +/n0drqT+hMrRXEzzj73e4c4ef4JpwyCVAfvEJE5OhYS6zvuCAfQ11atjex3MUC6mHo8 J4fiGoyrpKIUbhOkKSN9fLejydhOW5AR1AnWVWjXVmtqr8BbSVoD93Qsg088HpuFzxJH g8Jw== X-Received: by 10.194.61.51 with SMTP id m19mr17437288wjr.39.1423063873446; Wed, 04 Feb 2015 07:31:13 -0800 (PST) Original-Received: from io ([134.76.80.188]) by mx.google.com with ESMTPSA id di11sm3730028wid.8.2015.02.04.07.31.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Feb 2015 07:31:12 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:99031 Archived-At: Steps to produce the problem: 1) emacs -Q -fn Monospace 2) In the scratch buffer, disable scroll-bar-mode and enable visual-line-mode. 3) Type, on a single line: 'aaa[...]aa bbbb cccc', where the number of 'a's is chosen such that - the 'b's appear at the end of the line, - the 'c's are wrapped to the next line by visual-line-mode, - one more 'a' would make the 'b's also wrap to the next line. 4) Position the cursor after the 'c's and invoke beginning-of-visual-line. Result: The cursor is at the first 'b', but should be at the first 'c'. The problem also occurs with other fonts instead of Monospace passed to the -fn option, but not when omitting the option. In GNU Emacs 25.0.50.11 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.8) of 2015-02-04 on io Repository revision: 5b83f03725e713c268ec1417ca36f8d3b65905d4 Windowing system distributor `The X.Org Foundation', version 11.0.11603000 System Description: Arch Linux Configured using: `configure --prefix=/home/cs/.local --with-x-toolkit=gtk' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB Important settings: value of $LC_MONETARY: en_DK.UTF-8 value of $LC_NUMERIC: en_DK.UTF-8 value of $LC_TIME: en_DK.UTF-8 value of $LANG: en_DK.UTF-8 value of $XMODIFIERS: @im=fcitx locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-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 line-number-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message dired format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-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 cl-preloaded nadvice 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 gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 75152 3276) (symbols 48 18087 0) (miscs 40 40 124) (strings 32 11065 4218) (string-bytes 1 300732) (vectors 16 9359) (vector-slots 8 386511 16301) (floats 8 71 62) (intervals 56 190 0) (buffers 976 12) (heap 1024 46726 1043))