[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] property values and timestamps
From: |
Bastien |
Subject: |
Re: [O] property values and timestamps |
Date: |
Fri, 21 Oct 2011 17:47:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) |
Hi Skip and Nick,
Nick Dokos <address@hidden> writes:
> Still a proof-of-concept, but better than the first attempt - set
> recursive minibuffers locally and use the standard keybinding:
>
> (defun org-completing-read (&rest args)
> "Completing-read with SPACE being a normal character."
> (let ((minibuffer-local-completion-map
> (copy-keymap minibuffer-local-completion-map))
> (enable-recursive-minibuffers t))
> (org-defkey minibuffer-local-completion-map " " 'self-insert-command)
> (org-defkey minibuffer-local-completion-map "?" 'self-insert-command)
> (org-defkey minibuffer-local-completion-map (kbd "C-c !")
> 'org-time-stamp-inactive)
> (apply 'org-icompleting-read args)))
I allowed recursive minibuffers in `org-completing-read'.
Thanks for this neat idea and proof-of-concept!
--
Bastien