all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.