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

Marius Hofert marius.hofert at math.ethz.ch
Mon Oct 10 18:12:55 EDT 2011


Dear Stefan,

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?


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)





More information about the MacOSX-Emacs mailing list