emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Invalid-read-syntax
@ 2016-04-19  6:01 Colin Baxter
  2016-04-19 19:23 ` Invalid-read-syntax Nicolas Goaziou
  0 siblings, 1 reply; 8+ messages in thread
From: Colin Baxter @ 2016-04-19  6:01 UTC (permalink / raw)
  To: emacs-orgmode


With the latest org-mode release_8.3.4-739-g7894129, I'm getting an lisp error
(invalid-read-syntax "#"). This ocurs with emacs-25.1.50.1 and emacs-24.5.1.

-------- Backtrace

Debugger entered--Lisp error: (invalid-read-syntax "#")
  read(#<buffer  *load*>)
  eval-buffer(#<buffer *load*> nil
"/home/redknight/git/org-mode/lisp/ox-html.el" nil t) ; Reading at
buffer position 100503
  load-with-code-conversion("/home/redknight/git/org-mode/lisp/ox-html.el"
"/home/redknight/git/org-mode/lisp/ox-html.el" nil t)
  require(ox-html)
  byte-code("\306\307\310!\210\307\311!\210\312\313\314\315!\210\314\316!\210\314\317!\210\314\320!\210\321\322\323\322\207"
[org-link-abbrev-alist org-latex-create-formula-image-program
org-alphabetical-lists bibtex2html-program
org-latex-table-caption-above org-latex-pdf-process (("bib"
. "~/texmf/bibtex/bib/colin.bib/all_refs.bib::%s") ("baz"
. "~/texmf/bibtex/bib/colin.bib/other/other_refs.bib::%s") ("notes"
. "~/colin/org/bibnotes.org::#%s") ("botes"
. "~/colin/org/baznotes.org::#%s") ("papers"
. "~/public_html/private/refs/%s.*") ("images"
. "~/public_html/private/heraldry/db/images/%s.jpg")) message
"Message: End loading org-mode applications, images, reftex ..."
"Message: Begin loading org-mode export & publishing settings ..."
dvipng t require ox-html ox-latex ox-ascii ox-bibtex
"/home/redknight/local/bin/bibtex2html -nobibsource -nolinks
-noabstract -nokeywords -nodoi" nil ("pdflatex -interaction
nonstopmode -shell-escape -output-directory %o %f" "bibtex $(basename
%b)" "pdflatex -interaction nonstopmode -shell-escape
-output-directory %o %f" "pdflatex -interaction nonstopmode
-shell-escape -output-directory %o %f" "bibtex $(basename %b)"
"pdflatex -interaction nonstopmode -shell-escape -output-directory %o
%f" "pdflatex -interaction nonstopmode -shell-escape -output-directory
%o %f")] 2)
--------------------- snip -----------



Colin.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Invalid-read-syntax
  2016-04-19  6:01 Invalid-read-syntax Colin Baxter
@ 2016-04-19 19:23 ` Nicolas Goaziou
  2016-04-20  5:59   ` Invalid-read-syntax Colin Baxter
  0 siblings, 1 reply; 8+ messages in thread
From: Nicolas Goaziou @ 2016-04-19 19:23 UTC (permalink / raw)
  To: Colin Baxter; +Cc: emacs-orgmode

Hello,

Colin Baxter <m43cap@yandex.com> writes:

> With the latest org-mode release_8.3.4-739-g7894129, I'm getting an lisp error
> (invalid-read-syntax "#"). This ocurs with emacs-25.1.50.1 and
> emacs-24.5.1.

Could you provide an ECM? What command triggered that?

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Invalid-read-syntax
  2016-04-19 19:23 ` Invalid-read-syntax Nicolas Goaziou
@ 2016-04-20  5:59   ` Colin Baxter
  2016-04-20  6:39     ` Invalid-read-syntax Alan Schmitt
  0 siblings, 1 reply; 8+ messages in thread
From: Colin Baxter @ 2016-04-20  5:59 UTC (permalink / raw)
  To: emacs-orgmode

On Tue, Apr 19 2016, Nicolas Goaziou wrote:

