From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 32356 invoked from network); 15 Oct 2020 16:58:56 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 15 Oct 2020 16:58:56 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1602781136; b=JTpknMZXGuUv2doHFy98DIAELUL+8ODHh4so8rGSyOsfHutPFMoQP58Ke6ypIx8sxXIqr68IoY idAtGztnfG7xKToJeFidHmZO60coTehRi4GF8bKqwNaD2x3pYYM0tpg28X1ynmGn44eO+bxPZu A/qy6ndJ0yfJoEJLLinM+Jwq/vPujWYOYm0N8Tk0Q61ESd4nv/XrxGLYTomCJH3KSVy15JuVb0 wsm48ZcqH1wiXNKmfP+Jaa4epP+iEuN3T4SC3DVpsN8fuxODy3nEa7Jm06te2JOjGa89cVKZFg S7Ksad1e6D+xzxLCWAYpiy9YMhPZhAI9hqrB4MJnGFn0FQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-lf1-f51.google.com) smtp.remote-ip=209.85.167.51; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1602781136; bh=xZQdEuNgf5xaSJGI2lqVDZKnv/IM6ms1kvAH86naFVw=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:To:In-Reply-To:Cc:References:Message-ID:Date:Subject: MIME-Version:From:Content-Transfer-Encoding:Content-Type:DKIM-Signature: DKIM-Signature; b=mgR6xwjFWaoiTiIC2wp6K3odmypmefzyT8BzpLXJFqw2swG4iA5ychKt3ZrQVOpj4PH3QN3H+C DKeJ7CIdvVxbGC9P3xlFWAcXSVdutDuyvGSebvgQkiQsfRjmKnySEqUVPcNvQhfcLLplTKakCk 228bwcYon5HrcFRrnUBO9WlOsc2wOUW8fgcSCblowDA6e8wIKi7PUVnVRmzhaDHvGigvGfCImZ dm+r19ECODXl6CWJvIaNVA8oqsIVAg942GM3Sxshwe1sZ9NZL5gxiSSzWiNi/Wd6gAEexX7lxj JJbz47sz0mipQcMXtMHp+866hFQ31HWrCZIz3TDIfVuIdw==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:To:In-Reply-To:Cc:References: Message-Id:Date:Subject:Mime-Version:From:Content-Transfer-Encoding: Content-Type:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=xZQdEuNgf5xaSJGI2lqVDZKnv/IM6ms1kvAH86naFVw=; b=wGIS5swP/CDMaKrpRRSwZHhVqw 96omilJ5LqJwLIpVTQuxPXgb2jw6uk30DDqyldJQKLEjI5Yp0hopmRmwmHsOgXIFE2DXi0VaGZqFi kh7Bjara5U0YHihnCkA9xGHNjs87sVM1bBmrJK7f7t+Vprp9u3Q5GlaoXAFAgcOQIqwUGV8CP6hpA E9Mupw4gQgRkFZKYQ2sNS7sBa03n2BxUtJsUzqd6FTjZ/VA38IROYLDlN5mt05ZWuHYqfn1KyyhUB Ly50MOsDZOXDSPPpG8lntmWCY9YSCF3jtTQsqAm8IBGDE4b9eDci0R7vru3NJ94fKM31N4vEHEuK6 s1LOiuWA==; Received: from authenticated user by zero.zsh.org with local id 1kT6ac-000H1H-Sq; Thu, 15 Oct 2020 16:58:54 +0000 Authentication-Results: zsh.org; iprev=pass (mail-lf1-f51.google.com) smtp.remote-ip=209.85.167.51; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-lf1-f51.google.com ([209.85.167.51]:45736) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1kT6aJ-000Grm-Sq; Thu, 15 Oct 2020 16:58:37 +0000 Received: by mail-lf1-f51.google.com with SMTP id r127so4361189lff.12 for ; Thu, 15 Oct 2020 09:58:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=xZQdEuNgf5xaSJGI2lqVDZKnv/IM6ms1kvAH86naFVw=; b=YeRV5r3PKWh2IrvKFnYL7LC6eah4iNOtUviatYXgWWfDZ0PTNJTovmhm0zVDNPW5YX SRVy+FlvAZEPTqa8AePaykkc7ia+lWYncW3kPQ3XGufO+CuShqmoNtatpBMrZRcNTSCr nuzreQ8aVDbzVgh2C1TB5DVQycmomuqkpdfrPvBzScUY1aodqJpGy1MDyfsF4O19q/Zz zR0+NylrXMhgtB1AR/kGAPWb067v/aLeG3EyTSRpAjVqF75eHgZTH+xyAcYvaDbfSTg7 9j9+3VOXbii+cygvAbLQ1VFaqsV2X04npOjzSAr8srDQyVw2XVD9oNLZxM1JrZjuXHAw 5xug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=xZQdEuNgf5xaSJGI2lqVDZKnv/IM6ms1kvAH86naFVw=; b=aprtADbFmYzJOAl7avoFG+kdXxa7/BqrUU2yHLrT8D8syg/slPuaZjDi67eQs4nd8g BdL+yiUUoH494OHCMUb5MIA6wzcW6rxajZfEPZIXg90x3Gw6Y/jk13rd0Mc1BA8N4NW/ pLa1VAWcfD+vFmYb26U4/J7yql3bpaSiYEmo3RCM03ubULJbxVB91AIvkJgkq3Js1L95 L2JYz4GiVU+EN00PyjCdWqBZg8OB54Fn1cJTlpRxF/aCv76SCZqgF6QjQZdbiTjcOlxy sfABm5887UTbY5ekNKOIEKOVfc34Pjz1z3VamOqPepnh3g1kwUHwuhmwHrPg+AnCn6yj ru1g== X-Gm-Message-State: AOAM532ACJVLLYs3gGX6a6bf6DXzZrJrj0pHjNPoDujKnqMWELqd67Iz 7crNP1DLSm+aIsF5qVIkwtexcx3ETGA= X-Google-Smtp-Source: ABdhPJyUDfr7oRe5/xSMcKXxAiJuxe/j4FFLw+G3BAsYeTZHOJ3Qa3oZGaO6zafQfPoKf0duVZ2iag== X-Received: by 2002:a19:1c5:: with SMTP id 188mr1295464lfb.64.1602781114899; Thu, 15 Oct 2020 09:58:34 -0700 (PDT) Received: from ?IPv6:2001:14b8:180f:2411:6c53:459:6ef8:2b36? ([2001:14b8:180f:2411:6c53:459:6ef8:2b36]) by smtp.gmail.com with ESMTPSA id y2sm1200181lfc.255.2020.10.15.09.58.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Oct 2020 09:58:34 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Marlon Richert Mime-Version: 1.0 (1.0) Subject: Re: region_highlight converts `fg=default` to `none`, which is not the same Date: Thu, 15 Oct 2020 19:58:32 +0300 Message-Id: <0B36073E-6BF5-4C42-B591-1573FEC2AFA8@gmail.com> References: Cc: Daniel Shahaf , Zsh hackers list In-Reply-To: To: Roman Perepelitsa X-Mailer: iPhone Mail (18A393) X-Seq: 47463 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: > On 15. Oct 2020, at 10.37, Roman Perepelitsa = wrote: >=20 > Going forward, we can extend the spec syntax to give users more > flexibility. I can see two extensions. >=20 > 1. In addition to "underline", one can use "underline=3Don" and "underline= =3Doff". > 2. If the first character of the spec is "+", it's merged with the > current spec for the region; if the character is "=3D", it overrides; > otherwise the current behavior is preserved (specs with fg and bg > override, other specs merge). >=20 > Thoughts? If you=E2=80=99re going to extend the spec syntax, could you consider adding= more ANSI attributes, such as `faint` and `conceal`?