From 94d2fc1815a919734353c942f224db1de4b4fcb8 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Mon, 7 Mar 2011 09:04:49 +0100 Subject: Django, org * Added nxhtml, mostly for django support. * Changed some org settings. --- emacs.d/nxhtml/tests/in/3-heights.html | 42 + emacs.d/nxhtml/tests/in/400415-index.phtml | 43 + emacs.d/nxhtml/tests/in/asp.asp | 40 + emacs.d/nxhtml/tests/in/bastien-test.mm | 38 + .../nxhtml/tests/in/bigfile-stringerr-64000.html | 1850 ++++ emacs.d/nxhtml/tests/in/blorgit.rb | 313 + emacs.d/nxhtml/tests/in/bug-080609.html | 9 + emacs.d/nxhtml/tests/in/bug-1908494.php | 6 + emacs.d/nxhtml/tests/in/bug-2010-02-17-delgado.mm | 10 + emacs.d/nxhtml/tests/in/bug-2010-02-17-delgado.org | 3 + emacs.d/nxhtml/tests/in/bug-290364.php | 66 + emacs.d/nxhtml/tests/in/bug-300946-index.html | 24 + emacs.d/nxhtml/tests/in/bug-311640-index.html | 24 + emacs.d/nxhtml/tests/in/bug-311641.php | 7 + emacs.d/nxhtml/tests/in/bug-373106-flipbook.html | 160 + emacs.d/nxhtml/tests/in/bug-381191-dh-test.el | 23 + emacs.d/nxhtml/tests/in/bug-381191-dh-test.php | 6 + emacs.d/nxhtml/tests/in/bug-johan-2010-02-12.rhtml | 22 + .../nxhtml/tests/in/bug-johan-2010-02-16.html.haml | 34 + emacs.d/nxhtml/tests/in/bug-johan-2010-02-17-2.erb | 14 + emacs.d/nxhtml/tests/in/bug-johan-2010-02-17.erb | 4 + emacs.d/nxhtml/tests/in/bug261792.ghtml | 7 + emacs.d/nxhtml/tests/in/bug271497.el | 14 + emacs.d/nxhtml/tests/in/bug271497.txt | 7 + emacs.d/nxhtml/tests/in/bug272871.php | 7 + emacs.d/nxhtml/tests/in/bug290364-messages.txt | 97 + emacs.d/nxhtml/tests/in/bug354363-index.php | 38 + emacs.d/nxhtml/tests/in/bug354363-test.php | 3 + emacs.d/nxhtml/tests/in/bug369800-load-history.txt | 9483 ++++++++++++++++++++ emacs.d/nxhtml/tests/in/bug370417.php | 10 + emacs.d/nxhtml/tests/in/bug381979-2-bad-traceb.txt | 24 + emacs.d/nxhtml/tests/in/bug381979-2.php | 6 + emacs.d/nxhtml/tests/in/bug381979-svnlib.inc | 744 ++ emacs.d/nxhtml/tests/in/bug384115-bt2.txt | 11 + emacs.d/nxhtml/tests/in/bug388729-messages.txt | 292 + emacs.d/nxhtml/tests/in/bug388729-nxhtml_test.php | 2 + emacs.d/nxhtml/tests/in/bug393137-new.html.erb | 18 + emacs.d/nxhtml/tests/in/bug400415-foo.php | 9 + emacs.d/nxhtml/tests/in/bug400415-foo2.php | 9 + emacs.d/nxhtml/tests/in/bug409183.html | 14 + emacs.d/nxhtml/tests/in/bug416505-Body.mxml | 85 + emacs.d/nxhtml/tests/in/bug416505-nxhtml.el | 45 + emacs.d/nxhtml/tests/in/bug452676.php | 12 + emacs.d/nxhtml/tests/in/bug463136.php | 5 + emacs.d/nxhtml/tests/in/bug492366-test.php | 21 + emacs.d/nxhtml/tests/in/bug495770-heredoc_demo.pl | 95 + .../in/bug505554-nxhtml-download-messages.txt | 98 + emacs.d/nxhtml/tests/in/bug505554-sample.html.erb | 11 + emacs.d/nxhtml/tests/in/bug505726-foo.html | 10 + emacs.d/nxhtml/tests/in/bug509586.ghtml | 16 + emacs.d/nxhtml/tests/in/bug523065.jsp | 9 + emacs.d/nxhtml/tests/in/bug523065.php | 6 + emacs.d/nxhtml/tests/in/bug529133-statemachine.py | 1491 +++ emacs.d/nxhtml/tests/in/bug531328.rhtml | 1 + emacs.d/nxhtml/tests/in/bug532500.rhtml | 7 + emacs.d/nxhtml/tests/in/bug532759.djhtml | 17 + emacs.d/nxhtml/tests/in/bug546027.html | 17 + emacs.d/nxhtml/tests/in/bug552789-loremipsum.php | 10 + emacs.d/nxhtml/tests/in/bug552789.php | 20 + emacs.d/nxhtml/tests/in/bug556832-error-test.py | 23 + emacs.d/nxhtml/tests/in/bug557700-2.erb | 5 + emacs.d/nxhtml/tests/in/bug557700-3.erb | 3 + emacs.d/nxhtml/tests/in/bug557700-4.erb | 11 + emacs.d/nxhtml/tests/in/bug557700-5.erb | 4 + emacs.d/nxhtml/tests/in/bug557700-6.erb | 11 + emacs.d/nxhtml/tests/in/bug557700.erb | 3 + emacs.d/nxhtml/tests/in/bug559772-TextHelper.php | 205 + emacs.d/nxhtml/tests/in/bug565595.mako | 12 + emacs.d/nxhtml/tests/in/bug568178.pl | 4 + emacs.d/nxhtml/tests/in/bug568178.sh | 9 + emacs.d/nxhtml/tests/in/bug569742-master-end.html | 37 + .../nxhtml/tests/in/ch-2008-07-25-test.html.erb | 37 + emacs.d/nxhtml/tests/in/chunks-in-chunks1.php | 19 + emacs.d/nxhtml/tests/in/chunks.html | 63 + emacs.d/nxhtml/tests/in/cr-lf.el | 2 + emacs.d/nxhtml/tests/in/csr-080710-2.html | 23 + emacs.d/nxhtml/tests/in/csr-080710.html | 24 + emacs.d/nxhtml/tests/in/cvd-080805-ac.php | 21 + emacs.d/nxhtml/tests/in/cvd-080805-cc.php | 18 + .../nxhtml/tests/in/drechsler-080517-simple.xml | 3 + emacs.d/nxhtml/tests/in/el-070424-duh.xml | 6 + emacs.d/nxhtml/tests/in/el-070511-simple.html | 102 + emacs.d/nxhtml/tests/in/el-070602-index.php | 54 + emacs.d/nxhtml/tests/in/el-070604.html | 11 + emacs.d/nxhtml/tests/in/el-070604.php | 11 + .../nxhtml/tests/in/el-070722-comment-error.php | 6 + emacs.d/nxhtml/tests/in/el-070722-index-2.el | 7 + emacs.d/nxhtml/tests/in/el-070722-index-2.php | 48 + .../nxhtml/tests/in/el-070722-index-noheader.php | 48 + emacs.d/nxhtml/tests/in/el-070722-index.php | 55 + emacs.d/nxhtml/tests/in/el-071217-foo.html | 13 + emacs.d/nxhtml/tests/in/emacswiki-080119.php | 15 + emacs.d/nxhtml/tests/in/emacswiki-erb-bug.el | 36 + emacs.d/nxhtml/tests/in/err-line38.html | 768 ++ emacs.d/nxhtml/tests/in/eval-in-html.el | Bin 0 -> 22420 bytes emacs.d/nxhtml/tests/in/fontif-err.html | 339 + emacs.d/nxhtml/tests/in/fontif-err.php | 339 + .../nxhtml/tests/in/genshi-HelloWorldPage.ghtml | 10 + emacs.d/nxhtml/tests/in/genshi-auto-mode.html | 10 + emacs.d/nxhtml/tests/in/genshi.ghtml | 23 + .../tests/in/goesele-091110-testnote-orig.mm | 16 + .../tests/in/goesele-091110-testnote-temp.mm | 16 + emacs.d/nxhtml/tests/in/goesele-091110-testnote.mm | 16 + .../nxhtml/tests/in/goesele-091110-testnote.mm.org | 5 + .../tests/in/goesele-091110-testnote.mm.org.mm | 16 + emacs.d/nxhtml/tests/in/haml1.haml | 132 + emacs.d/nxhtml/tests/in/heredoc.php | 61 + emacs.d/nxhtml/tests/in/heredoc.pl | 11 + emacs.d/nxhtml/tests/in/heredoc.py | 11 + emacs.d/nxhtml/tests/in/heredoc.rb | 8 + emacs.d/nxhtml/tests/in/heredoc.sh | 4 + emacs.d/nxhtml/tests/in/hg-2008-03-22-ajax.xhtml | 38 + emacs.d/nxhtml/tests/in/hq-070510-test.php | 12 + emacs.d/nxhtml/tests/in/hq-070510-test.php.html | 44 + emacs.d/nxhtml/tests/in/hq-070524-bug.php | 10 + emacs.d/nxhtml/tests/in/hq-071006-index.php | 38 + .../nxhtml/tests/in/html-syntactic-err-l164.html | 1474 +++ emacs.d/nxhtml/tests/in/ind-0-error.php | 28 + emacs.d/nxhtml/tests/in/indent-bug-html-mode.html | 18 + emacs.d/nxhtml/tests/in/java.java | 13 + emacs.d/nxhtml/tests/in/jcl-080802-index.html.erb | 16 + .../tests/in/jcl-080802-messages_controller.rb | 57 + emacs.d/nxhtml/tests/in/jj-081226.html | 26 + .../nxhtml/tests/in/josh-091115-cancer_summary.xsl | 490 + emacs.d/nxhtml/tests/in/jump-parse.html | 7 + emacs.d/nxhtml/tests/in/jump-parse.rhtml | 9 + emacs.d/nxhtml/tests/in/kp-080604.php | 4 + .../nxhtml/tests/in/kubica-080516-freezing-1.html | 13 + .../nxhtml/tests/in/kubica-080516-freezing-2.html | 174 + .../nxhtml/tests/in/kubica-080516-freezing-2j.html | 174 + .../nxhtml/tests/in/kubica-080516-freezing-3.html | 61 + .../nxhtml/tests/in/kubica-080516-freezing-4.html | 58 + .../nxhtml/tests/in/kubica-080516-freezing-5.html | 20 + .../nxhtml/tests/in/kubica-080516-freezing-6.html | 58 + .../nxhtml/tests/in/kubica-080516-freezing-7.html | 56 + .../nxhtml/tests/in/kubica-080516-freezing-8.html | 57 + .../nxhtml/tests/in/kubica-080516-freezing-9.html | 57 + .../tests/in/kubica-080516-freezing-a-notabs.html | 57 + .../nxhtml/tests/in/kubica-080516-freezing-a.html | 57 + .../nxhtml/tests/in/kubica-080516-freezing-b.html | 55 + .../nxhtml/tests/in/kubica-080516-freezing-c.html | 52 + .../nxhtml/tests/in/kubica-080516-freezing-d.html | 51 + .../nxhtml/tests/in/kubica-080516-freezing-e.html | 50 + .../nxhtml/tests/in/kubica-080516-freezing-f.html | 49 + .../nxhtml/tests/in/kubica-080516-freezing-g.html | 39 + .../nxhtml/tests/in/kubica-080516-freezing-h.html | 27 + .../nxhtml/tests/in/kubica-080516-freezing-i.html | 19 + .../nxhtml/tests/in/kubica-080516-freezing-j.html | 19 + .../nxhtml/tests/in/kubica-080516-freezing-k.html | 19 + emacs.d/nxhtml/tests/in/kubica-080516-freezing.css | 36 + .../nxhtml/tests/in/kubica-080516-freezing.html | 174 + emacs.d/nxhtml/tests/in/kubica-080516-freezing.txt | 10 + emacs.d/nxhtml/tests/in/kwalo-080930.php | 23 + .../nxhtml/tests/in/latex-clojre-mumamo-test.lclj | 17 + emacs.d/nxhtml/tests/in/lg-080813-div.html | 16 + emacs.d/nxhtml/tests/in/lg-080813-label.html | 15 + emacs.d/nxhtml/tests/in/long-lines.txt | 1 + emacs.d/nxhtml/tests/in/markdown.markdown | 16 + emacs.d/nxhtml/tests/in/mason.mason | 46 + emacs.d/nxhtml/tests/in/menu-err.txt | 10 + emacs.d/nxhtml/tests/in/mjt-feed.html | 86 + emacs.d/nxhtml/tests/in/mjt-imagesearch.html | 46 + emacs.d/nxhtml/tests/in/mjt-minimal.html | 11 + emacs.d/nxhtml/tests/in/mumamo-and-org.org | 20 + emacs.d/nxhtml/tests/in/mumamo-and-org.org.mm | 45 + emacs.d/nxhtml/tests/in/ng-080309-read-url.html | 11 + emacs.d/nxhtml/tests/in/no-php-end-2.php | 18 + emacs.d/nxhtml/tests/in/no-php-end-2.php-log.txt | 312 + emacs.d/nxhtml/tests/in/no-php-end-2.php-log2.txt | 238 + emacs.d/nxhtml/tests/in/no-php-end-3.php | 18 + emacs.d/nxhtml/tests/in/no-php-end-4.php | 18 + emacs.d/nxhtml/tests/in/no-php-end.php | 4 + emacs.d/nxhtml/tests/in/nojump-parse.html | 9 + emacs.d/nxhtml/tests/in/noweb1.now | 38 + emacs.d/nxhtml/tests/in/nutshell.mako | 27 + emacs.d/nxhtml/tests/in/nxml-bug.html | 11 + emacs.d/nxhtml/tests/in/nxml-indent-2.html | 134 + emacs.d/nxhtml/tests/in/nxml-indent-3.html | 134 + emacs.d/nxhtml/tests/in/nxml-indent-noerr1.html | 192 + emacs.d/nxhtml/tests/in/nxml-indent.el | 1 + emacs.d/nxhtml/tests/in/nxml-indent.html | 192 + emacs.d/nxhtml/tests/in/only-html.html | 11 + emacs.d/nxhtml/tests/in/only-php.php | 10 + emacs.d/nxhtml/tests/in/pavel-071116.djhtml | 31 + emacs.d/nxhtml/tests/in/php-parseable.php | 11 + emacs.d/nxhtml/tests/in/question43320.html | 35 + emacs.d/nxhtml/tests/in/question44504-folding.html | 28 + emacs.d/nxhtml/tests/in/question49234.sh | 41 + emacs.d/nxhtml/tests/in/rgr-030809-indexbody.php | 57 + emacs.d/nxhtml/tests/in/rgr-080307.php | 2 + emacs.d/nxhtml/tests/in/rgr-080308-header-2.php | 56 + emacs.d/nxhtml/tests/in/rgr-080308-header.php | 56 + emacs.d/nxhtml/tests/in/rgr-080308-indexbody.php | 57 + emacs.d/nxhtml/tests/in/rr-090524-header.php | 76 + emacs.d/nxhtml/tests/in/rr-090923-header.php | 101 + emacs.d/nxhtml/tests/in/rr-address-090304.php | 4 + emacs.d/nxhtml/tests/in/rr-address-nxhtml.err | Bin 0 -> 6647 bytes emacs.d/nxhtml/tests/in/rr-min8.php | 6 + emacs.d/nxhtml/tests/in/ryan-091104-literal.tpl | 148 + emacs.d/nxhtml/tests/in/ryan-091111-wrong-side.tpl | 18 + emacs.d/nxhtml/tests/in/schemas.xml | 3 + emacs.d/nxhtml/tests/in/sd-080803-test.php | 14 + emacs.d/nxhtml/tests/in/senny-091118.htm | 247 + emacs.d/nxhtml/tests/in/sheit-2007-12-26.php | 9 + emacs.d/nxhtml/tests/in/short-tags.php | 3 + emacs.d/nxhtml/tests/in/single-question-sign.html | 11 + emacs.d/nxhtml/tests/in/ssjs.ssjs | 9 + emacs.d/nxhtml/tests/in/string-bug.php | 1 + emacs.d/nxhtml/tests/in/style=.html | 12 + emacs.d/nxhtml/tests/in/style=string-font.html | 18 + emacs.d/nxhtml/tests/in/svg.svg | 1 + emacs.d/nxhtml/tests/in/temp2.php | 48 + emacs.d/nxhtml/tests/in/temp3.html | 44 + emacs.d/nxhtml/tests/in/test-only-nxml.my-xhtml | 38 + emacs.d/nxhtml/tests/in/test.tt | 11 + emacs.d/nxhtml/tests/in/tut1.jsp | 5 + emacs.d/nxhtml/tests/in/utf8-problem.el | 7 + emacs.d/nxhtml/tests/in/wiki-080606-indent.php | 18 + .../nxhtml/tests/in/wiki-080708-ind-problem.rhtml | 5 + emacs.d/nxhtml/tests/in/wiki-090804-js.html | 32 + emacs.d/nxhtml/tests/in/wiki-2008-01-30.rhtml | 1 + emacs.d/nxhtml/tests/in/wiki-comments.php | 20 + .../nxhtml/tests/in/wiki-strange-hili-080629.html | 5 + emacs.d/nxhtml/tests/in/xml-as-string.php | 54 + .../tests/in/ygne-2008-02-07-hotproperty.html.php | 1967 ++++ emacs.d/nxhtml/tests/in/zero-pi.html | 11 + emacs.d/nxhtml/tests/in/zn-090529-doxysample.php | 37 + 227 files changed, 27057 insertions(+) create mode 100644 emacs.d/nxhtml/tests/in/3-heights.html create mode 100644 emacs.d/nxhtml/tests/in/400415-index.phtml create mode 100644 emacs.d/nxhtml/tests/in/asp.asp create mode 100644 emacs.d/nxhtml/tests/in/bastien-test.mm create mode 100644 emacs.d/nxhtml/tests/in/bigfile-stringerr-64000.html create mode 100644 emacs.d/nxhtml/tests/in/blorgit.rb create mode 100644 emacs.d/nxhtml/tests/in/bug-080609.html create mode 100644 emacs.d/nxhtml/tests/in/bug-1908494.php create mode 100644 emacs.d/nxhtml/tests/in/bug-2010-02-17-delgado.mm create mode 100644 emacs.d/nxhtml/tests/in/bug-2010-02-17-delgado.org create mode 100644 emacs.d/nxhtml/tests/in/bug-290364.php create mode 100644 emacs.d/nxhtml/tests/in/bug-300946-index.html create mode 100644 emacs.d/nxhtml/tests/in/bug-311640-index.html create mode 100644 emacs.d/nxhtml/tests/in/bug-311641.php create mode 100644 emacs.d/nxhtml/tests/in/bug-373106-flipbook.html create mode 100644 emacs.d/nxhtml/tests/in/bug-381191-dh-test.el create mode 100644 emacs.d/nxhtml/tests/in/bug-381191-dh-test.php create mode 100644 emacs.d/nxhtml/tests/in/bug-johan-2010-02-12.rhtml create mode 100644 emacs.d/nxhtml/tests/in/bug-johan-2010-02-16.html.haml create mode 100644 emacs.d/nxhtml/tests/in/bug-johan-2010-02-17-2.erb create mode 100644 emacs.d/nxhtml/tests/in/bug-johan-2010-02-17.erb create mode 100644 emacs.d/nxhtml/tests/in/bug261792.ghtml create mode 100644 emacs.d/nxhtml/tests/in/bug271497.el create mode 100644 emacs.d/nxhtml/tests/in/bug271497.txt create mode 100644 emacs.d/nxhtml/tests/in/bug272871.php create mode 100644 emacs.d/nxhtml/tests/in/bug290364-messages.txt create mode 100644 emacs.d/nxhtml/tests/in/bug354363-index.php create mode 100644 emacs.d/nxhtml/tests/in/bug354363-test.php create mode 100644 emacs.d/nxhtml/tests/in/bug369800-load-history.txt create mode 100644 emacs.d/nxhtml/tests/in/bug370417.php create mode 100644 emacs.d/nxhtml/tests/in/bug381979-2-bad-traceb.txt create mode 100644 emacs.d/nxhtml/tests/in/bug381979-2.php create mode 100644 emacs.d/nxhtml/tests/in/bug381979-svnlib.inc create mode 100644 emacs.d/nxhtml/tests/in/bug384115-bt2.txt create mode 100644 emacs.d/nxhtml/tests/in/bug388729-messages.txt create mode 100644 emacs.d/nxhtml/tests/in/bug388729-nxhtml_test.php create mode 100644 emacs.d/nxhtml/tests/in/bug393137-new.html.erb create mode 100644 emacs.d/nxhtml/tests/in/bug400415-foo.php create mode 100644 emacs.d/nxhtml/tests/in/bug400415-foo2.php create mode 100644 emacs.d/nxhtml/tests/in/bug409183.html create mode 100644 emacs.d/nxhtml/tests/in/bug416505-Body.mxml create mode 100644 emacs.d/nxhtml/tests/in/bug416505-nxhtml.el create mode 100644 emacs.d/nxhtml/tests/in/bug452676.php create mode 100644 emacs.d/nxhtml/tests/in/bug463136.php create mode 100644 emacs.d/nxhtml/tests/in/bug492366-test.php create mode 100644 emacs.d/nxhtml/tests/in/bug495770-heredoc_demo.pl create mode 100644 emacs.d/nxhtml/tests/in/bug505554-nxhtml-download-messages.txt create mode 100644 emacs.d/nxhtml/tests/in/bug505554-sample.html.erb create mode 100644 emacs.d/nxhtml/tests/in/bug505726-foo.html create mode 100644 emacs.d/nxhtml/tests/in/bug509586.ghtml create mode 100644 emacs.d/nxhtml/tests/in/bug523065.jsp create mode 100644 emacs.d/nxhtml/tests/in/bug523065.php create mode 100644 emacs.d/nxhtml/tests/in/bug529133-statemachine.py create mode 100644 emacs.d/nxhtml/tests/in/bug531328.rhtml create mode 100644 emacs.d/nxhtml/tests/in/bug532500.rhtml create mode 100644 emacs.d/nxhtml/tests/in/bug532759.djhtml create mode 100644 emacs.d/nxhtml/tests/in/bug546027.html create mode 100644 emacs.d/nxhtml/tests/in/bug552789-loremipsum.php create mode 100644 emacs.d/nxhtml/tests/in/bug552789.php create mode 100644 emacs.d/nxhtml/tests/in/bug556832-error-test.py create mode 100644 emacs.d/nxhtml/tests/in/bug557700-2.erb create mode 100644 emacs.d/nxhtml/tests/in/bug557700-3.erb create mode 100644 emacs.d/nxhtml/tests/in/bug557700-4.erb create mode 100644 emacs.d/nxhtml/tests/in/bug557700-5.erb create mode 100644 emacs.d/nxhtml/tests/in/bug557700-6.erb create mode 100644 emacs.d/nxhtml/tests/in/bug557700.erb create mode 100644 emacs.d/nxhtml/tests/in/bug559772-TextHelper.php create mode 100644 emacs.d/nxhtml/tests/in/bug565595.mako create mode 100644 emacs.d/nxhtml/tests/in/bug568178.pl create mode 100644 emacs.d/nxhtml/tests/in/bug568178.sh create mode 100644 emacs.d/nxhtml/tests/in/bug569742-master-end.html create mode 100644 emacs.d/nxhtml/tests/in/ch-2008-07-25-test.html.erb create mode 100644 emacs.d/nxhtml/tests/in/chunks-in-chunks1.php create mode 100644 emacs.d/nxhtml/tests/in/chunks.html create mode 100644 emacs.d/nxhtml/tests/in/cr-lf.el create mode 100644 emacs.d/nxhtml/tests/in/csr-080710-2.html create mode 100644 emacs.d/nxhtml/tests/in/csr-080710.html create mode 100644 emacs.d/nxhtml/tests/in/cvd-080805-ac.php create mode 100644 emacs.d/nxhtml/tests/in/cvd-080805-cc.php create mode 100644 emacs.d/nxhtml/tests/in/drechsler-080517-simple.xml create mode 100644 emacs.d/nxhtml/tests/in/el-070424-duh.xml create mode 100644 emacs.d/nxhtml/tests/in/el-070511-simple.html create mode 100644 emacs.d/nxhtml/tests/in/el-070602-index.php create mode 100644 emacs.d/nxhtml/tests/in/el-070604.html create mode 100644 emacs.d/nxhtml/tests/in/el-070604.php create mode 100644 emacs.d/nxhtml/tests/in/el-070722-comment-error.php create mode 100644 emacs.d/nxhtml/tests/in/el-070722-index-2.el create mode 100644 emacs.d/nxhtml/tests/in/el-070722-index-2.php create mode 100644 emacs.d/nxhtml/tests/in/el-070722-index-noheader.php create mode 100644 emacs.d/nxhtml/tests/in/el-070722-index.php create mode 100644 emacs.d/nxhtml/tests/in/el-071217-foo.html create mode 100644 emacs.d/nxhtml/tests/in/emacswiki-080119.php create mode 100644 emacs.d/nxhtml/tests/in/emacswiki-erb-bug.el create mode 100644 emacs.d/nxhtml/tests/in/err-line38.html create mode 100644 emacs.d/nxhtml/tests/in/eval-in-html.el create mode 100644 emacs.d/nxhtml/tests/in/fontif-err.html create mode 100644 emacs.d/nxhtml/tests/in/fontif-err.php create mode 100644 emacs.d/nxhtml/tests/in/genshi-HelloWorldPage.ghtml create mode 100644 emacs.d/nxhtml/tests/in/genshi-auto-mode.html create mode 100644 emacs.d/nxhtml/tests/in/genshi.ghtml create mode 100644 emacs.d/nxhtml/tests/in/goesele-091110-testnote-orig.mm create mode 100644 emacs.d/nxhtml/tests/in/goesele-091110-testnote-temp.mm create mode 100644 emacs.d/nxhtml/tests/in/goesele-091110-testnote.mm create mode 100644 emacs.d/nxhtml/tests/in/goesele-091110-testnote.mm.org create mode 100644 emacs.d/nxhtml/tests/in/goesele-091110-testnote.mm.org.mm create mode 100644 emacs.d/nxhtml/tests/in/haml1.haml create mode 100644 emacs.d/nxhtml/tests/in/heredoc.php create mode 100644 emacs.d/nxhtml/tests/in/heredoc.pl create mode 100644 emacs.d/nxhtml/tests/in/heredoc.py create mode 100644 emacs.d/nxhtml/tests/in/heredoc.rb create mode 100644 emacs.d/nxhtml/tests/in/heredoc.sh create mode 100644 emacs.d/nxhtml/tests/in/hg-2008-03-22-ajax.xhtml create mode 100644 emacs.d/nxhtml/tests/in/hq-070510-test.php create mode 100644 emacs.d/nxhtml/tests/in/hq-070510-test.php.html create mode 100644 emacs.d/nxhtml/tests/in/hq-070524-bug.php create mode 100644 emacs.d/nxhtml/tests/in/hq-071006-index.php create mode 100644 emacs.d/nxhtml/tests/in/html-syntactic-err-l164.html create mode 100644 emacs.d/nxhtml/tests/in/ind-0-error.php create mode 100644 emacs.d/nxhtml/tests/in/indent-bug-html-mode.html create mode 100644 emacs.d/nxhtml/tests/in/java.java create mode 100644 emacs.d/nxhtml/tests/in/jcl-080802-index.html.erb create mode 100644 emacs.d/nxhtml/tests/in/jcl-080802-messages_controller.rb create mode 100644 emacs.d/nxhtml/tests/in/jj-081226.html create mode 100644 emacs.d/nxhtml/tests/in/josh-091115-cancer_summary.xsl create mode 100644 emacs.d/nxhtml/tests/in/jump-parse.html create mode 100644 emacs.d/nxhtml/tests/in/jump-parse.rhtml create mode 100644 emacs.d/nxhtml/tests/in/kp-080604.php create mode 100644 emacs.d/nxhtml/tests/in/kubica-080516-freezing-1.html create mode 100644 emacs.d/nxhtml/tests/in/kubica-080516-freezing-2.html create mode 100644 emacs.d/nxhtml/tests/in/kubica-080516-freezing-2j.html create mode 100644 emacs.d/nxhtml/tests/in/kubica-080516-freezing-3.html create mode 100644 emacs.d/nxhtml/tests/in/kubica-080516-freezing-4.html create mode 100644 emacs.d/nxhtml/tests/in/kubica-080516-freezing-5.html create mode 100644 emacs.d/nxhtml/tests/in/kubica-080516-freezing-6.html create mode 100644 emacs.d/nxhtml/tests/in/kubica-080516-freezing-7.html create mode 100644 emacs.d/nxhtml/tests/in/kubica-080516-freezing-8.html create mode 100644 emacs.d/nxhtml/tests/in/kubica-080516-freezing-9.html create mode 100644 emacs.d/nxhtml/tests/in/kubica-080516-freezing-a-notabs.html create mode 100644 emacs.d/nxhtml/tests/in/kubica-080516-freezing-a.html create mode 100644 emacs.d/nxhtml/tests/in/kubica-080516-freezing-b.html create mode 100644 emacs.d/nxhtml/tests/in/kubica-080516-freezing-c.html create mode 100644 emacs.d/nxhtml/tests/in/kubica-080516-freezing-d.html create mode 100644 emacs.d/nxhtml/tests/in/kubica-080516-freezing-e.html create mode 100644 emacs.d/nxhtml/tests/in/kubica-080516-freezing-f.html create mode 100644 emacs.d/nxhtml/tests/in/kubica-080516-freezing-g.html create mode 100644 emacs.d/nxhtml/tests/in/kubica-080516-freezing-h.html create mode 100644 emacs.d/nxhtml/tests/in/kubica-080516-freezing-i.html create mode 100644 emacs.d/nxhtml/tests/in/kubica-080516-freezing-j.html create mode 100644 emacs.d/nxhtml/tests/in/kubica-080516-freezing-k.html create mode 100644 emacs.d/nxhtml/tests/in/kubica-080516-freezing.css create mode 100644 emacs.d/nxhtml/tests/in/kubica-080516-freezing.html create mode 100644 emacs.d/nxhtml/tests/in/kubica-080516-freezing.txt create mode 100644 emacs.d/nxhtml/tests/in/kwalo-080930.php create mode 100644 emacs.d/nxhtml/tests/in/latex-clojre-mumamo-test.lclj create mode 100644 emacs.d/nxhtml/tests/in/lg-080813-div.html create mode 100644 emacs.d/nxhtml/tests/in/lg-080813-label.html create mode 100644 emacs.d/nxhtml/tests/in/long-lines.txt create mode 100644 emacs.d/nxhtml/tests/in/markdown.markdown create mode 100644 emacs.d/nxhtml/tests/in/mason.mason create mode 100644 emacs.d/nxhtml/tests/in/menu-err.txt create mode 100644 emacs.d/nxhtml/tests/in/mjt-feed.html create mode 100644 emacs.d/nxhtml/tests/in/mjt-imagesearch.html create mode 100644 emacs.d/nxhtml/tests/in/mjt-minimal.html create mode 100644 emacs.d/nxhtml/tests/in/mumamo-and-org.org create mode 100644 emacs.d/nxhtml/tests/in/mumamo-and-org.org.mm create mode 100644 emacs.d/nxhtml/tests/in/ng-080309-read-url.html create mode 100644 emacs.d/nxhtml/tests/in/no-php-end-2.php create mode 100644 emacs.d/nxhtml/tests/in/no-php-end-2.php-log.txt create mode 100644 emacs.d/nxhtml/tests/in/no-php-end-2.php-log2.txt create mode 100644 emacs.d/nxhtml/tests/in/no-php-end-3.php create mode 100644 emacs.d/nxhtml/tests/in/no-php-end-4.php create mode 100644 emacs.d/nxhtml/tests/in/no-php-end.php create mode 100644 emacs.d/nxhtml/tests/in/nojump-parse.html create mode 100644 emacs.d/nxhtml/tests/in/noweb1.now create mode 100644 emacs.d/nxhtml/tests/in/nutshell.mako create mode 100644 emacs.d/nxhtml/tests/in/nxml-bug.html create mode 100644 emacs.d/nxhtml/tests/in/nxml-indent-2.html create mode 100644 emacs.d/nxhtml/tests/in/nxml-indent-3.html create mode 100644 emacs.d/nxhtml/tests/in/nxml-indent-noerr1.html create mode 100644 emacs.d/nxhtml/tests/in/nxml-indent.el create mode 100644 emacs.d/nxhtml/tests/in/nxml-indent.html create mode 100644 emacs.d/nxhtml/tests/in/only-html.html create mode 100644 emacs.d/nxhtml/tests/in/only-php.php create mode 100644 emacs.d/nxhtml/tests/in/pavel-071116.djhtml create mode 100644 emacs.d/nxhtml/tests/in/php-parseable.php create mode 100644 emacs.d/nxhtml/tests/in/question43320.html create mode 100644 emacs.d/nxhtml/tests/in/question44504-folding.html create mode 100644 emacs.d/nxhtml/tests/in/question49234.sh create mode 100644 emacs.d/nxhtml/tests/in/rgr-030809-indexbody.php create mode 100644 emacs.d/nxhtml/tests/in/rgr-080307.php create mode 100644 emacs.d/nxhtml/tests/in/rgr-080308-header-2.php create mode 100644 emacs.d/nxhtml/tests/in/rgr-080308-header.php create mode 100644 emacs.d/nxhtml/tests/in/rgr-080308-indexbody.php create mode 100644 emacs.d/nxhtml/tests/in/rr-090524-header.php create mode 100644 emacs.d/nxhtml/tests/in/rr-090923-header.php create mode 100644 emacs.d/nxhtml/tests/in/rr-address-090304.php create mode 100644 emacs.d/nxhtml/tests/in/rr-address-nxhtml.err create mode 100644 emacs.d/nxhtml/tests/in/rr-min8.php create mode 100644 emacs.d/nxhtml/tests/in/ryan-091104-literal.tpl create mode 100644 emacs.d/nxhtml/tests/in/ryan-091111-wrong-side.tpl create mode 100644 emacs.d/nxhtml/tests/in/schemas.xml create mode 100644 emacs.d/nxhtml/tests/in/sd-080803-test.php create mode 100644 emacs.d/nxhtml/tests/in/senny-091118.htm create mode 100644 emacs.d/nxhtml/tests/in/sheit-2007-12-26.php create mode 100644 emacs.d/nxhtml/tests/in/short-tags.php create mode 100644 emacs.d/nxhtml/tests/in/single-question-sign.html create mode 100644 emacs.d/nxhtml/tests/in/ssjs.ssjs create mode 100644 emacs.d/nxhtml/tests/in/string-bug.php create mode 100644 emacs.d/nxhtml/tests/in/style=.html create mode 100644 emacs.d/nxhtml/tests/in/style=string-font.html create mode 100644 emacs.d/nxhtml/tests/in/svg.svg create mode 100644 emacs.d/nxhtml/tests/in/temp2.php create mode 100644 emacs.d/nxhtml/tests/in/temp3.html create mode 100644 emacs.d/nxhtml/tests/in/test-only-nxml.my-xhtml create mode 100644 emacs.d/nxhtml/tests/in/test.tt create mode 100644 emacs.d/nxhtml/tests/in/tut1.jsp create mode 100644 emacs.d/nxhtml/tests/in/utf8-problem.el create mode 100644 emacs.d/nxhtml/tests/in/wiki-080606-indent.php create mode 100644 emacs.d/nxhtml/tests/in/wiki-080708-ind-problem.rhtml create mode 100644 emacs.d/nxhtml/tests/in/wiki-090804-js.html create mode 100644 emacs.d/nxhtml/tests/in/wiki-2008-01-30.rhtml create mode 100644 emacs.d/nxhtml/tests/in/wiki-comments.php create mode 100644 emacs.d/nxhtml/tests/in/wiki-strange-hili-080629.html create mode 100644 emacs.d/nxhtml/tests/in/xml-as-string.php create mode 100644 emacs.d/nxhtml/tests/in/ygne-2008-02-07-hotproperty.html.php create mode 100644 emacs.d/nxhtml/tests/in/zero-pi.html create mode 100644 emacs.d/nxhtml/tests/in/zn-090529-doxysample.php (limited to 'emacs.d/nxhtml/tests/in') diff --git a/emacs.d/nxhtml/tests/in/3-heights.html b/emacs.d/nxhtml/tests/in/3-heights.html new file mode 100644 index 0000000..339b5c2 --- /dev/null +++ b/emacs.d/nxhtml/tests/in/3-heights.html @@ -0,0 +1,42 @@ + + + +
+ajsha ahsahsjhaj sahsja+ + + diff --git a/emacs.d/nxhtml/tests/in/400415-index.phtml b/emacs.d/nxhtml/tests/in/400415-index.phtml new file mode 100644 index 0000000..de950e7 --- /dev/null +++ b/emacs.d/nxhtml/tests/in/400415-index.phtml @@ -0,0 +1,43 @@ +
Activity | + +, style accordingly. + ?> + |
---|
= $link_text ?> | + +
+ I want to thanks the testers (who have been many now), + especially to my first testers Hadron Quark and Eric + Lilja, for helping me by testing and pointing out bugs + and weaknesses, most of them related to editing of PHP. +
++ Without testers all kind of problems I just can't + imagine myself would still be there in nXhtml. For + example Hadron told me once that he got the error + (wrong-type-argument stringp nil). Eh, I replied, are + you sure. Yes he was. I tried the same file as him. No + error. +
++ The error happened during fontification so the error + message above was all we had. A real black box for + me. Or perhaps black magic? After much confusion and + some hard work we finally found out what it was and I + implemented a better way to catch such errors. If Hadron + would have given up the problem would still have been + there. Some problems are just impossible to solve + without good cooperation. So, again, thanks Hadron. +
++ BTW, I will perhaps add some even better way to Emacs to + catch these errors so other can benefit from our + insights too, but that requires some time and effort + which I can't afford right now. +
++ I wrote earlier that I thought that there were two parts + in nXhtml, nxhtml-mode and mumamo with a bit different + degree of maturity. I believe that is not that valid + any more. To my delight the second part, mumamo is now + also quite stable (from version 1.27). +
++ Sometimes the major mode that Emacs opens a file in is + not what you expect. This can happen with files like PHP + files. The reason might be that magic-mode-alist have + choosen a mode based on the content of the file. The way + this is done does not take files with mixes a mix of for + example XHTML and PHP into account. +
++ You may try setting magic-mode-alist to nil if this is a + problem for you. +
++ + This is now no longer necessary since the introduction + of magic-fallback-mode-alist in CVS Emacs on 2007-05-16. + (If you have an Emacs newer than that, of course.) + +
++ Because of a bug in Emacs 22.1 you can sometimes (at the + end of a line) get long red lines instead of just a + single underlined character. Many users (me included) + find this quite a bit disturbing. I have therefore added + a command to quickly hide/show the underlines. This is + on C-c C-w. +
++ This is particular useful for example in the case where + you edit a PHP file and are bound to get a lot of XHTML + validation errors. +
++ If you want to have attribute values computed by PHP + here is a way how to structure that to avoid breaking + completion and validation in the XHTML part unnessecary: +
++ <img src="images/linux.png" title="<?php foo("bar");?>"/> +
++ Unfortunately that still breaks XHTML validation since + < is not allowed in strings. In the long run I + believe the XML validator has to be broken up so that it + avoids parsing the string here (in PHP files). +
++ For now I have implemented a workaround. + If you are using constructs like those above then turn on nxhtml-strval-mode. + This will temporarily replace the above with +
++ <img src="images/linux.png" title="«?php foo("bar");?»"/> +
++ However on the screen you will still see the original + string and when writing to file the correct characters + will be used. +
++ The rules for a process instruction in XML, like <?php + ... ?> says that the text can contain any text except + ?>. So if you want to output that string + from PHP then break it up so it does not look as ?> in + the source file. +
++ It might be good to break up the beginning part of the + process instructions too. And please note that to use + XHTML validation or completion you should avoid using + < in strings, since it is not allowed there. +
++ Do you have tab-width to something different than 8 + (the default)? Then please change this to 8. I have got + reports of problem with indentation when it is not 8. +
++ Some people have asked why the way to specify chunks in + mumamo-mode is not compatible with the old mmm-mode. The + answer is that I was not sure that the way used in + mmm-mode for specifying the chunks was flexible enough. +
++ And I am sure that even the way used in mumamo-mode is + not good enough for all cases, but I let it be the way + it is until I have a better understanding of the + problem. Suggestions and comments are welcome! +
++ You are not supposed to call mumamo-mode + yourself any more and mumamo-global-mode is + gone. So is also mumamo-chunk-family-by-mode and + mumamo-filenames-list. The functionality those + gave are all replaced by the new functions for + turning on mumamo mode. +
++ This will of course case some problems if you do not + notice it when you upgrade nXhtml. If you are using + EmacsW32 and upgrade nXhtml you should change the + file emacsw32.el. +
++ The reason for this change is that nXml will soon + normally not be part of nXhtml so keeping the old + top directory name would be confusing. +
++ + Click me! +
diff --git a/emacs.d/nxhtml/tests/in/bug-311641.php b/emacs.d/nxhtml/tests/in/bug-311641.php new file mode 100644 index 0000000..96109ba --- /dev/null +++ b/emacs.d/nxhtml/tests/in/bug-311641.php @@ -0,0 +1,7 @@ + + +try { +} catch (PDOException $e) { + } + +?> \ No newline at end of file diff --git a/emacs.d/nxhtml/tests/in/bug-373106-flipbook.html b/emacs.d/nxhtml/tests/in/bug-373106-flipbook.html new file mode 100644 index 0000000..658d391 --- /dev/null +++ b/emacs.d/nxhtml/tests/in/bug-373106-flipbook.html @@ -0,0 +1,160 @@ + + + + +Usage: gesture left/right to change images, up/down to zoom in/out
+The flipbook uses a number of libs:
++
' . $exception->getTraceAsString() . '
+ +
+ + diff --git a/emacs.d/nxhtml/tests/in/bug381979-2-bad-traceb.txt b/emacs.d/nxhtml/tests/in/bug381979-2-bad-traceb.txt new file mode 100644 index 0000000..514b00a --- /dev/null +++ b/emacs.d/nxhtml/tests/in/bug381979-2-bad-traceb.txt @@ -0,0 +1,24 @@ +Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) + <(1 nil) + (and mumamo-last-new-chunk first-check-from (< first-check-from (overlay-end mumamo-last-new-chunk))) + (if (and mumamo-last-new-chunk first-check-from (< first-check-from ...)) (progn (setq mumamo-last-new-chunk ...))) + (when (and mumamo-last-new-chunk first-check-from (< first-check-from ...)) (setq mumamo-last-new-chunk (overlay-get mumamo-last-new-chunk ...))) + (progn (setq mumamo-last-new-chunk (overlay-get new-chunk-at-change-min ...)) (when (and mumamo-last-new-chunk first-check-from ...) (setq mumamo-last-new-chunk ...))) + (if new-chunk-at-change-min (progn (setq mumamo-last-new-chunk ...) (when ... ...))) + (when new-chunk-at-change-min (setq mumamo-last-new-chunk (overlay-get new-chunk-at-change-min ...)) (when (and mumamo-last-new-chunk first-check-from ...) (setq mumamo-last-new-chunk ...))) + (progn (when new-chunk-at-change-min (setq mumamo-last-new-chunk ...) (when ... ...))) + (if (mumamo-make-new-chunks) (progn (when new-chunk-at-change-min ... ...))) + (when (mumamo-make-new-chunks) (when new-chunk-at-change-min (setq mumamo-last-new-chunk ...) (when ... ...))) + (progn (when (mumamo-make-new-chunks) (when new-chunk-at-change-min ... ...)) (setq mumamo-last-chunk-change-pos nil)) + (if mumamo-last-chunk-change-pos (progn (when ... ...) (setq mumamo-last-chunk-change-pos nil))) + (when mumamo-last-chunk-change-pos (when (mumamo-make-new-chunks) (when new-chunk-at-change-min ... ...)) (setq mumamo-last-chunk-change-pos nil)) + (let* ((change-min ...) (change-max ...) (new-chunk-at-change-min ...) (new-chunk-at-change-min-start ...) (this-new-syntax-min-max ...) (this-new-syntax-min ...) (in-new-min-border ...) (here ...) (first-check-from ...)) (when mumamo-last-chunk-change-pos (when ... ...) (setq mumamo-last-chunk-change-pos nil)) (let* (... ... ... ... narpos this-new-values this-new-chunk prev-new-chunk first-change-pos interrupted ... ... ... ... ...) (when ... ...) (unless this-new-chunk ...) (setq mumamo-find-chunks-level ...) (when this-new-chunk ... ...) (when end-param ...))) + (save-restriction (widen) (let* (... ... ... ... ... ... ... ... ...) (when mumamo-last-chunk-change-pos ... ...) (let* ... ... ... ... ... ...))) + mumamo-find-chunks(1 "mumamo-set-major-post-command") + (let* ((ovl ...) (major ...) (in-pre-hook ...)) (if (not major) (lwarn ... :error "major=%s" major) (unless ... ...))) + mumamo-set-major-post-command() + (if font-lock-mode (mumamo-set-major-post-command)) + mumamo-post-command-1() + eval((mumamo-post-command-1)) + eval-expression((mumamo-post-command-1) nil) + call-interactively(eval-expression nil nil) diff --git a/emacs.d/nxhtml/tests/in/bug381979-2.php b/emacs.d/nxhtml/tests/in/bug381979-2.php new file mode 100644 index 0000000..fc543c5 --- /dev/null +++ b/emacs.d/nxhtml/tests/in/bug381979-2.php @@ -0,0 +1,6 @@ + 'bar', + 'gaz' => 'gazonk', +); +?> \ No newline at end of file diff --git a/emacs.d/nxhtml/tests/in/bug381979-svnlib.inc b/emacs.d/nxhtml/tests/in/bug381979-svnlib.inc new file mode 100644 index 0000000..6fc755b --- /dev/null +++ b/emacs.d/nxhtml/tests/in/bug381979-svnlib.inc @@ -0,0 +1,744 @@ + $username, 'password' => $password) + ); +} + +/** + * Unset any username and password that was previously passed + * to subversion_set_authentication_info(), so that subsequent repository + * access will happen anonymously again. + */ +function svnlib_unset_authentication_info() { + _svnlib_authentication_info(FALSE); +} + +/** + * Append the option for our custom config dir to a $cmd array, + * and also username and password if those have been set before. + */ +function _svnlib_add_common_options(&$cmd) { + $auth_info = _svnlib_authentication_info(); + if (isset($auth_info)) { + $cmd = array_merge($cmd, array( + '--username', escapeshellarg($auth_info['username']), + '--password', escapeshellarg($auth_info['password']), + )); + } + $cmd[] = '--config-dir '. escapeshellarg(dirname(__FILE__) .'/configdir'); +} + +/** + * Write or retrieve the authentication info state, stored in a static variable. + * + * @param $info + * NULL to retrieve the info, FALSE to unset it, or an array with array keys + * 'username' and 'password' to remember it for later retrieval. + */ +function _svnlib_authentication_info($info = NULL) { + static $auth_info = NULL; + + if (!isset($info)) { + return $auth_info; + } + else { + $auth_info = ($info === FALSE) ? NULL : $info; + return $auth_info; + } +} + +/** + * By default, Subversion will be invoked with the 'svn' binary which is + * alright as long as the binary is in the PATH. If it's not, you can call + * this function to set a different path to the binary (which will be used + * until this process finishes, or until a new path is set). + */ +function svnlib_set_svn_binary($svn_binary) { + _svnlib_svn_binary($svn_binary); +} + +/** + * Write or retrieve the path of the svn binary, stored in a static variable. + * + * @param $svn_binary + * NULL to retrieve the info, or the path to the binary to remember it + * for later retrieval. + */ +function _svnlib_svn_binary($svn_binary = NULL) { + static $binary = 'svn'; + + if (!isset($svn_binary)) { + return $binary; + } + $binary = $svn_binary; + return $binary; +} + +/** + * Retrieve the version of the svn binary, and return an array with the keys + * 'major', 'minor' and 'patch', each containing the integer for the respective + * part of the version number. If invoking the SVN executable fails, an empty + * array is returned. + */ +function svnlib_version() { + static $version; + + if (isset($version)) { + return $version; + } + $return_code = 0; + exec(_svnlib_svn_binary() .' --version', $output, $return_code); + + if ($return_code != 0) { + $version = array(); + return $version; + } + $line = reset($output); // The first line contains the version number. + + if (!preg_match('/\b([\d]+)\.([\d]+)(?:\.([\d]+))?/', $line, $matches)) { + $version = array(); + return $version; + } + $version = array( + 'major' => (int) $matches[1], + 'minor' => (int) $matches[2], + 'patch' => empty($matches[3]) ? 0 : (int) $matches[3], + ); + return $version; +} + +/** + * Append an appropriate output pipe to a $cmd array, which causes STDERR + * to be written to a random file. + * + * @return + * An array with the temporary files that will be created when $cmd + * is executed. In its current form, the return array only contains + * the filename for STDERR output as 'stderr' array element. + */ +function _svnlib_add_output_pipes(&$cmd) { + $tempdir = file_directory_temp(); + $tempfiles = array( + 'stderr' => $tempdir .'/drupal_versioncontrol_svn.stderr.'. mt_rand() .'.txt', + ); + $cmd[] = '2> '. $tempfiles['stderr']; + return $tempfiles; +} + +/** + * Delete temporary files that have been created by a command which included + * output pipes from _svnlib_add_output_pipes(). + */ +function _svnlib_delete_temporary_files($tempfiles) { + @unlink($tempfiles['stderr']); +} + +/** + * Read the STDERR output for a command that was executed. + * The output must have been written to a temporary file which was given + * by _svnlib_add_output_pipes(). The temporary file is deleted after it + * has been read. After calling the function, the error message can be + * retrieved by calling svnlib_last_error_message() or discarded by calling + * svnlib_unset_error_message(). + */ +function _svnlib_set_error_message($tempfiles) { + _svnlib_error_message(file_get_contents($tempfiles['stderr'])); + @unlink($tempfiles['stderr']); +} + +/** + * Retrieve the STDERR output from the last invocation of 'svn' that exited + * with a non-zero status code. After fetching the error message, it will be + * unset again until a subsequent 'svn' invocation fails as well. If no message + * is set, this function returns NULL. + * + * For better security, it is advisable to run the returned error message + * through check_plain() or similar string checker functions. + */ +function svnlib_last_error_message() { + $message = _svnlib_error_message(); + _svnlib_error_message(FALSE); + return $message; +} + +/** + * Write or retrieve an error message, stored in a static variable. + * + * @param $info + * NULL to retrieve the message, FALSE to unset it, or a string containing + * the new message to remember it for later retrieval. + */ +function _svnlib_error_message($message = NULL) { + static $error_message = NULL; + + if (!isset($message)) { + return $error_message; + } + else { + $error_message = ($message === FALSE) ? NULL : $message; + return $error_message; + } +} + +/** + * Return commit log messages of a repository URL. This function is equivalent + * to 'svn log -v -r $revision_range $repository_url'. + * + * @param $repository_url + * The URL of the repository (e.g. 'file:///svnroot/my-repo') or an item + * inside that repository (e.g. 'file:///svnroot/my-repo/subdir/hello.php'). + * @param $revision_range + * The revision specification that will be passed to 'svn log' as the + * '-r' parameter. Examples: '35' for a specific revision, 'HEAD:35' for all + * revisions since (and including) r35, or the default parameter 'HEAD:1' + * for all revisions of the given URL. If you specify the more recent + * revision first (e.g. 'HEAD:1') then it will also be first in the + * result array, whereas if you specify the older revision first ('1:HEAD') + * then you'll get a result array with an ascending sort, the most + * recent revision being the last array element. + * @param $url_revision + * The revision of the URL that should be listed. + * This needs to be a single revision, e.g. '35' or 'HEAD'. + * For example, if a file was deleted in revision 36, you need to pass '35' + * as parameter to get its log, otherwise Subversion won't find the file. + * + * @return + * An array of detailed information about the revisions that exist + * in the given URL at the specified revision or revision range. + * Each revision detail array has the revision number as array key. + * If the 'svn log' invocation exited with an error, this function + * returns NULL and the error message can be retrieved by calling + * svnlib_last_error_message(). + */ +function svnlib_log($repository_url, $revision_range = 'HEAD:1', $url_revision = 'HEAD') { + $cmd = array( + escapeshellarg(escapeshellcmd(_svnlib_svn_binary())), + 'log', + '-r', $revision_range, + '--non-interactive', + '--xml', + '-v', + ); + _svnlib_add_common_options($cmd); + $cmd[] = escapeshellarg($repository_url .'@'. $url_revision); + $tempfiles = _svnlib_add_output_pipes($cmd); + + $return_code = 0; + exec(implode(' ', $cmd), $output, $return_code); + if ($return_code != 0) { + _svnlib_set_error_message($tempfiles); + return NULL; // no such revision(s) found + } + $log = implode("\n", $output); + _svnlib_delete_temporary_files($tempfiles); + + return _svnlib_parse_log($log); +} + +/* + * Parse the output of 'svn log' into an array of log entries. + * The output looks something like this (0 to N possible "logentry" elements): + +
+ <%= f.label :title %>
+<% a = f.text_field :title %>
+
+ <%= f.label :body %>
+<%#= f.text_area :body %>
+
+ <%= f.submit 'Create' %> +
+<% end %> + +<%= link_to 'Back', posts_path %> diff --git a/emacs.d/nxhtml/tests/in/bug400415-foo.php b/emacs.d/nxhtml/tests/in/bug400415-foo.php new file mode 100644 index 0000000..8e40934 --- /dev/null +++ b/emacs.d/nxhtml/tests/in/bug400415-foo.php @@ -0,0 +1,9 @@ + + + + +Speak not the dread words of $incantation +lest ye invoke the $god.
+ +END_HTML + +print $skull, "\n"; +print $phfftp, "\n"; + +__END__ + +=head1 NAME + +heredoc_demo.pl - (( TODO insert brief description )) + +=head1 SYNOPSIS + + heredoc_demo.pl -[options] [arguments] + + Options: + -d debug + +=head1 OPTIONS + +=over 8 + +=item B<-d> + +Turn on debug messages. + +=back + +=head1 DESCRIPTION + +B<%= label_tag(t('views.common.username')) %>
+<%= text_field_tag 'login', @login %>
<%= label_tag(t('views.common.password')) %>
+<%= password_field_tag 'password', nil %>
<%= submit_tag(t('views.common.login_verb')) %>
+<% end -%> diff --git a/emacs.d/nxhtml/tests/in/bug505726-foo.html b/emacs.d/nxhtml/tests/in/bug505726-foo.html new file mode 100644 index 0000000..c738117 --- /dev/null +++ b/emacs.d/nxhtml/tests/in/bug505726-foo.html @@ -0,0 +1,10 @@ + + + + + + + + + diff --git a/emacs.d/nxhtml/tests/in/bug509586.ghtml b/emacs.d/nxhtml/tests/in/bug509586.ghtml new file mode 100644 index 0000000..275fd21 --- /dev/null +++ b/emacs.d/nxhtml/tests/in/bug509586.ghtml @@ -0,0 +1,16 @@ + + + +Here are the athletes: {{ athlete_list }}.
+{% else %} +No athletes are available.
+ {% if coach_list %} +Here are the coaches: {{ coach_list }}.
+ {% endif %} +{% endif %} +{% block content %} + + {% if morning %} +Hello World!
+ {% else %} +Goodbye World!
+ {% endif %} + + {% endblock %} diff --git a/emacs.d/nxhtml/tests/in/bug546027.html b/emacs.d/nxhtml/tests/in/bug546027.html new file mode 100644 index 0000000..f0c0eac --- /dev/null +++ b/emacs.d/nxhtml/tests/in/bug546027.html @@ -0,0 +1,17 @@ + + + + ++ Some text to wrap. + Some text to wrap. + Some text to wrap. + Some text to wrap. + Some text to wrap. + Some text to wrap. + Some text to wrap. + + Some text to wrap. + Some text to wrap. + Some text to wrap. + Some text to wrap. + Some text to wrap. + Some text to wrap. + Some text to wrap. +
diff --git a/emacs.d/nxhtml/tests/in/bug556832-error-test.py b/emacs.d/nxhtml/tests/in/bug556832-error-test.py new file mode 100644 index 0000000..e998eda --- /dev/null +++ b/emacs.d/nxhtml/tests/in/bug556832-error-test.py @@ -0,0 +1,23 @@ +# -*- Python -*- + + +""" +=============== +This is a title +=============== + +This is some general description +""" + + +class SomeClass(object): + """ + This is a class description. + """ + + def __init__(self, fileName): + """The constructor.""" + pass + + def oneMethod(): + pass diff --git a/emacs.d/nxhtml/tests/in/bug557700-2.erb b/emacs.d/nxhtml/tests/in/bug557700-2.erb new file mode 100644 index 0000000..c05eec3 --- /dev/null +++ b/emacs.d/nxhtml/tests/in/bug557700-2.erb @@ -0,0 +1,5 @@ +var x = 1; +<% @ruby_var.each do |v| %> + alert(v); + <% end %> + var y = 2; diff --git a/emacs.d/nxhtml/tests/in/bug557700-3.erb b/emacs.d/nxhtml/tests/in/bug557700-3.erb new file mode 100644 index 0000000..13d57d8 --- /dev/null +++ b/emacs.d/nxhtml/tests/in/bug557700-3.erb @@ -0,0 +1,3 @@ +var x = 1; +var y = <%= v %>; + var z = 4; diff --git a/emacs.d/nxhtml/tests/in/bug557700-4.erb b/emacs.d/nxhtml/tests/in/bug557700-4.erb new file mode 100644 index 0000000..148e9b4 --- /dev/null +++ b/emacs.d/nxhtml/tests/in/bug557700-4.erb @@ -0,0 +1,11 @@ +var x = 1; +for (i in l) { +alert(i); +} +<% var.each do |v| %> +alert(<%= v %>); +<% end %> +var z = 4; +for (i in l) { +alert(i); +} diff --git a/emacs.d/nxhtml/tests/in/bug557700-5.erb b/emacs.d/nxhtml/tests/in/bug557700-5.erb new file mode 100644 index 0000000..cfabef7 --- /dev/null +++ b/emacs.d/nxhtml/tests/in/bug557700-5.erb @@ -0,0 +1,4 @@ +<% if true %> +alert(<%= v %>); +alert(<%= w %>); +<% end %> diff --git a/emacs.d/nxhtml/tests/in/bug557700-6.erb b/emacs.d/nxhtml/tests/in/bug557700-6.erb new file mode 100644 index 0000000..453f3e0 --- /dev/null +++ b/emacs.d/nxhtml/tests/in/bug557700-6.erb @@ -0,0 +1,11 @@ +var x = "<%= x %>"; +var y = 5; + +Second line is treated as if it was a string. + +Problem with multiple lines inside ruby if: + +<% if b %> + var x = 1; +alert(1); +<% end %> diff --git a/emacs.d/nxhtml/tests/in/bug557700.erb b/emacs.d/nxhtml/tests/in/bug557700.erb new file mode 100644 index 0000000..e15c22e --- /dev/null +++ b/emacs.d/nxhtml/tests/in/bug557700.erb @@ -0,0 +1,3 @@ +var x = 1; +<%= ruby_code %> + var z = 3; diff --git a/emacs.d/nxhtml/tests/in/bug559772-TextHelper.php b/emacs.d/nxhtml/tests/in/bug559772-TextHelper.php new file mode 100644 index 0000000..0d3bffb --- /dev/null +++ b/emacs.d/nxhtml/tests/in/bug559772-TextHelper.php @@ -0,0 +1,205 @@ + + * (c) 2004 David Heinemeier Hansson + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +/** + * TextHelper. + * + * @package symfony + * @subpackage helper + * @author Fabien Potencier", // turn two newlines into paragraph
+ "/([^\n])\n([^\n])/" => "\\1\n
\\2")); // turn single newline into
+
+ return '
'.$text.'
'; // wrap the first and last line in paragraphs before we're done +} + +/** + * Turns all urls and email addresses into clickable links. The +link+ parameter can limit what should be linked. + * Options are :all (default), :email_addresses, and :urls. + * + * Example: + * auto_link("Go to http://www.symfony-project.com and say hello to fabien.potencier@example.com") => + * Go to http://www.symfony-project.com and + * say hello to fabien.potencier@example.com + */ +function auto_link_text($text, $link = 'all', $href_options = array()) +{ + if ($link == 'all') + { + return _auto_link_urls(_auto_link_email_addresses($text), $href_options); + } + else if ($link == 'email_addresses') + { + return _auto_link_email_addresses($text); + } + else if ($link == 'urls') + { + return _auto_link_urls($text, $href_options); + } +} + +/* + * Turns all links into words, like "else" to "else". + */ +function strip_links_text($text) +{ + return preg_replace('/+
+ ![]() |
+ + | + + Dept. of Computer and + Information Science, Linköping + University | +
+ + + + + + + + + + + + |
+ + |
+
+
+
+
+
+
+ ![]() TDDB64 Web Programming and InteractivityThis + course covers an overview of WWW, HTML, basic Java programming, and + advanced Java programming. The course consists of a number of + lectures, programming assignments, and a programming + project, where the students practice advanced Java and WWW + implementation techniques. + + + + + + + |
+ I want to thanks the testers, especially Hadron Quark + and Eric Lilja, for helping me by testing and pointing + out bugs and weaknesses, most related to editing of PHP. +
++ It is quite a big job trying to get rid of smaller annoying bugs and bigger ones. + In my mailbox folder for nXhtml I have more than 500 old messages currently. +
++ I have more and more come to realize that there are two + main parts of nXhtml which are in quite different + degrees of maturity. The reason for the difference is + mainly that one of them, mumamo-mode, requires + very tight integration with Emacs in a way that + currently is not completely possible. Some things must + be changed in Emacs for this. There are also things to + discover in the interactions with other minor modes for + example. +
++ That said I still think mumamo-mode is mature enough for + serious use (though it sometimes conflicts with some other modules). +
++ The other part, nxhtml-mode, is more mature, + since it stands more by itself and since it builds on + the very stable nxml-mode. I would not say nxhtml-mode + is finished, but it is stable and useful. +
++ Sometimes the major mode that Emacs opens a file in is + not what you expect. This can happen with files like PHP + files. The reason might be that magic-mode-alist have + choosen a mode based on the content of the file. The way + this is done does not take files with mixes a mix of for + example XHTML and PHP into account. +
++ You may try setting magic-mode-alist to nil if this is a + problem for you. +
++ + This is now no longer necessary since the introduction + of magic-fallback-mode-alist in CVS Emacs on 2007-05-16. + (If you have an Emacs newer than that, of course.) + +
++ Because of a bug in Emacs 22.1 you can sometimes (at the + end of a line) get long red lines instead of just a + single underlined character. Many users (me included) + find this quite a bit disturbing. I have therefore added + a command to quickly hide/show the underlines. This is + on C-c C-w. +
++ This is particular useful for example in the case where + you edit a PHP file and are bound to get a lot of XHTML + validation errors. +
++ If you want to have attribute values computed by PHP + here is a way how to structure that to avoid breaking + completion and validation in the XHTML part unnessecary: +
++ <img src="images/linux.png" title="<?php foo("bar");?>"/> +
++ Unfortunately that still breaks XHTML validation since + < is not allowed in strings. In the long run I + believe the XML validator has to be broken up so that it + avoids parsing the string here (in PHP files). +
++ For now I have implemented a workaround. + If you are using constructs like those above then turn on nxhtml-strval-mode. + This will temporarily replace the above with +
++ <img src="images/linux.png" title="«?php foo("bar");?»"/> +
++ However on the screen you will still see the original + string and when writing to file the correct characters + will be used. +
++ The rules for a process instruction in XML, like <?php + ... ?> says that the text can contain any text except + ?>. So if you want to output that string + from PHP then break it up so it does not look as ?> in + the source file. +
++ It might be good to break up the beginning part of the + process instructions too. And please note that to use + XHTML validation or completion you should avoid using + < in strings, since it is not allowed there. +
++ Perl mode used with MuMaMo mode sometimes makes the + fontification slow for big files. I do not know the + reason, but I am trying to find a solution for this. If + you encounter this problem, just turn off mumamo-mode in + that buffer. +
++ Do you have tab-width to something different than 8 + (the default)? Then please change this to 8. I have got + reports of problem with indentation when it is not 8. +
++ Some people have asked why the way to specify chunks in + mumamo-mode is not compatible with the old mmm-mode. The + answer is that I was not sure that the way used in + mmm-mode for specifying the chunks was flexible enough. +
++ And I am sure that even the way used in mumamo-mode is + not good enough for all cases, but I let it be the way + it is until I have a better understanding of the + problem. Suggestions and comments are welcome! +
++ Because of some (fair) critique I have gotten about the way mode switching between php-mode and nxhtml-mode works + I have rewritten that part. + The new mode switching also includes embedded css, javascript, eRuby and JSP. +
++ I want to thanks Hadron Quark for helping me by testing + and pointing out bugs and weaknesses, most related to + editing of PHP. I have included fixes for many of them + in version 0.98 and more may follow. +
++ Because of some (fair) critique I have gotten about the way mode switching between php-mode and nxhtml-mode works + I have rewritten that part. + The new mode switching also includes embedded css, javascript, eRuby and JSP. +
++ I want to thanks Hadron Quark for helping me by testing + and pointing out bugs and weaknesses, most related to + editing of PHP. I have included fixes for many of them + in version 0.98 and more may follow. +
+These are some of my favorite fruits:
+$text
+ +HTML diff --git a/emacs.d/nxhtml/tests/in/heredoc.py b/emacs.d/nxhtml/tests/in/heredoc.py new file mode 100644 index 0000000..aaa847f --- /dev/null +++ b/emacs.d/nxhtml/tests/in/heredoc.py @@ -0,0 +1,11 @@ +sender = 'Buffy the Vampire Slayer' +recipient = 'Spike' + +print("""\ +Dear %(recipient)s, + +I wish you to leave Sunnydale and never return. + +Not Quite Love, +%(sender)s +""" % locals()) diff --git a/emacs.d/nxhtml/tests/in/heredoc.rb b/emacs.d/nxhtml/tests/in/heredoc.rb new file mode 100644 index 0000000..ab7b54f --- /dev/null +++ b/emacs.d/nxhtml/tests/in/heredoc.rb @@ -0,0 +1,8 @@ +now = Time.now +puts <<-EOF + It's #{now.hour} o'clock John, where are your kids? + EOF +now = Time.now +puts <+ +<?php +require_once("include/utils.php"); +?> + +<div class="linkcontainer"> +<?php +$_SESSION["linksfile"]="csv/links.csv"; +include("displaylinks.php"); +?> +</div> + + ++ + + diff --git a/emacs.d/nxhtml/tests/in/hq-070524-bug.php b/emacs.d/nxhtml/tests/in/hq-070524-bug.php new file mode 100644 index 0000000..24bd8e8 --- /dev/null +++ b/emacs.d/nxhtml/tests/in/hq-070524-bug.php @@ -0,0 +1,10 @@ + diff --git a/emacs.d/nxhtml/tests/in/hq-071006-index.php b/emacs.d/nxhtml/tests/in/hq-071006-index.php new file mode 100644 index 0000000..78b60e8 --- /dev/null +++ b/emacs.d/nxhtml/tests/in/hq-071006-index.php @@ -0,0 +1,38 @@ + + diff --git a/emacs.d/nxhtml/tests/in/html-syntactic-err-l164.html b/emacs.d/nxhtml/tests/in/html-syntactic-err-l164.html new file mode 100644 index 0000000..275ae67 --- /dev/null +++ b/emacs.d/nxhtml/tests/in/html-syntactic-err-l164.html @@ -0,0 +1,1474 @@ + + + + +
+ I want to thanks the testers (who have been many now), + especially to my first testers Hadron Quark and Eric + Lilja, for helping me by testing and pointing out bugs + and weaknesses, most of them related to editing of PHP. +
++ Without testers all kind of problems I just can't + imagine myself would still be there in nXhtml. For + example Hadron told me once that he got the error + (wrong-type-argument stringp nil). Eh, I replied, are + you sure. Yes he was. I tried the same file as him. No + error. +
++ The error happened during fontification so the error + message above was all we had. A real black box for + me. Or perhaps black magic? After much confusion and + some hard work we finally found out what it was and I + implemented a better way to catch such errors. If Hadron + would have given up the problem would still have been + there. Some problems are just impossible to solve + without good cooperation. So, again, thanks Hadron. +
++ BTW, I will perhaps add some even better way to Emacs to + catch these errors so other can benefit from our + insights too, but that requires some time and effort + which I can't afford right now. +
++ I have more and more come to realize that there are two + main parts of nXhtml which are in a bit different + degrees of maturity. The reason for the difference is + mainly that one of them, mumamo-mode, + requires very tight integration with Emacs in a way that + currently is difficult. There are also things to + discover, for example in the interactions with other + minor modes. Each minor mode actually have to be tested + with mumamo-mode. (Instruction for library authors are + in mumamo-mode.el) +
++ That said I still think mumamo-mode is + mature enough for serious use. At least the + fontification now works ok I believe. Other + parts that also depends on the major mode used, + like filling and indentation have some quirks. To + make those work more reliably in all cases a bit more + standardisation across different major modes is + needed. (It is perhaps possible to work around those + problems in mumamo-mode, but the long term benefits of + doing that are probably small.) +
++ The other part, nxhtml-mode, is more mature, + since it stands more by itself and since it builds on + the very stable nxml-mode. I would not say nxhtml-mode + is (ever) finished, but it is stable and useful. +
++ Sometimes the major mode that Emacs opens a file in is + not what you expect. This can happen with files like PHP + files. The reason might be that magic-mode-alist have + choosen a mode based on the content of the file. The way + this is done does not take files with mixes a mix of for + example XHTML and PHP into account. +
++ You may try setting magic-mode-alist to nil if this is a + problem for you. +
++ + This is now no longer necessary since the introduction + of magic-fallback-mode-alist in CVS Emacs on 2007-05-16. + (If you have an Emacs newer than that, of course.) + +
++ Because of a bug in Emacs 22.1 you can sometimes (at the + end of a line) get long red lines instead of just a + single underlined character. Many users (me included) + find this quite a bit disturbing. I have therefore added + a command to quickly hide/show the underlines. This is + on C-c C-w. +
++ This is particular useful for example in the case where + you edit a PHP file and are bound to get a lot of XHTML + validation errors. +
++ If you want to have attribute values computed by PHP + here is a way how to structure that to avoid breaking + completion and validation in the XHTML part unnessecary: +
++ <img src="images/linux.png" title="<?php foo("bar");?>"/> +
++ Unfortunately that still breaks XHTML validation since + < is not allowed in strings. In the long run I + believe the XML validator has to be broken up so that it + avoids parsing the string here (in PHP files). +
++ For now I have implemented a workaround. + If you are using constructs like those above then turn on nxhtml-strval-mode. + This will temporarily replace the above with +
++ <img src="images/linux.png" title="«?php foo("bar");?»"/> +
++ However on the screen you will still see the original + string and when writing to file the correct characters + will be used. +
++ The rules for a process instruction in XML, like <?php + ... ?> says that the text can contain any text except + ?>. So if you want to output that string + from PHP then break it up so it does not look as ?> in + the source file. +
++ It might be good to break up the beginning part of the + process instructions too. And please note that to use + XHTML validation or completion you should avoid using + < in strings, since it is not allowed there. +
++ Do you have tab-width to something different than 8 + (the default)? Then please change this to 8. I have got + reports of problem with indentation when it is not 8. +
++ Some people have asked why the way to specify chunks in + mumamo-mode is not compatible with the old mmm-mode. The + answer is that I was not sure that the way used in + mmm-mode for specifying the chunks was flexible enough. +
++ And I am sure that even the way used in mumamo-mode is + not good enough for all cases, but I let it be the way + it is until I have a better understanding of the + problem. Suggestions and comments are welcome! +
++ You are not supposed to call mumamo-mode + yourself any more and mumamo-global-mode is + gone. So is also mumamo-chunk-family-by-mode and + mumamo-filenames-list. The functionality those + gave are all replaced by the new functions for + turning on mumamo mode. +
++ Solo se muestran los ultimos 10 mensajes, aquà hay que añadir + paginación y ¿lógica?. +
+ diff --git a/emacs.d/nxhtml/tests/in/jcl-080802-messages_controller.rb b/emacs.d/nxhtml/tests/in/jcl-080802-messages_controller.rb new file mode 100644 index 0000000..6fb0555 --- /dev/null +++ b/emacs.d/nxhtml/tests/in/jcl-080802-messages_controller.rb @@ -0,0 +1,57 @@ +class MessagesController < BaseController + + before_filter :enable_chat + skip_before_filter :verify_authenticity_token + + # GET /messages + # GET /messages.xml + def index + @messages = ChatMessage.to_user(current_user).last_week.all + + respond_to do |format| + format.html # index.html.erb + format.xml { render :xml => @messages } + end + end + + # GET /messages/1 + # GET /messages/1.xml + def show + @message = ChatMessage.find(params[:id]) + + respond_to do |format| + format.html # show.html.erb + format.xml { render :xml => @message } + end + end + + # POST /messages + # POST /messages.xml + def create + @message = ChatMessage.new(:receiver_id => params[:receiver_id], + :message => params[:messageText], + :sender => current_user) + + if @message.save + send_message + end + + render :nothing => true + + end + + protected + + def send_message + formatted_message = render_to_string(:partial => "message_for_chat", :object => @message) + shooter_action_for_receiver = render_to_string :update do |page| + page.call "showMessage", @message.sender.to_param, formatted_message + end + shooter_action_for_sender = render_to_string :update do |page| + page.call "showMessage", @message.receiver.to_param, formatted_message + page.call "messageTextBox.reset" + end + Meteor.shoot 'futura-chat', shooter_action_for_sender, [@message.sender.login] + Meteor.shoot 'futura-chat', shooter_action_for_receiver, [@message.receiver.login] + end +end diff --git a/emacs.d/nxhtml/tests/in/jj-081226.html b/emacs.d/nxhtml/tests/in/jj-081226.html new file mode 100644 index 0000000..9599014 --- /dev/null +++ b/emacs.d/nxhtml/tests/in/jj-081226.html @@ -0,0 +1,26 @@ + ++ + Click me! +
+ diff --git a/emacs.d/nxhtml/tests/in/josh-091115-cancer_summary.xsl b/emacs.d/nxhtml/tests/in/josh-091115-cancer_summary.xsl new file mode 100644 index 0000000..043e9d2 --- /dev/null +++ b/emacs.d/nxhtml/tests/in/josh-091115-cancer_summary.xsl @@ -0,0 +1,490 @@ +
+ ![]() |
+
+
+ |
+
+ Clinical Data+
|
+
+ Sequencing Stats+
|
+
+
+
validation status | +chromosome | +start | +reference | +variant | +gene | +amino acid change | +trv type | +
---|---|---|---|---|---|---|---|
+ |
+ |||||||
None found. |
validation status | +chromosome | +start | +stop | +variant | +gene | +amino acid change | +trv type | +
---|---|---|---|---|---|---|---|
+ |
+
+ |
+ ||||||
None found. |
validation status | +chromosome | +start | +stop | +reference | +gene | +amino acid change | +trv type | +
---|---|---|---|---|---|---|---|
+ |
+
+ |
+ ||||||
None found. |
validation status | +chromosome | +position | ++ | chromosome | +position | +
---|---|---|---|---|---|
+ |
+
+ → | + +
+ |
+ |||
None found. |
validation status | +chromosome | +start | +stop | +size | +
---|---|---|---|---|
+ |
+
+ |
+ |||
None found. |
validation status | +chromosome | +start | +stop | +size | +
---|---|---|---|---|
+ |
+
+ |
+
+ |
+ ||
None found. |
Below is a html chunk
+ I have not idea of how to use this yet. +
+-- This is more about "Test of org and mumamo" --
Hm, header lines are broken, why?
-- This is more about "Some subnode" --
+ Söndag 2 Mars + Nybörjarintroduktion & + Jam med Karin R och Jenny + Kl. 19-21, 30 kr. + |
+
+ Söndagen 9 Mars + Blind fold jam - jam med + ögonbindel! + ... med Sofi och Tove. Kl 19-21, 30 kr + På ett blind fold jam dansar man med ögonen förbundna, + för att öka känsligheten, lyssnandet och samspelet. Det + är också ett sätt att försöka komma förbi + föreställningar man (medvetet eller omedvetet) har runt + vem man väljer att dansa med. Det blir i slutändan en + spegling till en själv om de val man gör på dansgolvet, + där kroppen denna gång får bestämma i stället för + huvudet. Vi inleder som vanligt med en introduktion. + Tag gärna med egen ögonbindel! + |
+
+ Söndagen 16 Mars + Introduktion och + jam + 19-21, 30 kr + |
+
+ Söndagen 23 Mars + Ingenting här för då är vi + på NIM i Köpenhamn! + + + |
+
+ Söndagen den 30:e + Kort introduktion och + Livejam!! + 19-21, 50 kr + |
+
+ Söndag 2 Mars + Nybörjarintroduktion & + Jam med Karin R och Jenny + Kl. 19-21, 30 kr. + |
+
+ Söndagen 9 Mars + Blind fold jam - jam med + ögonbindel! + ... med Sofi och Tove. Kl 19-21, 30 kr + På ett blind fold jam dansar man med ögonen förbundna, + för att öka känsligheten, lyssnandet och samspelet. Det + är också ett sätt att försöka komma förbi + föreställningar man (medvetet eller omedvetet) har runt + vem man väljer att dansa med. Det blir i slutändan en + spegling till en själv om de val man gör på dansgolvet, + där kroppen denna gång får bestämma i stället för + huvudet. Vi inleder som vanligt med en introduktion. + Tag gärna med egen ögonbindel! + |
+
+ Söndagen 16 Mars + Introduktion och + jam + 19-21, 30 kr + |
+
+ Söndagen 23 Mars + Ingenting här för då är vi + på NIM i Köpenhamn! + + + |
+
+ Söndagen den 30:e + Kort introduktion och + Livejam!! + 19-21, 50 kr + |
+
+ Söndag 2 Mars + Nybörjarintroduktion & + Jam med Karin R och Jenny + Kl. 19-21, 30 kr. + |
+
+ Söndagen 9 Mars + Blind fold jam - jam med + ögonbindel! + ... med Sofi och Tove. Kl 19-21, 30 kr + På ett blind fold jam dansar man med ögonen förbundna, + för att öka känsligheten, lyssnandet och samspelet. Det + är också ett sätt att försöka komma förbi + föreställningar man (medvetet eller omedvetet) har runt + vem man väljer att dansa med. Det blir i slutändan en + spegling till en själv om de val man gör på dansgolvet, + där kroppen denna gång får bestämma i stället för + huvudet. Vi inleder som vanligt med en introduktion. + Tag gärna med egen ögonbindel! + |
+
+ Söndagen 16 Mars + Introduktion och + jam + 19-21, 30 kr + |
+
+ Söndagen 23 Mars + Ingenting här för då är vi + på NIM i Köpenhamn! + + + |
+
+ Söndagen den 30:e + Kort introduktion och + Livejam!! + 19-21, 50 kr + |
+
+ Söndag 2 Mars + Nybörjarintroduktion & + Jam med Karin R och Jenny + Kl. 19-21, 30 kr. + |
+
+ Söndagen 9 Mars + Blind fold jam - jam med + ögonbindel! + ... med Sofi och Tove. Kl 19-21, 30 kr + På ett blind fold jam dansar man med ögonen förbundna, + för att öka känsligheten, lyssnandet och samspelet. Det + är också ett sätt att försöka komma förbi + föreställningar man (medvetet eller omedvetet) har runt + vem man väljer att dansa med. Det blir i slutändan en + spegling till en själv om de val man gör på dansgolvet, + där kroppen denna gång får bestämma i stället för + huvudet. Vi inleder som vanligt med en introduktion. + Tag gärna med egen ögonbindel! + |
+
+ Söndagen 16 Mars + Introduktion och + jam + 19-21, 30 kr + |
+
+ Söndagen 23 Mars + Ingenting här för då är vi + på NIM i Köpenhamn! + + + |
+
+ Söndagen den 30:e + Kort introduktion och + Livejam!! + 19-21, 50 kr + |
+
+{{ muzikant.name }} + +{% comment %} +something else +{% if muzikant.nemamezeru %}*{% endif %} {% endcomment %} + + | ++ +{{ muzikant.genre|rjust|lower }} + + | +
The current time is {{ my_current_time }}.
+ + diff --git a/emacs.d/nxhtml/tests/in/php-parseable.php b/emacs.d/nxhtml/tests/in/php-parseable.php new file mode 100644 index 0000000..590e4f6 --- /dev/null +++ b/emacs.d/nxhtml/tests/in/php-parseable.php @@ -0,0 +1,11 @@ + + + + +
+
|
+
+ + | +
+ + |
+ + + | +||||
Pir | +Ant | +Tre | +Ket | +Pen | +Šeš | +Sek | +
+ + | +
Paragraph
+{/literal} + +{include file="library/footer.tpl"} diff --git a/emacs.d/nxhtml/tests/in/ryan-091111-wrong-side.tpl b/emacs.d/nxhtml/tests/in/ryan-091111-wrong-side.tpl new file mode 100644 index 0000000..51164a8 --- /dev/null +++ b/emacs.d/nxhtml/tests/in/ryan-091111-wrong-side.tpl @@ -0,0 +1,18 @@ + diff --git a/emacs.d/nxhtml/tests/in/schemas.xml b/emacs.d/nxhtml/tests/in/schemas.xml new file mode 100644 index 0000000..09b0bac --- /dev/null +++ b/emacs.d/nxhtml/tests/in/schemas.xml @@ -0,0 +1,3 @@ + +Surpassing support
+ + + + +Everything you need
for your business finances.
Hello, my name is <% response.name %>.
diff --git a/emacs.d/nxhtml/tests/in/string-bug.php b/emacs.d/nxhtml/tests/in/string-bug.php new file mode 100644 index 0000000..3b25c9f --- /dev/null +++ b/emacs.d/nxhtml/tests/in/string-bug.php @@ -0,0 +1 @@ + = "bla" ?> diff --git a/emacs.d/nxhtml/tests/in/style=.html b/emacs.d/nxhtml/tests/in/style=.html new file mode 100644 index 0000000..e005fad --- /dev/null +++ b/emacs.d/nxhtml/tests/in/style=.html @@ -0,0 +1,12 @@ + + + + ++
+ + diff --git a/emacs.d/nxhtml/tests/in/style=string-font.html b/emacs.d/nxhtml/tests/in/style=string-font.html new file mode 100644 index 0000000..e5dd87d --- /dev/null +++ b/emacs.d/nxhtml/tests/in/style=string-font.html @@ -0,0 +1,18 @@ + + + + +Thanks for testing!
+ +The State of the Art
+ + + diff --git a/emacs.d/nxhtml/tests/in/svg.svg b/emacs.d/nxhtml/tests/in/svg.svg new file mode 100644 index 0000000..1b24f33 --- /dev/null +++ b/emacs.d/nxhtml/tests/in/svg.svg @@ -0,0 +1 @@ +something diff --git a/emacs.d/nxhtml/tests/in/temp2.php b/emacs.d/nxhtml/tests/in/temp2.php new file mode 100644 index 0000000..34271ba --- /dev/null +++ b/emacs.d/nxhtml/tests/in/temp2.php @@ -0,0 +1,48 @@ +'; +?> + +some other stuff
+ + + +EOTHTML; + +?> + + diff --git a/emacs.d/nxhtml/tests/in/wiki-2008-01-30.rhtml b/emacs.d/nxhtml/tests/in/wiki-2008-01-30.rhtml new file mode 100644 index 0000000..5eefdc7 --- /dev/null +++ b/emacs.d/nxhtml/tests/in/wiki-2008-01-30.rhtml @@ -0,0 +1 @@ + + + "._HPAVL_DESDE."