emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [bug, org] footnote-action broken with narrowed buffer


From: Rasmus
Subject: Re: [O] [bug, org] footnote-action broken with narrowed buffer
Date: Sat, 25 Apr 2015 12:48:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Nicolas Goaziou <address@hidden> writes:

> Rasmus <address@hidden> writes:
>
>> Nicolas Goaziou <address@hidden> writes:
>
>> Point is moved, though.  If narrow shouldn't be "broken" then point
>> shouldn't be moved.  I.e. no move when the definition is not within the
>> buffer.
>
> Fixed in 5954f6aa25b51a3a9a8f258fb0f15ef51be31366. Thank you.
>
>>> 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.
>>
>> It would only work for the most trivial case I guess.
>
> This is why it is not worth implementing.

If it covers x%, for x large, of the realized usecases when working with a
narrowed buffer it's still "worth" it.

In any case, how about some of these alternative approaches to the issue
of handling footnotes from a narrowed buffer.

   1. Retrieve the footnote in the minibuffer.  E.g. org-footnote-action
      shows the footnote-definition if it is outside of the narrow (and
      known) in the minibuffer?  E.g. 2. when using prefix.
   2. Show the definition in the minibuffer as editable text (read input)
      and update it if necessary.
   3. A way to quickly get back to the previous narrow (this should
      probably be an Emacs-core feature).

—Rasmus

-- 
Enough with the bla bla!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]