From: Eduardo Ochs <eduardoochs@gmail.com>
To: Matt Price <moptop99@gmail.com>, Org Mode <emacs-orgmode@gnu.org>
Subject: Re: naming and/or directly addressing particular windows?
Date: Sat, 1 Dec 2012 14:58:38 -0200 [thread overview]
Message-ID: <CADs++6gyv_qgXipNzJ-HqXFVFV_RKgu5weHA_B+J-368mr-otg@mail.gmail.com> (raw)
In-Reply-To: <CAN_Dec_UM_nY0teK_6LY+rkZGrxMycQHqGTi5vtoTK9NMtm+Vw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1748 bytes --]
Hi Matt,
if you are considering using a little language to create window
configurations
then maybe you will find this interesting:
http://angg.twu.net/eev-intros/find-multiwindow-intro.html
http://angg.twu.net/eev-current/eev-multiwindow.el.html
Cheers!
Eduardo Ochs
eduardoochs@gmail.com
http://angg.twu.net/#eev
On Sat, Dec 1, 2012 at 1:22 PM, Matt Price <moptop99@gmail.com> wrote:
> Hi,
>
> After the recent conversation about Scrivener (on help-gnu-emacs) I
> thought the very first step would be to write a simple function that
> would create a window layout and populate the windows with a set of
> buffers, then set mjor and minor modes for some of hte buffers.
> (After that I guess I will have to figure out how to write some very
> simple minor modes, or at least some functions that allow e.g. direct
> editing of org-mode properties on a selected node.)
>
> So, what I have so far is quite trivial but doesn't seem to work
> exactly as I expected:
>
> (delete-other-windows)
> (split-window-horizontally)
> (windmove-right)
> (split-window-horizontally)
> (enlarge-window-horizontally 20)
> (windmove-right)
> (split-window-vertically)
>
>
> Anyway presumably I'll fiddle with this and eventually it will work,
> but something better would be
>
> (set-window-name "outline")
> (split-named-window-horizontally-and-name-the-other-window "outline"
> "main")
> (split-named-window-horizontally-and-name-the-other-window "main"
> "metadata")
> (set-width-named-window "main" 60)
>
> and then write a function, bound to say Ctrl-Enter,
>
> open-node-as-indirect-buffer-in-named-window
>
> Anyway: is it possible to give/get a name for a window that persists
> long enough to be called in functions?
>
> Thanks,
> Matt
>
>
[-- Attachment #2: Type: text/html, Size: 2564 bytes --]
next prev parent reply other threads:[~2012-12-01 16:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-01 15:22 naming and/or directly addressing particular windows? Matt Price
2012-12-01 15:59 ` Drew Adams
2012-12-02 5:31 ` Matt Price
2012-12-01 16:58 ` Eduardo Ochs [this message]
2012-12-02 2:41 ` Matt Price
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.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CADs++6gyv_qgXipNzJ-HqXFVFV_RKgu5weHA_B+J-368mr-otg@mail.gmail.com \
--to=eduardoochs@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=moptop99@gmail.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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).