[Orgmode] kechord to create another line beginning with an inactive timestamp?

2007-12-28 Thread Rainer Stengele
Many times I am writing a protocol which needs to have timestamped 
entries (see Skype or Yahoo Messenger chats) like:


...
- [2007-12-29 Sa 00:48] blah
- [2007-12-29 Sa 00:56] blub
...

For that I have to enter:

M-Enter
C-u C-c ! Enter

I would really like it having a key chord giving me the next line with 
the current incative time stamp! Maybe C-S-Enter?


What do you think?


rainer



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] kechord to create another line beginning with an inactive timestamp?

2007-12-28 Thread Manish
On Dec 29, 2007 5:28 AM, Rainer Stengele [EMAIL PROTECTED] wrote:
 Many times I am writing a protocol which needs to have timestamped
 entries (see Skype or Yahoo Messenger chats) like:

 ...
 - [2007-12-29 Sa 00:48] blah
 - [2007-12-29 Sa 00:56] blub
 ...

 For that I have to enter:

 M-Enter
 C-u C-c ! Enter

 I would really like it having a key chord giving me the next line with
 the current incative time stamp! Maybe C-S-Enter?


How about defining a macro to achieve this, for example:

(fset 'x
   [?\C-e M-return ?\C-u ?\C-c ?! return ? ])

Note: replace `x' with name of your choice.

-- 
Manish
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GIT d-+ s+:+: a C+++ LB U+ P+ L+++ E++ W+++ N+++ o? k?
w O? !M !V PS+++ PE+ Y+++ PGP++ t+ 5? X+ R tv--- b+++ DI++ !D G
e* h--- r+++ y+++
--END GEEK CODE BLOCK--


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode