all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ivan <ivanushka@yahoo.com>
To: help-gnu-emacs@gnu.org
Subject: Re: customizing emacs windows
Date: Sat, 26 May 2007 12:02:25 +0300	[thread overview]
Message-ID: <u4pm0c5zy.fsf@cybuild.com> (raw)
In-Reply-To: 87fy5k5kkf.fsf@lion.rapttech.com.au

On събота, Май 26 2007, Tim X wrote:

> Ivan <ivanushka@yahoo.com> writes:
>
>> On петък, Май 25 2007, Ivan wrote:
>>
>>> First, thanks for your messages. Sorry if I wasn't quite clear in my
>>> request. I almost managed to achieve what I needed with simple
>>> Emacs-commands. I defined a function in .emacs that opens buffers and
>>> splits windows and I called that function on Emacs start. I used
>>> commands such as split-window-vertically, find-file, other-window and
>>> so on. It is not perfect because I have problems controlling which
>>> window which buffer to display as one of the things I start is - run
>>> Slime and Slime does some strange things with the windows. I also have
>>> problems controlling windows's sizes. 
>>>
>>> My requirements are very simple for now - I need the Emacs frame
>>> devided into several windows with particular sizes. Each window should
>>> display a particular buffer.
>>
>> As a matter of fact what I'm trying to do is make Emacs provide an
>> integrated development environment for Lisp development like
>> Eclispe. I need several buffers:
>> 1. REPL
>> 2. Log output buffer
>> 3. Project's source files tree
>> 4. Web browser
>
> Something which may provide some ideas or some code you could borrow is the
> emacs window manager. I think it may be mentioned on the emacs wiki site
> (http://emacswiki.org) and at one time, I think there was a Debian package for
> it. 

I found this while looking it up:

http://www.emacswiki.org/cgi-bin/wiki/XWindowEmacsManager

> From memory, it only works for XEmacs, but it may have some code or ideas you
> could use to create the function you want. 
>
> Another possibility depends on your window manager. I use Sawfish, which is a
> light weight window manager written in 'rep', which is essentially a lisp
> dialect. However, it has support for window groups, named desktops etc and the
> ability to send specific windows to specific workspaces and positions. It would
> probably be possible to use a combination of emacs and rep to control frame
> placement and some emacs functions to divide up the frames according to how you
> want them. 

I use Windows on my desktop. Other times I only have a console.

> When using slime, I open three frames, send them to different workspaces and
> have a function key defined to switch between the frames. In one frame I have a
> buffer witht he source code in it, in another frame, I have the slime REPL and
> log window and in the third frame, I have w3m. I've thought about automating
> the whole process, but to be honest, haven't bothered because I restart emacs
> so rarely that its not really been necessary. I usually have about 15 different
> workspaces and different emacs frames on most of them. I then just switch
> between workspaces using two function keys or by moving the mouse to the left
> or right edge of the screen. 

My target is one Emacs frame divided into several windows just like in
Eclipse. In tune with the Emacs ideology the active window should be
controled with a kbd shortcut and not only with the mouse.

Switching workspaces is tiring for the eyes. A contemporary display
should be enough for a window representing an IDE.

> A package able to open frames, divide them up into windows, associate specific
> buffers with the windows and distribute the frames over specific workspaces
> would be very handy. The ability to define 'groups' of such would be even more
> useful than just the ability to save your config on exit and restore it. 

I'd rather have buffer - window association and control over windows's
size and position. Currently even if we manage to set this up, many
functions (for example describe) open windows within Emacs and on
closing them the set-up is broken.

  reply	other threads:[~2007-05-26  9:02 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-23 17:04 customizing emacs windows Ivan
2007-05-23 22:24 ` Lennart Borgman (gmail)
2007-05-24  7:32   ` Eli Zaretskii
2007-05-24 10:06     ` Lennart Borgman (gmail)
2007-05-24 10:49       ` Eli Zaretskii
2007-05-24 11:22         ` Lennart Borgman (gmail)
2007-05-24 13:21           ` Eli Zaretskii
2007-05-24 13:55             ` Lennart Borgman (gmail)
2007-05-24 14:21               ` Eli Zaretskii
2007-05-24 19:29                 ` Lennart Borgman (gmail)
     [not found]   ` <mailman.1130.1179991947.32220.help-gnu-emacs@gnu.org>
2007-05-24  9:41     ` Ivan
2007-05-24 10:00       ` Jason Rumney
2007-05-24 11:06         ` Lennart Borgman (gmail)
2007-05-25  5:13       ` Tim X
2007-05-25 10:09         ` Ivan
2007-05-25 11:02           ` Ivan
2007-05-26  3:29             ` Tim X
2007-05-26  9:02               ` Ivan [this message]
2007-05-26  9:45                 ` Leo
2007-05-26 10:12                 ` Peter Dyballa
     [not found]                 ` <mailman.1273.1180174364.32220.help-gnu-emacs@gnu.org>
2007-05-26 11:34                   ` Ivan
     [not found]                 ` <mailman.1268.1180172850.32220.help-gnu-emacs@gnu.org>
2007-05-26 11:35                   ` Ivan
2007-05-26 10:18               ` Petter Gustad
2007-05-26 13:50                 ` Tim X
2007-05-24  0:28 ` Lennart Borgman (gmail)

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=u4pm0c5zy.fsf@cybuild.com \
    --to=ivanushka@yahoo.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.