> Hello,
>
> Colin Baxter <m43cap@yandex.com> writes:
>
>> With the latest org-mode release_8.3.4-739-g7894129, I'm getting an lisp error
>> (invalid-read-syntax "#"). This ocurs with emacs-25.1.50.1 and
>> emacs-24.5.1.
>
> Could you provide an ECM? What command triggered that?
>
> Regards,

I'm afraid I don't know what ECM means. If you can give me some more
information, I'll have a go at providing it.

The error is immediately triggered when I launch emacs. The offending lines in my
~/.emacs are just

(add-to-list 'load-path (expand-file-name "~/git/org-mode/lisp"))
(add-to-list 'load-path (expand-file-name "~/git/org-mode/contrib/lisp"))

There are no errors if I use org-mode release_8.3.4-721-g16ad80. The
error occurred first with release_8.3.4-739-g7894129 and is present also
with release_8.3.4-743-g516bbf. The package ox-html looks a candidate
for suspicion, perhaps.

Best wishes,

Colin.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Invalid-read-syntax
  2016-04-20  5:59   ` Invalid-read-syntax Colin Baxter
@ 2016-04-20  6:39     ` Alan Schmitt
  2016-04-20  8:13       ` Invalid-read-syntax Colin Baxter
  0 siblings, 1 reply; 8+ messages in thread
From: Alan Schmitt @ 2016-04-20  6:39 UTC (permalink / raw)
  To: Colin Baxter; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 782 bytes --]

On 2016-04-20 07:59, Colin Baxter <m43cap@yandex.com> writes:

> On Tue, Apr 19 2016, Nicolas Goaziou wrote:
>
>> Hello,
>>
>> Colin Baxter <m43cap@yandex.com> writes:
>>
>>> With the latest org-mode release_8.3.4-739-g7894129, I'm getting an lisp error
>>> (invalid-read-syntax "#"). This ocurs with emacs-25.1.50.1 and
>>> emacs-24.5.1.
>>
>> Could you provide an ECM? What command triggered that?
>>
>> Regards,
>
> I'm afraid I don't know what ECM means. If you can give me some more
> information, I'll have a go at providing it.

It's a TLA (three letters acronym) for MWE (minimal working example) in
French: Exemple Complet Minimal.

HTH,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂ (2016-03, Mauna Loa Obs.): 404.83

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Invalid-read-syntax
  2016-04-20  6:39     ` Invalid-read-syntax Alan Schmitt
@ 2016-04-20  8:13       ` Colin Baxter
  2016-04-20 15:37         ` Invalid-read-syntax Nick Dokos
  0 siblings, 1 reply; 8+ messages in thread
From: Colin Baxter @ 2016-04-20  8:13 UTC (permalink / raw)
  To: emacs-orgmode

On Wed, Apr 20 2016, Alan Schmitt wrote:

> On 2016-04-20 07:59, Colin Baxter <m43cap@yandex.com> writes:
>
>> On Tue, Apr 19 2016, Nicolas Goaziou wrote:
>>
>>> Hello,
>>>
>>> Colin Baxter <m43cap@yandex.com> writes:
>>>
>>>> With the latest org-mode release_8.3.4-739-g7894129, I'm getting an lisp error
>>>> (invalid-read-syntax "#"). This ocurs with emacs-25.1.50.1 and
>>>> emacs-24.5.1.
>>>
>>> Could you provide an ECM? What command triggered that?
>>>
>>> Regards,
>>
>> I'm afraid I don't know what ECM means. If you can give me some more
>> information, I'll have a go at providing it.
>
> It's a TLA (three letters acronym) for MWE (minimal working example) in
> French: Exemple Complet Minimal.
>
> HTH,
>
> Alan

Thanks for the clarification of ECM.

The file /lisp/ox-html.el of org-mode release_8.3.4-743-g516bbf has
binary content at line 1952, whereas the same file of org-mode
release_8.3.4-721-g16ad80 has not. Perhaps this is significant.

Best wishes,

Colin.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Invalid-read-syntax
  2016-04-20  8:13       ` Invalid-read-syntax Colin Baxter
@ 2016-04-20 15:37         ` Nick Dokos
  2016-04-20 17:46           ` Invalid-read-syntax Colin Baxter
  0 siblings, 1 reply; 8+ messages in thread
From: Nick Dokos @ 2016-04-20 15:37 UTC (permalink / raw)
  To: emacs-orgmode

Colin Baxter <m43cap@yandex.com> writes:

> The file /lisp/ox-html.el of org-mode release_8.3.4-743-g516bbf has
> binary content at line 1952, whereas the same file of org-mode
> release_8.3.4-721-g16ad80 has not. Perhaps this is significant.
>

Perhaps I'm missing something but I don't see anything like that.I also
don't see any changes to ox-html.el between 16ad80 and 516bbf. I
checked out 516bbf and lines 1950+ of ox_html.el look like this:

       (when title
	 (format
	  (if html5-fancy
	      "<header>\n<h1 class=\"title\">%s</h1>\n%s</header>"
	    "<h1 class=\"title\">%s%s</h1>\n")
	  (org-export-data title info)

Maybe your local copy is corrupted somehow? What happens if you

 git checkout -- .../lisp/ox-html.el

?

--
Nick

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Invalid-read-syntax
  2016-04-20 15:37         ` Invalid-read-syntax Nick Dokos
@ 2016-04-20 17:46           ` Colin Baxter
  2016-04-21  5:35             ` Invalid-read-syntax Colin Baxter
  0 siblings, 1 reply; 8+ messages in thread
From: Colin Baxter @ 2016-04-20 17:46 UTC (permalink / raw)
  To: emacs-orgmode

On Wed, Apr 20 2016, Nick Dokos wrote:

> Colin Baxter <m43cap@yandex.com> writes:
>
>> The file /lisp/ox-html.el of org-mode release_8.3.4-743-g516bbf has
>> binary content at line 1952, whereas the same file of org-mode
>> release_8.3.4-721-g16ad80 has not. Perhaps this is significant.
>>
>
> Perhaps I'm missing something but I don't see anything like that.I also
> don't see any changes to ox-html.el between 16ad80 and 516bbf. I
> checked out 516bbf and lines 1950+ of ox_html.el look like this:
>
>        (when title
> 	 (format
> 	  (if html5-fancy
> 	      "<header>\n<h1 class=\"title\">%s</h1>\n%s</header>"
> 	    "<h1 class=\"title\">%s%s</h1>\n")
> 	  (org-export-data title info)
>
> Maybe your local copy is corrupted somehow? What happens if you
>
>  git checkout -- .../lisp/ox-html.el
>
> ?
>
> --
> Nick

git checkout /path/to/ox-html.el worked and removed the binary stuff. I
guess it must have been corrupted during the git pull. Thank you.

Best wishes,

Colin.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Invalid-read-syntax
  2016-04-20 17:46           ` Invalid-read-syntax Colin Baxter
@ 2016-04-21  5:35             ` Colin Baxter
  0 siblings, 0 replies; 8+ messages in thread
From: Colin Baxter @ 2016-04-21  5:35 UTC (permalink / raw)
  To: emacs-orgmode


I would like to thank everyone for their help in resolving something
which I should have done myself had I but gave the matter a little more
thought.

Best wishes,

Colin.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-04-21  5:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-19  6:01 Invalid-read-syntax Colin Baxter
2016-04-19 19:23 ` Invalid-read-syntax Nicolas Goaziou
2016-04-20  5:59   ` Invalid-read-syntax Colin Baxter
2016-04-20  6:39     ` Invalid-read-syntax Alan Schmitt
2016-04-20  8:13       ` Invalid-read-syntax Colin Baxter
2016-04-20 15:37         ` Invalid-read-syntax Nick Dokos
2016-04-20 17:46           ` Invalid-read-syntax Colin Baxter
2016-04-21  5:35             ` Invalid-read-syntax Colin Baxter

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