From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "boris" Newsgroups: gmane.emacs.help Subject: Re: the emacs vs cscope problem Date: Tue, 18 Mar 2003 20:00:19 +0800 Organization: Intel Corporation Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1047990353 2524 80.91.224.249 (18 Mar 2003 12:25:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 18 Mar 2003 12:25:53 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 18 13:25: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 18vG9t-0000dX-00 for ; Tue, 18 Mar 2003 13:25:33 +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 18vFw6-0001Bj-06 for gnu-help-gnu-emacs@m.gmane.org; Tue, 18 Mar 2003 07:11:18 -0500 Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: jhu9-mobl.sh.intel.com Original-X-Trace: news01.intel.com 1047988839 14383 172.16.211.51 (18 Mar 2003 12:00:39 GMT) Original-X-Complaints-To: usenet@news01.intel.com Original-NNTP-Posting-Date: Tue, 18 Mar 2003 12:00:39 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!tdsnet-transit!newspeer.tds.net!nntp1.roc.gblx.net!nntp.gblx.net!nntp.gblx.net!vienna7.his.com!attws1!ip.att.net!news01.intel.com!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:111178 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:7678 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7678 oops, how to define RET in .emacs? I have tried (global-set-key [return] 'cscope-select-entry-other-window) and (global-set-key "\13" 'cscope-select-entry-other-window) none of it works :( any pointers? thanks. boris "Klaus Zeitler" wrote in message news:q5g8yvei91y.fsf@lucent.com... > >>>>> "boris" == boris writes: > > boris> has been appeared on the menu bar. However when I > boris> search a function(C-c s d), which will be defined in many files, > boris> the cscope could show the file list and line number. > boris> But when i move on the selected file and press ENTER, > boris> nothing happens, the emacs tells me Buffer is read-only: > boris> # instead jumping to the selected file. :( > boris> Do I miss sth? thanks. > > what does "C-h k RET", i.e describe-key "RET", say? > Is it bound to cscope-select-entry-other-window? > > -- > ------------------------------------------ > | Klaus Zeitler Lucent Technologies | > ------------------------------------------ > --- > Lowery's Law: > If it jams -- force it. If it breaks, it needed replacing anyway.