emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Adam Faryna <adamfaryna@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [feature request] org-at-timestamp-p should accept multiple parameters
Date: Sun, 2 Aug 2020 11:54:09 +0100	[thread overview]
Message-ID: <CABEF3YEGhrP0hAq4bTMdphnFScizaaQMdckmECnoAip3ayhf_Q@mail.gmail.com> (raw)

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

Hi,

recently I was doing some customization and I needed to check if timestamp
at a point is active or inactive. That timestamp also contains an agenda
like information about reoccurring.

So I tried to use org-at-timestamp-p function for this purpose.

The problem is I needed to check if the timestamp is agenda like and
inactive or ignore the context at the same time. But org-at-timestamp-p
takes only one parameter, and I needed to give it multiple parameters,
which is not possible in the current version.

Can you amend the implementation of org-at-timestamp-p to make it accept a
list of parameters or named parameters instead of just one parameter?

Thanks,
Adam

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

             reply	other threads:[~2020-08-02 10:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-02 10:54 Adam Faryna [this message]
2020-09-05  8:31 ` Bastien
     [not found]   ` <CABEF3YFSNh8avFYjTSQ-Eww2qRAxt7+6OWHzjy25Ncd1MTgXkA@mail.gmail.com>
     [not found]     ` <87v9gse5ve.fsf@bzg.fr>
2020-09-08 13:28       ` Adam Faryna
2020-09-08 14:26         ` Bastien
2020-09-08 15:57           ` Adam Faryna
2020-09-09  8:13             ` Bastien
2020-09-09 11:04               ` Adam Faryna

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=CABEF3YEGhrP0hAq4bTMdphnFScizaaQMdckmECnoAip3ayhf_Q@mail.gmail.com \
    --to=adamfaryna@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: [feature request] org-at-timestamp-p should accept multiple parameters' \
    /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

Code repositories for project(s) associated with this 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).