From: alber <alber2008@gmail.com>
To: Help-gnu-emacs@gnu.org
Subject: Re: A latex-mode key binding problem
Date: Mon, 15 Oct 2007 03:06:00 -0700 (PDT) [thread overview]
Message-ID: <13209896.post@talk.nabble.com> (raw)
In-Reply-To: <oZmdnVNBKOXWTI_anZ2dnUVZ_rDinZ2d@sysmatrix.net>
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.
next prev parent reply other threads:[~2007-10-15 10:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 [this message]
2007-10-15 14:03 ` Alok G. Singh
2007-10-15 16:05 ` alber
2007-10-14 23:02 alber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=13209896.post@talk.nabble.com \
--to=alber2008@gmail.com \
--cc=Help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).