From: Samuel Wales <samologist@gmail.com>
To: Allen Li <darkfeline@felesatra.moe>
Cc: emacs-orgmode@gnu.org, mail@nicolasgoaziou.fr
Subject: Re: [PATCH] org-agenda: Store stuck project redo command
Date: Thu, 20 Apr 2017 18:20:01 -0700 [thread overview]
Message-ID: <CAJcAo8sdt-9gE+Lp-3-m9Dw6Pq47ojXQRaT=Q6R2SqT5t7-gpQ@mail.gmail.com> (raw)
In-Reply-To: <CAJcAo8uMZfd+A+kQxwhMsj+pQnkhb7a7J=1FXK2vUnmimNZjEA@mail.gmail.com>
maybe i got that backward.
my note is: "fixme bug in org: either if you do g, it will ignore restriction
lock or you have to manually remove restriction lock. the best
would be for g to preserve the restriction lock even though it
has been removed."
On 4/20/17, Samuel Wales <samologist@gmail.com> wrote:
> in case it isn't already considered, i think storing the conditions of
> the original call applies to many agenda calls. i run into this issue
> with the following old code. i set a restriction lock, and run
> agenda, but g runs agenda without the restriction lock.
>
> (defun alpha-org-agenda-subtree (&optional _arg)
> "Show agenda for all tasks in subtree.
>
> ===
>
> You can get a fast sorted view with this command. In this
> example, the agenda will show tasks under my subtree.
>
> * top level 1 -- not shown
> * my subtree -- shown
> * TODO a
> * some other headline | (<- point is here)
> * TODO [#A] b
> * top level 2 -- not shown
>
> If you sort by priority, b will sort above a.
>
> ===
>
> This allows you to organize nodes hierarchically instead of
> keeping things at the same level merely to allow sorting.
> "
> (interactive "P")
>
> (org-agenda-set-restriction-lock 'subtree)
> (let ((org-agenda-sorting-strategy '(user-defined-up category-up))
> (org-agenda-text-search-extra-files)
> (org-agenda-show-inherited-tags))
> (org-tags-view nil "LEVEL>0")
> (setq-local org-agenda-sorting-strategy
> org-agenda-sorting-strategy)))
>
> --
> The Kafka Pandemic: <http://thekafkapandemic.blogspot.com>
>
> The disease DOES progress. MANY people have died from it. And ANYBODY
> can get it at any time.
>
> "You’ve really gotta quit this and get moving, because this is murder
> by neglect." ---
> <http://www.meaction.net/2017/02/03/pwme-people-with-me-are-being-murdered-by-neglect>.
>
--
The Kafka Pandemic: <http://thekafkapandemic.blogspot.com>
The disease DOES progress. MANY people have died from it. And ANYBODY
can get it at any time.
"You’ve really gotta quit this and get moving, because this is murder
by neglect." ---
<http://www.meaction.net/2017/02/03/pwme-people-with-me-are-being-murdered-by-neglect>.
next prev parent reply other threads:[~2017-04-21 1:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-18 6:22 Bug: Stuck projects view reverts to tag match on refresh [9.0.5] Allen Li
2017-04-18 8:33 ` Nicolas Goaziou
2017-04-19 8:40 ` Allen Li
2017-04-20 5:52 ` [PATCH] org-agenda: Store stuck project redo command Allen Li
2017-04-21 1:17 ` Samuel Wales
2017-04-21 1:20 ` Samuel Wales [this message]
2017-04-25 21:48 ` Nicolas Goaziou
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='CAJcAo8sdt-9gE+Lp-3-m9Dw6Pq47ojXQRaT=Q6R2SqT5t7-gpQ@mail.gmail.com' \
--to=samologist@gmail.com \
--cc=darkfeline@felesatra.moe \
--cc=emacs-orgmode@gnu.org \
--cc=mail@nicolasgoaziou.fr \
/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.