unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: ken <ken@cleveland.lug.net>
Cc: <help-gnu-emacs@gnu.org>
Subject: Re: .emacs configuration question (easy)
Date: Thu, 3 Oct 2002 23:27:46 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.33.0210032322000.1963-100000@heidegger.mousecar.net> (raw)
In-Reply-To: <m33crp8856.fsf@ID-87814.user.dfncis.de>


Spake Oliver Scholz at 12:09 (UTC+0200) on Wed, 2 Oct 2002:

= "Ryan Barnard" <barnarr@cc.wwu.edu> writes:
= 
= > Hi,
= >
= > I'm fairly new to using Emacs, but I see great potential for it.  I've got a
= > simple question I was hoping somebody could help me with:
= >
= > I want to set up emacs to be a little IDE for some C++ work I wish to do.
= > Here's the keypresses needed to make it look how I want it:
= > C-x 2
= > C-x ^
= > C-x ^
= > C-x ^
= > C-x ^
= > C-x ^
= > C-x ^
= > C-x ^
= > C-x 3
= > C-x o
= > C-x o
= > M-x shell
= > C-x o
= >
= > What this basically does is make two editor windows on the upper-left and
= > right, and a shell at the bottom where I can do my compiles and test runs.
= >
= > So, how can I have this set up in my .emacs file so it defaults to look like
= > this (or something close to it?
= [...]
= 
= Besides doing this programatically as Jonas suggested, you can do it
= with a slightly different set of key commands: to do `C-x ^' and many
= other commands repeatedly, you can call them with a prefix argument:
= 
= C-x 2
= M-7 C-x ^    or     C-u 7 C-x ^
= C-x 3
= M-2 C-o
= M-x shell
= C-x o
= 
= I have a related question to the group:
= 
= Suppose I want to make the shell window "sticky". That is: it should
= always at the same size and it should always show only a shell
= buffer. And Emacs should not take this window into account, when it
= resizes another window, or pops up some buffer etc.. Is this possible?
= AFAIK the tool-bar is actually such a window, so I guess that at least
= in the internals there are means provided for something like this. But
= can I do it with a Lisp extension? I know that I can use `winner-mode'
= to maintain my window-configuration, but this requires that I think
= and thinking is cumbersome.
= 
= Another candidate for something like this would be the speed-bar. It
= would be nice if I could have it in a "sticky" window instead of a
= separate frame.
= 
=     -- Oliver
= 
= 

The keyword you need is "geometry".  You could use it as a commandline
option when firing up emacs or put something like "emacs.geometry ..."
in your ~/.Xdefaults file.  The "geometry" spec is used to set both size 
and location of the window.

I'd suggest starting emacs from the command line with the "geometry" 
option.  It's easier to play around with.  Requires less thinking.  


hth,
ken

-- 
AMD crashes?  See http://cleveland.lug.net/~ken/amd-problem/.

  reply	other threads:[~2002-10-04  3:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-02  5:14 .emacs configuration question (easy) Ryan Barnard
2002-10-02  7:33 ` Jonas Steverud
2002-10-23 20:30   ` emacs/bib-cite/auctex/flyspell interaction with C-c C-c David Forrest
2002-10-02 10:09 ` .emacs configuration question (easy) Oliver Scholz
2002-10-04  3:27   ` ken [this message]
2002-10-04  9:01     ` special windows (was: .emacs configuration question (easy)) Oliver Scholz
2002-10-02 16:18 ` .emacs configuration question (easy) Michael Slass

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=Pine.LNX.4.33.0210032322000.1963-100000@heidegger.mousecar.net \
    --to=ken@cleveland.lug.net \
    --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).