GNU bug report logs - #77717
[PATCH] Add row-properties to 'vtable'

Previous Next

Package: emacs;

Reported by: Ship Mints <shipmints <at> gmail.com>

Date: Thu, 10 Apr 2025 22:11:02 UTC

Severity: normal

Tags: patch

Done: Stéphane Marks <shipmints <at> gmail.com>

Full log


View this message in rfc822 format

From: Ship Mints <shipmints <at> gmail.com>
To: 77717 <at> debbugs.gnu.org
Subject: bug#77717: [PATCH] Add row-properties to 'vtable'
Date: Fri, 11 Apr 2025 16:02:20 -0400
[Message part 1 (text/plain, inline)]
On Thu, Apr 10, 2025 at 6:11 PM Ship Mints <shipmints <at> gmail.com> wrote:

> This is useful for adding 'cursor-face or 'mouse-face to each row.  I've
> been advising 'vtable--insert-line' with an after advice.  This is better.
>
> Example:
>
>           (make-vtable
>            :columns
>            '(( :name "Foo"
>                :primary ascending
>                ))
>            :allow-other-keys t ; backward compatibility for :row-properties
>            :row-properties '( mouse-face highlight
>                               cursor-face region)
>

Revised patch attached with the bug number and with 'keymap now applied to
the whole row vs. just the row text.  This ensures that keys (e.g., "q" to
quit) operate correctly if point is at the newline.

-Stephane
[Message part 2 (text/html, inline)]
[0001-Fix-row-keymap-and-add-row-properties-to-vtable-bug-.patch (application/octet-stream, attachment)]

This bug report was last modified today.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.