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