* Re: A latex-mode key binding problem
[not found] <mailman.2059.1192411771.18990.help-gnu-emacs@gnu.org>
@ 2007-10-15 2:32 ` B. T. Raven
2007-10-15 10:06 ` alber
0 siblings, 1 reply; 5+ messages in thread
From: B. T. Raven @ 2007-10-15 2:32 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: A latex-mode key binding problem
2007-10-15 2:32 ` A latex-mode key binding problem B. T. Raven
@ 2007-10-15 10:06 ` alber
2007-10-15 14:03 ` Alok G. Singh
0 siblings, 1 reply; 5+ messages in thread
From: alber @ 2007-10-15 10:06 UTC (permalink / raw)
To: Help-gnu-emacs
Ok, thanks , I tried, but still doesnot work under the latex-mode,(others
are ok)
is that my latex settings problem? or my OS problems(i am using it under
WindowsXP)
my latex-mode settings is following:
(autoload 'reftex-mode "reftex" "RefTeX Minor Mode" t)
(autoload 'turn-on-reftex "reftex" "RefTeX Minor Mode" nil)
(autoload 'reftex-citation "reftex-cite" "Make citation" nil)
(autoload 'reftex-index-phrase-mode "reftex-index" "Phrase mode" t)
(add-hook 'LaTeX-mode-hook 'turn-on-reftex) ; with AUCTeX LaTeX mode
(add-hook 'latex-mode-hook 'turn-on-reftex) ; with Emacs latex mode
;(add-hook 'latex-mode-hook 'turn-on-auto-fill)
Many Thanks!!
B. T. Raven-3 wrote:
>
> 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
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>
>
--
View this message in context: http://www.nabble.com/A-latex-mode-key-binding-problem-tf4623704.html#a13209896
Sent from the Emacs - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: A latex-mode key binding problem
2007-10-15 10:06 ` alber
@ 2007-10-15 14:03 ` Alok G. Singh
2007-10-15 16:05 ` alber
0 siblings, 1 reply; 5+ messages in thread
From: Alok G. Singh @ 2007-10-15 14:03 UTC (permalink / raw)
To: help-gnu-emacs
On 15 Oct 2007, alber2008@gmail.com wrote:
> Ok, thanks , I tried, but still doesnot work under the
> latex-mode,(others are ok)
AucTeX binds C-c C-r to:
,----
| C-c C-r runs the command TeX-command-region
| which is an interactive autoloaded Lisp function in `tex-buf'.
`----
Generally, the C-c <letter> keymap is reserved for user
customisations. C-c C-<letter> is fair game for modes to define.
--
Alok
You have a strong desire for a home and your family interests come first.
^ permalink raw reply [flat|nested] 5+ messages in thread
* A latex-mode key binding problem
@ 2007-10-14 23:02 alber
0 siblings, 0 replies; 5+ messages in thread
From: alber @ 2007-10-14 23:02 UTC (permalink / raw)
To: Help-gnu-emacs
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!!!
--
View this message in context: http://www.nabble.com/A-latex-mode-key-binding-problem-tf4623704.html#a13204480
Sent from the Emacs - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-10-15 16:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.2059.1192411771.18990.help-gnu-emacs@gnu.org>
2007-10-15 2:32 ` A latex-mode key binding problem B. T. Raven
2007-10-15 10:06 ` alber
2007-10-15 14:03 ` Alok G. Singh
2007-10-15 16:05 ` alber
2007-10-14 23:02 alber
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.