[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: xref in a narrowed buffer?
From: |
Eli Zaretskii |
Subject: |
Re: xref in a narrowed buffer? |
Date: |
Wed, 04 Mar 2020 18:38:52 +0200 |
> From: Dmitry Gutov <address@hidden>
> Date: Wed, 4 Mar 2020 18:04:50 +0200
> Cc: Robert Pluim <address@hidden>, address@hidden
>
> > It could also signal a clean error telling the user the destination is
> > outside of the narrowed region, so the user can decide whether to widen
> > or not (and is aware of the fact that the source of the problem is the
> > narrowing).
>
> True. It's also an option.
>
> I don't use narrowing, and don't understand its intended behavior, so
> someone else should make the choice on what is the best approach here.
Signaling an error sounds TRT to me. When you narrow a buffer, Emacs
should behave as if the parts outside the restriction didn't exist.