From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: from zero.zsh.org (zero.zsh.org [IPv6:2a02:898:31:0:48:4558:7a:7368]) by inbox.vuxu.org (Postfix) with ESMTP id C763C226A7 for ; Sat, 30 Mar 2024 04:17:46 +0100 (CET) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1711768666; b=NQLEUXTFljRIwc/qptwvV23jh8LsnvuR06BV9adF5wSF1bflMVyoU6ywgtxAhPAQPp8cWCiZ38 ROM224rKgnDr8/IiykkiNXxCZvVgEvIGedby+mrO+zAU9GICEez1TimuRWctBy6kIMxTZtWvXe A/AyPScZLZRynKqv0dIg7z/tHqPzmwIueOE+wEm+JSHk5wTZm9TTdLj/FSbBESgtv0W+ZItpD6 HDub44w8ky1svr53gZOLMmEwzoAcCyODiU1rThiZ3u4SFnWgZtjjo1qhzfqYL8VsHT4oCqFywk OaRNTx160c73TsETqGce0hS+bvCr2wOTIIzbd8P74KCDGw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ej1-f47.google.com) smtp.remote-ip=209.85.218.47; dkim=pass header.d=brasslantern-com.20230601.gappssmtp.com header.s=20230601 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1711768666; bh=b2GvgJ9tPPKKoz4g2H4hx/BsNmoG/64oim4AkgjnTj0=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:To:Subject:Message-ID: Date:From:In-Reply-To:References:MIME-Version:DKIM-Signature:DKIM-Signature; b=OMUWp5V5T/0qP3Gn/5ci7CfJQ/OhLVMucpgfbnn2bTq5kwheRSyYSmCmr1iKYGK9z3dldvZnM0 51o5WKPo865AsYvpVjEe7zKWDeRy+tmGxLax0sC5E6YDnkFkTwj4oywujqiWKE1hXE2BNgxRW6 4jjRZPAkmb4AsVo7gSW/kdvDFzFDgHgxZX3Q644RUllKX/YAeKLJxpUnzW0Sb1YyFvfKWrp524 X8KE9DEd3tx2eXzZwBqiFvGQsqz5orxrKFLWSG2DkD0RfY7ChZP5uB7ufJ8wbgSCBeje+OkLAp oHWX7CfPAJpveybPoQh6pq2+paektrad44q4BHOJO2mw1w==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:To:Subject:Message-ID:Date:From:In-Reply-To:References: MIME-Version:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=XolmS9y1sWtnCA2CAMUsG8VxNg0zgRlxxP4OXnzwaAA=; b=Ud7Fh6TvKmZs4UaEuYWbal1/BP D8bnZR+R9vRKJ+UtDQQk94z07MGYKffUeP5Ay6VR16JcQRL/7bxaM0xh5a0KTkTiqwLIlwprJLIXK r3cXUJV0G1ega2mCdcIc3oxQ+jj0ZmE545SiVxR6CECs4NCKJUrcw1cfTu3DM6UinuAtQ2oUtbuKX erTLWXZ0zNO1iJ5u3nnf55ZnZ+iTKOrOmyjcVmXrLpUKISJy6QSmddDUuEsv4Lcp0WCLHWc42/JcQ BLKG02pkYwLmuAA6k7njCSVN/aGjV07B4V5vW7vYAWbJEl5yamvGUczfcvhDDfFBggNRWQnw/45YD SXi53crQ==; Received: by zero.zsh.org with local id 1rqPE1-000Bwc-NI; Sat, 30 Mar 2024 03:17:45 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ej1-f47.google.com) smtp.remote-ip=209.85.218.47; dkim=pass header.d=brasslantern-com.20230601.gappssmtp.com header.s=20230601 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-ej1-f47.google.com ([209.85.218.47]:61773) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1rqPDP-000Bcg-1z; Sat, 30 Mar 2024 03:17:09 +0000 Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-a4702457ccbso319333166b.3 for ; Fri, 29 Mar 2024 20:17:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20230601.gappssmtp.com; s=20230601; t=1711768626; x=1712373426; darn=zsh.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=XolmS9y1sWtnCA2CAMUsG8VxNg0zgRlxxP4OXnzwaAA=; b=Ngqc5XSlEie/no5ayZDTmrrgi2izBhLogfS/ZGrH8hoFAwBoARxqoJuauz6SRv77I/ 3SQ3t4zg+yB62To+wR+UmyMCyTFX9Gxt9mIF/if/6HOEAfRrI0Py+Vjt7JpOOIs9PKSt LJdtbLk7A4vunA3Dbj6BmsopGt+zqjM86y1j7k8zRVOTc63R5tBiogJQs12BH7Zj8ZRJ HLcrlu6MNoq0nUtQtmcPzsdBKYd8BZqqpufHv8fVXY34L/cKk3I26ppkRPxtfdWUT4W2 rGtxtsHkXgOSIQku/LZVmUt1/gbns8131tB9RpmS24+kGQmL3oE9MtQ40NkxaiAJZO86 UcTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711768626; x=1712373426; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XolmS9y1sWtnCA2CAMUsG8VxNg0zgRlxxP4OXnzwaAA=; b=e6lhOzF4bYxNRzRJ6yI29NDKtyeYBD+ojQIKVB8Ahu0bzydAKSmcUzeuGycrUSgB6E 30uib0VnYCHNg0K9zdzoY/5GH8RjzQXUhQ5hqFcCYlYyJRSnbQ3sP3u2FAQdzyEtn4DC TyPQGrObqWQyzShvwOpybgm+AQtB7I3jspLWzqPSaetIgywU1kpSSf5LZ+46xUB7wFvk NUhGPOkMSlLao+B0LKUXWvB4+XbdWqjEGqXJF69vBGPKJnRHuKRhqXu+E2KK15NRT7S7 bUW9SS2rFYrJ2iU/e4fmcI2zeeaAE4AJFYQoslEgf8WWlhLT9X5cnLA0qugfCSr4lglP 6S4Q== X-Gm-Message-State: AOJu0Yxcf3IkqPtlcvCtDYQHLSL2ajXcMqsFcVBkzxQi0lDdCHBrlAHN jUxbEW/iBF2JT2pjdCbO4VxLWPH1EJ4JAqY+rOpUjaGPm0q1PlfI2mpPFeM6zchlm5hY7BYKaz6 em5kbFPhFZiWQsJUZWEdNsMfkW2VcAGLn2Wv3jGYMynANp8BHLeXw X-Google-Smtp-Source: AGHT+IFOvZ9r2KbXjzOJKKtaUWHNhWv6BmpIwaqsicwA3ZvLIRzoa9HjlAzYreLe9b7AmCZ0uSNG5LC4LwkXLCEMr80= X-Received: by 2002:a17:907:9704:b0:a4e:4771:6267 with SMTP id jg4-20020a170907970400b00a4e47716267mr682252ejc.4.1711768625943; Fri, 29 Mar 2024 20:17:05 -0700 (PDT) MIME-Version: 1.0 References: <90949-1709342493.093890@W3fn.AXo8.ESGa> <65188-1711760801.491883@dElB.g8CB.0-rg> In-Reply-To: <65188-1711760801.491883@dElB.g8CB.0-rg> From: Bart Schaefer Date: Fri, 29 Mar 2024 20:16:54 -0700 Message-ID: Subject: Re: sticky-note and prompt color leftovers (Re: PATCH: broader support for highlight groups) To: Zsh workers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Seq: 52858 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: On Fri, Mar 29, 2024 at 6:06=E2=80=AFPM Oliver Kiddle wrote: > > Firstly, on the subject of sticky-note, had you intended to commit 47563 > and/or 48773? No, but I was planning to commit 52314 if any feedback were provided (which none has been, so far). So please have a look a that, if you don't mind. > sticky-note uses raw escape sequences so it remains as broken as before. Indeed, the ideal thing would be rewriting it to use highlight instead. (Not that I'm asking you to do more than provide pointers.) > It doesn't need much more than to precede the vared with, e.g. > local zle_highlight=3D( default:fg=3Dblack,bg=3Dyellow ) OK. What about effects like underlining or blinking? > I know that when I worked on this a year ago, I had it in mind to add > an additional key for zle_highlight which is used for line clearing > allowing a background for the area on the right that doesn't contain > text. I can't remember whether or not it was discussed. Any thoughts on > the name - viewport, buffer, field? I don't recall discussion either. How (if at all) does the PREDISPLAY / POSTDISPLAY text fit into this? Would the fallback case be to match the bg=3D color or to use the terminal default background?