From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrey Listopadov Newsgroups: gmane.emacs.bugs Subject: bug#56683: 29.0.50; long lines fix doesn't work correctly when lines are truncated Date: Thu, 21 Jul 2022 21:49:47 +0300 Message-ID: <87h73ab8bo.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17555"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.6.6; emacs 29.0.50 To: 56683@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 21 21:00:34 2022 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 1oEbPW-0004N6-9T for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Jul 2022 21:00:34 +0200 Original-Received: from localhost ([::1]:36396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEbPV-0005lf-CI for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Jul 2022 15:00:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEbP1-0005lS-Iq for bug-gnu-emacs@gnu.org; Thu, 21 Jul 2022 15:00:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49382) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oEbP1-0005z6-9H for bug-gnu-emacs@gnu.org; Thu, 21 Jul 2022 15:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oEbP1-0006Jb-3Y for bug-gnu-emacs@gnu.org; Thu, 21 Jul 2022 15:00:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrey Listopadov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Jul 2022 19:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56683 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.165842998824220 (code B ref -1); Thu, 21 Jul 2022 19:00:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Jul 2022 18:59:48 +0000 Original-Received: from localhost ([127.0.0.1]:39130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEbOl-0006Ia-Fj for submit@debbugs.gnu.org; Thu, 21 Jul 2022 14:59:47 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:51932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEbOj-0006IQ-Ra for submit@debbugs.gnu.org; Thu, 21 Jul 2022 14:59:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53870) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEbOj-0005kh-Mb for bug-gnu-emacs@gnu.org; Thu, 21 Jul 2022 14:59:45 -0400 Original-Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]:44778) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oEbOh-0005vl-QQ for bug-gnu-emacs@gnu.org; Thu, 21 Jul 2022 14:59:45 -0400 Original-Received: by mail-ed1-x52e.google.com with SMTP id m16so3285292edb.11 for ; Thu, 21 Jul 2022 11:59:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=user-agent:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=rD8/nZGBRh+34nVWvsx5ttHc8kzw4N3H8rj4bnlylKY=; b=FijlhkjaSiHXOO75jjjFlGBKbJOcKzRQqLEHy2DvYPhfd+J6/knEj22NTgehJp2UJa Ok5/irUZqrGhPQQeaMv1K2fcz02Jlrqyd8R2ZTiZZPIwEgR5nHTbnMcqrGfm0IxTm4AA cIlqFMv6YtTRBCR0T8jHmErsiF6HjTam7sYGKeFSc3qQRr2bkGiP+UAYVFXSNW22qOjp pKzEgdgmJ0Vd+RxoCiFO3i9zwA9sFmFVoV/MT1ia4okhmMFlNTnW5xLftEP8WWYM3U2V mqPrQufoge2YkI36kSdnGbvukvos9rBJIaKhWCDWBSk1rUyy4ryrOmgupV3kjq5Q2Wt9 Ww7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version:content-transfer-encoding; bh=rD8/nZGBRh+34nVWvsx5ttHc8kzw4N3H8rj4bnlylKY=; b=CZGARXtvUoYKd1SPnqg6FN5CpPzs3KJWbMJoyr4qCD1pjhC4Zhe/cxWRZ9+EjErgfT sgBS1l+ESkxECXhmii0gxT75KPOJdzJcQepmXkbLZoF6eWaMTNx3RyhOa/bK3Vr8U7W9 oYlhbMgntkM+7tFJuXsW6qYNgdESfNdswEZFKVuOaR7S9g/RLtDtkCTs4sXOoQwchHPQ Z1MghI8i7oyLFnjIFeT18ewI4ECxYyR+J3573p4pXGDFu0zTDmEtN3hFr8eA8uXZsAVB 4ZyYoqPjWdzxVEThFV9/SfWywqpZCRokQB+3z60LHwAU2sY7dXnVusy9ZFC7cfN9FNJ5 eUJg== X-Gm-Message-State: AJIora+kHyLY+7Unui4zUS6dos7Hdi7it1lK5Wsfn22e8vNFQkjhMyGU JiBIs+HY8OpPVvnwOMuA+LvftZuxyUM= X-Google-Smtp-Source: AGRyM1ttEkupeyZ9/tsd3hHvrPXZg3DpCuN6G/EUloojNZ7YtiMQLxGdSiX/P1I/ARQXPLORBwj7FQ== X-Received: by 2002:a05:6402:5246:b0:43a:a164:6b7 with SMTP id t6-20020a056402524600b0043aa16406b7mr60178653edd.65.1658429981494; Thu, 21 Jul 2022 11:59:41 -0700 (PDT) Original-Received: from s540.smtp.gmail.com (broadband-90-154-70-5.ip.moscow.rt.ru. [90.154.70.5]) by smtp.gmail.com with ESMTPSA id k7-20020a056402048700b0043a61f6c389sm1419941edv.4.2022.07.21.11.59.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jul 2022 11:59:40 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::52e; envelope-from=andreyorst@gmail.com; helo=mail-ed1-x52e.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, T_SCC_BODY_TEXT_LINE=-0.01 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:237569 Archived-At: I'm using emacs with `truncate-lines` set to `t` in my init.el. After the merge of #56393 I've rebuilt Emacs, and started testing the fix. I've noticed, that when lines are truncated, opening dictionary.json from the #45898 and pressing C-e doesn't move you to the end of the line, but stops somewhere inside it. E.g. with the default window width of Emacs -Q, I can see the following portion of the line =E2=86=90, "hu": ["index"]}, "examples": [["en C la indicoj aperas inter or= tajkrampoj, =E2=86=92 Arrows shown in the fringe indicate that there are more to the line on the right side. As a side question, does these optimizations work with truncated lines? As far as I can tell Emacs is not as responsive as when the lines are wrapped, but I don't know how to measure this precisely. In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, c= airo version 1.17.4) of 2022-07-21 built on toolbox Repository revision: 4a4fcf628e1e4c8db47cd62fa5617b662fa8b5d6 Repository branch: master System Description: Fedora Linux 36 (Workstation Edition) Configured using: 'configure --without-compress-install --with-native-compilation --with-pgtk --with-mailutils --prefix=3D/home/alist/.local' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS XIM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-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 line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (comp comp-cstr warnings rx cl-seq cl-macs gv cl-extra bytecomp byte-compile cconv help-mode pp shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date subr-x 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 rmc iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win pgtk-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 82646 9587) (symbols 48 7091 6) (strings 32 19214 1773) (string-bytes 1 656752) (vectors 16 15347) (vector-slots 8 284088 17444) (floats 8 173 66) (intervals 56 698 7) (buffers 992 13)) -- Andrey Listopadov