From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Roman Decker Newsgroups: gmane.emacs.bugs Subject: bug#24904: 25.1; whitespace-mode ignores file- and dir-locals Date: Mon, 30 Nov 2020 17:01:36 +0100 Message-ID: References: <87ft4r9ie6.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000a4a56905b555200a" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28027"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 24904@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 30 17:02:50 2020 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 1kjldY-00077B-R2 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Nov 2020 17:02:48 +0100 Original-Received: from localhost ([::1]:33874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjldX-00026x-DA for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Nov 2020 11:02:47 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjlco-00026o-1g for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2020 11:02:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44829) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjlcn-0004P5-Ps for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2020 11:02:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjlcn-0003Dn-N7 for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2020 11:02:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Roman Decker Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Nov 2020 16:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24904 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo unreproducible Original-Received: via spool by 24904-submit@debbugs.gnu.org id=B24904.160675211612369 (code B ref 24904); Mon, 30 Nov 2020 16:02:01 +0000 Original-Received: (at 24904) by debbugs.gnu.org; 30 Nov 2020 16:01:56 +0000 Original-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 Original-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 Original-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) In-Reply-To: <87ft4r9ie6.fsf@gnus.org> 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:194647 Archived-At: --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--