emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MPS: Forwording symbols


From: Helmut Eller
Subject: Re: MPS: Forwording symbols
Date: Sun, 23 Jun 2024 21:59:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

On Sat, Jun 22 2024, Gerd Möllmann wrote:

>> The symbol is needed in store_symval_forwarding.  It looks in the plist
>> for 'choice and 'range.  In addition to the five symbols mentioned in
>> the definition of Lisp_Buffer_Objfwd, predicate can also be
>> 'overwrite-mode, 'vertical-scroll-bar and 'fraction.  I think those have
>> those properties; weird.
>
> I guess then it's better to leave the enum part out. That seems to
> become too much work. What an ugly corner.

Here is an attempt to use an enum.  I'm not sure that it's easier to
read and the enum constants have odd names.

Attachment: 0001-Introduce-an-enum-Lisp_Fwd_Predicate.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]