From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: Opening speedbar in the same frame
Date: Fri, 9 Sep 2005 22:41:37 -0700 [thread overview]
Message-ID: <MEEKKIABFKKDFJMPIOEBAENFCMAA.drew.adams@oracle.com> (raw)
In-Reply-To: <20050910021103.GH1803@johnsons-web.com>
1)Is it possible to open the speedbar in the same frame
as the request?
2)If so, why is it the default to open the speedbar in its
own frame?
I can't answer #1 or #2.
3)A quick google on this subject did not answer the questions
above, but I did find some references to Drew Andrews and
"shrink wrapping" windows in a frame. such effects could be
very useful in formatting a frame with the speedbar on the
left or right and horizontally split windows.
My code to shrink-wrap frames resizes a frame to fit the selected window. It
does not resize windows within a frame, so it might not be what you're
looking for.
Generally, it is useful when you use only one Emacs window per frame. To do
that, set variable `pop-up-frames' to `t'. I prefer window-manager windows
(aka Emacs frames) to Emacs windows, but you may not.
The frame is resized to be wide enough that lines don't need to be wrapped,
but no wider than the widest line. Similarly, for height. You can set
maximum and minimum dimensions.
Pointers/URLs to discussions, documentation etc. on any or all
of the questions is welcome.
The shrink-wrapping code is in libraries fit-frame.el and autofit-frame.el,
available here:
1. http://www.emacswiki.org/cgi-bin/emacs/fit-frame.el
2. http://www.emacswiki.org/cgi-bin/emacs/autofit-frame.el
The first provides a command that you can use to fit (i.e. shrink-wrap) a
frame. The second makes Emacs automatically fit all one-window frames. The
second requires the first.
An explanation with screenshots is here:
http://www.emacswiki.org/cgi-bin/wiki/Shrink-Wrapping_Frames.
HTH.
- Drew
next prev parent reply other threads:[~2005-09-10 5:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-10 2:11 Opening speedbar in the same frame Tim Johnson
2005-09-10 5:41 ` Drew Adams [this message]
2005-09-11 3:05 ` Tim Johnson
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=MEEKKIABFKKDFJMPIOEBAENFCMAA.drew.adams@oracle.com \
--to=drew.adams@oracle.com \
/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).