From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: tomas@tuxteam.de Newsgroups: gmane.emacs.help Subject: Re: Appropriate use of global-whitespace-mode and whitespace-mode Date: Wed, 27 Nov 2024 14:42:36 +0100 Message-ID: References: <0ttW9XV3XXzfF2LgmSvOq1V4H6OoGeCCziT12MMOl4PtZhMbCbI34Em3DM7HKXEo3fLfe_CHT0dNoT0jjuABGofEaqRQ-DyBxBVqmcVHF1o=@protonmail.com> <6ROeqxUxXkS3xqZI3RN1DA21oLty4FZUlZnP89pzuZTRcuKaOinxnwDYkhQehRpM-QakxEShoqIC963sJn8KDQ17J5OuC_qTzVpN2z5cPl4=@protonmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZtQ8ctoZViOgzArM" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29825"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Heime via Users list for the GNU Emacs text editor To: Heime Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 27 14:43:09 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 1tGIJw-0007aa-1B for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 27 Nov 2024 14:43:08 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tGIJX-0007Gn-I4; Wed, 27 Nov 2024 08:42:43 -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 1tGIJV-0007Be-Hc for help-gnu-emacs@gnu.org; Wed, 27 Nov 2024 08:42:41 -0500 Original-Received: from mail.tuxteam.de ([5.199.139.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tGIJT-0001qV-JE for help-gnu-emacs@gnu.org; Wed, 27 Nov 2024 08:42:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject :Cc:To:From:Date: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=7anO02shJcXAbSDUmrDX7r1sE1t2T2OBXgZfpd2lfjw=; b=PyunQhWlS3tjDe2yzmjuUGEoKz 53EJDth7m765Mo8eRaJdVLhBfzZsXMpy4sB2czxEsA6tPspFcORDc5VlOxWlAvAIYYpSmm0RlKwt+ Jhsr/RcSoOPh/vz01+UkYgQEp1hhOTNUBJgilFYFiL6fdCUHd2bWq+cWanguHaYWPyMm8hJ6kLBiE br1vfsF35Hh3x6E2hFDbKdaK2O94qfHjn7ZbbrH79fiFL62q/KcHFEdUtsbJcDtQJrHmTSeaOKLf5 gq33HuzB9l9lRFFw4zehOJzpk5B4/NuCoILYEgr6RBve1PLxxauh4ob4g45skc042qI99C1NB/yFA bREaEylA==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2) (envelope-from ) id 1tGIJQ-0003N2-TT; Wed, 27 Nov 2024 14:42:36 +0100 Content-Disposition: inline In-Reply-To: <6ROeqxUxXkS3xqZI3RN1DA21oLty4FZUlZnP89pzuZTRcuKaOinxnwDYkhQehRpM-QakxEShoqIC963sJn8KDQ17J5OuC_qTzVpN2z5cPl4=@protonmail.com> Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de 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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=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:148414 Archived-At: --ZtQ8ctoZViOgzArM Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 27, 2024 at 01:37:36PM +0000, Heime wrote: >=20 >=20 >=20 >=20 >=20 > Sent with Proton Mail secure email. >=20 > On Thursday, November 28th, 2024 at 1:27 AM, tomas@tuxteam.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@t= uxteam.de wrote: > > >=20 > > > > On Wed, Nov 27, 2024 at 12:58:34PM +0000, Heime via Users list for = the GNU Emacs text editor wrote: > > > >=20 > > > > > What is the difference between global-whitespace-mode and whitesp= ace-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 cannot > > > see mention of whitespace-mode and global-whitespace-mode. > >=20 > >=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 >=20 > (setq whitespace-style '(face tabs tab-mark trailing lines-char)) >=20 > Would this work for whitespace-mode? Or is whitespace-mode a completely= =20 > different program? What does C-h f whitespace-mode say? And what C-h f global-whitespace-mode? What do you see if you follow the source link in the above doc for global-whitespace-mode? Cheers --=20 t --ZtQ8ctoZViOgzArM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCZ0chzAAKCRAFyCz1etHa RiPjAJ9x0VUnCei+LlJ3Hfnyk+5DkieeYgCfb91GY8YtZb7/EhD9wBJLgg0aAmw= =SMUV -----END PGP SIGNATURE----- --ZtQ8ctoZViOgzArM--