unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: michael-franzese@gmx.com
To: michael-franzese@gmx.com
Cc: William Xu <william.xwl@gmail.com>, help-gnu-emacs@gnu.org
Subject: Re: org-agenda-list - Using today and a span of 3
Date: Mon, 21 Dec 2020 00:08:17 +0100	[thread overview]
Message-ID: <trinity-33bf036b-a987-4b2a-876e-45a270635069-1608505696839@3c-app-mailcom-bs11> (raw)
In-Reply-To: <trinity-84e1692e-b5a7-47d6-b0e4-ee0222be8666-1608453682127@3c-app-mailcom-bs11>


Am now writing a function to set the calendar-location-name and the corresponding
coordinates.

So what to do a string match, perhaps put the location names in a list.

Matching strings can be Shimla, London, Paris, Warsaw.


(defun calendar-location (location)
   (interactive "NLocation Name: ")

   (setq calendar-latitude  31.104605)
   (setq calendar-longitude 77.173424)
   (setq calendar-location-name "Shimla, Himachal Pradesh, India") )




> Sent: Sunday, December 20, 2020 at 2:11 PM
> From: michael-franzese@gmx.com
> To: "William Xu" <william.xwl@gmail.com>
> Cc: help-gnu-emacs@gnu.org
> Subject: Re: org-agenda-list - Using today and a span of 3
>
> > Sent: Sunday, December 20, 2020 at 2:01 PM
> > From: "William Xu" <william.xwl@gmail.com>
> > To: help-gnu-emacs@gnu.org
> > Subject: Re: org-agenda-list - Using today and a span of 3
> >
> > michael-franzese@gmx.com writes:
> >
> > > How can I set org-agenda-list to use today's date and a span of 3?
> > >
> > > (org-agenda-list nil ? 3)
> >
> > (setq org-agenda-span 3) ?
>
> Thank you for the expression.
>
> > --
> > William
> >
> >
> >
>
>



      reply	other threads:[~2020-12-20 23:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-20  4:22 org-agenda-list - Using today and a span of 3 michael-franzese
2020-12-20  8:31 ` William Xu
2020-12-20  8:41   ` michael-franzese
2020-12-20 23:08     ` michael-franzese [this message]

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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=trinity-33bf036b-a987-4b2a-876e-45a270635069-1608505696839@3c-app-mailcom-bs11 \
    --to=michael-franzese@gmx.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=william.xwl@gmail.com \
    /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.
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).