emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: Opening org Agenda whenever opening GNUs:
Date: Sun, 24 Nov 2019 16:07:02 -0800	[thread overview]
Message-ID: <87muck2509.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 87r21x7pk1.fsf@spensertruex.com

Spenser Truex <web@spensertruex.com> writes:

> Email is something I check often (with Gnus), so attaching my agenda to
> it is a good way to stay on track.
>
> (defun my-instant-agenda ()
>   (org-agenda-list nil))
> (add-hook 'gnus-before-startup-hook 'my-instant-agenda)
>
> I'd like to be able to have it split vertically, since it otherwise
> obscures my view. How can I do that?
>
>
> =============ACTUAL SETUP=============
> +------------------------------------------+
> | Gnus                                     |
> |    org-mailing list                      |
> +------------------------------------------|
> |                                          |
> |                                          |
> |  ORG AGENDA                              |
> |    TODO: everything                      |
> |    DONE: nothing                         |
> |                                          |
> |                                          |
> |                                          |
> +------------------------------------------+
> =============GOAL EMACS ARANGEMENT=============
> +------------------------------------------+
> | Gnus              |  ORG AGENDA          |
> |  org-mailing list |   DONE: everything   |
> |  Mom              |   TODO: other stuff  |
> |  alt.sex          |                      |
> |                   |                      |
> |                   |                      |
> |                   |                      |
> |                   |                      |
> |                   |                      |
> |                   |                      |
> |                   |                      |
> |                   |                      |
> |                   |                      |
> |                   |                      |
> +-------------------------------------------

What's your value of gnus-use-full-window? It defaults to t, and I
wouldn't have expected that even your "actual setup" above would work.
If you set that to nil, and then manually create the side-by-side layout
with "C-x 3", is it preserved?

I wrote a package called Gnorb that attempts to integrate Gnus and Org
(and BBDB) a little more closely together, so this is something that I'm
interested in. Gnorb can't currently do this sort of display, in part
because Gnus's window management is gnarly, but it does provide for
tagging Gnus messages with Org tags, and popping up agendas relevant to
messages. I'll be curious to see how you progress with this...

  reply	other threads:[~2019-11-25  0:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-24  6:31 Opening org Agenda whenever opening GNUs: Spenser Truex
2019-11-25  0:07 ` Eric Abrahamsen [this message]
2019-11-25 15:47 ` Jack Kamm

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=87muck2509.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=emacs-orgmode@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 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).