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.devel Subject: Re: Making `x-underline-at-descent-line' a face attribute Date: Thu, 06 Jan 2022 15:51:32 +0200 Message-ID: <8335m17z17.fsf@gnu.org> References: <87lezt5v7h.fsf.ref@yahoo.com> <87lezt5v7h.fsf@yahoo.com> <83r19l8d94.fsf@gnu.org> <87wnjd434b.fsf@yahoo.com> <83ee5l8433.fsf@gnu.org> <877dbd3vdk.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34093"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jan 06 15:30:05 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 1n5TmF-0008a9-NZ for ged-emacs-devel@m.gmane-mx.org; Thu, 06 Jan 2022 15:30:03 +0100 Original-Received: from localhost ([::1]:59630 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5TmE-0005cr-Mh for ged-emacs-devel@m.gmane-mx.org; Thu, 06 Jan 2022 09:30:02 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5TB0-00027G-1x for emacs-devel@gnu.org; Thu, 06 Jan 2022 08:51:35 -0500 Original-Received: from [2001:470:142:3::e] (port=43716 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5TAn-0000kI-1V; Thu, 06 Jan 2022 08:51:33 -0500 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=1XazjhQHqnEWwz0rbW96SRJ4wAOVWUwgAZaCF0VlDoY=; b=PU+iJyPy1eH4 UVJcHdTom/UN7nb7OXGO1cjuYn+p1UzeLYXM3jTiwpTxRtL/LCr/QvhC7UjOB4RDjfgF1lBooLkby UhrWQ3bot00bnDXMJ14J5rImMxThOXH3swp47HsdVyNWx4TZy79B0umf63B2VHjMk2wbnWi0Kw2Pw pJfM9mRp3acCU6pcuSBKvM9j3VpdGkkxnohEo7HMwSboq8aog5b58UneEJzE45oAIGjocW1+rAgmL JKRkkncwlsSEoOlolUdAmkW3mKgkvFFjOUqNe33BoCVeeCJnWizt01a+BH/QUvceWViyt6nbv30fi S6DFR9+Y/9KM476zhCJyWw==; Original-Received: from [87.69.77.57] (port=4437 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5TAk-00048o-Mk; Thu, 06 Jan 2022 08:51:19 -0500 In-Reply-To: <877dbd3vdk.fsf@yahoo.com> (message from Po Lu on Thu, 06 Jan 2022 20:24:07 +0800) 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:284323 Archived-At: > From: Po Lu > Cc: emacs-devel@gnu.org > Date: Thu, 06 Jan 2022 20:24:07 +0800 > > Eli Zaretskii writes: > > > I'd prefer to enhance :underline. Introducing a new attribute might > > be more tricky, as our experience with :extend shows. > > Could you elaborate on that? It could be knowledge that would come in > handy for me in the future. What would you like me to elaborate on? the :extend attribute? or something else? > > For example, we'd need to decide how to reconcile that new attribute > > with :underline, for starters. > > That would be fairly simple: :underline doesn't accept any attribute > that changes the position of the underline, so I don't know why they > would conflict. For example, what does it mean when a face specifies this new attribute, but doesn't specify :underline? Or what if it does specify :underline, but its style is 'wave'?