help-gnu-emacs
[Top][All Lists]
Advanced

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

Subject: Re: Major-mode devel: how to drop font-lock 'display when mode


From: Madhu
Subject: Subject: Re: Major-mode devel: how to drop font-lock 'display when mode is disabled?
Date: Tue, 12 Mar 2024 20:15:31 +0530 (IST)

>> After some searching and experimentation I figured it's easy by making
>> a major mode, which basically uses a `(put-text-property start end
>> 'display human-redable-text)` to change the display of timestamps.
>>
>> It works fine but one problem I couldn't figure out how to get rid of
>> is that upon changing the major mode the custom display does not
>> go away.

for a pre-existing solution I think epoch-view may work in a pinch

https://elpa.gnu.org/packages/epoch-view.html




reply via email to

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