emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Shift-arrow and M-arrow bindings in OSX port of Emacs 23
@ 2010-11-30 16:19 Gaspaio
  2010-12-01  6:37 ` Michael Brand
  0 siblings, 1 reply; 5+ messages in thread
From: Gaspaio @ 2010-11-30 16:19 UTC (permalink / raw)
  To: emacs-orgmode

hello everybody,

Has any of you  manage to remove de MacUser-friendly custom bindings included in the emacs.app version available with Port ?

Bindings including S + arrow or M + arrow and bound to the end/beginning of line, region selection commands, etc, instead of the default mode-dependent bindings of emacs. 
As a result, I am unable to use most of the interesting commands in org-mode, orgtbl-mode, etc. Every time I use S-<right>, i start selecting a region.
The variable 'org-support-shift-select' don't seem to do anything here.

Any ideas ? I'd like to reset all bindings to emacs default and then customize some of them myself.

G

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Shift-arrow and M-arrow bindings in OSX port of Emacs 23
  2010-11-30 16:19 Shift-arrow and M-arrow bindings in OSX port of Emacs 23 Gaspaio
@ 2010-12-01  6:37 ` Michael Brand
  2010-12-01 11:00   ` Gaspaio
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Brand @ 2010-12-01  6:37 UTC (permalink / raw)
  To: Gaspaio; +Cc: emacs-orgmode

On Tue, Nov 30, 2010 at 17:19, Gaspaio <ggaspaio@gmail.com> wrote:
> Has any of you  manage to remove de MacUser-friendly custom bindings included in the emacs.app version available with Port ?

If this means an Emacs version that has the variables
ns-*-modifier for Cocoa then you can use these, if not then maybe
the variables mac-*-modifier.

With Mac OS X I use Cocoa Emacs and this

(when (eq system-type 'darwin)
  ;; * modifier keys
  ;;   - key `command': mapped to Emacs Meta
  (setq ns-command-modifier 'meta)
  ;;   - key `option': ignored by Emacs to let the OS do AltGr
  (setq ns-option-modifier 'none))

Michael

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Shift-arrow and M-arrow bindings in OSX port of Emacs 23
  2010-12-01  6:37 ` Michael Brand
@ 2010-12-01 11:00   ` Gaspaio
  2010-12-01 20:01     ` Michael Brand
  0 siblings, 1 reply; 5+ messages in thread
From: Gaspaio @ 2010-12-01 11:00 UTC (permalink / raw)
  To: Michael Brand; +Cc: emacs-orgmode

Well, the problem is not with the CMD or the Alt Keys on my MacBook keyboard, but with the "Shift" key.
I solved part of my problem by binding the Meta to CMD and leaving the 'Fn' for the system, but how do i deal with shift ?

I don't seem to have access to the commands org-shiftup, org-shiftdown, …
When i set 'shift-select-mode' to nil, i still don't have access to these commands, and i think its because <S-up> is being translated to <up>, etc.
How can i stop this translation ? Or should I simply remap the org-shiftup/down ... commands to something line <C-up> ?

I can't seem to find any doc online on this, but i doubt I'm the only one affected ...

Thanks.
R

On Dec 1, 2010, at 7:37 AM, Michael Brand wrote:

> On Tue, Nov 30, 2010 at 17:19, Gaspaio <ggaspaio@gmail.com> wrote:
>> Has any of you  manage to remove de MacUser-friendly custom bindings included in the emacs.app version available with Port ?
> 
> If this means an Emacs version that has the variables
> ns-*-modifier for Cocoa then you can use these, if not then maybe
> the variables mac-*-modifier.
> 
> With Mac OS X I use Cocoa Emacs and this
> 
> (when (eq system-type 'darwin)
>  ;; * modifier keys
>  ;;   - key `command': mapped to Emacs Meta
>  (setq ns-command-modifier 'meta)
>  ;;   - key `option': ignored by Emacs to let the OS do AltGr
>  (setq ns-option-modifier 'none))
> 
> Michael

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Shift-arrow and M-arrow bindings in OSX port of Emacs 23
  2010-12-01 11:00   ` Gaspaio
@ 2010-12-01 20:01     ` Michael Brand
  2010-12-02  3:08       ` Jeff Horn
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Brand @ 2010-12-01 20:01 UTC (permalink / raw)
  To: Gaspaio; +Cc: emacs-orgmode

On Wed, Dec 1, 2010 at 12:00, Gaspaio <ggaspaio@gmail.com> wrote:
> When i set 'shift-select-mode' to nil, i still don't have access to these commands, and i think its because <S-up> is being translated to <up>, etc.
> How can i stop this translation ? Or should I simply remap the org-shiftup/down ... commands to something line <C-up> ?

Can you try what `C-h c S-up' tells in an Org buffer of an Emacs
started without any config? A Cocoa Emacs 23.2 tells `<S-up> runs
the command org-shiftup', both with shift-select-mode set to t or
nil.

Michael

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Shift-arrow and M-arrow bindings in OSX port of Emacs 23
  2010-12-01 20:01     ` Michael Brand
@ 2010-12-02  3:08       ` Jeff Horn
  0 siblings, 0 replies; 5+ messages in thread
From: Jeff Horn @ 2010-12-02  3:08 UTC (permalink / raw)
  To: Michael Brand; +Cc: emacs-orgmode, Gaspaio

Would this help?

http://stackoverflow.com/questions/3518846/shift-tab-produces-cryptic-error-in-emacs

On Wed, Dec 1, 2010 at 3:01 PM, Michael Brand
<michael.ch.brand@gmail.com> wrote:
> On Wed, Dec 1, 2010 at 12:00, Gaspaio <ggaspaio@gmail.com> wrote:
>> When i set 'shift-select-mode' to nil, i still don't have access to these commands, and i think its because <S-up> is being translated to <up>, etc.
>> How can i stop this translation ? Or should I simply remap the org-shiftup/down ... commands to something line <C-up> ?
>
> Can you try what `C-h c S-up' tells in an Org buffer of an Emacs
> started without any config? A Cocoa Emacs 23.2 tells `<S-up> runs
> the command org-shiftup', both with shift-select-mode set to t or
> nil.
>
> Michael
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>



-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jhorn@gmu.edu
jrhorn424@gmail.com

http://www.failuretorefrain.com/jeff/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-12-02  3:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-30 16:19 Shift-arrow and M-arrow bindings in OSX port of Emacs 23 Gaspaio
2010-12-01  6:37 ` Michael Brand
2010-12-01 11:00   ` Gaspaio
2010-12-01 20:01     ` Michael Brand
2010-12-02  3:08       ` Jeff Horn

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).