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

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

Re: dired-hide-details-mode have no effect suddenly


From: Charles A. Roelli
Subject: Re: dired-hide-details-mode have no effect suddenly
Date: Sat, 23 Sep 2017 11:43:26 +0200

> From: Tomas Nordin <tomasn@posteo.net>
> Date: Thu, 21 Sep 2017 21:20:36 +0200
> 
> Tomas Nordin <tomasn@posteo.net> writes:
> 
> > "Charles A. Roelli" <charles@aurox.ch> writes:
> >
> >>> font-lock-extra-managed-props is a variable defined in ‘font-lock.el’.
> >>> Its value is (invisible composition)
> >>> 
> >>> ... and problem is back. Who has changed it I don't know. I know that it
> >>> has happened around doing some magit.
> >>> 
> >>> Cool, resetting that variable to nil removes the problem. But still,
> >>> hmm, ehh.
> >>
> >> Neat.  Does M-x rgrep font-lock-extra-managed-props RET * RET
> >> ~/.emacs.d/elpa/ show anything interesting?
> >
> > Yes, three. I think the relevant two are those:
> >
> > ./markdown-mode-20170610.602/markdown-mode.el:7783:  (add-to-list 
> > 'font-lock-extra-managed-props 'composition)
> > ./markdown-mode-20170610.602/markdown-mode.el:7789:  (add-to-list 
> > 'font-lock-extra-managed-props 'invisible)
> 
> I have updated that package and now those variables are manipulated like this:
> 
> (setq-local font-lock-extra-managed-props
>               (append font-lock-extra-managed-props
>                       '(composition display invisible)))
> 
> Is this a more proper way to do it? :)

Aha, perfect.  I guess I'm not the only one who learned that lesson
the hard way.



reply via email to

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