all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: rory <rorywalsh@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: newbie: window layout
Date: Wed, 5 Mar 2008 15:24:06 -0800 (PST)	[thread overview]
Message-ID: <44c1f403-881e-470c-a702-2faf1b71375a@u69g2000hse.googlegroups.com> (raw)
In-Reply-To: c9c7de39-c289-4c51-9995-d04d2b74f13f@y77g2000hsy.googlegroups.com

On Mar 5, 11:15 pm, rory <rorywa...@gmail.com> wrote:
> On Mar 5, 11:04 pm, Thierry Volpiatto <thierry.volpia...@gmail.com>
> wrote:
>
>
>
> > "Lennart Borgman (gmail)" <lennart.borg...@gmail.com> writes:
>
> > > rory wrote:
> > >> Hi everyone, pardon my emacs ignorance but I am having some difficulty
> > >> in doing the following: editting my .emacs file so that emacs open
> > >> with two windows but the bottom window is shorter than the top. I am
> > >> using (split-window-vertically) which seems to split the window up but
> > >> after that I can' seem to change their sizes.
>
> > You can give an option to (split-window-vertically n)
> > ==> n is the number of lines.
> > By default the window is split in two equal part.
>
> > >> I would also like to
> > >> have the first windo black with white writing and the second one white
> > >> with black writing.
>
> > > Colors are currently per frame, not per window.
>
> > --
> > A + Thierry
> > Pub key:http://pgp.mit.edu
>
> I just sent a reply but it didn't seem to show up. No matter what
> number I put after split-window-vertically, apart from an absolutely
> huge one, the windows still open up half and half. I'll take out the
> default-frame-alist as Peter suggest too in order to tidy up my
> startup file. I hope this post shows up on the list..
>
> Rory.

Thanks guys, I took out the useless default-frame-alist code and some
other things, it now seems to be working, except now it won't open
full screen any more? Here is my code now, the relevant stuff is near
the bottom:

(custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(cua-mode t nil (cua-base))
 '(default-frame-alist (quote
((tool-bar-lines . 0)
(menu-bar-lines . 1)
(top . 0) (left . 0)
(cursor-color . "white") (cursor-type . box)
(foreground-color . "white")
(background-color . "black")
(font . "-*-Courier-normal-r-*-*-13-*-*-*-c-*-iso8859-1"))))
 '(scroll-aggressively 1)
 '(transient-mark-mode t))
(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 )

(fset 'yes-or-no-p 'y-or-n-p)
(setq scroll-step 1)
(setq scroll-up 1)
(split-window-vertically 30)
(other-window 0)

(progn
  (if (fboundp 'tool-bar-mode) (tool-bar-mode -1))  ;; no toolbar
  (menu-bar-mode 1) ;;no menubar
  (scroll-bar-mode -1) ;; no scroll bar
  )

(add-hook 'term-setup-hook #'(lambda () (w32-send-sys-command ?
\xF030)))


  reply	other threads:[~2008-03-05 23:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-05 19:30 newbie: window layout rory
2008-03-05 22:33 ` Lennart Borgman (gmail)
2008-03-05 23:04   ` Thierry Volpiatto
     [not found]   ` <mailman.8396.1204757506.18990.help-gnu-emacs@gnu.org>
2008-03-05 23:15     ` rory
2008-03-05 23:24       ` rory [this message]
2008-03-07 15:47         ` Ken Goldman
2008-03-05 23:05 ` Peter Dyballa

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

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

  git send-email \
    --in-reply-to=44c1f403-881e-470c-a702-2faf1b71375a@u69g2000hse.googlegroups.com \
    --to=rorywalsh@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.