From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Heime via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: Re: Appropriate use of global-whitespace-mode and whitespace-mode Date: Wed, 27 Nov 2024 14:28:22 +0000 Message-ID: References: <0ttW9XV3XXzfF2LgmSvOq1V4H6OoGeCCziT12MMOl4PtZhMbCbI34Em3DM7HKXEo3fLfe_CHT0dNoT0jjuABGofEaqRQ-DyBxBVqmcVHF1o=@protonmail.com> <6ROeqxUxXkS3xqZI3RN1DA21oLty4FZUlZnP89pzuZTRcuKaOinxnwDYkhQehRpM-QakxEShoqIC963sJn8KDQ17J5OuC_qTzVpN2z5cPl4=@protonmail.com> Reply-To: Heime 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="21611"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Heime via Users list for the GNU Emacs text editor To: tomas@tuxteam.de Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 27 15:29:14 2024 Return-path: Envelope-to: geh-help-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 1tGJ2X-0005TT-IJ for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 27 Nov 2024 15:29:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tGJ1u-0007yo-6c; Wed, 27 Nov 2024 09:28:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tGJ1s-0007yS-S4 for help-gnu-emacs@gnu.org; Wed, 27 Nov 2024 09:28:32 -0500 Original-Received: from mail-106103.protonmail.ch ([79.135.106.103]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tGJ1r-0002b4-61 for help-gnu-emacs@gnu.org; Wed, 27 Nov 2024 09:28:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1732717708; x=1732976908; bh=oEIMCYNBJJq2OxAiPV39drjDxMVUvrPGbqmsUxsAjC0=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=Lb3fV2b+g9MoY5BjDJLT4COI5PG1fRtZQ7b438NDtggfh3q0ths04jQ4BPbtCMIVa 11oBLyXLe1rmLojylYj0xlRqyiLLZW+l2UwIfBwe/GuYtLbA6ACi/pn50L13xUfgrI TJCNZHuoMxT2bZpARzZxixYBHKJC0hy9thOA/zkDen9McFjl1It9nCsg/QYZSC3TeA ZOLbthqupN8CEMGEUyTQ/bPzTTTxknacBmfweU2YGNgLf8vj9aGn+fa9lfijKYCj65 +a0YzYjIACbNsrbdmSgR7fLHbsdSRD3vmDEPdz7to16YgYcnMJYUVLAqhFD4VZg/gE GctHEM3/fEWRg== In-Reply-To: Feedback-ID: 57735886:user:proton X-Pm-Message-ID: e8454f00de68cd71d70f44ea57c32776f1b61c51 Received-SPF: pass client-ip=79.135.106.103; envelope-from=heimeborgia@protonmail.com; helo=mail-106103.protonmail.ch 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_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:148415 Archived-At: Sent with Proton Mail secure email. On Thursday, November 28th, 2024 at 1:42 AM, tomas@tuxteam.de wrote: > On Wed, Nov 27, 2024 at 01:37:36PM +0000, Heime wrote: >=20 > > Sent with Proton Mail secure email. > >=20 > > On Thursday, November 28th, 2024 at 1:27 AM, tomas@tuxteam.de tomas@tux= team.de wrote: > >=20 > > > On Wed, Nov 27, 2024 at 01:24:35PM +0000, Heime wrote: > > >=20 > > > > Sent with Proton Mail secure email. > > > >=20 > > > > On Thursday, November 28th, 2024 at 1:12 AM, tomas@tuxteam.de tomas= @tuxteam.de wrote: > > > >=20 > > > > > On Wed, Nov 27, 2024 at 12:58:34PM +0000, Heime via Users list fo= r the GNU Emacs text editor wrote: > > > > >=20 > > > > > > What is the difference between global-whitespace-mode and white= space-mode? > > > > > > In what circumstances does one use one versus the other? > > > > >=20 > > > > > Emacs documentation, "25.2 Minor Modes" says it better > > > > > than I ever could. > > > >=20 > > > > I do not know which emacs documentation you are referring to. I can= not > > > > see mention of whitespace-mode and global-whitespace-mode. > > >=20 > > > No, but about local vs global minor modes, of which yours is > > > a special case. > > >=20 > > > Besides, C-h a whitespace-mode gives another good explanation. > >=20 > > I have some code with global-whitespace-mode > >=20 > > (setq whitespace-style '(face tabs tab-mark trailing lines-char)) > >=20 > > Would this work for whitespace-mode? Or is whitespace-mode a completely > > different program? >=20 >=20 > What does C-h f whitespace-mode say? And what C-h f global-whitespace-mod= e? > What do you see if you follow the source link in the above doc for > global-whitespace-mode? They both refer to the same file, and following whitespace.el, I see=20 global-whitespace-mode being defined. Answering my question.