From unknown Sun Jun 15 13:00:49 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#48583 <48583@debbugs.gnu.org> To: bug#48583 <48583@debbugs.gnu.org> Subject: Status: 28.0.50; whitespace-mode does not remember previous display table Reply-To: bug#48583 <48583@debbugs.gnu.org> Date: Sun, 15 Jun 2025 20:00:49 +0000 retitle 48583 28.0.50; whitespace-mode does not remember previous display t= able reassign 48583 emacs submitter 48583 sebastian.miele@gmail.com severity 48583 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat May 22 05:54:45 2021 Received: (at submit) by debbugs.gnu.org; 22 May 2021 09:54:45 +0000 Received: from localhost ([127.0.0.1]:38342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lkOLF-0007fH-0z for submit@debbugs.gnu.org; Sat, 22 May 2021 05:54:45 -0400 Received: from lists.gnu.org ([209.51.188.17]:53206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lkOLC-0007f5-9u for submit@debbugs.gnu.org; Sat, 22 May 2021 05:54:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52006) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkOLC-0006zr-0y for bug-gnu-emacs@gnu.org; Sat, 22 May 2021 05:54:42 -0400 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]:37739) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lkOLA-00039T-4v for bug-gnu-emacs@gnu.org; Sat, 22 May 2021 05:54:41 -0400 Received: by mail-ej1-x633.google.com with SMTP id et19so26997376ejc.4 for ; Sat, 22 May 2021 02:54:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:reply-to:message-id:date:mime-version :content-transfer-encoding; bh=aO+1w2n0aYmf/zZ2LguJ/KveL1vH5A2DtaCMgZNDQbs=; b=N4W1oOB3vpRgPYMKiEOIQhoOjbr5qtxlrm56SXd69MGCAn9pLnNwoxGTx13Mc8Otha RQgfEjQe2HxhNqb4w3HCAsYfgCkqnFVtF5hohbx3j7n1GfOXiu1RPzxHtL//5OEg3SK3 W1q+TjiRFa3Z/P9T1tYm0ReeKmPoNIJ6RUrNYQW431em/FvETa83nxU3I0RaHY5lyMv7 tUzZIn9v3OO+NGRUNzFwPbzPfYp4eR0lQsUC2DagAq+JNdP0rS5Q03wn4YBXHXeu/+Qn vQ6PyhK91IrpEnwuUHGFtTh0Xt3PGz2ag+ikA/z7zpzaL3bzGUUss2qEuiUwi1NL+Q8x h2pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:reply-to:message-id :date:mime-version:content-transfer-encoding; bh=aO+1w2n0aYmf/zZ2LguJ/KveL1vH5A2DtaCMgZNDQbs=; b=fXm6FFgd5ZbSmlZtaNH9tLzzG086TSBcZdsO7uFipXAIchlNWPumbybARwtwT40ulU jO9zz5AGBtvxsXfX4cYYuhEhTNTKivRGdMQ+2MEndo4gTvXNCZYVrhTgXYMU9BMe9i+0 l48//nZ9ILDjsGpKfNsrAblndk/rMTddLbvQRXNzjdizbvTgk9RXUUozldJiX85n5/DT /6RyaWuC7YIZYpZCDAFttLgaO6QNuN9uV9l8F3a9j/oW06JWjXpYqBMEI9MDFZVVgfBW UAvxqOumD39NRvDBWz1EUb+vxQNp7NBgLXq/PbaMvEhJZfasiF5yJ45aFdYYSXQuCmCa h+Aw== X-Gm-Message-State: AOAM532C4aWwI+EsZpKdyRPWtb3GSK471YCJhF72BAjrdNloTu85VHpn JTPA2WkBEBopn/L6parNUBatX2gwvr0= X-Google-Smtp-Source: ABdhPJx3BAQ546PqgMH8SnJPG4WHokjp411TF6aBhro9NIP1fcJ1xfeMIhdMNlvPv6C2ZfBMX2QYnQ== X-Received: by 2002:a17:906:60d6:: with SMTP id f22mr14248211ejk.177.1621677277951; Sat, 22 May 2021 02:54:37 -0700 (PDT) Received: from huette ([5.146.118.192]) by smtp.gmail.com with ESMTPSA id sb14sm756524ejb.106.2021.05.22.02.54.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 May 2021 02:54:37 -0700 (PDT) User-agent: mu4e 1.4.15; emacs 27.2.50 From: Sebastian Miele To: bug-gnu-emacs@gnu.org Subject: 28.0.50; whitespace-mode does not remember previous display table Message-ID: <87y2c7drfn.fsf@gmail.com> Date: Sat, 22 May 2021 11:54:36 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::633; envelope-from=sebastian.miele@gmail.com; helo=mail-ej1-x633.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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sebastian.miele@gmail.com Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) In an emacs -Q set =E2=80=98org-ellispis=E2=80=99 to, e.g., "---". Create = a buffer in Org mode that contains a headline with content below. Have that headline folded. Then turn =E2=80=98whitespace-mode=E2=80=99 on and off ag= ain. Turning =E2=80=98whitespace-mode=E2=80=99 off changes the ellipsis character to the= standard "...". That happens, because the previous =E2=80=98buffer-display-table=E2=80=99 d= oes not get restored. However, in principle =E2=80=98whitespace-mode=E2=80=99 does hav= e provisions to restore the previous =E2=80=98buffer-display-table=E2=80=99. The proble= m probably is in =E2=80=98whitespace-display-char-on=E2=80=99. It contains the following= code: (unless (or whitespace-mode global-whitespace-mode) (setq whitespace-display-table (copy-sequence buffer-display-table))) That has no effect (=E2=80=98whitespace-display-table=E2=80=99 remains nil)= , because somehow the variable =E2=80=98whitespace-mode=E2=80=99 already is non-nil w= hen =E2=80=98whitespace-display-char-on=E2=80=99 gets called. In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.29, c= airo version 1.17.4) of 2021-05-22 built on huette Repository revision: a3de48687eb28121f3dbfc20be19bd06c4cd6e98 Repository branch: HEAD Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Arch Linux Configured using: 'configure --with-x-toolkit=3Dgtk3 --with-mailutils --with-cairo' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LC_CTYPE: de_DE.UTF-8 value of $LANG: C locale-coding-system: utf-8-unix Major mode: Org 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 transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug sendmail pp whitespace shortdoc org-element avl-tree generator disp-table ol-eww eww xdg url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-search eieio-opt cl-extra speedbar ezimage dframe gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum shr kinsoku svg dom browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars mailcap gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range message rmc puny rfc822 mml mml-sec epa derived epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map rfc2047 rfc2045 ietf-drums text-property-search seq byte-opt gv bytecomp byte-compile cconv mail-utils mm-util mail-prsvr wid-edit ol-docview doc-view jka-compr image-mode exif dired dired-loaddefs ol-bbdb ol-w3m kmacro cl-print org-clock org-colview ob-ditaa ob-plantuml ol-bibtex bibtex iso8601 org-crypt org-habit org-agenda org-refile org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-list org-faces org-entities time-date subr-x noutline outline easy-mmode org-version ob-emacs-lisp org-table ol org-loaddefs find-func cal-menu calendar cal-loaddefs org-pcomplete pcomplete org-src org-keys ob-comint comint ansi-color ring ob-core org-compat advice ob-eval org-macs format-spec thingatpt help-fns radix-tree help-mode cl-loaddefs cl-lib iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd 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 easymenu timer select scroll-bar mouse jit-lock font-lock syntax 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 button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 196784 13653) (symbols 48 21052 1) (strings 32 74068 2440) (string-bytes 1 2443498) (vectors 16 38836) (vector-slots 8 415855 17943) (floats 8 303 290) (intervals 56 370 0) (buffers 992 14)) From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 15 06:07:42 2022 Received: (at 48583) by debbugs.gnu.org; 15 Jul 2022 10:07:42 +0000 Received: from localhost ([127.0.0.1]:39491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCIEX-0003ME-Vr for submit@debbugs.gnu.org; Fri, 15 Jul 2022 06:07:42 -0400 Received: from quimby.gnus.org ([95.216.78.240]:44952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCIEW-0003M1-8A for 48583@debbugs.gnu.org; Fri, 15 Jul 2022 06:07:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=fjqDt93Bzw6/u4+lZb82T9VZkN4GPon7FpwFAlGbMmA=; b=IiYubGEXWSEMREcc4ld3jFuCxG KWMyTXtWFkBXgLV4EW6rtE+41lIXXYMB+A9cci0gJuRSV1GDwrj2VaKOMui9I9dPA/7IBhCdmwoGx LBPn46hcw+zw3jl1qgCJUfVXYwZjBsgPRr5PLZwJzv4RSKOD6Al52xFq2Td8QtydWNtI=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oCIEN-0005Kw-IO; Fri, 15 Jul 2022 12:07:33 +0200 From: Lars Ingebrigtsen To: Sebastian Miele Subject: Re: bug#48583: 28.0.50; whitespace-mode does not remember previous display table In-Reply-To: <87y2c7drfn.fsf@gmail.com> (Sebastian Miele's message of "Sat, 22 May 2021 11:54:36 +0200") References: <87y2c7drfn.fsf@gmail.com> X-Now-Playing: Peter Broderick's _Blackberry_: "What's Wrong With A Straight Up Love Song" Date: Fri, 15 Jul 2022 12:07:31 +0200 Message-ID: <8735f2ofj0.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Sebastian Miele writes: > That has no effect (‘whitespace-display-table’ remains nil), because > somehow the variable ‘whitespace-mode’ already is non-nil when > ‘whitespace-display-char-on’ gets called. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48583 Cc: 48583@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Sebastian Miele writes: > That has no effect (=E2=80=98whitespace-display-table=E2=80=99 remains ni= l), because > somehow the variable =E2=80=98whitespace-mode=E2=80=99 already is non-nil= when > =E2=80=98whitespace-display-char-on=E2=80=99 gets called. Yup. I've now fixed this in Emacs 29. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 15 06:07:46 2022 Received: (at control) by debbugs.gnu.org; 15 Jul 2022 10:07:46 +0000 Received: from localhost ([127.0.0.1]:39494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCIEc-0003MV-8N for submit@debbugs.gnu.org; Fri, 15 Jul 2022 06:07:46 -0400 Received: from quimby.gnus.org ([95.216.78.240]:44966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCIEa-0003M6-Ly for control@debbugs.gnu.org; Fri, 15 Jul 2022 06:07:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=AcyY0q7gxkmpXGG4tVegnS6Kf3NHG2JYOuAQMfqrTZg=; b=L8nLsOF9YO4rIPPGcBfJeTWeM9 ObpFxJh0LB1jK702+1L9BXGqO0kt0JU3IGBWdamwbY1t93uebz9eIiHgHEr+EKq5+6cV4yUwGZ7IV CSQky3mDKO9Fw/ptIAjABp7YEMErNPMYNyZ+8auGhhAzoSvkyV1vRJIZgC1hZ0one1Aw=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oCIES-0005L6-OZ for control@debbugs.gnu.org; Fri, 15 Jul 2022 12:07:38 +0200 Date: Fri, 15 Jul 2022 12:07:36 +0200 Message-Id: <871qumofiv.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #48583 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 48583 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 48583 29.1 quit From unknown Sun Jun 15 13:00:49 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 12 Aug 2022 11:24:11 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator