Re: [O] org-store-link without having to press Enter?

2014-02-18 Thread Sebastien Vauban
Hi Bastien, Bastien wrote: > please test the attached patch against master. This fills my needs. Thanks! > It creates a new command `org-insert-last-stored-link' > bound to `C-c M-l'. > > You can use `C-2 C-c M-l' to insert the last two links. > > So the set of commands around inserting links wo

Re: [O] org-store-link without having to press Enter?

2014-01-20 Thread Bastien
Nick Dokos writes: >> What do you and others think? > > Much better! I've now pushed this patch in master. Sébastien, please test C-c M-l to insert the last stored link and let us know what you think. Thanks, -- Bastien

Re: [O] org-store-link without having to press Enter?

2014-01-17 Thread Bastien
Nick Dokos writes: > Bastien writes: > >> 1. collect various links through a session >> 2. store the last one for a new task >> 3. dump all links into some "read later" heading >> >> so I think this feature deserves to be in core. >> >> What do you and others think? >> > > Much better! Thanks -

Re: [O] org-store-link without having to press Enter?

2014-01-15 Thread Nick Dokos
Bastien writes: > 1. collect various links through a session > 2. store the last one for a new task > 3. dump all links into some "read later" heading > > so I think this feature deserves to be in core. > > What do you and others think? > Much better! > > diff --git a/lisp/org.el b/lisp/org.el

Re: [O] org-store-link without having to press Enter?

2014-01-15 Thread Bastien
Hi Sébastien, please test the attached patch against master. It creates a new command `org-insert-last-stored-link' bound to `C-c M-l'. You can use `C-2 C-c M-l' to insert the last two links. So the set of commands around inserting links would be: C-c l => store link (the suggested use

Re: [O] org-store-link without having to press Enter?

2014-01-15 Thread Sebastien Vauban
Hello Nick, Nick Dokos wrote: > Sebastien Vauban writes: >> >> I'd like to use org-store-link in a piece of code. However, it currently >> requires the user to select some link from a list of store links. > > I think you mean org-insert-link, right? Yes; you're right! >> If I always want to sele

Re: [O] org-store-link without having to press Enter?

2014-01-14 Thread Nick Dokos
"Sebastien Vauban" writes: > Hello, > > I'd like to use org-store-link in a piece of code. However, it currently > requires the user to select some link from a list of store links. > I think you mean org-insert-link, right? > If I always want to select the last one -- that is, the default > opt

[O] org-store-link without having to press Enter?

2014-01-14 Thread Sebastien Vauban
Hello, I'd like to use org-store-link in a piece of code. However, it currently requires the user to select some link from a list of store links. If I always want to select the last one -- that is, the default option --, how can I bypass the required RET? I can do this: (execute-kbd-macro "\C