[
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:
2008年3月05日 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? , Juri Linkov, 2008年03月05日
- Re: position on changing defaults?,
Bastien <=
- Re: position on changing defaults? , Juri Linkov, 2008年03月05日
- Re: position on changing defaults? , Lennart Borgman (gmail), 2008年03月05日
- Re: position on changing defaults? , Bastien, 2008年03月05日
- Re: position on changing defaults? , Richard Stallman, 2008年03月06日
- 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日