[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: position on changing defaults?
From: |
Bastien |
Subject: |
Re: position on changing defaults? |
Date: |
Wed, 05 Mar 2008 23:45:03 +0000 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) |
Juri Linkov <address@hidden> writes:
>>> - selection with Shift-arrow keys
>>
>> I think this would be a good default. If someone is willing to make a
>> patch that refactors this code from cua-mode into simple.el, it would
>> be worth considering.
>
> Unfortunately, I see no way of implementing this in simple.el without
> using pre-command-hook and post-command-hook. It seems this can be
> implemented only in C in the function that reads characters.
On top of this, Shift-arrow keys are already in use in org-mode.
--8<---------------cut here---------------start------------->8---
(defun org-shiftup (&optional arg)
"Increase item in timestamp or increase priority of current headline.
...
(defun org-shiftdown (&optional arg)
"Decrease item in timestamp or decrease priority of current headline.
Calls `org-timestamp-down' or `org-priority-down', or `org-next-item'
depending on context. See the individual commands for more information."
...
(defun org-shiftright ()
"Next TODO keyword or timestamp one day later, depending on context."
...
(defun org-shiftleft ()
"Previous TODO keyword or timestamp one day earlier, depending on context."
...
--8<---------------cut here---------------end--------------->8---
--
Bastien
- Re: position on changing defaults?, (continued)
- Re: position on changing defaults?, Miles Bader, 2008/03/08
- Re: position on changing defaults?, David Kastrup, 2008/03/09
- Re: position on changing defaults?, Richard Stallman, 2008/03/09
- Re: position on changing defaults?, Xavier Maillard, 2008/03/10
- Re: position on changing defaults?, Xavier Maillard, 2008/03/08
- Re: position on changing defaults?, paul r, 2008/03/07
- Re: position on changing defaults?, Xavier Maillard, 2008/03/10
Re: position on changing defaults?, Richard Stallman, 2008/03/06
Re: position on changing defaults?, Chong Yidong, 2008/03/05
Re: position on changing defaults?, Miles Bader, 2008/03/05
Re: position on changing defaults?, Juri Linkov, 2008/03/05
Re: position on changing defaults?, Kim F. Storm, 2008/03/06
Re: position on changing defaults?, Richard Stallman, 2008/03/07
Re: position on changing defaults?, Miles Bader, 2008/03/07
Re: position on changing defaults?, Lennart Borgman (gmail), 2008/03/07