From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: [ANN] Editable HTML export of Org-mode files
Date: Thu, 16 Aug 2012 22:41:21 +0800 [thread overview]
Message-ID: <87ipciq4q6.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 87a9xvgdo6.fsf@gmx.com
On Thu, Aug 16 2012, Eric Schulte wrote:
> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> On Thu, Aug 16 2012, Eric Schulte wrote:
>>
>>> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>>>
>>>> On Thu, Aug 16 2012, Eric Schulte wrote:
>>>>
>>>>>>> Every time I edited a block and clicked "save", it just deleted the
>>>>>>> whole block. I got these errors in ~/.elnodelogs/elnode-error:
>>>>>>>
>>>>>>
>>>>>> I'm not sure what could be causing this problem. Did the test suite run
>>>>>> successfully for you?
>>>>>
>>>>> I've now added a POST test to the test suite. So if your problem
>>>>> persists you should now see a failing test, and conversely if you are
>>>>> now passing the test suite this problem should be eliminated.
>>>>
>>>> So yes, I did run the tests the first time, and you're right that,
>>>> without the "post" test, they went just fine. The documents were also
>>>> altered on-disk (ie, the chunks really were deleted).
>>>
>>> Interesting.
>>
>> [...]
>>
>>> Even thought this test is failing, it does show that your elnode server
>>> is returning the HTML in response to your POST requests. It looks like
>>> it only fails because your Emacs exports *foo* as <em>foo</em> instead
>>> of as <i>foo</i>.
>>>
>>>>
>>>> Then I restarted emacs -Q and used your batch.el file. I'm still getting
>>>> the same problem, unfortunately: the editable blocks disappear when I
>>>> hit "save". I realized I don't actually know whether this is supposed to
>>>> edit the simple.org or simple.html files:
>>>
>>
>> [...]
>>
>>> I've just pushed up some changes to the git repository which add new
>>> require statements. Hopefully the errors above were caused by some
>>> required functions not being loaded at run time. If the newest from git
>>> doesn't work fix these problems, please try running
>>>
>>> emacs -Q -l batch.el
>>>
>>> with this updated version of batch.el, and let me know what is printed
>>> in the *Messages* buffer in the line which starts as "params:".
>>
>> The same test failed in the same way,
>
> Fair enough, this must be a legitimate difference in our HTML export,
> I'll make the test appropriately more permissive.
>
>> so I loaded up the new batch.el file, and here's the "params" line:
>>
>> params:(("path" . "/simple.org") ("end" . "577") ("beg" . "156") ("org"
>> . ""))
>>
>> Hope that's enlightening!
>>
>
> Yes, very enlightening. It means that the server-side and Emacs Lisp
> side are working as expected. However, for some reason, when you hit
> [SAVE] the information submitted by your browser includes an empty text
> field (this is the "org" pair above).
>
> This must be a JavaScript issue related to some difference between
> browsers. Can I ask, what browser you are using? I've done all of my
> testing with browsers in the Firefox family (Firefox and conkeror).
I'm using the version of Chrome provided by Arch linux, it tells me
Version 21.0.1180.79 (151411). I just tried the test server in Firefox,
and it worked perfectly.
Much as I like Chrome, I've occasionally seen it make websites fail in
ways you wouldn't think a browser should be capable of.
--
GNU Emacs 24.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.11) of
2012-08-14 on pellet 7.8.11
next prev parent reply other threads:[~2012-08-16 14:41 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-13 22:28 [ANN] Editable HTML export of Org-mode files Eric Schulte
2012-08-14 7:44 ` Bastien
2012-08-14 9:40 ` Rasmus
2012-08-14 10:01 ` Bastien
2012-08-14 12:56 ` Eric Schulte
2012-08-14 21:45 ` Bastien
2012-08-15 15:31 ` Eric Schulte
2012-08-15 3:25 ` Eric Abrahamsen
2012-08-15 15:17 ` Eric Schulte
2012-08-15 23:51 ` Eric Schulte
2012-08-16 5:08 ` Eric Abrahamsen
2012-08-16 6:45 ` Eric Schulte
2012-08-16 7:27 ` Eric Abrahamsen
2012-08-16 13:36 ` Eric Schulte
2012-08-16 14:41 ` Eric Abrahamsen [this message]
2012-08-16 15:08 ` Eric Schulte
2012-08-16 2:06 ` Ista Zahn
2012-08-16 6:31 ` Eric Schulte
2012-08-16 15:58 ` Ista Zahn
2012-08-16 16:36 ` Eric Schulte
2012-08-16 17:44 ` Achim Gratz
2012-08-16 20:05 ` Eric Schulte
2012-08-16 19:43 ` Ista Zahn
2012-08-16 20:11 ` Eric Schulte
2012-08-16 20:50 ` Ista Zahn
2012-10-02 5:23 ` Eric S Fraga
2012-10-05 3:23 ` Eric Schulte
2012-10-21 18:27 ` Simon Thum
2012-10-22 20:38 ` Eric Schulte
2012-10-24 19:19 ` Simon Thum
2012-10-28 15:19 ` Eric Schulte
2012-10-28 15:35 ` Simon Thum
2012-10-29 8:29 ` Nitin Agarwal
2012-10-30 9:37 ` Nitin Agarwal
2012-10-30 16:56 ` Eric Schulte
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=87ipciq4q6.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--cc=emacs-orgmode@gnu.org \
/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).