unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: rjd <3246251196ryan@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: speedbar
Date: Mon, 15 Feb 2016 18:21:10 +0000 (UTC)	[thread overview]
Message-ID: <loom.20160215T191901-437@post.gmane.org> (raw)

Can I customize sr-speedbar such that when I open a file in the tree the
newly opened buffer becomes active.

Since I run a hook function that relies on buffer-file-name and the active
buffer remains in the sr-speedbar window, then buffer-file-name is nil. What
I want is the new buffer to be active so the hook will function correctly.

Unless there is a variable that sr-speedbar uses to store the path of the
selected file, then I guess I could use that.

Cheers.




             reply	other threads:[~2016-02-15 18:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-15 18:21 rjd [this message]
2016-02-16  1:02 ` speedbar Emanuel Berg
  -- strict thread matches above, loose matches on Subject: below --
2011-11-14 15:06 speedbar Feverati
2008-11-19  6:39 speedbar tomer
2008-11-19 21:30 ` speedbar Shelagh Manton
2008-11-19 21:39   ` speedbar Shelagh Manton
2005-08-08 23:41 Speedbar chris
2005-08-10 12:57 ` Speedbar Eric Ludlam
2005-08-10 13:16   ` Speedbar David Kastrup
2005-08-10 14:29     ` Speedbar chris
2005-08-10 13:26   ` Speedbar chris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20160215T191901-437@post.gmane.org \
    --to=3246251196ryan@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).