emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Copy link at point


From: Christian Moe
Subject: Re: [O] Copy link at point
Date: Thu, 23 Jun 2011 17:42:17 +0200
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10

Cool! Thanks.

Yours,
Christian

On 6/23/11 2:56 PM, Eric S Fraga wrote:
Memnon Anon<address@hidden>  writes:
(...)

C-c C-l C-a C-k C-g

Memnon

And if you do this, saving it as a kmacro, you can generate code that
does this:

#+begin_src emacs-lisp
(fset 'getlink
       (lambda (&optional arg)
         "Keyboard macro."
         (interactive "p")
         (kmacro-exec-ring-item (quote ("\C-c\C-l\C-a\C-k\C-g" 0 "%d")) arg)))
#+end_src

You can then bind /getlink/ to a key or execute it directly with
M-x getlink RET






reply via email to

[Prev in Thread] Current Thread [Next in Thread]