Re: Suggestion with footnotes when toggling headlines into plain lists

2022-11-12 Thread Ypo

elpa-devel did it!! (non installed git)

Thanks, working!


El 12/11/2022 a las 13:46, Ihor Radchenko escribió:

Ypo  writes:


Is it easy for a user to test if it works?

If you have git, you can clone Org repo (see
https://git.savannah.gnu.org/cgit/emacs/org-mode.git) and then run

   make repro

from inside the Org repo folder. It will open a clean Emacs instance
configured to use the Org version from the repository.

Alternatively, you can add devel package archives ELPA devel. See
https://protesilaos.com/codelog/2022-05-13-emacs-elpa-devel/


Re: Suggestion with footnotes when toggling headlines into plain lists

2022-11-12 Thread Ihor Radchenko
Ypo  writes:

> Is it easy for a user to test if it works?

If you have git, you can clone Org repo (see
https://git.savannah.gnu.org/cgit/emacs/org-mode.git) and then run

  make repro

from inside the Org repo folder. It will open a clean Emacs instance
configured to use the Org version from the repository.

Alternatively, you can add devel package archives ELPA devel. See
https://protesilaos.com/codelog/2022-05-13-emacs-elpa-devel/

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 



Re: Suggestion with footnotes when toggling headlines into plain lists

2022-11-11 Thread Alain . Cochard
Ypo writes on Fri 11 Nov 2022 13:49:
 > Great!!
 > 
 > Is it easy for a user to test if it works?

One possibility (provided git is installed on your system) is:

   mkdir ~/Build/Emacs

   cd ~/Build/Emacs

   git clone https://git.savannah.gnu.org/git/emacs/org-mode.git

   cd org-mode && make && make doc

Create an ~/.emacs.git file containing only:

   (setq load-path (cons "~/Build/Emacs/org-mode/lisp" load-path))

Finally

   emacs -Q -l ~/.emacs.git

 > El 11/11/2022 a las 6:22, Ihor Radchenko escribió:
 > > Ihor Radchenko  writes:
 > >
 > >>> ~C-c -~ turns that into a list where footnotes definitions can't be
 > >>> found. It gives, for example, problems when exporting or when more
 > >>> footnotes are added:
 > >>>
 > >>> * Main headline
 > >>> - Headline 1
 > >>>      [fn:1]
 > >>>
 > >>>     [fn:1] 
 > >>> - Headline 2
 > >> Confirmed.
 > >>
 > >> Transforming footnote-definition into footnote-reference is not intended
 > >> and should be considered a bug.
 > > Fixed on main.
 > > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f83e45526b5ec4627d601673be3680e2dece1b33
 > >

-- 
EOST (École et Observatoire des Sciences de la Terre) 
ITE (Institut Terre & Environnement) | alain.coch...@unistra.fr
5 rue René Descartes   [bureau 110]  | Phone: +33 (0)3 68 85 50 44 
F-67084 Strasbourg Cedex, France | [ slot available for rent ]




Re: Suggestion with footnotes when toggling headlines into plain lists

2022-11-11 Thread Ypo

Great!!

Is it easy for a user to test if it works?

Thanks :-D

El 11/11/2022 a las 6:22, Ihor Radchenko escribió:

Ihor Radchenko  writes:


~C-c -~ turns that into a list where footnotes definitions can't be
found. It gives, for example, problems when exporting or when more
footnotes are added:

* Main headline
- Headline 1
     [fn:1]

    [fn:1] 
- Headline 2

Confirmed.

Transforming footnote-definition into footnote-reference is not intended
and should be considered a bug.

Fixed on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f83e45526b5ec4627d601673be3680e2dece1b33


Re: Suggestion with footnotes when toggling headlines into plain lists

2022-11-10 Thread Ihor Radchenko
Ihor Radchenko  writes:

>> ~C-c -~ turns that into a list where footnotes definitions can't be 
>> found. It gives, for example, problems when exporting or when more 
>> footnotes are added:
>>
>> * Main headline
>> - Headline 1
>>     [fn:1]
>>
>>    [fn:1] 
>> - Headline 2
>
> Confirmed.
>
> Transforming footnote-definition into footnote-reference is not intended
> and should be considered a bug.

Fixed on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f83e45526b5ec4627d601673be3680e2dece1b33

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 



Re: Suggestion with footnotes when toggling headlines into plain lists

2022-08-07 Thread Ihor Radchenko
Ypo  writes:

> When turning headlines into plain lists ~(org-ctrl-c-minus)~, I think 
> footnotes should be moved to the bottom of the main headline.
>
> Example; Original headlines:
>
> * Main headline
> ** Headline 1
>  [fn:1]
>
> [fn:1] 
> * Headline 2
>
>
> ~C-c -~ turns that into a list where footnotes definitions can't be 
> found. It gives, for example, problems when exporting or when more 
> footnotes are added:
>
> * Main headline
> - Headline 1
>     [fn:1]
>
>    [fn:1] 
> - Headline 2

Confirmed.

Transforming footnote-definition into footnote-reference is not intended
and should be considered a bug.

> The desired outcome, could be something like this:
>
> * Main headline
> - Headline 1
>     [fn:1]
> - Headline 2
> [fn:1] 

This will make sense.

-- 
Ihor Radchenko,
Org mode contributor,
Learn more about Org mode at https://orgmode.org/.
Support Org development at https://liberapay.com/org-mode,
or support my work at https://liberapay.com/yantar92