emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bastien.guerry@wikimedia.fr>
To: Andreas Burtzlaff <andy13@gmx.net>
Cc: Markus Heller <hellerm2@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: Re: Bind C-u C-c C-x C-i to a key
Date: Fri, 13 Aug 2010 09:09:46 +0200	[thread overview]
Message-ID: <87zkwrugxx.fsf@gnu.org> (raw)
In-Reply-To: <87ocd71jz6.fsf@gmx.net> (Andreas Burtzlaff's message of "Fri, 13 Aug 2010 01:37:01 +0200")

Andreas Burtzlaff <andy13@gmx.net> writes:

> (defun ab-org-clock-in-select ()
>   (interactive)
>   (org-clock-in t))
>
> (global-set-key (kbd "<f12>") 'ab-org-clock-in-select)
>
> Maybe there's a more elegant way I don't know about..

Maybe this one:

(global-set-key (kbd "<f12>") (lambda() (interactive) (org-clock-in t)))

-- 
 Bastien

  parent reply	other threads:[~2010-08-13  7:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-12 23:13 Bind C-u C-c C-x C-i to a key Markus Heller
2010-08-12 23:37 ` Andreas Burtzlaff
2010-08-13  3:12   ` [OT] Passing universal argument to a function (was: Bind C-u C-c C-x C-i to a key) Memnon Anon
2010-08-13 16:49     ` Markus Heller
2010-08-14 23:41     ` Docstrings: Use of `C-u' (was: [OT] Passing universal argument to a function) Memnon Anon
2010-08-16 18:54       ` Docstrings: Use of `C-u' Bastien
2010-08-16 19:01       ` Bastien
2010-08-13  7:09   ` Bastien [this message]
2010-08-13  7:12     ` Re: Bind C-u C-c C-x C-i to a key Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zkwrugxx.fsf@gnu.org \
    --to=bastien.guerry@wikimedia.fr \
    --cc=andy13@gmx.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=hellerm2@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).