Nathan Neff nathan.n...@gmail.com writes:
I tried something like this, but all I get is Wrong type argument:
integer-or-marker-p, (quote (second shortcut-def))
#+srcname: map-nav(navigation-shortcuts=navigation-shortcuts)
#+begin_src emacs-lisp
(defun map-navigation-shortcuts (shortcut-def)
On Mon, May 10, 2010 at 6:35 AM, Štěpán Němec step...@gmail.com wrote:
Nathan Neff nathan.n...@gmail.com writes:
I tried something like this, but all I get is Wrong type argument:
integer-or-marker-p, (quote (second shortcut-def))
#+srcname: map-nav(navigation-shortcuts=navigation-shortcuts)
Hi Nathan,
when the lambda form is evaluated (when you press f6) the variable
shortcut-def doesn't exist any more.
The problem is that elisp doesn't support closures. See
this info page:
(elisp) Top Variables Variable Scoping Extent
As a workaraound you can save the table in a global
Stephan Schmitt drmab...@cs.tu-berlin.de writes:
Hi Nathan,
when the lambda form is evaluated (when you press f6) the variable
shortcut-def doesn't exist any more.
The problem is that elisp doesn't support closures. See
this info page:
(elisp) Top Variables Variable Scoping Extent
As
On Thu, Apr 29, 2010 at 10:47 AM, Nathan Neff nathan.n...@gmail.com wrote:
Currently, I'm using org-id-get-create to generate a unique ID
for headings that I frequently go to in org-mode.
* Foo
:PROPERTIES:
:ID: F3B14102-A66D-408C-8833-1F9CF7E5047C
:END:
Then, I copy the newly created ID