* org-diary
@ 2021-11-03 6:43 Colin Baxter 😺
2021-11-03 8:56 ` org-diary Eric S Fraga
0 siblings, 1 reply; 11+ messages in thread
From: Colin Baxter 😺 @ 2021-11-03 6:43 UTC (permalink / raw)
To: emacs-orgmode
Hello,
I have this
#+begin_src elisp
&%%(org-diary :deadline* :timestamp :scheduled*)
#+end_src
at line 9 in my main diary file ~/.emacs.d/diary/main. It worked well up
until recently (a week or so, I think). Now I get the following warning:
--8<---------------cut here---------------start------------->8---
Error (diary): Bad diary sexp at line 9 in ~/.emacs.d/diary/main:
(org-diary :deadline* :timestamp :scheduled*)
Error: (search-failed "\\<SCHEDULED:*<\\([^>]+[0-9]\\{1,2\\}:[0-9]\\{2\\}[0-9+:hdwmy/ .-]*\\)>")
--8<---------------cut here---------------end--------------->8---
There seems no obvious error in either the agenda or calendar displays
so I'd be grateful for suggestions as to where to look for the cause of
the warning.
Best wishes,
Colin Baxter.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: org-diary
2021-11-03 6:43 org-diary Colin Baxter 😺
@ 2021-11-03 8:56 ` Eric S Fraga
2021-11-03 9:34 ` org-diary Colin Baxter 😺
0 siblings, 1 reply; 11+ messages in thread
From: Eric S Fraga @ 2021-11-03 8:56 UTC (permalink / raw)
To: Colin Baxter 😺; +Cc: emacs-orgmode
On Wednesday, 3 Nov 2021 at 06:43, Colin Baxter 😺 wrote:
> I have this
>
> #+begin_src elisp
> &%%(org-diary :deadline* :timestamp :scheduled*)
> #+end_src
I cannot help you directly but I do note that my equivalent entry in my
Emacs diary file is subtly different:
%%(org-diary :scheduled :timestamp) ~/s/notes/diary.org
No &, no *s, and a file name at the end. Having said this, I must admit
that I cannot find any documentation on the format of this line in the
info manual. Maybe it's hiding...
--
: Eric S Fraga via Emacs 28.0.60, Org release_9.5-192-gd4e192
: Latest paper written in org: https://arxiv.org/abs/2106.05096
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: org-diary
2021-11-03 8:56 ` org-diary Eric S Fraga
@ 2021-11-03 9:34 ` Colin Baxter 😺
2021-11-03 11:04 ` org-diary Eric S Fraga
0 siblings, 1 reply; 11+ messages in thread
From: Colin Baxter 😺 @ 2021-11-03 9:34 UTC (permalink / raw)
To: Org Mode List
>>>>> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
> On Wednesday, 3 Nov 2021 at 06:43, Colin Baxter 😺 wrote:
>> I have this
>>
>> #+begin_src elisp &%%(org-diary :deadline* :timestamp
>> :scheduled*) #+end_src
> I cannot help you directly but I do note that my equivalent entry
> in my Emacs diary file is subtly different:
> %%(org-diary :scheduled :timestamp) ~/s/notes/diary.org
> No &, no *s, and a file name at the end. Having said this, I must
> admit that I cannot find any documentation on the format of this
> line in the info manual. Maybe it's hiding...
Thanks Eric. You have reminded me about the file name. I don't have a
file name at the end because I want all my 5 agenda files searched.
However, by entering each file in turn I can now identify the particular
agenda file that's causing the warning. I don't see anything immediately
wrong with it, but it contains multiple schedules with + and - days. I
suspect the problems lies somewhere there.
Thanks again - a great post that jogged my memory.
Best wishes, Colin.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: org-diary
2021-11-03 9:34 ` org-diary Colin Baxter 😺
@ 2021-11-03 11:04 ` Eric S Fraga
2021-11-04 15:56 ` org-diary Michael Maurer
[not found] ` <87lf24odbl.fsf_-_@riseup.net>
0 siblings, 2 replies; 11+ messages in thread
From: Eric S Fraga @ 2021-11-03 11:04 UTC (permalink / raw)
To: Colin Baxter 😺; +Cc: Org Mode List
Glad I could be of assistance! 🙂
--
: Eric S Fraga via Emacs 28.0.60, Org release_9.5-192-gd4e192
: Latest paper written in org: https://arxiv.org/abs/2106.05096
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: org-diary
2021-11-03 11:04 ` org-diary Eric S Fraga
@ 2021-11-04 15:56 ` Michael Maurer
2021-11-04 16:05 ` org-diary Eric S Fraga
[not found] ` <87lf24odbl.fsf_-_@riseup.net>
1 sibling, 1 reply; 11+ messages in thread
From: Michael Maurer @ 2021-11-04 15:56 UTC (permalink / raw)
To: Org Mode List
On Wed, 3 Nov 2021 at 12:06, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
>
> Glad I could be of assistance! 🙂
> --
> : Eric S Fraga via Emacs 28.0.60, Org release_9.5-192-gd4e192
> : Latest paper written in org: https://arxiv.org/abs/2106.05096
I'm curious about this use of a diary-file in combination with
org-babel. I'm guessing it outputs only specific items from the
diary-file based on some variables? I tried to google this, but
couldn't find anything (or maybe I'm speculating wrong).
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: org-diary
2021-11-04 15:56 ` org-diary Michael Maurer
@ 2021-11-04 16:05 ` Eric S Fraga
2021-11-04 17:21 ` org-diary Michael Maurer
0 siblings, 1 reply; 11+ messages in thread
From: Eric S Fraga @ 2021-11-04 16:05 UTC (permalink / raw)
To: Michael Maurer; +Cc: Org Mode List
On Thursday, 4 Nov 2021 at 16:56, Michael Maurer wrote:
> I'm curious about this use of a diary-file in combination with
> org-babel. I'm guessing it outputs only specific items from the
> diary-file based on some variables? I tried to google this, but
> couldn't find anything (or maybe I'm speculating wrong).
There may be some fundamental misunderstanding here. What does
orb-babel have to do with org mode and the Emacs diary integration?
The Emacs diary & calendar (core Emacs features) allow for elisp sexps
in the diary file and org-diary is an elisp function that returns
information in the form that the diary understands. There is a section
in the Emacs info manual on the Calendar and the Diary (section 31).
Conversely, the org agenda can make use of Emacs diary expressions as
well! But that's another story.
--
: Eric S Fraga via Emacs 28.0.60, Org release_9.5-192-gd4e192
: Latest paper written in org: https://arxiv.org/abs/2106.05096
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: org-diary
2021-11-04 16:05 ` org-diary Eric S Fraga
@ 2021-11-04 17:21 ` Michael Maurer
2021-11-05 12:14 ` org-diary Eric S Fraga
0 siblings, 1 reply; 11+ messages in thread
From: Michael Maurer @ 2021-11-04 17:21 UTC (permalink / raw)
To: Org Mode List
On Thu, 4 Nov 2021 at 17:05, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
>
> On Thursday, 4 Nov 2021 at 16:56, Michael Maurer wrote:
> > I'm curious about this use of a diary-file in combination with
> > org-babel. I'm guessing it outputs only specific items from the
> > diary-file based on some variables? I tried to google this, but
> > couldn't find anything (or maybe I'm speculating wrong).
>
> There may be some fundamental misunderstanding here. What does
> orb-babel have to do with org mode and the Emacs diary integration?
>
> The Emacs diary & calendar (core Emacs features) allow for elisp sexps
> in the diary file and org-diary is an elisp function that returns
> information in the form that the diary understands. There is a section
> in the Emacs info manual on the Calendar and the Diary (section 31).
>
> Conversely, the org agenda can make use of Emacs diary expressions as
> well! But that's another story.
>
Oh. I assumed
#+begin_src elisp
&%%(org-diary :deadline* :timestamp :scheduled*)
#+end_src
is an org-babel code block. But I'll check out that manual section as
well as org-diary.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: org-diary
2021-11-04 17:21 ` org-diary Michael Maurer
@ 2021-11-05 12:14 ` Eric S Fraga
2021-11-05 12:56 ` org-diary Colin Baxter 😺
0 siblings, 1 reply; 11+ messages in thread
From: Eric S Fraga @ 2021-11-05 12:14 UTC (permalink / raw)
To: Michael Maurer; +Cc: Org Mode List
On Thursday, 4 Nov 2021 at 18:21, Michael Maurer wrote:
> Oh. I assumed
>
> #+begin_src elisp
> &%%(org-diary :deadline* :timestamp :scheduled*)
> #+end_src
>
> is an org-babel code block.
Yes but I think that was just for the purposes of highlighting the sexp
in the email/post.
--
: Eric S Fraga via Emacs 28.0.60, Org release_9.5-192-gd4e192
: Latest paper written in org: https://arxiv.org/abs/2106.05096
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: org-diary
2021-11-05 12:14 ` org-diary Eric S Fraga
@ 2021-11-05 12:56 ` Colin Baxter 😺
2021-11-05 13:12 ` org-diary Eric S Fraga
0 siblings, 1 reply; 11+ messages in thread
From: Colin Baxter 😺 @ 2021-11-05 12:56 UTC (permalink / raw)
To: Org Mode List
>>>>> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
> On Thursday, 4 Nov 2021 at 18:21, Michael Maurer wrote:
>> Oh. I assumed
>>
>> #+begin_src elisp &%%(org-diary :deadline* :timestamp
>> :scheduled*) #+end_src
>>
>> is an org-babel code block.
> Yes but I think that was just for the purposes of highlighting the
> sexp in the email/post.
Indeed, that was the purpose. I am the op and I apologise if my attempt
to highlight my post caused confusion. Perhaps I stick to
--8<---------------cut here---------------start------------->8---
M-x message-mark-inserted-region
--8<---------------cut here---------------end--------------->8---
for highlighting.
Best wishes.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: org-diary
2021-11-05 12:56 ` org-diary Colin Baxter 😺
@ 2021-11-05 13:12 ` Eric S Fraga
0 siblings, 0 replies; 11+ messages in thread
From: Eric S Fraga @ 2021-11-05 13:12 UTC (permalink / raw)
To: Colin Baxter 😺; +Cc: Org Mode List
On Friday, 5 Nov 2021 at 12:56, Colin Baxter 😺 wrote:
> Indeed, that was the purpose. I am the op and I apologise if my attempt
> to highlight my post caused confusion. Perhaps I stick to
Many do this as well (including myself ;-)) although I alternate with
other means of offsetting the code just for the variety... :-)
--
: Eric S Fraga via Emacs 28.0.60, Org release_9.5-192-gd4e192
: Latest paper written in org: https://arxiv.org/abs/2106.05096
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: your latest paper will not allow eww
[not found] ` <87ilx8e3zc.fsf@ucl.ac.uk>
@ 2021-11-06 0:26 ` Quiliro Ordóñez
0 siblings, 0 replies; 11+ messages in thread
From: Quiliro Ordóñez @ 2021-11-06 0:26 UTC (permalink / raw)
To: Org Mode List
El 2021-11-04 03:09, Eric S Fraga escribió:
> On Wednesday, 3 Nov 2021 at 21:38, quiliro@riseup.net wrote:
>> I get the following error when trying to access your latest paper with
>> Emacs eww:
>
> Thank you for the heads up on this. How annoying.
>
> However, it works for me using eww. What version of Emacs etc. are you
> using?
I can see it well with:
GNU Emacs 27.1 (build 1, i686-pc-linux-gnu, GTK+ Version 3.24.24, cairo
version 1.16.0)
of 2021-03-27, modified by Debian
> I don't customise anything in eww other than a couple of key
> bindings and display width.
Perhaps the problem on the other machine is because of Emacs'
configuration. I will test it with emacs -q and report.
> Reading the full email you sent, it does mention problems with proxy
> servers. Does this apply to you?
I will test and report too. Thank you for your patience.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2021-11-06 0:27 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-03 6:43 org-diary Colin Baxter 😺
2021-11-03 8:56 ` org-diary Eric S Fraga
2021-11-03 9:34 ` org-diary Colin Baxter 😺
2021-11-03 11:04 ` org-diary Eric S Fraga
2021-11-04 15:56 ` org-diary Michael Maurer
2021-11-04 16:05 ` org-diary Eric S Fraga
2021-11-04 17:21 ` org-diary Michael Maurer
2021-11-05 12:14 ` org-diary Eric S Fraga
2021-11-05 12:56 ` org-diary Colin Baxter 😺
2021-11-05 13:12 ` org-diary Eric S Fraga
[not found] ` <87lf24odbl.fsf_-_@riseup.net>
[not found] ` <87ilx8e3zc.fsf@ucl.ac.uk>
2021-11-06 0:26 ` your latest paper will not allow eww Quiliro Ordóñez
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.