help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A latex-mode key binding problem


From: B. T. Raven
Subject: Re: A latex-mode key binding problem
Date: Sun, 14 Oct 2007 21:32:39 -0500
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

alber wrote:
Hello all,

Here I recently have a problem in emacs latex-mode, that is:

I cannot binding a hot-key for "m-x delete-region",

this is the lisp I used in my .emacs file:
(global-set-key "\C-c\ \C-r" 'delete-region)

It works very well under other modes, but in latex-mode, it totally becomes
invalid
the information that Emacs gived is : "No Tex process to kill"

Anybody knows why??
Many Thanks!!!



You don't need the escaped space between the two keychords. This worked for me but I didn't bother to invoke latex-mode. It shouldn't make any difference:

(global-set-key "\C-c\C-r" 'delete-region)

Ed


reply via email to

[Prev in Thread] Current Thread [Next in Thread]