Re: [O] org-insert-timestamp issue

2012-01-25 Thread Carsten Dominik
On 25.1.2012, at 06:15, Bastien wrote: > Hi Marcelo, > > Marcelo de Moraes Serpa writes: > >> Why does org rebinds C-c C-y to that function? Is that a default >> binding for org? > > Yes. But `C-c y' is free. Just to expand on this, in Emacs, C-c letter keys are reserved for the users, but

Re: [O] org-insert-timestamp issue

2012-01-24 Thread Bastien
Hi Marcelo, Marcelo de Moraes Serpa writes: > Why does org rebinds C-c C-y to that function? Is that a default > binding for org? Yes. But `C-c y' is free. HTH, -- Bastien

Re: [O] org-insert-timestamp issue

2012-01-24 Thread Nick Dokos
Marcelo de Moraes Serpa wrote: > Why does org rebinds C-c C-y to that function? Is that a default binding > for org? > Yes - see line 17340 in org.el.

Re: [O] org-insert-timestamp issue

2012-01-24 Thread Marcelo de Moraes Serpa
Hi Nick, thank you very much! Why does org rebinds C-c C-y to that function? Is that a default binding for org? Marcelo. On Tue, Jan 24, 2012 at 7:46 PM, Nick Dokos wrote: > Marcelo de Moraes Serpa wrote: > > > --485b393aac6dde430a04b7500c79 > > Content-Type: text/plain; charset=ISO-8859-1 >

Re: [O] org-insert-timestamp issue

2012-01-24 Thread Nick Dokos
Marcelo de Moraes Serpa wrote: > --485b393aac6dde430a04b7500c79 > Content-Type: text/plain; charset=ISO-8859-1 > > Hi guys, > > I have bound org-insert-timestamp to C-c C-y, like so: > > (global-set-key (kbd "C-c C-y") (lambda() (interactive) > (org-insert-time-stamp nil t nil nil nil nil))) >

[O] org-insert-timestamp issue

2012-01-24 Thread Marcelo de Moraes Serpa
Hi guys, I have bound org-insert-timestamp to C-c C-y, like so: (global-set-key (kbd "C-c C-y") (lambda() (interactive) (org-insert-time-stamp nil t nil nil nil nil))) However, once in an org-mode buffer, when I press C-c C-y, I get the following in the mini-buffer: if: Not at a time-stamp rang