all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

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

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.