From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Klaus Zeitler Newsgroups: gmane.emacs.help Subject: Re: the emacs vs cscope problem Date: 19 Mar 2003 10:43:08 +0100 Organization: Lucent Technologies Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1048067153 11100 80.91.224.249 (19 Mar 2003 09:45:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 19 Mar 2003 09:45:53 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 19 10:45:52 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18va8u-0002sl-00 for ; Wed, 19 Mar 2003 10:45:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18va8e-0003ec-07 for gnu-help-gnu-emacs@m.gmane.org; Wed, 19 Mar 2003 04:45:36 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!bigboote.WPI.EDU!news.tufts.edu!uunet!dca.uu.net!netnews.proxy.lucent.com!news Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: sfsw51.de.lucent.com X-Drdoom-Fodder: drdoom security satan crypt passwd CERT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.95 Original-Xref: shelby.stanford.edu gnu.emacs.help:111206 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:7706 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7706 >>>>> "boris" == boris writes: boris> boris> oops, how to define RET in .emacs? boris> I have tried boris> (global-set-key [return] 'cscope-select-entry-other-window) boris> and (global-set-key "\13" 'cscope-select-entry-other-window) boris> none of it works :( boris> any pointers? thanks. (global-set-key "\C-m" 'cscope-select-entry-other-window) but I can't imagine that you want this as a global definition. You better bind this with local-set-key in cscope-list-entry-hook. But this should be defined by default in cscope-list-entry-mode. Seems you overwrite this somehow in your private setups. Klaus -- ------------------------------------------ | Klaus Zeitler Lucent Technologies | ------------------------------------------ --- Indecision is the true basis for flexibility.