unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Subject: Re: Major-mode devel: how to drop font-lock 'display when mode is disabled?
@ 2024-03-12 14:45 Madhu
  0 siblings, 0 replies; only message in thread
From: Madhu @ 2024-03-12 14:45 UTC (permalink / raw)
  To: help-gnu-emacs, Hi-Angel

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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-12 14:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-12 14:45 Subject: Re: Major-mode devel: how to drop font-lock 'display when mode is disabled? Madhu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).