[Orgmode] Re: Disputed keys

2010-12-20 Thread Andrea Crotti
Eric S Fraga e.fr...@ucl.ac.uk writes:


 Isn't switching to frame a function of your window manager and not
 emacs?  That is, shouldn't this be a case of telling your window manage,
 whatever that may be, to switch frames when these keys are pressed?

 Or am I missing something fundamental here?

Well yes and no, I could many programs running, and I want a key that
lets me switch only between the emacs frames, without showing me the
other windows.

Having that working it would be even better that the operating system
only show me one instance of emacs frames, not all of them.


___
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] Re: Disputed keys

2010-12-20 Thread Andrea Crotti
Stefan Vollmar voll...@nf.mpg.de writes:

 Dear Andrea,

 I have this in my .emacs file

 (defun my-org-mode-stuff ()
   (define-key org-mode-map [(meta tab)] 'previous-user-buffer)
   (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)

 this was a suggestion from the list (thanks to PT 
 spamfilteracco...@gmail.com) and works for me, I realize that this was not 
 exactly what you were asking for but thought it might help.


I'm quite sure that also would work for me, that's the normal way to
proceed.
But since org-mode has this disputed-keys feature which is quite a good
idea I wanted to use it if possible...

Looks like that the key meta-left which would be bound to other-frame
is not seen as used by org-mode, that's my explanation...


___
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] Re: Disputed keys

2010-12-20 Thread Andrea Crotti
Suvayu Ali fatkasuvayu+li...@gmail.com writes:


 I think Andrea meant to say switching window. But none the less, Emacs
 has the ability to switch frames, `C-x 5 o' or even your regular
 switch-buffer'. But I think it does it by talking to the window
 manager.

 This can be very useful when you have multiple emacs frames for one
 instance of emacs on different desktops. If you have configured your
 window manager appropriately simply switching to a buffer shown on
 another desktop can switch you to that desktop and raise the Emacs
 frame with the buffer. :)

I meant switching frames...
I normally would keep the frames in the same desktop, maybe different
instances of emacs on different desktops (I have one for gnus and one
for everything else).

An example of a window manager configuration to do this anyway?


___
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] Re: Disputed keys

2010-12-20 Thread suvayu ali
Hi Andrea,

On Mon, Dec 20, 2010 at 5:09 AM, Andrea Crotti
andrea.crott...@gmail.com wrote:
 This can be very useful when you have multiple emacs frames for one
 instance of emacs on different desktops. If you have configured your
 window manager appropriately simply switching to a buffer shown on
 another desktop can switch you to that desktop and raise the Emacs
 frame with the buffer. :)

 I normally would keep the frames in the same desktop, maybe different
 instances of emacs on different desktops (I have one for gnus and one
 for everything else).

 An example of a window manager configuration to do this anyway?

I use XFCE. In XFCE you can check the radio button for the option,
Window Manager Tweaks -- Focus -- Honor standard ICCCM focus hint
-- Switch to window's workspace.

:)

-- 
Suvayu

Open source is the future. It sets us free.

___
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