emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-agenda-filter-by-tag doco
@ 2021-11-28 10:27 Phil Hudson
  2022-05-08 13:08 ` Ihor Radchenko
  0 siblings, 1 reply; 3+ messages in thread
From: Phil Hudson @ 2021-11-28 10:27 UTC (permalink / raw)
  To: emacs orgmode-mailinglist

I'd like to expand the docstring of command `org-agenda-filter-by-tag`
to document the Elisp equivalent of interactive prefix arguments. By
trial and error and guesswork I determined that I could emulate `C-u
C-u` by passing `'(16)` as the second argument
(`strip-or-accumulate`). I'd like to add text explaining this,
generalized to all prefix combinations.

I just thought I'd mention it on the list first, to get any thoughts
and advice that might be useful. For instance, currently there is a
paragraph for each prefix combination (`C-u`, `C-u C-u` and `C-u C-u
C-u`). Should I add Elisp calling doco to each, or should I expand the
subsequent paragraph that deals specifically with Elisp calling? I
tend to favor the latter as least confusing, but that might be a
matter of convention or opinion that others are better qualified to
comment on.

A further point: I already knew from prolonged usage that `C-u`
combinations evaluate numerically as powers of 4, but a newbie might
not. Should we explain this? I don't think it would be appropriate,
but again I'm open to advice. If not, should we at least link to the
explanation in the Elisp manual? I know we don't usually bother, but
since outcomes differ substantively in this case, maybe we should
here.


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

end of thread, other threads:[~2022-05-08 13:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-28 10:27 org-agenda-filter-by-tag doco Phil Hudson
2022-05-08 13:08 ` Ihor Radchenko
2022-05-08 13:50   ` Phil Hudson

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