From unknown Fri Jun 20 18:20:19 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#24904 <24904@debbugs.gnu.org> To: bug#24904 <24904@debbugs.gnu.org> Subject: Status: 25.1; whitespace-mode ignores file- and dir-locals Reply-To: bug#24904 <24904@debbugs.gnu.org> Date: Sat, 21 Jun 2025 01:20:19 +0000 retitle 24904 25.1; whitespace-mode ignores file- and dir-locals reassign 24904 emacs submitter 24904 Roman Decker severity 24904 normal tag 24904 moreinfo unreproducible thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 08 14:09:41 2016 Received: (at submit) by debbugs.gnu.org; 8 Nov 2016 19:09:41 +0000 Received: from localhost ([127.0.0.1]:49968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4Bm8-00016w-IF for submit@debbugs.gnu.org; Tue, 08 Nov 2016 14:09:40 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56795) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4BcT-0000r9-Pt for submit@debbugs.gnu.org; Tue, 08 Nov 2016 13:59:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4BcN-0005re-CN for submit@debbugs.gnu.org; Tue, 08 Nov 2016 13:59:36 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59788) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c4BcN-0005rY-9o for submit@debbugs.gnu.org; Tue, 08 Nov 2016 13:59:35 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47754) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4BcL-00012n-Qz for bug-gnu-emacs@gnu.org; Tue, 08 Nov 2016 13:59:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4BcK-0005qz-P1 for bug-gnu-emacs@gnu.org; Tue, 08 Nov 2016 13:59:33 -0500 Received: from mail-lf0-x22d.google.com ([2a00:1450:4010:c07::22d]:33094) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c4BcK-0005qI-GX for bug-gnu-emacs@gnu.org; Tue, 08 Nov 2016 13:59:32 -0500 Received: by mail-lf0-x22d.google.com with SMTP id c13so146887824lfg.0 for ; Tue, 08 Nov 2016 10:59:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=4mpmEOZrWclANj8fgmYWDQKPyytQWZTYC5Id2YJfpkc=; b=gtseh24zfkXHpP1AgL+G7SamBouxEAXG0+Uc1RYGXt/PozpHhjaw0NMyoGKS6NMqrx qUjl02nOBRA0gO2M+Zus/fqHdQWdIWCy6B1otmNsw8vJQDmRKUzOb56eBY3WNoXwxbsu 6J/jngQ4pF+1W60xSdn7HuRQvCs5Ds3KLf0hPr7Rve9r/T0svuPP0ZvNqtjZLpIcGZ5S uaSM+3x9lPbT+w1Z/giaWS7YQLeF1KGi0I/ZmkvyVOGoccEcvGr3GXlIHQ84fIiF+ZsO cbNI3HEdWoBI3G7Ex1YIR/cdLhBqjllh75YgCOu43YgQZq1vwZdy/Dl795HAHcd7ESbZ 32jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=4mpmEOZrWclANj8fgmYWDQKPyytQWZTYC5Id2YJfpkc=; b=a+5bOmFPIDl6hRxsKwX09wTx1vzVb+Xu0A4HXyYZOIGTNPSeGT7yHR3z4JuvGlrkOU kdsQ1Cv1IZsDgkozEv4Pd9gxVg0gHEIvg9i9YAq1mAHYAVhCEvoWbWn0P2VtEbI1zMrM 65+SqNSUE5+j2Z5Ldn+OwT72E2oraHotJtpqT/NCf875uZtsxJulvugRA+g0HOxWCDE/ rkwgWDntmGOdAXseehGMkoyrmbOfAy/r7QBFsHCLnCpC4cV8cpTXFrJcrVi1JItp8jcQ Ga26pPJJ4fayzlg+mgcisHoY5RfYkQDhGR81GNENVbIgTc10+SPjLiubDJjJ/njzl58S 3eqw== X-Gm-Message-State: ABUngvcu044z0m5FY66MmcI6XsniWGd2pj2qc8W2lXaa9o6vJOKsPUY60JHBcpvO1EeHXKJDYAYkshPcH77tKQ== X-Received: by 10.25.203.148 with SMTP id b142mr6514547lfg.145.1478631570162; Tue, 08 Nov 2016 10:59:30 -0800 (PST) MIME-Version: 1.0 From: Roman Decker Date: Tue, 08 Nov 2016 18:59:19 +0000 Message-ID: Subject: 25.1; whitespace-mode ignores file- and dir-locals To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=94eb2c1a07707e5a3b0540cebdf8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 08 Nov 2016 14:09:39 -0500 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: -4.0 (----) --94eb2c1a07707e5a3b0540cebdf8 Content-Type: text/plain; charset=UTF-8 whitespace-mode seems to ignore file- and dir-locals when enabled via `global-whitespace-mode`. To reproduce: 1. Create a file with the following contents (use everything between the dashes, the dashes themselves are not part of the file): -----------------------------test-file.txt-------------------------------------- Only open this file after global-whitespace-mode was enabled. This is where highlighting of the line should start if everyhing went as expected: right here ---->|<---- However, if whitespace-mode incorrectly used the default of 80: right here ---->|<---- ;; Local Variables: ;; whitespace-line-column: 100 ;; End: -------------------------------------------------------------------------------- Then: 2. Run `emacs -Q` 3. Execute the following commands from the scratch buffer: (setq whitespace-style '(face lines-tail)) (global-whitespace-mode) 4. Open the created file using `M-x find-file test-file.txt` whitespace-mode will highlight long lines starting at 80 characters instead of 100, which is what the file-local variable says. If whitespace-mode is enabled locally, after the file-local variables are set, everything works as expected. The same issue is explained here: http://emacs.stackexchange.com/questions/7743/whitespace-mode-ignores-whitespace-line-column I'm merely referring it to this bugtracker. --94eb2c1a07707e5a3b0540cebdf8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
whitespace-mode seems to ignore file- and dir-locals when enabled
=
via `global-whitespace-mode`.

