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: Sat, 12 Apr 2025 07:51:40 -0400
[Message part 1 (text/plain, inline)]
On Fri, Apr 11, 2025 at 4:02 PM Ship Mints <shipmints <at> gmail.com> wrote:

> 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.
>

While I have vtable cracked open, this revised patch now includes unsort.
vtable is nice.  Now, a bit nicer.

-Stephane
[Message part 2 (text/html, inline)]
[0001-vtable-row-keymap-row-properties-unsort-bug-77717.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.