[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [bug, org] footnote-action broken with narrowed buffer
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [bug, org] footnote-action broken with narrowed buffer |
Date: |
Fri, 24 Apr 2015 21:54:01 +0200 |
Hello,
Rasmus <address@hidden> writes:
> Narrow to h1 in the following example and run org-footnote-action on the
> footnote-reference. Expected behavior is IMO to go to the definition.
> This does not happen.
I disagree. Interactive commands are not expected to break current
narrowing (try, e.g., C-c C-n).
We might however ask the user if he wants to widen in order to reach
footnote definition, or display said definition in the echo area if he
doesn't, and maybe introduce a variable to always do one of these.
> Ideally, it should be possible to get back to the narrowed stage again,
> but I'm not sure how this would work. Perhaps hooking into next C-& or
> org-footnote-action if it's performed from within the [:begin, :end] range
> of the footnote-definition...
I suggest to stay away from this kind of "smart" behaviour.
Outside of the most trivial case (i.e., jump back and forth between the
definition and one of its references) it sounds like it would quickly
get in the way.
> * h1
> foo[fn:1]
>
> * Footnotes
>
> [fn:1] bar
Regards,
--
Nicolas Goaziou
- [O] [bug, org] footnote-action broken with narrowed buffer, Rasmus, 2015/04/24
- Re: [O] [bug, org] footnote-action broken with narrowed buffer,
Nicolas Goaziou <=
- Re: [O] [bug, org] footnote-action broken with narrowed buffer, Rasmus, 2015/04/24
- Re: [O] [bug, org] footnote-action broken with narrowed buffer, Nicolas Goaziou, 2015/04/25
- Re: [O] [bug, org] footnote-action broken with narrowed buffer, Rasmus, 2015/04/25
- Re: [O] [bug, org] footnote-action broken with narrowed buffer, Rasmus, 2015/04/25
- Re: [O] [bug, org] footnote-action broken with narrowed buffer, Nicolas Goaziou, 2015/04/25
- Re: [O] [bug, org] footnote-action broken with narrowed buffer, Rasmus, 2015/04/25
- Re: [O] [bug, org] footnote-action broken with narrowed buffer, Nicolas Goaziou, 2015/04/26
- Re: [O] [bug, org] footnote-action broken with narrowed buffer, Rasmus, 2015/04/26
- Re: [O] [bug, org] footnote-action broken with narrowed buffer, Nicolas Goaziou, 2015/04/27
- Re: [O] [bug, org] footnote-action broken with narrowed buffer, Rasmus, 2015/04/27