unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tim Johnson <tim@johnsons-web.com>
Subject: Re: Opening speedbar in the same frame
Date: Sat, 10 Sep 2005 19:05:39 -0800	[thread overview]
Message-ID: <20050911030539.GA11672@johnsons-web.com> (raw)
In-Reply-To: <MEEKKIABFKKDFJMPIOEBAENFCMAA.drew.adams@oracle.com>

* Drew Adams <drew.adams@oracle.com> [050909 21:45]:
Hi Drew:
>     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.

 :-) Must be a reason. Maybe even a good one. The tip in speedbar.el
     was to map a keystroke to 'speedbar-get-focus. Doing so, is a
     great help.
     
<...> 
> 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.
 
   Well, shrink wrapping *is not* what I was looking for, but
   it *will* prove to be very useful. (serendipity!)
   Thanks for pointing me that way.

   Cheers
   tim


-- 
Tim Johnson <tim@johnsons-web.com>
      http://www.alaska-internet-solutions.com

      reply	other threads:[~2005-09-11  3:05 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
2005-09-11  3:05   ` Tim Johnson [this message]

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=20050911030539.GA11672@johnsons-web.com \
    --to=tim@johnsons-web.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).