emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Richard Riley <rileyrgdev@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Emacs in a Term and Org
Date: Mon, 1 Mar 2010 08:28:22 +0100	[thread overview]
Message-ID: <78677E9E-F06E-44A5-8029-431B01D6810C@gmail.com> (raw)
In-Reply-To: <6fsr57-7ht.ln1@news.eternal-september.org>


On Mar 1, 2010, at 5:29 AM, Richard Riley wrote:

>
> More often than not I run emacsclient in rxvt under Tmux (a Screen
> replacement). As a result (and inconveniently) a lot of common key
> sequences dont work properly - generally involving shift/control/alt  
> and
> arrow and function keys. Most of the time it doesn't matter as there  
> is
> always a work around.
>
> In org-mode the only real headache this gives me are the calendar
> commands for scheduling which involve the arrow keys. e.g S-left/right
> for sliding a date a day or two. Currently I can use "+4d" for example
> instead of 4 x S-right, however not always convenient - Currently I  
> need
> to bring up an X frame pretty much only for org scheduling.
>
> I was wondering if anyone here has devised a consistent key map not  
> including
> these modern fangled "arrow keys" ;)  ?
>
> In the mini buffer we cant use the standard calendar keys (which would
> be nice) since its a freetype field and these calendar UI keys are the
> standard emacs editline commands (C-f C-b etc).
>
> I did wonder about a solution I could try to implement which would  
> be to
> have a setting, default to nil, which would default any date edit  
> input
> to the calendar UI only and you can then enter the actual editline ui
> for entering a time or relative date by hitting something like "@"  
> which
> has no current calendar binding and then you can have the default
> currently defined behaviour.
>
> Possibly I've overlooked other options / solutions but the arrow  
> keys are
> pretty inconvenient in layout for me in addition to not working
> correctly in conjunction with S/C in many Term implementations.
>
> Possibly its just a urxvt/tmux solution I need : but the whole termcap
> /term and emacs issue is a nest of vipers ;)
>
> Ideas and pointers very welcome.
>

In case you did not know this:  When you have figures out the keys you  
want to use for the calendar, you can set them using `org-read-date- 
minibuffer-setup-hook'.
Go read the source code of the function org-read-date (in org.el) to  
see how these commands work, so that you can properly assign them to  
other keys.

- Carsten

  reply	other threads:[~2010-03-01  8:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-01  4:29 Emacs in a Term and Org Richard Riley
2010-03-01  7:28 ` Carsten Dominik [this message]
2010-03-01  8:09 ` Jan Böcker
2010-03-01  9:22   ` Richard Riley
2010-03-01 10:56     ` Jan Böcker
2010-03-01 12:52       ` Richard Riley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=78677E9E-F06E-44A5-8029-431B01D6810C@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rileyrgdev@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).