From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: michael.ziems@xiron.de
Cc: emacs-orgmode@gnu.org
Subject: Re: Invalid read syntax: "?" when switching org-dates or when tying to org-submit-bug-report
Date: Mon, 08 May 2017 11:09:34 +0200 [thread overview]
Message-ID: <87efvz7m0h.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <4a5326fd9a032b6691143a82e7d2a0a0@xiron.de> (michael ziems's message of "Mon, 08 May 2017 08:53:43 +0200")
[-- Attachment #1: Type: text/plain, Size: 1143 bytes --]
Hello,
michael.ziems@xiron.de writes:
> when i try to swicht an active timestamp via org-shitright or when i
> fire M-x org-submit-bug-report i get the following error:
>
> Debugger entered--Lisp error: (invalid-read-syntax "?")
> eval-buffer(#<buffer *load*> nil
> "c:/Users/sane/AppData/Roaming/.emacs.d/elpa/org-20170502/org-clock.el"
> nil t) ; Reading at buffer position 72111
>
> load-with-code-conversion("c:/Users/sane/AppData/Roaming/.emacs.d/elpa/org-20170502/org-clock.el"
> "c:/Users/sane/AppData/Roaming/.emacs.d/elpa/org-20170502/org-clock.el"
> nil t)
> require(org-clock)
> mapc(require (org-agenda org-archive org-attach org-clock org-colview
> org-id org-table org-timer))
> org-require-autoloaded-modules()
> org-submit-bug-report()
> call-interactively(org-submit-bug-report record nil)
> command-execute(org-submit-bug-report record)
> execute-extended-command(nil "org-submit-bug-report")
> call-interactively(execute-extended-command nil nil)
>
> I tried to do the same with Edebug on, but somehow it looks fine
> there.
Would the attached patch fix your issue?
Regards,
--
Nicolas Goaziou
[-- Attachment #2: 0001-org-clock-Disambiguate-character-syntax.patch --]
[-- Type: text/x-diff, Size: 920 bytes --]
From 144c4ba61ba325f682088ba8501dccb3e20dbc8a Mon Sep 17 00:00:00 2001
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Date: Mon, 8 May 2017 11:08:10 +0200
Subject: [PATCH] org-clock: Disambiguate character syntax
* lisp/org-clock.el (org-clock-put-overlay): Escape character in
character syntax.
---
lisp/org-clock.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index 462eda682..ea1ead47d 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -1967,7 +1967,8 @@ will be easy to remove."
(make-string
(max 0 (- (- 60 (current-column))
(- (match-end 4) (match-beginning 4))
- (length (org-get-at-bol 'line-prefix)))) ?·)
+ (length (org-get-at-bol 'line-prefix))))
+ ?\·)
'(face shadow))
(org-add-props
(format " %9s " (org-duration-from-minutes time))
--
2.12.2
next prev parent reply other threads:[~2017-05-08 9:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-08 6:53 Invalid read syntax: "?" when switching org-dates or when tying to org-submit-bug-report michael.ziems
2017-05-08 9:09 ` Nicolas Goaziou [this message]
2017-05-08 9:31 ` michael.ziems
2017-05-08 9:52 ` Nicolas Goaziou
2017-05-08 10:32 ` michael.ziems
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=87efvz7m0h.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=michael.ziems@xiron.de \
/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).