I was able to get this working using by disabling cua mode and using org-replace-disputed keys. Now I can change timestamps and still use shift-select. <div><br></div><div>Unfortunately, this breaks the OSX behavior of option-shift-select, for selecting whole words at a time. (This instead actives "set mark.") </div>
<div><br></div><div>As an editor, I'm cutting and pasting words and sentences all the time, and option-select is an important part of my workflow since it allows me to quickly highlight by word. <br><div><br></div><div>
Is there a solution that will preserve my ability to use option-shift-select? I thought maybe if I key-bound "change timestamp" to CTRL-rightarrow, I could reserve shift for editing. </div><div><br></div><div>Anyone know if this is possible? </div>
<div><br><br><div class="gmail_quote">On Wed, Feb 22, 2012 at 4:25 AM, Alan Schmitt <span dir="ltr"><<a href="mailto:alan.schmitt@polytechnique.org">alan.schmitt@polytechnique.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 22 Feb 2012, at 6:55, Peter Salazar wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I need shift-select to be able to select text, since that's crucial to my<br>
editing workflow. But I'd also like to be able to use org-mode's<br>
shift-arrowkeys functions, the way you can use shift-rightarrow to change<br>
timestamps or to cycle between TODO states.<br>
<br>
Is there a way to map these functions onto the CONTROL key, or better yet,<br>
the FN key? So that CONTROL-rightarrow or FN-rightarrow would change the<br>
timestamp and cycle TODO states?<br>
</blockquote>
<br></div>
What I ended up doing is:<br>
- turn off cua mode<br>
(cua-mode 0)<br>
- turn on org-support-shift-select (should be on by default)<br>
<br>
This way shift-select works in text, and shift arrow works in headlines and timestamps.<br>
<br>
You can find a discussion about this here:<br>
<a href="http://lists.aquamacs.org/pipermail/aquamacs-devel/2012-January/009794.html" target="_blank">http://lists.aquamacs.org/<u></u>pipermail/aquamacs-devel/2012-<u></u>January/009794.html</a><br>
<br>
There may be a way to bind "fn-rightarrow", but you then need to actually bind the "end" key directly. Here is what I do (I use fn as meta key, so I'm binding to different things):<br>
<br>
(add-hook 'org-mode-hook<br>
          (lambda ()<br>
            (define-key org-mode-map [kp-enter] 'org-meta-return)<br>
            (define-key org-mode-map [prior] 'org-metaup)<br>
            (define-key org-mode-map [next]  'org-metadown)<br>
            (define-key org-mode-map [home] 'org-metaleft)<br>
            (define-key org-mode-map [end] 'org-metaright)<br>
            ))<br>
<br>
Hope this helps,<br>
<br>
Alan<br>
<br>_____________________________________________________________<br>
MacOSX-Emacs mailing list<br>
<a href="mailto:MacOSX-Emacs@email.esm.psu.edu">MacOSX-Emacs@email.esm.psu.edu</a><br>
<a href="http://email.esm.psu.edu/mailman/listinfo/macosx-emacs" target="_blank">http://email.esm.psu.edu/mailman/listinfo/macosx-emacs</a><br>
List Archives: <a href="http://dir.gmane.org/gmane.emacs.macintosh.osx" target="_blank">http://dir.gmane.org/gmane.emacs.macintosh.osx</a><br>
<br></blockquote></div><br></div></div>