emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] New user option for org-agenda-show-and-scroll-up
@ 2014-07-20 18:42 Trevor Murphy
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Trevor Murphy @ 2014-07-20 18:42 UTC (permalink / raw)
  To: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-07-28 17:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-20 18:42 [PATCH] New user option for org-agenda-show-and-scroll-up Trevor Murphy
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

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).