From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: A latex-mode key binding problem Date: Sun, 14 Oct 2007 21:32:39 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1192416063 2288 80.91.229.12 (15 Oct 2007 02:41:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Oct 2007 02:41:03 +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 04:40: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 1IhFsq-0005Zm-6s for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Oct 2007 04:40:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhFsj-0001MJ-Eh for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Oct 2007 22:40:37 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.sysmatrix.net!news.sysmatrix.net.POSTED!not-for-mail Original-NNTP-Posting-Date: Sun, 14 Oct 2007 21:32:43 -0500 User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 25 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 65.45.140.96 Original-X-Trace: sv3-0Er7FkLhI+5sQQ5b3IW+4EDrgRwZqOsmjKFfV+RrHDEqUEi3dUZs1KFMSf2jaU6KfPhMlErK8jO9q4Z!kNAu4xfcTsoKupoKgG+87rUFMf+gTQnv7CcjBWeR564/YMlIKzsLPshOPIc6HFKum+IkROsoPdw7!lQOdNh6RnlFUHfw74yMIPItI9jwsKw== Original-X-Complaints-To: abuse@sysmatrix.net X-DMCA-Complaints-To: abuse@sysmatrix.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.35 Original-Xref: shelby.stanford.edu gnu.emacs.help:152924 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:48429 Archived-At: 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