[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Insert time in Org-mode
From: |
Russell Adams |
Subject: |
Re: [O] Insert time in Org-mode |
Date: |
Thu, 27 Jun 2019 11:23:26 +0200 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Thu, Jun 27, 2019 at 08:04:33AM +1000, Tim Cross wrote:
> > That is a bit strange - my Emacs doesn't seem to have `bind-key'.
> >
>
> It is from a separate package called bind-key that you can install from
> MELPA.
>
> The excellent 'use-package' package uses it as a convenience method to
> bind keys in use-pacakge definition blocks.
I could refactor that to use the binding in use-package.
> > Also, I would just add f9 to `org-mode-map', e.g. using `define-key' -
> > there's no need then to check for `major-mode'.
> >
>
> Yep, exactly my first thoughts when I saw the example. I use to have
> something similar, but now my capture templates and 'Journal' option
> take care of all of that, plus other useful details - like the
> place/buffer/mode you were in when you took the note etc.
I've used this same code since 2007? Perhaps it needs an update. ;]
------------------------------------------------------------------
Russell Adams address@hidden
PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/
Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3