emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Possible?
@ 2009-05-17 17:48 Tennis Smith
  2009-05-18 13:50 ` Possible? Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Tennis Smith @ 2009-05-17 17:48 UTC (permalink / raw)
  To: Emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 456 bytes --]

Hi,

I'm a newbie user of org-mode, and it looks very promising.  However, there
are several key combinations that I have to change if I'm going to use it.
I use the combinations C-tab for iswitchb, and I use C-c for CUA "copy".

Org-mode re-maps these key combos, and I've been unable to stop that even
with "global-unset-key" function.

So, what is the recommended way to remap keys when working with org-mode and
get around problems like this?

Tks,
-T

[-- Attachment #1.2: Type: text/html, Size: 648 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Possible?
  2009-05-17 17:48 Possible? Tennis Smith
@ 2009-05-18 13:50 ` Carsten Dominik
  2009-05-19 15:14   ` Possible? Tennis Smith
  0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2009-05-18 13:50 UTC (permalink / raw)
  To: Tennis Smith; +Cc: Emacs-orgmode

Hi Tennis,

On May 17, 2009, at 7:48 PM, Tennis Smith wrote:

> Hi,
>
> I'm a newbie user of org-mode, and it looks very promising.   
> However, there are several key combinations that I have to change if  
> I'm going to use it.  I use the combinations C-tab for iswitchb,

You could free up C-tab by customizing org-disputed-keys and org- 
replace-disputed-keys.  Or, maybe even better in your case,  you could  
overwrite Org's setting of C-tab in a hook, for example

(add-hook 'org-mode-hook
	(define-key 'org-mode-map [(control tab)] nil))

> and I use C-c for CUA "copy".

I have no idea how to recover C-c and C-x.  How can you use Emacs if  
these keys are used for something else?  I guess CUA does this by only  
using them when the region is active, but this is also not a solution  
because many commands working on the region are invoked with C-c or C-x.

Incidentally, in my Emacs 23.0.93.1, if I turn on
CUA mode, C-c does not do copy, even though cua-enable-cua-keys is set.

HTH

- Carsten

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

* Re: Possible?
  2009-05-18 13:50 ` Possible? Carsten Dominik
@ 2009-05-19 15:14   ` Tennis Smith
  0 siblings, 0 replies; 3+ messages in thread
From: Tennis Smith @ 2009-05-19 15:14 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: Emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1186 bytes --]

<snip>

> You could free up C-tab by customizing org-disputed-keys and
> org-replace-disputed-keys.  Or, maybe even better in your case,  you could
> overwrite Org's setting of C-tab in a hook, for example
>
> (add-hook 'org-mode-hook
>        (define-key 'org-mode-map [(control tab)] nil))
>

Cool. Thanks!

>
>
>  and I use C-c for CUA "copy".
>>
>
> I have no idea how to recover C-c and C-x.  How can you use Emacs if these
> keys are used for something else?  I guess CUA does this by only using them
> when the region is active, but this is also not a solution because many
> commands working on the region are invoked with C-c or C-x.
>
> Incidentally, in my Emacs 23.0.93.1, if I turn on
> CUA mode, C-c does not do copy, even though cua-enable-cua-keys is set.


Hmmm... I'm using a very recent snapshot:
GNU Emacs 23.0.91.1 (i486-pc-linux-gnu, GTK+ Version 2.14.4) of 2009-03-20
on hassium, modified by Debian

... and C-c/copy and C-x/cut  work fine. The only CUA settings I have in my
.emacs is:

 (cua-enable-cursor-indications t)
 (cua-enable-modeline-indications t)
 (cua-mode t nil (cua-base))

So it should absolutely work for you too.

HTH, and thanks again.
-Tennis

[-- Attachment #1.2: Type: text/html, Size: 2229 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

end of thread, other threads:[~2009-05-19 15:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-17 17:48 Possible? Tennis Smith
2009-05-18 13:50 ` Possible? Carsten Dominik
2009-05-19 15:14   ` Possible? Tennis Smith

Code repositories for project(s) associated with this 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).