From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: ynyaaa@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#46316: 27.1; wrong horizontal scroll with truncate-lines value t Date: Fri, 05 Feb 2021 14:08:06 +0900 Message-ID: <86wnvnm79l.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4693"; mail-complaints-to="usenet@ciao.gmane.io" To: 46316@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 05 06:09:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l7tMl-00018d-D3 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Feb 2021 06:09:11 +0100 Original-Received: from localhost ([::1]:42164 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7tMj-0004yo-Op for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Feb 2021 00:09:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45652) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7tMd-0004ye-1H for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2021 00:09:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59259) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l7tMc-0008P6-OG for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2021 00:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l7tMc-0007rE-JY for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2021 00:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: ynyaaa@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Feb 2021 05:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46316 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.161250170230131 (code B ref -1); Fri, 05 Feb 2021 05:09:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Feb 2021 05:08:22 +0000 Original-Received: from localhost ([127.0.0.1]:42572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7tLx-0007pv-LB for submit@debbugs.gnu.org; Fri, 05 Feb 2021 00:08:21 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:36314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7tLt-0007pk-2k for submit@debbugs.gnu.org; Fri, 05 Feb 2021 00:08:20 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7tLs-0004vP-Sn for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2021 00:08:16 -0500 Original-Received: from mail-pg1-x52b.google.com ([2607:f8b0:4864:20::52b]:46701) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l7tLq-00080p-SP for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2021 00:08:16 -0500 Original-Received: by mail-pg1-x52b.google.com with SMTP id r38so3685352pgk.13 for ; Thu, 04 Feb 2021 21:08:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=jQNII3pTiyiK48RyxuSWgGSIgn4ZAw+NF/FG0Ygcw2c=; b=OBnBJ3XebnS53BwbB/wVpMMO1UggTNIDz5GWv5K4ZDJVWr/i8ODV9gZJ9JidPhIJEc TkdgDDkpstbuSnGEmmCuhf9sTt4yUaWWgP1670nolPZPLcdGgbU6IN6CktDqHxP7+rdZ 1JRYElMe/FSr21iLqXFSF2HUi91JMbw0FP3YtKz+XKrrt4AozY6jd6iD/TOqhkmomn5x z+044BQA80wCq1ps/71nJnC8oqMl5JxMoelChHaAw3HprZ37V//mshRphnfBs3EUahNK u59ybjL9NYrVstDkj39M1RrGr1NMZXYvCfKFWJbXkSYuQpUV2mfYae1LTCrA1gZbMUCk 3cpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=jQNII3pTiyiK48RyxuSWgGSIgn4ZAw+NF/FG0Ygcw2c=; b=V85oCwrahcABWZWuv6pAEDCs7UQOyV3pkqhgIjHD5US4LWqFieyhV+miFR9z9RLDPi vH5L0QatNwRT1Hfsn+Huq/IVa/IUNP+r4/kCBKsJh6aAe9m1FTF4k6HeJ4ZeLdqAswsG fdN7P0C1ZVywS/gjstZ01y2B5n00kTHNmmazcPbeAAePFoSIdYyFxxcNqwV7aJj9OWdO yB7DGW0Q3cqyQwHmJ33waH+Wa508OgGGGq8K3DxUrC61WrkPcyjUogRnvZquTIC8eDZu ChMQmUnYjx1szsQNHfpFC8XgjkKdFNsi0xOatHXOicvSK5IKCy1aIrQCO040XUV4dSsS jCfQ== X-Gm-Message-State: AOAM532JqD800++yO41XxFXvtIJ7V0jW/pngF7OCh2hXRRTCiRW2LoxA TnyL8G8NnpH9gMkyQsAm7XMSk8/PeCg= X-Google-Smtp-Source: ABdhPJz4bYkHTrxaY9ufbP52m9JxL9UJPM86HI3aobMhq3Wiv2xifKBwBLUxONbn6Ii6aRBqgmrxHQ== X-Received: by 2002:a05:6a00:22d1:b029:1b4:9bb5:724c with SMTP id f17-20020a056a0022d1b02901b49bb5724cmr2687756pfj.63.1612501692794; Thu, 04 Feb 2021 21:08:12 -0800 (PST) Original-Received: from HP (east42-p109.eaccess.hi-ho.ne.jp. [219.121.173.110]) by smtp.gmail.com with ESMTPSA id r14sm8801874pgi.27.2021.02.04.21.08.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Feb 2021 21:08:12 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::52b; envelope-from=ynyaaa@gmail.com; helo=mail-pg1-x52b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:199334 Archived-At: (1) When isearch fails after last match Evaluate the form below and type 'C-s a C-s', then emacs messages 'Failing I-search: a' and the buffer scrolls back left and the current point is out of the window. Type C-s again, and overwrapped search succeeds at the same point, but the matched point is still out of the window. (let ((buf (generate-new-buffer "tmp"))) (switch-to-buffer buf) (setq truncate-lines t) (dotimes (i 100) (insert (format "%d\n" i))) (insert-char ?x 200) (insert ?a) (goto-char (point-min))) (2) When image-toggle-display Evaluate the form below, then the SVG image is displayed. Type 'C-c C-c' to view the source text and type 'C-c C-c' again to view the image, then the buffer keeps scrolled right and the image is hidden out of the window. Type C-a and the image is shown, type 'C-c C-c' to view the source text again, then the buffer keeps scrolled left and the current point is out of the window. (let ((buf (generate-new-buffer "tmp")) (svg "\ \ ")) (switch-to-buffer buf) (setq truncate-lines t) (insert svg) (image-mode)) In GNU Emacs 27.1 (build 1, x86_64-w64-mingw32) of 2020-08-22 built on CIRROCUMULUS Repository revision: 86d8d76aa36037184db0b2897c434cdaab1a9ae8 Repository branch: HEAD Windowing system distributor 'Microsoft Corp.', version 10.0.18363 System Description: Microsoft Windows 10 Pro (v10.0.1909.18363.1316) Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Loading c:/home/yagi/.emacs.d/minimal-init.el (source)... Loading term/bobcat...done Loading c:/home/yagi/.emacs.d/minimal-init.el (source)...done Configured using: 'configure --without-dbus --host=x86_64-w64-mingw32 --without-compress-install 'CFLAGS=-O2 -static'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2 HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: JPN locale-coding-system: cp932 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t 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 transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils term/bobcat japan-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray 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 threads w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 49564 9493) (symbols 48 6091 1) (strings 32 16912 1998) (string-bytes 1 523773) (vectors 16 10730) (vector-slots 8 208731 12936) (floats 8 21 314) (intervals 56 225 0) (buffers 1000 11))