[Orgmode] Shift-arrow and M-arrow bindings in OSX port of Emacs 23

2010-12-01 Thread Gaspaio
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


___
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


Re: [Orgmode] Shift-arrow and M-arrow bindings in OSX port of Emacs 23

2010-12-01 Thread Gaspaio
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 ggasp...@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


___
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


[Orgmode] Problem with tables

2010-11-29 Thread Gaspaio
Hello everybody,

I'm a newbie at org-mode (and emacs BTW), and i can't seem to use a few 
commands like table-delete-row, table-insert-row and so on. I systematically 
get a Table not found error.
Also, some of the Shift commands don't seem to work, like using S-UP/Down to 
navigate between headers. I tried toggle the org-support-shift-select, but 
nothing.

I'm using emacs.app v23.2 (OSX), with org-mode v7.2

Any ideas ?

Thanks.
Gaspaio





___
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


Re: [Orgmode] Problem with tables

2010-11-29 Thread Gaspaio
Thanks for the quick reply, 
but it doesn't work either, M-x table-delete-row from inside the table still 
outputs the Table not found error.
What's weird is that other commands seems to work, like tabbing from cell to 
cell, etc.

R

On Nov 29, 2010, at 6:13 PM, niklas | brueckenschlaeger wrote:

 Try creating a table by typing |- and pressing TAB
 
 On Mon, 2010-11-29 at 17:58 +0100, Gaspaio wrote:
 Hello everybody,
 
 I'm a newbie at org-mode (and emacs BTW), and i can't seem to use a few 
 commands like table-delete-row, table-insert-row and so on. I systematically 
 get a Table not found error.
 Also, some of the Shift commands don't seem to work, like using S-UP/Down to 
 navigate between headers. I tried toggle the org-support-shift-select, but 
 nothing.
 
 I'm using emacs.app v23.2 (OSX), with org-mode v7.2
 
 Any ideas ?
 
 Thanks.
 Gaspaio
 
 
 
 
 
 ___
 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
 


___
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


Re: [Orgmode] Problem with tables

2010-11-29 Thread Gaspaio
AHA !

 table-delete-row, table-insert-row are for tables in the table.el format 
 like
 +--+
 |User Visible Entry Points |
 +---+--+
 |   Function|   Description|
 +---+--+

Ok, this works. If i use table-insert, then table-delete-row works. Cool, 
thanks a lot.

But, the :
 
 S-Up/Down are only for tables on the orgtbl format like
 | x | y |
 |---+---|
 | 1 | 2 |
 | 3 | 4 |

Still don't seem to work. I toggled org-support-shift-select on and off but 
nothing. When i do S-UP/DOWN i get the normal emacs region expanding behavior, 
of, if i deactivate org-support-shift-select i get a cursor movement.
That said, M-x org-table-delete-column does work. 

I gess its a binding problem …


___
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