From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: alber Newsgroups: gmane.emacs.help Subject: Re: A latex-mode key binding problem Date: Mon, 15 Oct 2007 03:06:00 -0700 (PDT) Message-ID: <13209896.post@talk.nabble.com> References: <13204480.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1192442822 32141 80.91.229.12 (15 Oct 2007 10:07:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Oct 2007 10:07:02 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 15 12:06:53 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IhMqA-00080m-N1 for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Oct 2007 12:06:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhMq3-0002n7-Vl for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Oct 2007 06:06:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IhMpn-0002kb-Az for help-gnu-emacs@gnu.org; Mon, 15 Oct 2007 06:06:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IhMpm-0002ig-6C for Help-gnu-emacs@gnu.org; Mon, 15 Oct 2007 06:06:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhMpm-0002iW-1X for Help-gnu-emacs@gnu.org; Mon, 15 Oct 2007 06:06:02 -0400 Original-Received: from kuber.nabble.com ([216.139.236.158]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IhMpl-0001oA-H1 for Help-gnu-emacs@gnu.org; Mon, 15 Oct 2007 06:06:01 -0400 Original-Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IhMpk-00015S-BQ for Help-gnu-emacs@gnu.org; Mon, 15 Oct 2007 03:06:00 -0700 In-Reply-To: X-Nabble-From: alber2008@gmail.com X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:48435 Archived-At: 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.