emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Price <moptop99@gmail.com>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: folding day headings in org-agenda-mode?
Date: Thu, 3 Mar 2022 16:41:23 -0500	[thread overview]
Message-ID: <CAN_Dec9kHmgU-Vb08SyOWBe0CG60q+-Uep5sEciukZ8uOc5H9A@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 940 bytes --]

I am very psyched to have started using Adam Porter's org-super-agenda, and
I really enjoy using origami-mode to fold section headings now.

However, I do really wish I could use the same keystroke to fold individual
days in the org agenda. I tried just invoking `origami-toggle-node from a
day header, and the results are unintuitive. in general, if I place the
cursor in a day header ("Friday 18 March 2022"), and invoke
`origami-toggle-node`, the header will disappear entirely, which is not the
behaviour I am looking for.

I imagine that, in order for folding to work, something has to be done to
make the folding mechanism aware of the syntactical units.

1) has anyone figured out a way to do this?
2) if not, does anyone have an idea of where I might look in the code for a
place to hack?
3) does this seem like something it would be worth having in org itself? It
feels like it would be a common use case.

thanks as always,

Matt

[-- Attachment #2: Type: text/html, Size: 2600 bytes --]

                 reply	other threads:[~2022-03-03 21:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CAN_Dec9kHmgU-Vb08SyOWBe0CG60q+-Uep5sEciukZ8uOc5H9A@mail.gmail.com \
    --to=moptop99@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 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).