To reproduce:

1. Create a file with the= following contents (use everything between the
=C2=A0 =C2=A0dashes, the dashes themselves are not part of the file):
-----------------------------test-file.txt-----= ---------------------------------
Only open t= his file after global-whitespace-mode was enabled.

This is where = highlighting of the line should start if everyhing went as expected: right = here =C2=A0---->|<----
However, if whit= espace-mode incorrectly used the default of 80: right here ---->|<---= -

;; Local Variables:
;; whitespace= -line-column: 100
;; End:
----------------------------------------------------------------= ----------------

Then:

2. Run `emacs -Q`

3. Execute the following= commands from the scratch buffer:

(setq whitespace-style = 9;(face lines-tail))
(global-whitespace-mode)=

4. Open the created file using `M-x find-file test-file.txt`

whitespace-mode will highlight long lines starting at 80 characters<= /div>
instead of 100, which is what the file-local = variable says.

=
If whitespace-mode is enabled locally, after the f= ile-local variables
are set, everything works= as expected.

<= div class=3D"gmail_msg">The same issue is explained here: http://emacs.stackexchan= ge.com/questions/7743/whitespace-mode-ignores-whitespace-line-column

I'm merely referring it to this bugtracker.

--94eb2c1a07707e5a3b0540cebdf8-- From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 30 06:46:53 2020 Received: (at 24904) by debbugs.gnu.org; 30 Nov 2020 11:46:53 +0000 Received: from localhost ([127.0.0.1]:53867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjhds-0007xH-On for submit@debbugs.gnu.org; Mon, 30 Nov 2020 06:46:53 -0500 Received: from quimby.gnus.org ([95.216.78.240]:35402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjhdq-0007rT-Ml for 24904@debbugs.gnu.org; Mon, 30 Nov 2020 06:46:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=7++qJticoKjctIYgdlOSGJ7dsymw84rerIb1LDGX0dE=; b=V4KWucJDw1gN38KkwkwtG0O0VT /tgt8H4slASoNAm8K2KdT/dRCMkT1ucfl3wxkXOxMkUeIOg1y36iJMyhVZfv9KR/QkuumQ03rSJ66 z97WkKTaJccp4FDzS+fJ0jxeYC72h2AFfR2092TJLe5FW0GIkKG4B37KhUA0VKmto9Aw=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kjhdi-0008QY-Aa; Mon, 30 Nov 2020 12:46:44 +0100 From: Lars Ingebrigtsen To: Roman Decker Subject: Re: bug#24904: 25.1; whitespace-mode ignores file- and dir-locals References: X-Now-Playing: Matana Roberts's _Coin Coin Chapter Four: Memphis_: "Trail of the Smiling Sphinx" Date: Mon, 30 Nov 2020 12:46:41 +0100 In-Reply-To: (Roman Decker's message of "Tue, 08 Nov 2016 18:59:19 +0000") Message-ID: <87ft4r9ie6.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: Roman Decker writes: > whitespace-mode seems to ignore file- and dir-locals when enabled > via `global-whitespace-mode`. > > To reproduce: [...] 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: 0.0 (/) X-Debbugs-Envelope-To: 24904 Cc: 24904@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: -1.0 (-) Roman Decker writes: > whitespace-mode seems to ignore file- and dir-locals when enabled > via `global-whitespace-mode`. > > To reproduce: [...] > Then: > > 2. Run `emacs -Q` > > 3. Execute the following commands from the scratch buffer: > > (setq whitespace-style '(face lines-tail)) > (global-whitespace-mode) > > 4. Open the created file using `M-x find-file test-file.txt` > > whitespace-mode will highlight long lines starting at 80 characters > instead of 100, which is what the file-local variable says. (This bug report unfortunately got no response at the time.) I'm unable to reproduce this in Emacs 26.1 and Emacs 28. Are you still seeing this problem in more recent Emacs versions? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 30 06:47:00 2020 Received: (at control) by debbugs.gnu.org; 30 Nov 2020 11:47:00 +0000 Received: from localhost ([127.0.0.1]:53870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjhe0-00083t-2X for submit@debbugs.gnu.org; Mon, 30 Nov 2020 06:47:00 -0500 Received: from quimby.gnus.org ([95.216.78.240]:35416) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjhdx-0007xA-S8 for control@debbugs.gnu.org; Mon, 30 Nov 2020 06:46:58 -0500 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=wODmRolWzz45WBZbDiSpCbw8ufgDurq1jpk15Lynhp4=; b=bGOTT2LCU3Olrukfhm2DZS4t0U 5qQzKVHXVEdptzMI4YA6Wh5wwPxq52ECcSu4ffJ5Szxp7dXf7KQqgyBiQSxur7GJ+G+xXg8slEE4W yAir+0KbO4nZrH6AKX4BvfTIXHirEV0TfqeEo4z5aaMKqIXCHAJmqRV/s6q5LF9A4CdQ=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kjhdq-0008Qi-6o for control@debbugs.gnu.org; Mon, 30 Nov 2020 12:46:52 +0100 Date: Mon, 30 Nov 2020 12:46:49 +0100 Message-Id: <87eekb9idy.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #24904 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: tags 24904 + moreinfo 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: 0.0 (/) 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: -1.0 (-) tags 24904 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 30 06:47:04 2020 Received: (at control) by debbugs.gnu.org; 30 Nov 2020 11:47:04 +0000 Received: from localhost ([127.0.0.1]:53876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjhe4-00087y-9r for submit@debbugs.gnu.org; Mon, 30 Nov 2020 06:47:04 -0500 Received: from quimby.gnus.org ([95.216.78.240]:35428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjhe1-000816-M3 for control@debbugs.gnu.org; Mon, 30 Nov 2020 06:47:02 -0500 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=Vel9YiNnOQEjV6JQEn9Fzv7UHIoT0bmhP7Mx70VEgk8=; b=SXuToCXuSLr+ymuUssShSDma4q t3fSmYJio1YytHAtK5XKoB/Oom3SfeM9Vn0pQx6nU9wTKxJtsa5cOAMP4dqCIYKXsdFEDJKw5jb34 RS3QaejNIB1gyYLIYwA2Kq8VrzHir0smUn8uZnv8+1KgE8MJvgdntVmiRtEoxznP+NUI=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kjhdu-0008Qn-0g for control@debbugs.gnu.org; Mon, 30 Nov 2020 12:46:56 +0100 Date: Mon, 30 Nov 2020 12:46:53 +0100 Message-Id: <87czzv9idu.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #24904 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: tags 24904 + unreproducible 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: 0.0 (/) 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: -1.0 (-) tags 24904 + unreproducible quit From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 30 11:01:56 2020 Received: (at 24904) by debbugs.gnu.org; 30 Nov 2020 16:01:56 +0000 Received: from localhost ([127.0.0.1]:56375 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjlch-0003DR-OV for submit@debbugs.gnu.org; Mon, 30 Nov 2020 11:01:55 -0500 Received: from mail-ed1-f43.google.com ([209.85.208.43]:40833) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjlcg-0003D8-2R for 24904@debbugs.gnu.org; Mon, 30 Nov 2020 11:01:54 -0500 Received: by mail-ed1-f43.google.com with SMTP id d18so16804022edt.7 for <24904@debbugs.gnu.org>; Mon, 30 Nov 2020 08:01:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EmHdeRZFoobrf3Cpi7AgvkfrO/m4ieRueqQF7BPEGA8=; b=lKSbWui5SPRZZ4ZV+jJdx6j58x6Vr1nepz6r522acjx2hf0XsIaQ4kZ9ip3pogAtwf Uvo4GngDalvMa4SV5eSU9NGX0bElI0VNyhEgyKzhMp+SckSGk4rQ8ufXzjbVFa8oIQur 8f1SUUloDwLhBUGK8yoycqKZ0Eq3QpAKtwnFUe3ofa7Fzty4nX+xwqleU2eEpb4EVXAJ XdWi2WpEaSVFgIhEe9DjmEg6uB8lBVo0JsVG4UKnu6AX6OkPrHJg95xT80UVDvHNe3rx AHYmiBacTvEjwj+SrO3vv4e1uygmMu2N+8r0kZn17rAyz+5K15uAeN/kAGUKMdNQm270 h0Mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EmHdeRZFoobrf3Cpi7AgvkfrO/m4ieRueqQF7BPEGA8=; b=RLCaDyy/ySva8egAlEuNoNmVz6gmmx6QvVOSuN9NBNIDaZWFZOWMbS8nqvqIFZCrN3 UCgMXlpb9d9pKFvW+0whrorQDYJZkNi/1RR6Wx5wcy5mhDEHgN+a+cMnwhzzb5bLFmZT cIsmbOX45t+3jHggtNnC1WEFAIVc/8LH972QhgKYGREtUKOg8EMa8Go26M06P03etjl2 4GrWza9UyHAET7aJNuE3dFKVMx79qhRY6hkJjATWSDTDejuClDCisJpYBNOoFXIQ/MQB lZ0rrKM93fAp95FnVTokbxBp3vnUwbhrp2TnAJHSWYMiwYFqn200dNXyQts6EkYwZGYm ZNhw== X-Gm-Message-State: AOAM5327BD9K54GhQy9oj0CaSizKkOMkkHNmQ6KX6YlfhJnqks5/s0Ev OsmzAefr7I86yfnupTWk6L7ccV5GrJmEqg2SzFA= X-Google-Smtp-Source: ABdhPJwPGE/66IEJ/uAT0bNLahoMRMIV6gUotVS/kE0u8C5NXjTwFeSIofOmArZDj+aXZmehlArqZVsgOKo1JgbuOk0= X-Received: by 2002:a50:fe8d:: with SMTP id d13mr16184237edt.132.1606752108060; Mon, 30 Nov 2020 08:01:48 -0800 (PST) MIME-Version: 1.0 References: <87ft4r9ie6.fsf@gnus.org> In-Reply-To: <87ft4r9ie6.fsf@gnus.org> From: Roman Decker Date: Mon, 30 Nov 2020 17:01:36 +0100 Message-ID: Subject: Re: bug#24904: 25.1; whitespace-mode ignores file- and dir-locals To: Lars Ingebrigtsen Content-Type: multipart/alternative; boundary="000000000000a4a56905b555200a" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 24904 Cc: 24904@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: -1.0 (-) --000000000000a4a56905b555200a Content-Type: text/plain; charset="UTF-8" just tested again with my current setup of 26.1 and indeed it seems the issue is resolved. Am Mo., 30. Nov. 2020 um 12:46 Uhr schrieb Lars Ingebrigtsen : > Roman Decker writes: > > > whitespace-mode seems to ignore file- and dir-locals when enabled > > via `global-whitespace-mode`. > > > > To reproduce: > > [...] > > > Then: > > > > 2. Run `emacs -Q` > > > > 3. Execute the following commands from the scratch buffer: > > > > (setq whitespace-style '(face lines-tail)) > > (global-whitespace-mode) > > > > 4. Open the created file using `M-x find-file test-file.txt` > > > > whitespace-mode will highlight long lines starting at 80 characters > > instead of 100, which is what the file-local variable says. > > (This bug report unfortunately got no response at the time.) > > I'm unable to reproduce this in Emacs 26.1 and Emacs 28. Are you still > seeing this problem in more recent Emacs versions? > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no > --000000000000a4a56905b555200a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
just tested again with my current setup of 26.1 and indeed= it seems the issue is resolved.

Am Mo., 30. Nov. 2020 um 12:46=C2=A0Uhr sch= rieb Lars Ingebrigtsen <larsi@gnus.org= >:
Roman = Decker <roma= n.decker@gmail.com> writes:

> whitespace-mode seems to ignore file- and dir-locals when enabled
> via `global-whitespace-mode`.
>
> To reproduce:

[...]

> Then:
>
> 2. Run `emacs -Q`
>
> 3. Execute the following commands from the scratch buffer:
>
> (setq whitespace-style '(face lines-tail))
> (global-whitespace-mode)
>
> 4. Open the created file using `M-x find-file test-file.txt`
>
> whitespace-mode will highlight long lines starting at 80 characters > instead of 100, which is what the file-local variable says.

(This bug report unfortunately got no response at the time.)

I'm unable to reproduce this in Emacs 26.1 and Emacs 28.=C2=A0 Are you = still
seeing this problem in more recent Emacs versions?

--
(domestic pets only, the antidote for overdose, milk.)
=C2=A0 =C2=A0bloggy blog: http://lars.ingebrigtsen.no
--000000000000a4a56905b555200a-- From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 30 11:11:26 2020 Received: (at 24904) by debbugs.gnu.org; 30 Nov 2020 16:11:26 +0000 Received: from localhost ([127.0.0.1]:56401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjllu-0003VT-AB for submit@debbugs.gnu.org; Mon, 30 Nov 2020 11:11:26 -0500 Received: from quimby.gnus.org ([95.216.78.240]:38182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjllp-0003Uu-Ca for 24904@debbugs.gnu.org; Mon, 30 Nov 2020 11:11:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=0+2PpMXLtnCPv3d6p+uEzrXeIFBkAUhVLjnfpF2rIdw=; b=ijRDr4B0CdXyVTAur+m+6y1smv g8AcXSg/Cgsr6a1LrzWaLusDtBlTx+iaSuvTO/QlSZm1UHgYNQTKhOTfW88q+0dxTQbRe9Bhx7Jr1 Y8Vu8Zo7HoeicDs9CiQDF4j7vIfZDx1r58gKw7yO964o9RpvoPp5xoIY6iNqUG/DKH68=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kjlla-0002Hx-Gf; Mon, 30 Nov 2020 17:11:15 +0100 From: Lars Ingebrigtsen To: Roman Decker Subject: Re: bug#24904: 25.1; whitespace-mode ignores file- and dir-locals References: <87ft4r9ie6.fsf@gnus.org> X-Now-Playing: Various's _Natural Sciences: Age in Decline_: "track" Date: Mon, 30 Nov 2020 17:11:05 +0100 In-Reply-To: (Roman Decker's message of "Mon, 30 Nov 2020 17:01:36 +0100") Message-ID: <878sai7rl2.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: Roman Decker writes: > just tested again with my current setup of 26.1 and indeed it seems > the issue is resolved. Thanks for checking; closing the bug report. 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: 0.0 (/) X-Debbugs-Envelope-To: 24904 Cc: 24904@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: -1.0 (-) Roman Decker writes: > just tested again with my current setup of 26.1 and indeed it seems > the issue is resolved. Thanks for checking; closing the bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 30 11:11:32 2020 Received: (at control) by debbugs.gnu.org; 30 Nov 2020 16:11:32 +0000 Received: from localhost ([127.0.0.1]:56404 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjlm0-0003Vl-Gu for submit@debbugs.gnu.org; Mon, 30 Nov 2020 11:11:32 -0500 Received: from quimby.gnus.org ([95.216.78.240]:38196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjlly-0003VR-UP for control@debbugs.gnu.org; Mon, 30 Nov 2020 11:11:31 -0500 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=lnddoPQAK0grKCKqb+xeEkTW4O3SiNOQmjDLKMwrRiM=; b=iXAk/6CCmK2ry8SrDX6xhBPMXi 1uPNWyav1P9md28LNEkZA3MPvuHiUvsBPsvL7Lnbap4hCvMjj9WkkHiYxQFtO/XPBltOBhBA6mWzv GxEkrM4DZ9ZjtKQIgJX+RxCdmVmpMPKvdovuB6FlDi8fb7qz1BTp379GGx1dmFfTp7oI=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kjllr-0002I9-45 for control@debbugs.gnu.org; Mon, 30 Nov 2020 17:11:25 +0100 Date: Mon, 30 Nov 2020 17:11:22 +0100 Message-Id: <877dq27rkl.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #24904 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 24904 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: 0.0 (/) 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: -1.0 (-) close 24904 quit From unknown Fri Jun 20 18:20:19 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 29 Dec 2020 12:24:05 +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