From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou 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 Message-ID: <87efvz7m0h.fsf@nicolasgoaziou.fr> References: <4a5326fd9a032b6691143a82e7d2a0a0@xiron.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7efm-0002PM-DI for emacs-orgmode@gnu.org; Mon, 08 May 2017 05:09:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7efj-0004nn-6q for emacs-orgmode@gnu.org; Mon, 08 May 2017 05:09:42 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:54251) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d7efj-0004nE-00 for emacs-orgmode@gnu.org; Mon, 08 May 2017 05:09:39 -0400 In-Reply-To: <4a5326fd9a032b6691143a82e7d2a0a0@xiron.de> (michael ziems's message of "Mon, 08 May 2017 08:53:43 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: michael.ziems@xiron.de Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain 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(# 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 --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0001-org-clock-Disambiguate-character-syntax.patch Content-Transfer-Encoding: quoted-printable >From 144c4ba61ba325f682088ba8501dccb3e20dbc8a Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou 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)))) ?=C2=B7) + (length (org-get-at-bol 'line-prefix)))) + ?\=C2=B7) '(face shadow)) (org-add-props (format " %9s " (org-duration-from-minutes time)) --=20 2.12.2 --=-=-=--