emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* kechord to create another line beginning with an inactive timestamp?
@ 2007-12-28 23:58 Rainer Stengele
  2007-12-29  7:04 ` Manish
  0 siblings, 1 reply; 2+ messages in thread
From: Rainer Stengele @ 2007-12-28 23:58 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: kechord to create another line beginning with an inactive timestamp?
  2007-12-28 23:58 kechord to create another line beginning with an inactive timestamp? Rainer Stengele
@ 2007-12-29  7:04 ` Manish
  0 siblings, 0 replies; 2+ messages in thread
From: Manish @ 2007-12-29  7:04 UTC (permalink / raw)
  To: Rainer Stengele; +Cc: emacs-orgmode

On Dec 29, 2007 5:28 AM, Rainer Stengele <rainer.stengele@diplan.de> 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+++ L>B 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------

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-12-29  7:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-28 23:58 kechord to create another line beginning with an inactive timestamp? Rainer Stengele
2007-12-29  7:04 ` Manish

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).