[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#1092: compilation-goto-error goes to wrong location when buffer has
From: |
Stefan Monnier |
Subject: |
bug#1092: compilation-goto-error goes to wrong location when buffer has hidden regions |
Date: |
Mon, 06 Oct 2008 21:50:14 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
> I have the copyright region at the head of my files hidden using
> selective-display and ^M. When this region is hidden functions like
> compilation-goto-error jump to the wrong location: n lines below the correct
> location where n is the number of hidden lines. If I use goto-line and the
> line number reported in the compilation buffer, emacs takes me to the
> correct line.
For what it's worth, I'd recommend you fix this problem by not using
selective-display (replace it with an overlay).
Stefan