unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#52980: elide-head and revert-buffer interaction stops elide-head-show from working
@ 2022-01-03 16:48 Stefan Kangas
  2022-01-03 18:40 ` Stefan Kangas
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Kangas @ 2022-01-03 16:48 UTC (permalink / raw)
  To: 52980

On current master:

 0. emacs -Q lisp/help.el
        ;; Any file where the header would normally be elided
 1. M-x elide-head RET
 2. M-x revert-buffer RET
 3. M-: elide-head-overlay RET  => nil
        ;; Note that the overlay is still in the buffer though.
 4. M-x elide-head RET
        ;; A second overlay is added.
 5. M-x elide-head-show RET

Now I see no license, as only the second overlay is removed.

Note that the above sequence of commands should be equivalent to what
happens when you revert the buffer if you have added `elide-head' to a
major mode hook, as in:

  (add-hook 'prog-mode-hook 'elide-head)





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-01-09 10:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-03 16:48 bug#52980: elide-head and revert-buffer interaction stops elide-head-show from working Stefan Kangas
2022-01-03 18:40 ` Stefan Kangas
2022-01-04  8:15   ` Stefan Kangas
2022-01-04 17:08     ` jakanakaevangeli
2022-01-05  9:30       ` Stefan Kangas
2022-01-09 10:13         ` Stefan Kangas

Code repositories for project(s) associated with this public inbox

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

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