From: michael.ziems@xiron.de
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
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:31:51 +0200 [thread overview]
Message-ID: <0393cd72fa39904cb61ce17f6831b628@xiron.de> (raw)
In-Reply-To: <87efvz7m0h.fsf@nicolasgoaziou.fr>
[-- Attachment #1: Type: text/plain, Size: 2704 bytes --]
Hello Nicolas,
thanks for the answer.
I'm not a big expert on lisp. As i did not find any information how a
.patch file works so fast, i just changed it manually in the
org-clock.el like this:
(defun org-clock-put-overlay (time)
"Put an overlays on the current line, displaying TIME.
This creates a new overlay and stores it in `org-clock-overlays', so
that it
will be easy to remove."
(let (ov tx)
(beginning-of-line)
(let ((case-fold-search nil))
(when (looking-at org-complex-heading-regexp)
(goto-char (match-beginning 4))))
(setq ov (make-overlay (point) (point-at-eol))
tx (concat (buffer-substring-no-properties (point) (match-end 4))
(org-add-props
(make-string
(max 0 (- (- 60 (current-column))
(- (match-end 4) (match-beginning 4))
(length (org-get-at-bol 'line-prefix))))
?·)
'(face shadow))
(org-add-props
(format " %9s " (org-minutes-to-clocksum-string time))
'(face org-clock-overlay))
""))
(overlay-put ov 'display tx)
(push ov org-clock-overlays)))
When i byte-compile the file i get the following error:
Compiling file
c:/Users/sane/AppData/Roaming/.emacs.d/elpa/org-20170502/org-clock.el at
Mon May 8 11:27:30 2017
org-clock.el:1949:1:Error: Invalid read syntax: "?"
Thanks for your patience.
Michael
Am 2017-05-08 11:09, schrieb Nicolas Goaziou:
> 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,
[-- Attachment #2: Type: text/html, Size: 4377 bytes --]
next prev parent reply other threads:[~2017-05-08 9:32 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
2017-05-08 9:31 ` michael.ziems [this message]
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=0393cd72fa39904cb61ce17f6831b628@xiron.de \
--to=michael.ziems@xiron.de \
--cc=emacs-orgmode@gnu.org \
--cc=mail@nicolasgoaziou.fr \
/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).