From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.help Subject: Re: New line and trailing whitespaces Date: Mon, 22 Apr 2024 14:22:43 +0200 Message-ID: References: <86sezg87oh.fsf@gnu.org> <86o7a486gq.fsf@gnu.org> <86cyqj8f1a.fsf@gnu.org> <86h6fu6jn0.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4158"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 22 14:23:44 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 1ryshz-0000u7-TM for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 22 Apr 2024 14:23:44 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ryshF-0001ii-7K; Mon, 22 Apr 2024 08:22:57 -0400 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 1ryshB-0001hY-Ne for help-gnu-emacs@gnu.org; Mon, 22 Apr 2024 08:22:53 -0400 Original-Received: from sonic316-11.consmr.mail.bf2.yahoo.com ([74.6.130.121]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rysh9-0001C9-4G for help-gnu-emacs@gnu.org; Mon, 22 Apr 2024 08:22:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1713788569; bh=Mw9ueFowNr8nnrTqCIOICvqq2N9hY5zNt4wiQlfFbpo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To; b=ldF0eQbWJrHRIifMZ1PlV2prWz7n8NaJ4IYyWlGWqlS/Fbfl2EzrDLDMXIpFtn8tNLx+vMId5rpzwYX/DSOGh0Yy7fx84gES8Qhi+v0VkzLXQfTkLPzaSoVDbCtMvwTG1qLJlDyhqspr7b/J+bHvdlJJFAQLakUWkoruMsmXv7EmtU1DSJ98Yt1E+Arb694dD0O2mtoLUyv2Z2VKxHqWrfb/x/PIdEdgGnZgJa609kNsSiOPozSpyVzgz4sOmpcX6q/pPD4XQ1DmgAs3wDTwIy3qdWDWFJWItc4FPggprKm41+yWeAZd3ihnSwOTyepVHx2R41o8gq+CQ7+QeHW3TQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1713788569; bh=/n69OPLVoBwD5HsP2PS57TBHuqwTeXleYb3oEzUuv7z=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=mlIT8yMUJ3xlwsE6tYiNE00u2W9fOzcKL3hgHePJCx7YyUsbvPYiac1IcisRDwGBVyjfA/J2Ycy8DJ6rv/QFFez7SEzUoa/V5m5yd/eWZaAdzOjEGdkpckKUUGONGx+KK96PaDHOYggufHlhn4h+X3m1+tuHTeLzHBD7UzeivPmY/JwBhVWFjkf3CyYGXOFF65tFLrMg2ZXNnLU8/pFZa60IznvrajlTr42S8uY7UqDcV/11b0qjfILjGzPWNUmwejyccrBBLLKgMxudtlhKok6z9kr9nZ6WXr8iU9VrZHYghEhwFiHgENj0oIYpjCPEl7Zu4yzLZ0Ye1Y2v72lOQw== X-YMail-OSG: 9X7ajUkVM1kdnmsZzzuKhTbaj6ossuMeAUDQIIdY0ELcXvsJmRbQZ1vZqDnZwxb ol828iUAEGXKdn2ev29T8m2d3.vBkHzgYTLW6lwsvl1jg0.zjASycycnFl7iCM.vePeCJun3CcCY n3UmwFUEAj84LQ37RHVTJHzTeir7ldzf1My9VLsqnt7dsYMtZrtqVcgJHL5SSBQdvbZSMYHRXoGw 4K.Ndv6aF42R_r5EPhpiljReFA8R490oKmKj_cZLX.mjcThXPRJQaFU230wJXq54rt_FFqM38sUq rJPTUXJmbfSr7kKeEmSqy8P.CLCZ.ZDf2R16RgBWKZsnAxjgRLX_PooL4spT_bQxVgIsuVGqODUR TSgTfiRbU.L1U9a9iM_ENPPPv1cogSdKrEIhzaMAv6Vd30gWc_Ricwdyu47pzhDlSjtH3PZtNK.8 FhJxjc7_.NMIE.OpVp_wos3Gvi1zh2AyQP.sDztI8iKq1Ziofy1NHf1jdEj.RX0L.FQxbaZi.8NM 1MHYmwecxtIpz6h1rc6V_unY9kLpbx3QEhC93l.ao3zJjSEekXAvqztkM7LrTlkp67jBavS2mleY WbnYGptBkjZ0LViSfL3xrJjLAKVKGrt79dTaGRR3l77MpaoXB3mSeW2JJy8t6rDgwD8mVCxCQOkK mZFNMzkaN82UtuWHNIHSKY8TtMHCxfhLxrYLZGIR7yx4Lm1pfOGZRmFdIogqmWHcCsvPXryLEwGl 8zPnRC6VwDcZqaaVvJx7FOylP46g6wm7Az9ASaJ3cJzoS_cj_Nb9HgLkVAhHLAiuI1BBYTtRG4v4 zX4YKjVgFVHHAKMbN.lteX2vffWR6xiAdwteg0k3hc X-Sonic-MF: X-Sonic-ID: 89c25fad-404c-4d5f-b06e-2b50b31564f1 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.bf2.yahoo.com with HTTP; Mon, 22 Apr 2024 12:22:49 +0000 Original-Received: by hermes--production-ir2-7b99fc9bb6-mz6k9 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 64b7107a3e526927cab6a3f8f18e04fd; Mon, 22 Apr 2024 12:22:44 +0000 (UTC) Content-Disposition: inline In-Reply-To: <86h6fu6jn0.fsf@gnu.org> X-Mailer: WebService/1.1.22256 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.130.121; envelope-from=spacibba@aol.com; helo=sonic316-11.consmr.mail.bf2.yahoo.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, RCVD_IN_MSPIKE_H2=-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:146425 Archived-At: Hi Eli: On Mon, Apr 22, 2024 at 08:39:31AM GMT, Eli Zaretskii wrote: >> Date: Sun, 21 Apr 2024 23:05:57 +0200 >> From: Ergus >> Cc: help-gnu-emacs@gnu.org >> >> Hi Eli: >> >> On Sun, Apr 21, 2024 at 08:23:45AM GMT, Eli Zaretskii wrote: >> >> Date: Sun, 21 Apr 2024 03:12:37 +0200 >> >> From: Ergus >> >> Cc: help-gnu-emacs@gnu.org >> >> >> >> A somehow unrelate question.. I don't find a face to change the tab-mark >> >> color in whitespace mode... Is it documented somewhere? >> > >> >Isn't that whitespace-tab? >> > >> Actually no. >> >> That face seems apply only to the tab whitespace when whitespace-style >> has `tabs`, but not to when `tab-mark` applies. > >You lost me here. But if all you want is to know what face is used on >some text, simply use "M-x describe-text-properties RET" with point on >that text. > Whitespace mode "shows" the tabs in two (independent) ways: 1. "Colorizing" the tab whitespace with some color (face tabs) 2. Add a mark in the whitespace space like | or � (tab-mark) The whitespace-tab face applies only to 1, but I don't find how to make it apply to 2 Define the whitespace-tab face foreground and background (setq-default whitespace-style '(faces tab-mark)) (whitespace-mode 1) TAB I see: the �, but it is always white, independently of whitespace-tab face.