From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: New line and trailing whitespaces Date: Wed, 24 Apr 2024 18:45:28 +0300 Message-ID: <86cyqe3gtj.fsf@gnu.org> References: <86cyqj8f1a.fsf@gnu.org> <86h6fu6jn0.fsf@gnu.org> <86le544i6t.fsf@gnu.org> <86h6fs3vd5.fsf@gnu.org> <86v8472qb0.fsf@gnu.org> <3akqf6us7npz7vrsfqd3aiic5w2ubfad7ugpgwq5nsc7lqwhao@2thip6bzmera> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32839"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 24 17:46:16 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 1rzep6-0008MX-F3 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 24 Apr 2024 17:46:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rzeoP-0001QA-LJ; Wed, 24 Apr 2024 11:45:33 -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 1rzeoN-0001Pt-CY for help-gnu-emacs@gnu.org; Wed, 24 Apr 2024 11:45:31 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rzeoN-0007Dy-3e for help-gnu-emacs@gnu.org; Wed, 24 Apr 2024 11:45:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=FZUvbTTzWbfM+D/V1OY7Ew2mFUA6mjqggoQdxxoHn/g=; b=lffdz61SDB1l tP1KwGF1VEtiuQqr5ieYXGSGpmz71boGITqlcZRi6ZWqwjGuIfx+ayk9jmiTvMVYIJo455gSqSGMx ryfMsvUpnm1E25GTkFbA6dfXobNKw+ahLADBJYOj0nS0eJjVnxe9dO1q1EO2ANx8Ex9afLAAPWFou IsnOshfP3k5qqDRBgK/nu6Rv/TfnZ+jwKL8TRPTc/JR7LVgzCP5rDUdVBo5tPHsUHsPGTtcMEaWhD 0KtNtoO/sVDPD9OjQP8H7KmOg31xKQC8VMpaaaCOVuq7rSTakoy+wWLuQ4gAxza+dzIOrCJBSUPDf UMNdbtN3HwKxDgW9nweZlA==; In-Reply-To: <3akqf6us7npz7vrsfqd3aiic5w2ubfad7ugpgwq5nsc7lqwhao@2thip6bzmera> (message from Ergus on Wed, 24 Apr 2024 16:48:06 +0200) 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:146467 Archived-At: > Date: Wed, 24 Apr 2024 16:48:06 +0200 > From: Ergus > Cc: help-gnu-emacs@gnu.org > > About the user friendly interface you mentioned previously. > > I may be wrong, but I think it doesn't need a new face and custom > option, we just need to use the same whitespace-tab face for > tab-mark. It will be more coherent because the tabs (space highlight) > only uses the :background and the tab-mark will use only the > :foreground. Simpler and with all the flexibility. WDYT? What I meant was that activating this should be more user-friendly (and simpler) than having to write Lisp code which uses make-glyph-code and other stuff. We don't necessarily need to invent new faces.