From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Markus Grunwald Newsgroups: gmane.emacs.help Subject: Re: speedbar: how can I open a file with the keyboard ? Date: 19 Dec 2007 08:43:50 GMT Organization: Arcor Message-ID: <4768d9c5$0$13113$9b4e6d93@newsspool2.arcor-online.net> References: <4767e0a5$0$13119$9b4e6d93@newsspool2.arcor-online.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1198057332 25182 80.91.229.12 (19 Dec 2007 09:42:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Dec 2007 09:42:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 19 10:42:24 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 1J4vRX-0006E5-B4 for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Dec 2007 10:42:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J4vRD-0002oi-RU for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Dec 2007 04:42:03 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!npeer.de.kpn-eurorings.net!npeer-ng2.kpn.DE!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: pan 0.119 (Karma Hunters) Original-Lines: 43 Original-NNTP-Posting-Date: 19 Dec 2007 09:43:50 CET Original-NNTP-Posting-Host: 44cd5966.newsspool2.arcor-online.net Original-X-Trace: DXC=[[@UBQFEW>SV; Ef1`Jk54\A9EHlD; 3YcR4Fo<]lROoRQ4nDHegD_]RU_IOHMcReZg_71; S_5>aFmZLU[Nfgf@ 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:50205 Archived-At: On Tue, 18 Dec 2007 21:02:42 +0100, Stephen Berman wrote: > On 18 Dec 2007 15:00:53 GMT Markus Grunwald wrote: > >> seems like a dumb question to me, but: How can I open a file using >> speedbar with the keyboard ? With xemacs, worked fine but in >> emacs "RET runs the command View-scroll-line-forward". Hmmm. > > For me RET in speedbar runs the command speedbar-edit-line and it opens > files. This is both with the speedbar that comes with Emacs 22.1 and > with the speedbar from CVS CEDET. What Emacs and what speedbar are you > using? That't what I'm using: > dpkg -l emacs21 \*speedbar\* | egrep '^ii' ii emacs21 21.4a+1-3 The GNU Emacs editor ii speedbar 1.0pre3-6 Everything browser, or Dired on steroids After I read your message I tried to correct some keybindings in the speedbar-mode-hook, but it seems it is not called: (add-hook 'speedbar-load-hook '(lambda () (ska-speedbar-keys)) (message "==================== speedbar-mode-hook ====================") ) This is my *messages* buffer after starting speedbar with speedbar-get-focus: Loading speedbar...done Loading view...done Type C-h for help, h for commands, q to quit. I tried "speedbar-load-hook" as well but it doesn't work. All the other hooks which are configured in the same file get called. I have no Idea what's going on... I hope you can help. I am using the keyboard a lot ... Thanks, Markus