From: Trevor Murphy <firstname.lastname@example.org>
Subject: [PATCH] New user option for org-agenda-show-and-scroll-up
Date: Sun, 20 Jul 2014 14:42:15 -0400 [thread overview]
Message-ID: <email@example.com> (raw)
The current behavior of `org-agenda-show-and-scroll-up' (SPC from the
Agenda) reveals drawers and logbooks unless the user passes a prefix
argument. This doesn't work for my flow - I prefer the drawers stay
hidden all the time, unless I prefix the command.
My workflow may be unique to me. Thus far I've been patching the code
locally. For fun I'm sharing my patch with the list, in case somebody
else finds it worthwhile.
I've added a defcustom `org-agenda-show-and-scroll-up-show-drawers'.
It defaults to t, and this gives the current behavior. Customizing it
to nil gives the alternate behavior I prefer.
My not-so-secret hope is that this patch is suitable for applying to
master. Please let me know if that's the case, or if there are some
changes I can make that would get it there. I'm fine signing
copyright assignment papers.
Thanks for taking a look!
GnuPG Key: 0x83881C0A
next reply other threads:[~2014-07-20 18:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-20 18:42 Trevor Murphy [this message]
2014-07-20 18:42 ` [PATCH] org-agenda: Customize agenda-show's drawer hide/show behavior Trevor Murphy
2014-07-28 9:03 ` [PATCH] New user option for org-agenda-show-and-scroll-up Bastien
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:
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* 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
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).