* invisible text in compilation-goto-locus
@ 2003-09-16 1:21 Josef Urban
0 siblings, 0 replies; 4+ messages in thread
From: Josef Urban @ 2003-09-16 1:21 UTC (permalink / raw)
Hi,
The function compilation-goto-locus used in compile.el shows
invisibile text only if it was created by the hideshow mode:
;; If hideshow got in the way of
;; seeing the right place, open permanently.
(mapcar (function (lambda (ov)
(when (eq 'hs (overlay-get ov 'invisible))
(delete-overlay ov)
(goto-char (cdr next-error)))))
(overlays-at (point)))
Should not there be a more general property (like isearch-open-invisible)
or even a variable (like buffer-invisibility-spec) to allow customization
of its behavior?
Thanks,
Josef Urban
^ permalink raw reply [flat|nested] 4+ messages in thread
* invisible text in compilation-goto-locus
@ 2003-09-16 14:29 Josef Urban
2003-09-16 14:34 ` Stefan Monnier
0 siblings, 1 reply; 4+ messages in thread
From: Josef Urban @ 2003-09-16 14:29 UTC (permalink / raw)
Hi,
The function compilation-goto-locus used in compile.el shows
invisibile text only if it was created by the hideshow mode:
;; If hideshow got in the way of
;; seeing the right place, open permanently.
(mapcar (function (lambda (ov)
(when (eq 'hs (overlay-get ov 'invisible))
(delete-overlay ov)
(goto-char (cdr next-error)))))
(overlays-at (point)))
Should not there be a more general property (like isearch-open-invisible)
or even a variable (like buffer-invisibility-spec) to allow customization
of its behavior?
Thanks,
Josef Urban
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: invisible text in compilation-goto-locus
2003-09-16 14:29 invisible text in compilation-goto-locus Josef Urban
@ 2003-09-16 14:34 ` Stefan Monnier
2003-09-16 17:21 ` Josef Urban
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2003-09-16 14:34 UTC (permalink / raw)
Cc: emacs-devel
> Should not there be a more general property (like isearch-open-invisible)
> or even a variable (like buffer-invisibility-spec) to allow customization
> of its behavior?
You can also use reveal-mode (in the source buffer) to automatically
un-hide invisible text around point.
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: invisible text in compilation-goto-locus
2003-09-16 14:34 ` Stefan Monnier
@ 2003-09-16 17:21 ` Josef Urban
0 siblings, 0 replies; 4+ messages in thread
From: Josef Urban @ 2003-09-16 17:21 UTC (permalink / raw)
Cc: emacs-devel
> > Should not there be a more general property (like isearch-open-invisible)
> > or even a variable (like buffer-invisibility-spec) to allow customization
> > of its behavior?
>
> You can also use reveal-mode (in the source buffer) to automatically
> un-hide invisible text around point.
Thanks, this probably solves my problem (I'll have to change text
properties to overlays to test it).
Josef Urban
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-09-16 17:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-16 14:29 invisible text in compilation-goto-locus Josef Urban
2003-09-16 14:34 ` Stefan Monnier
2003-09-16 17:21 ` Josef Urban
-- strict thread matches above, loose matches on Subject: below --
2003-09-16 1:21 Josef Urban
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.