unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* org-agenda-list - Using today and a span of 3
@ 2020-12-20  4:22 michael-franzese
  2020-12-20  8:31 ` William Xu
  0 siblings, 1 reply; 4+ messages in thread
From: michael-franzese @ 2020-12-20  4:22 UTC (permalink / raw)
  To: Help Gnu Emacs

How can I set org-agenda-list to use today's date and a span of 3?

(org-agenda-list nil ? 3)




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

* Re: org-agenda-list - Using today and a span of 3
  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
  0 siblings, 1 reply; 4+ messages in thread
From: William Xu @ 2020-12-20  8:31 UTC (permalink / raw)
  To: help-gnu-emacs

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

-- 
William




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

* Re: org-agenda-list - Using today and a span of 3
  2020-12-20  8:31 ` William Xu
@ 2020-12-20  8:41   ` michael-franzese
  2020-12-20 23:08     ` michael-franzese
  0 siblings, 1 reply; 4+ messages in thread
From: michael-franzese @ 2020-12-20  8:41 UTC (permalink / raw)
  To: William Xu; +Cc: help-gnu-emacs

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



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

* Re: org-agenda-list - Using today and a span of 3
  2020-12-20  8:41   ` michael-franzese
@ 2020-12-20 23:08     ` michael-franzese
  0 siblings, 0 replies; 4+ messages in thread
From: michael-franzese @ 2020-12-20 23:08 UTC (permalink / raw)
  To: michael-franzese; +Cc: William Xu, help-gnu-emacs


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



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

end of thread, other threads:[~2020-12-20 23:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).