emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Copying subtrees with footnotes
@ 2013-03-20 19:53 Florian Beck
  2013-03-20 20:54 ` Samuel Wales
  0 siblings, 1 reply; 6+ messages in thread
From: Florian Beck @ 2013-03-20 19:53 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I need to copy subtrees between org-buffers, but `org-copy-subtree'
ignores footnotes (which is technically correct, I guess). Is there any
way to automate this?
-- 
Florian Beck

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

* Re: Copying subtrees with footnotes
  2013-03-20 19:53 Copying subtrees with footnotes Florian Beck
@ 2013-03-20 20:54 ` Samuel Wales
  2013-03-20 21:51   ` Florian Beck
  0 siblings, 1 reply; 6+ messages in thread
From: Samuel Wales @ 2013-03-20 20:54 UTC (permalink / raw)
  To: Florian Beck; +Cc: emacs-orgmode

Not a direct answer to your question, but:

I find that inline footnotes solve a lot of problems:
locality of reference is a huge deal both cognitively and
for organization; they cannot be put in the wrong sections
by mistake; they can't get numbers mixed up; they can't get
deleted or commented without the corresponding part doing so
in the normal case; it is not necessary to follow them to
check to see if they are there or what they are or where
they are; they can't get refiled or separated from their
definitions by headline additions; and they trigger fewer
numbering bugs.

They also, apparently, can be copied more easily.

Samuel

On 3/20/13, Florian Beck <fb@miszellen.de> wrote:
> Hi,
>
> I need to copy subtrees between org-buffers, but `org-copy-subtree'
> ignores footnotes (which is technically correct, I guess). Is there any
> way to automate this?
> --
> Florian Beck
>
>


-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  ANYBODY
can get it.  There is NO hope without action.  This means YOU.

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

* Re: Copying subtrees with footnotes
  2013-03-20 20:54 ` Samuel Wales
@ 2013-03-20 21:51   ` Florian Beck
  2013-03-20 21:55     ` Samuel Wales
  2013-03-20 23:12     ` Bastien
  0 siblings, 2 replies; 6+ messages in thread
From: Florian Beck @ 2013-03-20 21:51 UTC (permalink / raw)
  To: Samuel Wales; +Cc: Florian Beck, emacs-orgmode

Samuel Wales <samologist@gmail.com> writes:

> I find that inline footnotes solve a lot of problems:

Absolutly. The main reason I don't generally inline footnotes is that I
don't want to *see* them. Basically, footnotes are for readers that are
not my primary audience; sometimes footnotes are only for me and I keep
them only for drafting. Either way, they are noise in the paragraph.
Same thing, when I take notes and want to see the main points at a
glance while keeping reflections out of the way.

I thought about using custom links for footnotes (which would allow me
to hide the definition), but I'm not sure that would work the same way.
Can I have other (custom) links inside the link path (or inside an
inline footnote defintion)?

Thanks for the idea, I have to investigate.

Still, the original questions stands. Maybe `org-copy-subtree' and
`org-paste-subtree' could be adapted? Problem is, these functions use
kill-region internally, and I see no easy way to add the footnote information.

-- 
Florian Beck

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

* Re: Copying subtrees with footnotes
  2013-03-20 21:51   ` Florian Beck
@ 2013-03-20 21:55     ` Samuel Wales
  2013-03-20 23:12     ` Bastien
  1 sibling, 0 replies; 6+ messages in thread
From: Samuel Wales @ 2013-03-20 21:55 UTC (permalink / raw)
  To: Florian Beck; +Cc: Florian Beck, emacs-orgmode

On 3/20/13, Florian Beck <fb@fbeck.net> wrote:
> Samuel Wales <samologist@gmail.com> writes:
>> I find that inline footnotes solve a lot of problems:

> Absolutly. The main reason I don't generally inline footnotes is that I
> don't want to *see* them. Basically, footnotes are for readers that are

Others have proposed a command to collapse and expand inline
footnotes.  This would be trivial, involving invisibility property.

Do you think that would help?

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  ANYBODY
can get it.  There is NO hope without action.  This means YOU.

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

* Re: Copying subtrees with footnotes
  2013-03-20 21:51   ` Florian Beck
  2013-03-20 21:55     ` Samuel Wales
@ 2013-03-20 23:12     ` Bastien
  2013-03-21  7:52       ` Christian Moe
  1 sibling, 1 reply; 6+ messages in thread
From: Bastien @ 2013-03-20 23:12 UTC (permalink / raw)
  To: Florian Beck; +Cc: Florian Beck, emacs-orgmode

Hi Florian,

Florian Beck <fb@fbeck.net> writes:

> Still, the original questions stands. Maybe `org-copy-subtree' and
> `org-paste-subtree' could be adapted?

Instead of adapting those function, I'd have a function to inline
external footnotes--and vice versa.  This function would be helpful 
in this case but in other situations too.

Any taker?

-- 
 Bastien

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

* Re: Copying subtrees with footnotes
  2013-03-20 23:12     ` Bastien
@ 2013-03-21  7:52       ` Christian Moe
  0 siblings, 0 replies; 6+ messages in thread
From: Christian Moe @ 2013-03-21  7:52 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode


Bastien writes:
> Instead of adapting those function, I'd have a function to inline
> external footnotes--and vice versa.  This function would be helpful 
> in this case but in other situations too.

+1!

Yours,
Christian

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

end of thread, other threads:[~2013-03-21  7:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-20 19:53 Copying subtrees with footnotes Florian Beck
2013-03-20 20:54 ` Samuel Wales
2013-03-20 21:51   ` Florian Beck
2013-03-20 21:55     ` Samuel Wales
2013-03-20 23:12     ` Bastien
2013-03-21  7:52       ` Christian Moe

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).