From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: "Harmonizing" the :height attribute for multiple faces in the same string? Date: Tue, 8 Sep 2020 14:48:08 -0400 Message-ID: References: <87r1rcut1o.fsf@gnu.org> <83r1rckwjl.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4578"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 08 20:49:24 2020 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 1kFigG-00016Q-Ow for ged-emacs-devel@m.gmane-mx.org; Tue, 08 Sep 2020 20:49:24 +0200 Original-Received: from localhost ([::1]:46772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFigF-0001eB-PL for ged-emacs-devel@m.gmane-mx.org; Tue, 08 Sep 2020 14:49:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFif7-0000tb-Ry for emacs-devel@gnu.org; Tue, 08 Sep 2020 14:48:13 -0400 Original-Received: from mail-qt1-x82c.google.com ([2607:f8b0:4864:20::82c]:45168) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kFif6-0002SF-Bu for emacs-devel@gnu.org; Tue, 08 Sep 2020 14:48:13 -0400 Original-Received: by mail-qt1-x82c.google.com with SMTP id z2so12724562qtv.12 for ; Tue, 08 Sep 2020 11:48:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=2A3CEIvBc0NhZb/D6+XwjKcnWJ7nClzvbk+pwybpsjM=; b=dqVj5cTyJxrrZWMTzY1UB6j68XUjER6+aUrrbyBX0hGehQjDWKxRnDQKtPDas/+myN C1M+84UW4c6Ci6tQlhkjbgXY04jjwN1rIGMvqX+B0u4I9wWTcqVxaubQMKbxt5XDDesa 1bc+DNNcE0z1bviGs3cFSE/xD2w6XFr4xSl/rWJvHrIlC+lyjugkqfdt5RAFe82WNeQz Cl92u314BaM9NlgvwgvzyeNXjZxlwYHqkCh6GLeKSglmuy0979xM30Cj5XVzIE2Ls+Yl JBkh+NJdGYGWE5oW6APlBxAmqBDnDhwrH/gLGwkno6hko6Twqdq7cSIUEWT9ZQMKd/z/ QA9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=2A3CEIvBc0NhZb/D6+XwjKcnWJ7nClzvbk+pwybpsjM=; b=s7cIVC8n50htX3FbP12OdND65Rb4Is6KaXkYZ/HkWr06JQji09NbmvvcMTWzf73bLg ZVUuiXdBlEhXZdAFZXFfbvXwAmEHR6dXJ0G55DKrRyA30fdPtHdfDg9kmCtrGgNYE+TW wSiLsGjiZ7bQrSsWzCEpQSGU21MUuerYJhsMxBlPg4pF1K4icegWn04cV4k9NE9r8afo 5blgdVgm5FQ3fiGY+yTY163TtDOXrx92zeI5rBlmvfWFhR2oK8UUTZU55WbUUndQm37E u5Q9JAJd5h/iRyHNbrzJb9Mw8WBTH2vMdbmbUMlneN/kD0lbEE78aJ4g2zXVGoyFRjC9 mz9A== X-Gm-Message-State: AOAM532GSE3reGUw/cTeIDygDodaHLNikc1MQVUOWzNaxdwSY9t5RRxT 5TIPsaGJ3zablvmXawxSzpd8lcCeo9s= X-Google-Smtp-Source: ABdhPJxAAP3Wh7bRaQ1LPfcvXx1iW9sFX1pHrK5sTLfHLdorfbAtLnLsD9GDA2XeB7WIysY3Bz27UA== X-Received: by 2002:ac8:66da:: with SMTP id m26mr1545385qtp.111.1599590890789; Tue, 08 Sep 2020 11:48:10 -0700 (PDT) Original-Received: from [192.168.1.3] (c-24-61-240-80.hsd1.ma.comcast.net. [24.61.240.80]) by smtp.googlemail.com with ESMTPSA id i10sm117960qkh.15.2020.09.08.11.48.09 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 08 Sep 2020 11:48:09 -0700 (PDT) In-Reply-To: <83r1rckwjl.fsf@gnu.org> Content-Language: en-GB Received-SPF: pass client-ip=2607:f8b0:4864:20::82c; envelope-from=cpitclaudel@gmail.com; helo=mail-qt1-x82c.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -36 X-Spam_score: -3.7 X-Spam_bar: --- X-Spam_report: (-3.7 / 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, NICE_REPLY_A=-1.626, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:254797 Archived-At: On 9/8/20 1:28 PM, Eli Zaretskii wrote: >> From: Bastien >> Date: Tue, 08 Sep 2020 18:33:55 +0200 >> >> given a string combining various substrings each with a different >> face, each face with a different :height attribute: how can I set >> :height to the same value for all faces in this string, keeping >> the faces (and their attributes) distincts ? > > Define new faces, each of which inherit from the one of the respective > substring, and then override the :height with set-face-attribute? Alternatively, does add-face-text-property help?