emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: Adam Faryna <adamfaryna@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [feature request] org-at-timestamp-p should accept multiple parameters
Date: Sat, 05 Sep 2020 10:31:31 +0200	[thread overview]
Message-ID: <87lfho39r0.fsf@gnu.org> (raw)
In-Reply-To: <CABEF3YEGhrP0hAq4bTMdphnFScizaaQMdckmECnoAip3ayhf_Q@mail.gmail.com> (Adam Faryna's message of "Sun, 2 Aug 2020 11:54:09 +0100")

Hi Adam,

Adam Faryna <adamfaryna@gmail.com> writes:

> 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 show the first of org-at-timestamp-p you would need for your
purpose? 

Does it solve a general problem?

> 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?

We cannot amend the implementation of org-at-timestamp-p just for
flexibility's sake, because there would be no good reason not to 
change other functions as well.

If you have a generic change to propose to org-at-timestamp-p please
go ahead.

Thanks,

-- 
 Bastien


  reply	other threads:[~2020-09-05  8:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-02 10:54 [feature request] org-at-timestamp-p should accept multiple parameters Adam Faryna
2020-09-05  8:31 ` Bastien [this message]
     [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=87lfho39r0.fsf@gnu.org \
    --to=bzg@gnu.org \
    --cc=adamfaryna@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).