emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marco Wahl <marcowahlsoft@gmail.com>
To: Ian Garmaise <ian.g@phorixsol.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: bug: ';' gets error starting countdown timer in agenda
Date: Sun, 01 Mar 2020 23:03:43 +0100	[thread overview]
Message-ID: <84mu8zag1s.fsf@gmail.com> (raw)
In-Reply-To: <CALWEx6Wh9KW=48VXCFhdMrPs6ZEQ_FqCK7GcKaP-Je9BAQ1+yA@mail.gmail.com> (Ian Garmaise's message of "Sun, 1 Mar 2020 12:27:53 -0500")

Ian Garmaise <ian.g@phorixsol.com> writes:

> In Agenda, I issue the ';' command to start a countdown timer.
> I am asked how many minutes, then I get the following error
>
>
> user-error: Command not allowed in this line
>
> Timer doesn't start.  I have no problem starting a timer with C-c C-x ;

Thanks for the report.

AFAICS this issue occurs if you press ; on a line which is not
associated to a heading.  So a workaround is to pick a headline before
the press on ;.

I installed a fix in the master branch which looks natural to me.
Concretely the name of the buffer is taken when no associated heading
can be identified (instead of erroring.)  BTW this completely complies
with the docstring AFAICS.


Best regards,
-- Marco

  reply	other threads:[~2020-03-01 22:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-01 17:27 bug: ';' gets error starting countdown timer in agenda Ian Garmaise
2020-03-01 22:03 ` Marco Wahl [this message]
     [not found]   ` <CALWEx6VoV2GNyYMawqsOEGv7HnTmkYbCPsY4OHubK-sjX1Qnzw@mail.gmail.com>
2020-03-02  0:22     ` Marco Wahl

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=84mu8zag1s.fsf@gmail.com \
    --to=marcowahlsoft@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ian.g@phorixsol.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 public inbox

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

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