[OS X Emacs] shift-select in org-mode

Stefan Vollmar vollmar at nf.mpg.de
Tue Oct 11 02:50:04 EDT 2011


Dear Marius,

On 11.10.2011, at 00:12, Marius Hofert wrote:

> thanks a lot. I tried it with Aquamacs 3x on Mac OS X 10.7. I tried to hit shift and then the right-arrow key. However, the point does not move anymore and the minibuffer displays "Symbol's function definition is void: forward-char-mark". Do you know why?

I can reproduce your observations with the current nightly-build of Aquamacs 3.x. The problem is the missing pc-select package. However, if you copy 
/Applications/Aquamacs.app/Contents/Resources/lisp/emulation/pc-select.el.gz
from Aquamacs 2.3 to the corresponding location in Aquamacs 3.x everything seems to work again.

CAVEAT: there might be a good reason, emulation/pc-select.el.gz is missing from the 3.x-distribution. As far as I know, Emacs 24 aims at more "compatibility" towards other editors and platforms (amongst many other features) and some functionality of pc-select might now be available elsewhere.

Warm regards,
 Stefan
> 
> Cheers,
> 
> Marius
> 
> 
> On 2011-10-10, at 23:48 , Stefan Vollmar wrote:
> 
>> ;; Conventional selection/deletion 
>> (setq org-support-shift-select t)
>> 
>> ; thanks to PT (org-mode list)
>> (defun my-org-mode-stuff ()
>> "define selection by keyboard similar to Mac and Windows"
>> (require 'pc-select)
>> (local-set-key (kbd "C-S-<right>") 'forward-word-mark)
>> (local-set-key (kbd "C-S-<left>") 'backward-word-mark)
>> (local-set-key (kbd "S-<right>") 'forward-char-mark)
>> (local-set-key (kbd "S-<left>") 'backward-char-mark)
>> (local-set-key (kbd "S-<up>") 'previous-line-mark)
>> (local-set-key (kbd "S-<down>") 'next-line-mark))
>> 
>> (add-hook 'org-mode-hook 'my-org-mode-stuff)
> 
> 

-- 
Dr. Stefan Vollmar, Dipl.-Phys.
Head of IT group
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: vollmar at nf.mpg.de   http://www.nf.mpg.de






-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4409 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20111011/aee6f1aa/attachment.p7s>


More information about the MacOSX-Emacs mailing list