From: Trevor Murphy <trevor.m.murphy@gmail.com>
To: emacs-orgmode@gnu.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: <1405881736-6299-1-git-send-email-trevor.m.murphy@gmail.com> (raw)
Hi, all.
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!
--
Trevor Murphy
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
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=1405881736-6299-1-git-send-email-trevor.m.murphy@gmail.com \
--to=trevor.m.murphy@gmail.com \
--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 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.