all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Suggestion with footnotes when toggling headlines into plain lists
@ 2022-08-06  8:26 Ypo
  2022-08-07 11:29 ` Ihor Radchenko
  0 siblings, 1 reply; 7+ messages in thread
From: Ypo @ 2022-08-06  8:26 UTC (permalink / raw)
  To: Org-mode

[-- Attachment #1: Type: text/plain, Size: 642 bytes --]

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
bbbbbbbb [fn:1]

[fn:1] cccccccccccccccc
* 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
   bbbbbbbb [fn:1]

   [fn:1] cccccccccccccccc
- Headline 2


The desired outcome, could be something like this:

* Main headline
- Headline 1
   bbbbbbbb [fn:1]
- Headline 2
[fn:1] cccccccccccccccc



[-- Attachment #2: Type: text/html, Size: 1575 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Suggestion with footnotes when toggling headlines into plain lists
  2022-08-06  8:26 Suggestion with footnotes when toggling headlines into plain lists Ypo
@ 2022-08-07 11:29 ` Ihor Radchenko
  2022-11-11  5:22   ` Ihor Radchenko
  0 siblings, 1 reply; 7+ messages in thread
From: Ihor Radchenko @ 2022-08-07 11:29 UTC (permalink / raw)
  To: Ypo; +Cc: Org-mode

Ypo <ypuntot@gmail.com> 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
> bbbbbbbb [fn:1]
>
> [fn:1] cccccccccccccccc
> * 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
>    bbbbbbbb [fn:1]
>
>    [fn:1] cccccccccccccccc
> - 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
>    bbbbbbbb [fn:1]
> - Headline 2
> [fn:1] cccccccccccccccc

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Suggestion with footnotes when toggling headlines into plain lists
  2022-08-07 11:29 ` Ihor Radchenko
@ 2022-11-11  5:22   ` Ihor Radchenko
  2022-11-11 12:49     ` Ypo
  0 siblings, 1 reply; 7+ messages in thread
From: Ihor Radchenko @ 2022-11-11  5:22 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: Ypo, Org-mode

Ihor Radchenko <yantar92@gmail.com> 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
>>    bbbbbbbb [fn:1]
>>
>>    [fn:1] cccccccccccccccc
>> - 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 <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Suggestion with footnotes when toggling headlines into plain lists
  2022-11-11  5:22   ` Ihor Radchenko
@ 2022-11-11 12:49     ` Ypo
  2022-11-11 13:50       ` Alain.Cochard
  2022-11-12 12:46       ` Ihor Radchenko
  0 siblings, 2 replies; 7+ messages in thread
From: Ypo @ 2022-11-11 12:49 UTC (permalink / raw)
  To: Ihor Radchenko, Ihor Radchenko; +Cc: Org-mode

[-- Attachment #1: Type: text/plain, Size: 706 bytes --]

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<yantar92@gmail.com>  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
>>>     bbbbbbbb [fn:1]
>>>
>>>     [fn:1] cccccccccccccccc
>>> - 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
>

[-- Attachment #2: Type: text/html, Size: 1649 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Suggestion with footnotes when toggling headlines into plain lists
  2022-11-11 12:49     ` Ypo
@ 2022-11-11 13:50       ` Alain.Cochard
  2022-11-12 12:46       ` Ihor Radchenko
  1 sibling, 0 replies; 7+ messages in thread
From: Alain.Cochard @ 2022-11-11 13:50 UTC (permalink / raw)
  To: Ypo; +Cc: Ihor Radchenko, Ihor Radchenko, Org-mode

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<yantar92@gmail.com>  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
 > >>>     bbbbbbbb [fn:1]
 > >>>
 > >>>     [fn:1] cccccccccccccccc
 > >>> - 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.cochard@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 ]



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Suggestion with footnotes when toggling headlines into plain lists
  2022-11-11 12:49     ` Ypo
  2022-11-11 13:50       ` Alain.Cochard
@ 2022-11-12 12:46       ` Ihor Radchenko
  2022-11-12 14:24         ` Ypo
  1 sibling, 1 reply; 7+ messages in thread
From: Ihor Radchenko @ 2022-11-12 12:46 UTC (permalink / raw)
  To: Ypo; +Cc: Ihor Radchenko, Org-mode

Ypo <ypuntot@gmail.com> 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 <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Suggestion with footnotes when toggling headlines into plain lists
  2022-11-12 12:46       ` Ihor Radchenko
@ 2022-11-12 14:24         ` Ypo
  0 siblings, 0 replies; 7+ messages in thread
From: Ypo @ 2022-11-12 14:24 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: Ihor Radchenko, Org-mode, alain.cochard

[-- Attachment #1: Type: text/plain, Size: 593 bytes --]

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

Thanks, working!


El 12/11/2022 a las 13:46, Ihor Radchenko escribió:
> Ypo<ypuntot@gmail.com>  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/
>

[-- Attachment #2: Type: text/html, Size: 1485 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-11-12 14:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-06  8:26 Suggestion with footnotes when toggling headlines into plain lists Ypo
2022-08-07 11:29 ` Ihor Radchenko
2022-11-11  5:22   ` Ihor Radchenko
2022-11-11 12:49     ` Ypo
2022-11-11 13:50       ` Alain.Cochard
2022-11-12 12:46       ` Ihor Radchenko
2022-11-12 14:24         ` Ypo

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.