* link description <-- selected text?
@ 2007-01-14 17:51 Scott Otterson
2007-01-15 6:58 ` DSPAM " Bastien
2007-01-16 6:44 ` Carsten Dominik
0 siblings, 2 replies; 4+ messages in thread
From: Scott Otterson @ 2007-01-14 17:51 UTC (permalink / raw)
To: emacs-orgmode
Here's a feature request: If text is selected when the create link
command is invoked (C-c C-l), then the selected text becomes the default
contents for the link description mini-buffer. If no text is selected,
the description mini-buffer is blank, as it is now.
This would reduce substantially keystrokes for my usual style of
editing, which is to first type in the outline text and then to go back
and sprinkle it with links to references (to websites, bib entries,
lines of code...). For example, suppose I have written this sentence:
"Implement the RLS algorithm"
And, suppose I've already stored a link to an RLS paper by typing C-l in
in my bib file. Then, while in the outline buffer, I'd like to be able
to select the text "RLS algorithm", and then hit:
C-c C-l (creates link minibuffer)
<enter> (enters stored link)
<enter> (enters selected text as link description)
As soon as it occurred to me that this would make org-mode more
efficient, I realized that this is how other standard programs already
handle html references; I'd guess that many would already be familiar
with this small change in org-mode behavior.
Thanks for all the good work,
Scott
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: DSPAM link description <-- selected text?
2007-01-14 17:51 link description <-- selected text? Scott Otterson
@ 2007-01-15 6:58 ` Bastien
2007-01-16 6:44 ` Carsten Dominik
1 sibling, 0 replies; 4+ messages in thread
From: Bastien @ 2007-01-15 6:58 UTC (permalink / raw)
To: emacs-orgmode
Scott Otterson <scotto@u.washington.edu> writes:
> C-c C-l (creates link minibuffer)
> <enter> (enters stored link)
> <enter> (enters selected text as link description)
This seems useful to me as well. For now, i was emulating a close
behavior by saving the region and pasting it in the description
minibuffer, but we could spare at least two keystrokes.
--
Bastien
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: link description <-- selected text?
2007-01-14 17:51 link description <-- selected text? Scott Otterson
2007-01-15 6:58 ` DSPAM " Bastien
@ 2007-01-16 6:44 ` Carsten Dominik
2007-01-16 18:34 ` Scott Otterson
1 sibling, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2007-01-16 6:44 UTC (permalink / raw)
To: Scott Otterson; +Cc: emacs-orgmode
I have implemented this behavior, thanks.
It has the side effect that the selected text is removed from the
buffer,
even if you change the offered default description, but I guess this is
ok.
- Carsten
On Jan 14, 2007, at 18:51, Scott Otterson wrote:
> Here's a feature request: If text is selected when the create link
> command is invoked (C-c C-l), then the selected text becomes the
> default contents for the link description mini-buffer. If no text is
> selected, the description mini-buffer is blank, as it is now.
>
> This would reduce substantially keystrokes for my usual style of
> editing, which is to first type in the outline text and then to go
> back and sprinkle it with links to references (to websites, bib
> entries, lines of code...). For example, suppose I have written this
> sentence:
>
> "Implement the RLS algorithm"
>
> And, suppose I've already stored a link to an RLS paper by typing C-l
> in in my bib file. Then, while in the outline buffer, I'd like to be
> able to select the text "RLS algorithm", and then hit:
>
> C-c C-l (creates link minibuffer)
> <enter> (enters stored link)
> <enter> (enters selected text as link description)
>
> As soon as it occurred to me that this would make org-mode more
> efficient, I realized that this is how other standard programs already
> handle html references; I'd guess that many would already be familiar
> with this small change in org-mode behavior.
>
> Thanks for all the good work,
>
> Scott
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: link description <-- selected text?
2007-01-16 6:44 ` Carsten Dominik
@ 2007-01-16 18:34 ` Scott Otterson
0 siblings, 0 replies; 4+ messages in thread
From: Scott Otterson @ 2007-01-16 18:34 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode
Thanks much, this is perfect! Scott
Carsten Dominik (1/15/2007 10:44 PM) wrote:
> I have implemented this behavior, thanks.
> It has the side effect that the selected text is removed from the buffer,
> even if you change the offered default description, but I guess this
> is ok.
>
> - Carsten
>
> On Jan 14, 2007, at 18:51, Scott Otterson wrote:
>
>> Here's a feature request: If text is selected when the create link
>> command is invoked (C-c C-l), then the selected text becomes the
>> default contents for the link description mini-buffer. If no text is
>> selected, the description mini-buffer is blank, as it is now.
>>
>> This would reduce substantially keystrokes for my usual style of
>> editing, which is to first type in the outline text and then to go
>> back and sprinkle it with links to references (to websites, bib
>> entries, lines of code...). For example, suppose I have written this
>> sentence:
>>
>> "Implement the RLS algorithm"
>>
>> And, suppose I've already stored a link to an RLS paper by typing C-l
>> in in my bib file. Then, while in the outline buffer, I'd like to be
>> able to select the text "RLS algorithm", and then hit:
>>
>> C-c C-l (creates link minibuffer)
>> <enter> (enters stored link)
>> <enter> (enters selected text as link description)
>>
>> As soon as it occurred to me that this would make org-mode more
>> efficient, I realized that this is how other standard programs
>> already handle html references; I'd guess that many would already be
>> familiar with this small change in org-mode behavior.
>>
>> Thanks for all the good work,
>>
>> Scott
>>
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>>
>
> --
> Carsten Dominik
> Sterrenkundig Instituut "Anton Pannekoek"
> Universiteit van Amsterdam
> Kruislaan 403
> NL-1098SJ Amsterdam
> phone: +31 20 525 7477
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-01-16 18:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-14 17:51 link description <-- selected text? Scott Otterson
2007-01-15 6:58 ` DSPAM " Bastien
2007-01-16 6:44 ` Carsten Dominik
2007-01-16 18:34 ` Scott Otterson
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.