From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.devel Subject: Re: Making `x-underline-at-descent-line' a face attribute Date: Wed, 5 Jan 2022 21:08:57 -0800 Message-ID: References: <87lezt5v7h.fsf.ref@yahoo.com> <87lezt5v7h.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18918"; mail-complaints-to="usenet@ciao.gmane.io" To: Po Lu , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jan 06 06:10:41 2022 Return-path: Envelope-to: ged-emacs-devel@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 1n5L2v-0004k7-OC for ged-emacs-devel@m.gmane-mx.org; Thu, 06 Jan 2022 06:10:41 +0100 Original-Received: from localhost ([::1]:43486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5L2t-0007gJ-Vb for ged-emacs-devel@m.gmane-mx.org; Thu, 06 Jan 2022 00:10:40 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5L1K-0006uI-Ea for emacs-devel@gnu.org; Thu, 06 Jan 2022 00:09:02 -0500 Original-Received: from [2607:f8b0:4864:20::42a] (port=36599 helo=mail-pf1-x42a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n5L1H-0003qm-Oo for emacs-devel@gnu.org; Thu, 06 Jan 2022 00:09:02 -0500 Original-Received: by mail-pf1-x42a.google.com with SMTP id v13so1571665pfi.3 for ; Wed, 05 Jan 2022 21:08:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:references:from:message-id:date:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=PKeZDGyIpKjOviEFJZyq74xVqzI3U6iV2tljuFhoEcc=; b=R2IEPvPJy2Pdsf1J/FoGtLoE+s96U9uJeFdVZLhH8nCO84gsxmjA1BLatx2QiupujA aPOdXO6gcoSSuRW9VpqABjxXGmdAqC7soR3QqnpWsi+vmwPxGeaoOakirnRYHgtAegsQ +SYJO2Ieo5TjMaMgDn9CUA0541zorExHbnIGFhexenT5YAEYOuTfR/scMPNQ1hZ61mol 3CQde8nu65oLVTtSLjJ9zxu8CKsrm07SDQOnGEKVNj1w1B4S3s4aFuaUmHEfEpXzyGZC RGhulpagAVokxH1rQbxaGyGZ3yJxD9wTUpsNzkohZ7GhnAtV9zu4ddxEVc724ZV8VeS5 wnxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=PKeZDGyIpKjOviEFJZyq74xVqzI3U6iV2tljuFhoEcc=; b=ZKiiypxZQ2pCYu8OdCrcay1uXsklhH78K9+ihYcNEG+XKr5H1K+7bFc+QSgbyjNsmi 9e6POumbbc2pvoookuWRYVAM0StzhucP8dff1lFziO5IIhrSCE0OzVFo100dz1XfAi5P ts6SS3PIPjjWbsdabdkJuWkgp2bSl/SccczCxEJhpig4IoCnh3nrPouhPrkrSXgIh2w+ x1/3ofz+Bd0Tu6cjgwiqgdx4SEvWCzfjvahfJl3aO7Zlkhd7Jg4fFLYs+XqdBGFF+/Tm RSrmXdqBzoLOYoKPx8047gLd3TTjZgSeX24J8WJ1KbnsfDVs8jk310JIy+XMWS2RNH4Z jfZQ== X-Gm-Message-State: AOAM53035YWUNy3qrUM3gGz4gyjS6IAiIX/KKQkuOs2kHIF9tMAsnOp/ Z9gmP1Yt54RWx7WVjA0xCieI2DYy+q4= X-Google-Smtp-Source: ABdhPJzjgD+X31BKFs//83eLWfkbWGx2OKHgpTIDym+Bifh5lu4DBSM4o6NYeeL+GyaYjEIopXhRzw== X-Received: by 2002:a63:3753:: with SMTP id g19mr29243915pgn.126.1641445738396; Wed, 05 Jan 2022 21:08:58 -0800 (PST) Original-Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id hk8sm4550275pjb.52.2022.01.05.21.08.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 05 Jan 2022 21:08:58 -0800 (PST) In-Reply-To: <87lezt5v7h.fsf@yahoo.com> Content-Language: en-US X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::42a (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::42a; envelope-from=jporterbugs@gmail.com; helo=mail-pf1-x42a.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:284283 Archived-At: On 1/5/2022 8:44 PM, Po Lu wrote: > It would be more useful that way for people who rely on an underline at > the descent line to achieve a bordered effect on the modeline, but who > don't otherwise want that setting to be applied to text. Obviously, we > should keep the global setting for backwards compatibility, probably > with precedence over the face attribute. > > WDYT? What about enhancing the :box attribute further to allow different widths (and possibly colors) for each of the 4 sides? It's already possible to specify an outline just on the top and bottom (or the left and right) in Emacs 28. This would also allow mixing a bordered effect with a "regular" underline, which could be useful for emphasizing parts of the mode line. - Jim