From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?K=C3=A9vin_Le_Gouguec?= Newsgroups: gmane.emacs.devel Subject: Re: :extend t inheritance Date: Thu, 24 Oct 2019 17:38:35 +0200 Message-ID: <87v9serw5g.fsf@gmail.com> References: <87zhhrmcaq.fsf@kenko.localhost.com> <83o8y6xnmn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="265776"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org, Ingo Lohmar To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 24 18:28:09 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iNfy4-0016y4-BP for ged-emacs-devel@m.gmane.org; Thu, 24 Oct 2019 18:28:08 +0200 Original-Received: from localhost ([::1]:46970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNfy2-0007TD-II for ged-emacs-devel@m.gmane.org; Thu, 24 Oct 2019 12:28:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49236) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNfCL-0004Nx-Tn for emacs-devel@gnu.org; Thu, 24 Oct 2019 11:38:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNfCK-0000EP-0f for emacs-devel@gnu.org; Thu, 24 Oct 2019 11:38:48 -0400 Original-Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]:54687) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iNfCJ-0000CM-Qi; Thu, 24 Oct 2019 11:38:47 -0400 Original-Received: by mail-wm1-x343.google.com with SMTP id g7so3361068wmk.4; Thu, 24 Oct 2019 08:38:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=04IbrZ9arNM0RCj/BpP20uEflb2P0kOrKk74eiTk4Y0=; b=h74DcA3e+LlHp5LGpGCb5cAAhylUvlS83Mcbi9AarmdaSr2ykkPaMkvowwFqd0IaWQ AtUnXz3iKulUYe239PC8Nwolp6cWjhwDHKoNDNiqcUw7cFa8J9jAOrhkaLztWhEMthFw gC47j5VRNKSozw2Vlfgh5avkmr8Stwwm8rn62LA3wpOwVIlpwXenruCX7Kl2e4lldnDE NS0ctrrZecdD3n9uhWsDq2R87m63+Pcvp1vjQTuUfFdz2pOeepN7K8P/wHTenjy28h1t oLsIODk5fITlKTcUV7uYMrJ7QY20j2cZkj+elSwVfJVxKSoGWjpm+iccxrU1ywp/tAYa 4gUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=04IbrZ9arNM0RCj/BpP20uEflb2P0kOrKk74eiTk4Y0=; b=Kbk8dgB0QRl6LlClmoi2Q917V3J3dcW3ySQifEcjJEpKcxk6r12qcNy/PrFxxHa00K IVg9qyq1C045OjjstRVIafOwtG5XlevOLcqw+PsMAlfeTZjacaTxwRgkLfd4oa1MyVBy x6yd9//ngzCfx05N54bddw3qZemiGwowBAC/dV9ZLdHk3ElicbaBKUjEOZr6QC/o6rIn UVF/XtA1/58Tup0XPBY7xzNDepFN7OOrPrKjD0UrQVFiYcHApybDxfr2375mgkrmKnz+ kCKRBBdsKCAnOBMn+rE/sscY0e6vs7RajKs14pEJu16Cp1lhzFjaxllGhbIclFiyq4F+ CeiA== X-Gm-Message-State: APjAAAV66r4tdvKERwaGKcAwIN6fHdybe9zYau5Z6RnNtQgHrogtAbqL rxHFVHfo2fKcCmluraByOEBkUg/8 X-Google-Smtp-Source: APXvYqzmIL9EvFZooKEV6kyTeZc2QMbDVC0bqYOWt5lFtQR7veSqtwvhY2cItdFQ3Wwz5D5IDBPmYg== X-Received: by 2002:a7b:c002:: with SMTP id c2mr5880458wmb.52.1571931524268; Thu, 24 Oct 2019 08:38:44 -0700 (PDT) Original-Received: from little-buster ([92.184.100.247]) by smtp.gmail.com with ESMTPSA id f7sm18033751wre.68.2019.10.24.08.38.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2019 08:38:43 -0700 (PDT) In-Reply-To: <83o8y6xnmn.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 24 Oct 2019 16:46:08 +0300") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::343 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:241390 Archived-At: Eli Zaretskii writes: > Are you saying that the :extend attribute isn't inherited via > :inherit? Or are you saying something else? In any case, could you > please show a recipe or an example of what you tried and how the > results didn't match your expectations? >From emacs -Q: Add and remove a bunch of lines in a version-controlled file, and open a *vc-diff* buffer with C-x v =. Both diff-added and diff-removed faces extend beyond EOL since by default their :extend attribute is set to t. Then evaluate: (set-face-extend 'diff-added 'unspecified) (set-face-extend 'diff-removed 'unspecified) (set-face-extend 'diff-changed t) Intended effect: none, since diff-added and diff-removed inherit diff-changed. Actual effect: diff-added and diff-removed no longer extend beyond EOL. Like Ingo, I'm not sure whether this (:extend not being inheritable) is intentional or not; like Ingo, I would like to be able to set :extend t on a few base faces.