From: Eli Zaretskii <eliz@gnu.org>
To: Angelo Graziosi <angelo.g0@libero.it>
Cc: hong@topbug.net, sebastian_rose@gmx.de,
plunix@users.sourceforge.net, emacs-devel@gnu.org
Subject: Re: Current master does not work with sr-speedbar package (W64 build)
Date: Wed, 05 Dec 2018 20:34:16 +0200 [thread overview]
Message-ID: <835zw7961j.fsf@gnu.org> (raw)
In-Reply-To: <1892341033.303375.1543966279338@mail.libero.it> (message from Angelo Graziosi on Wed, 5 Dec 2018 00:31:19 +0100 (CET))
> Date: Wed, 5 Dec 2018 00:31:19 +0100 (CET)
> From: Angelo Graziosi <angelo.g0@libero.it>
> Cc: emacs-devel@gnu.org, sebastian_rose@gmx.de, plunix@users.sourceforge.net,
> hong@topbug.net
>
> ;; Sr-speedbar startup
> (defun start-sr-speedbar ()
> "My customization for `sr-speedbar' startup."
> (interactive)
>
> ;; Start sr-speedbar at Emacs startup
> (sr-speedbar-open)
>
> ;; As suggested here:
> ;;
> ;; http://lists.gnu.org/archive/html/bug-gnu-emacs/2017-07/msg01125.html
> ;;
> ;; (Really I had tried this solution but putting it in wrong place!)
> ;;
> (ad-deactivate 'pop-to-buffer)
Can you explain why you need the above ad-deactivate?
> ;;(add-hook 'emacs-startup-hook 'start-sr-speedbar) ; the old way
> (add-hook 'window-setup-hook 'start-sr-speedbar)
And why do you start sr-speedbar from window-setup-hook?
> I notice that with that init file, now Emacs starts with a double scratch buffer (one in text window and one in sr-speedbar window) and minibuffer contains "Opening directory: No such file or directory, c:/msys2/tmp/emacs-master/src/". Indeed I removed the directory: c:/msys2/tmp/emacs-master. It is the directory where the Emacs source is expanded (I use the emacs-master.tar.gz from git repo).
I think this is because the sr-speedbar window is a dedicated window,
so Emacs cannot switch to *scratch* in that window. Removing
sr-speedbar invocation from window-setup-hook will probably fix that.
next prev parent reply other threads:[~2018-12-05 18:34 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-04 17:50 Current master does not work with sr-speedbar package (W64 build) Angelo Graziosi
2018-12-04 17:57 ` Eli Zaretskii
2018-12-04 23:31 ` Angelo Graziosi
2018-12-05 18:34 ` Eli Zaretskii [this message]
2018-12-05 22:42 ` Angelo Graziosi
2018-12-05 23:07 ` Angelo Graziosi
2018-12-06 0:07 ` Angelo Graziosi
2018-12-06 0:12 ` Angelo Graziosi
2018-12-06 0:54 ` Angelo Graziosi
2018-12-06 6:48 ` Eli Zaretskii
2018-12-06 9:10 ` martin rudalics
2018-12-06 16:12 ` Angelo Graziosi
2018-12-06 6:35 ` Eli Zaretskii
2018-12-06 9:00 ` Angelo Graziosi
2018-12-06 9:17 ` Eli Zaretskii
2018-12-06 11:28 ` Angelo Graziosi
2018-12-06 12:57 ` Eli Zaretskii
2018-12-06 17:49 ` Angelo Graziosi
2018-12-06 18:20 ` Eli Zaretskii
2018-12-06 19:36 ` Angelo Graziosi
2018-12-06 19:47 ` Eli Zaretskii
2018-12-06 20:45 ` Angelo Graziosi
2018-12-06 23:55 ` Angelo Graziosi
2018-12-07 8:04 ` Eli Zaretskii
2018-12-07 8:57 ` Eli Zaretskii
2018-12-07 16:34 ` Angelo Graziosi
2018-12-07 16:44 ` Eli Zaretskii
2018-12-07 6:22 ` Eli Zaretskii
2018-12-07 8:34 ` Angelo Graziosi
2018-12-07 0:36 ` Stefan Monnier
2018-12-07 7:13 ` martin rudalics
2018-12-07 13:00 ` Stefan Monnier
2018-12-07 13:16 ` martin rudalics
2018-12-07 13:26 ` Stefan Monnier
2018-12-07 13:49 ` martin rudalics
2018-12-10 15:07 ` Stefan Monnier
2018-12-07 13:58 ` Eli Zaretskii
2018-12-07 13:22 ` Eli Zaretskii
2018-12-06 18:45 ` martin rudalics
2018-12-06 19:34 ` Angelo Graziosi
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=835zw7961j.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=angelo.g0@libero.it \
--cc=emacs-devel@gnu.org \
--cc=hong@topbug.net \
--cc=plunix@users.sourceforge.net \
--cc=sebastian_rose@gmx.de \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).