help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: org-agenda-list - Using today and a span of 3


From: michael-franzese
Subject: Re: org-agenda-list - Using today and a span of 3
Date: Mon, 21 Dec 2020 00:08:17 +0100

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 via email to

[Prev in Thread] Current Thread [Next in Thread]