emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: spurious newline after comment [8.3.5 (release_8.3.5-1087-g6b52bc @ /Users/maarhart/elisp/org-mode/lisp/)]
@ 2016-08-25  5:17 Martín Hartmann
  2016-08-26 14:31 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Martín Hartmann @ 2016-08-25  5:17 UTC (permalink / raw)
  To: emacs-orgmode


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------

Hi,

I am not sure if this was reported before because I don't follow this list:

http://emacs.stackexchange.com/questions/22574/orgmode-export-how-to-prevent-a-new-line-for-comment-lines

I have tried it in both the bleeding edge version and in the version
that comes by default in emacs (is it 8.2.10?). This seems to be a bug
in 8.3.5 because this does not occur in 8.2.10. 

Best,
Martin

Emacs  : GNU Emacs 25.1.50.2 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1808))
 of 2016-08-10
Package: Org-mode version 8.3.5 (release_8.3.5-1087-g6b52bc @ /Users/maarhart/elisp/org-mode/lisp/)

current state:
==============
(setq
 org-export-backends '(md beamer latex icalendar html ascii)
 org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
 org-latex-classes '(("jydiss"
		      "\\documentclass[utf8,lot,loar,lof,shortloft,index]{jydiss}\n [NO-DEFAULT-PACKAGES]\n [PACKAGES]\n [EXTRA]"
		      "\\usepackage{csquotes}" "\\usepackage[backend=biber,style=jydiss]{biblatex}"
		      "\\DeclareLanguageMapping{english}{english-apa}"
		      "\\bibliography{/Users/maarhart/Documents/Dissertation/Bibliography/database}"
		      ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}")
		      ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
		     ("myreport" "\\documentclass{report}" ("\\chapter{%s}" . "\\chapter*{%s}")
		      ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}")
		      ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
		     ("mybook" "\\documentclass{book}" ("\\chapter{%s}" . "\\chapter*{%s}")
		      ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}")
		      ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
		     ("beamer" "\\documentclass[presentation]{beamer}" ("\\section{%s}" . "\\section*{%s}")
		      ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
		     ("article" "\\documentclass[11pt]{article}" ("\\section{%s}" . "\\section*{%s}")
		      ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
		      ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
		     ("report" "\\documentclass[11pt]{report}" ("\\part{%s}" . "\\part*{%s}")
		      ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}")
		      ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
		     ("book" "\\documentclass[11pt]{book}" ("\\part{%s}" . "\\part*{%s}")
		      ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}")
		      ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
		     )
 org-latex-default-packages-alist '(("AUTO" "inputenc" t) ("T1" "fontenc" t) ("" "fixltx2e" nil) ("" "graphicx" t)
				    ("" "grffile" t) ("" "longtable" nil) ("" "wrapfig" nil) ("" "rotating" nil)
				    ("normalem" "ulem" t) ("" "amsmath" t) ("" "textcomp" t) ("" "amssymb" t)
				    ("" "capt-of" nil) ("colorlinks=true,allcolors={black}" "hyperref" t))
 org-mobile-files '("~/Dropbox/org/home.org" "~/Dropbox/org/work.org" "~/Dropbox/org/notes.org")
 org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook)
 org-clock-history-length 23
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
 org-log-done 'time
 org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function
 org-confirm-shell-link-function 'yes-or-no-p
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-html-validation-link nil
 org-latex-pdf-process '("latexmk -f -shell-escape -interaction=nonstopmode -pdf %f")
 org-file-apps '((auto-mode . emacs) ("\\.mm\\'" . default) ("\\.x?html?\\'" . default) ("\\.pdf\\'" . emacs))
 org-latex-format-headline-function 'org-latex-format-headline-default-function
 org-default-notes-file "/Users/maarhart/Dropbox/org/notes.org"
 org-clock-in-resume t
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"]
 org-odt-format-headline-function 'org-odt-format-headline-default-function
 org-from-is-user-regexp "\\<Martín Hartmann\\>"
 org-html-postamble nil
 org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-log-redeadline 'time
 org-mode-hook '(#[0 "\300\301\302\303\304$\207" [add-hook before-save-hook org-encrypt-entries nil t] 5]
		 org-clock-load org-mode-reftex-setup
		 (lambda nil (define-key org-mode-map (kbd "C-c g") (quote grab-mac-link)))
		 org-display-inline-images
		 #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-block-all append local]
		   5]
		 #[0 "\300\301\302\303\304$\207"
		   [add-hook change-major-mode-hook org-babel-show-result-all append local] 5]
		 org-babel-result-hide-spec org-babel-hide-all-hashes)
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-ascii-format-drawer-function #[771 "\207" [] 4 "\n\n(fn NAME CONTENTS WIDTH)"]
 org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-function
 org-clock-persist 'history
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe)
 org-directory "/Users/maarhart/Dropbox/org"
 org-enforce-todo-dependencies t
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines
		  org-optimize-window-after-visibility-change)
 org-tags-exclude-from-inheritance '("crypt")
 org-agenda-text-search-extra-files '(agenda-archives)
 org-clock-persist-query-resume nil
 org-crypt-key "A4F76701"
 org-enforce-todo-checkbox-dependencies t
 org-log-reschedule 'time
 org-modules '(org-bibtex org-docview org-gnus org-habit org-info org-irc org-mhe org-rmail org-w3m
	       org-annotate-file org-bookmark org-eww org-learn org-mac-iCal org-panel org-registry org-screen
	       org-toc)
 org-link-abbrev-alist '(("screen" . "elisp:(org-screen-goto \"%s\")") ("papers" . "~/Documents/Papers/%s.pdf"))
 org-clock-report-include-clocking-task t
 org-latex-packages-alist '(("" "minted"))
 org-babel-tangle-lang-exts '(("clojure" . "clj") ("D" . "d") ("C++" . "cpp") ("ruby" . "rb") ("python" . "py")
			      ("emacs-lisp" . "el") ("elisp" . "el"))
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
 org-babel-after-execute-hook '(org-display-inline-images)
 org-latex-listings 'minted
 org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent org-block-todo-from-checkboxes)
 org-html-format-headline-function 'org-html-format-headline-default-function
 org-link-parameters '(("id" :follow org-id-open) ("mu4e" :follow org-mu4e-open :export nil)
		       ("eww" :follow eww :store org-eww-store-link)
		       ("bookmark" :follow org-bookmark-open :store org-bookmark-store-link)
		       ("rmail" :follow org-rmail-open :store org-rmail-store-link)
		       ("mhe" :follow org-mhe-open :store org-mhe-store-link)
		       ("irc" :follow org-irc-visit :store org-irc-store-link)
		       ("info" :follow org-info-open :export org-info-export :store org-info-store-link)
		       ("gnus" :follow org-gnus-open :store org-gnus-store-link)
		       ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link)
		       ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link)
		       ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link
			:store org-bbdb-store-link)
		       ("w3m" :store org-w3m-store-link) ("file+sys") ("file+emacs")
		       ("doi" :follow org--open-doi-link) ("elisp" :follow org--open-elisp-link)
		       ("file" :complete org-file-complete-link)
		       ("ftp" :follow (lambda (path) (browse-url (concat "ftp:" path))))
		       ("help" :follow org--open-help-link)
		       ("http" :follow (lambda (path) (browse-url (concat "http:" path))))
		       ("https" :follow (lambda (path) (browse-url (concat "https:" path))))
		       ("mailto" :follow (lambda (path) (browse-url (concat "mailto:" path))))
		       ("message" :follow (lambda (path) (browse-url (concat "message:" path))))
		       ("news" :follow (lambda (path) (browse-url (concat "news:" path))))
		       ("shell" :follow org--open-shell-link))
 org-structure-template-alist '(("s" "#+BEGIN_SRC ?\n\n#+END_SRC" "<src lang=\"?\">\n\n</src>")
				("e" "#+BEGIN_EXAMPLE\n?\n#+END_EXAMPLE" "<example>\n?\n</example>")
				("q" "#+BEGIN_QUOTE\n?\n#+END_QUOTE" "<quote>\n?\n</quote>")
				("v" "#+BEGIN_VERSE\n?\n#+END_VERSE" "<verse>\n?\n</verse>")
				("V" "#+BEGIN_VERBATIM\n?\n#+END_VERBATIM" "<verbatim>\n?\n</verbatim>")
				("c" "#+BEGIN_CENTER\n?\n#+END_CENTER" "<center>\n?\n</center>")
				("l" "#+BEGIN_LaTeX\n?\n#+END_LaTeX" "<literal style=\"latex\">\n?\n</literal>")
				("L" "#+LaTeX: " "<literal style=\"latex\">?</literal>")
				("h" "#+BEGIN_HTML\n?\n#+END_HTML" "<literal style=\"html\">\n?\n</literal>")
				("H" "#+HTML: " "<literal style=\"html\">?</literal>")
				("a" "#+BEGIN_ASCII\n?\n#+END_ASCII" "") ("A" "#+ASCII: " "")
				("i" "#+INDEX: ?" "#+INDEX: ?")
				("I" "#+INCLUDE: %file ?" "<include file=%file markup=\"?\">")
				("m" "#+BEGIN_SRC matlab :exports results\n?\n#+END_SRC" ""))
 org-mobile-directory "~/Dropbox/Apps/MobileOrg"
 org-export-with-smart-quotes t
 org-babel-load-languages '((emacs-lisp . t) (ditaa . t) (python . t) (ruby . t) (C . t) (matlab . t) (clojure . t)
			    (dot . t) (plantuml . t))
 org-html-doctype "xhtml5"
 org-reveal-start-hook '(org-decrypt-entry)
 org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function
 org-fontify-whole-heading-line t
 org-agenda-files '("~/Dropbox/2016/07/paper-interactions/cover-letter.org" "~/Dropbox/org/work.org"
		    "~/Dropbox/2016/07/dissertation/dissdraft.org" "~/Dropbox/org/notes.org"
		    "~/Dropbox/org/home.org")
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-confirm-babel-evaluate nil
 org-mobile-inbox-for-pull "/Users/maarhart/Dropbox/org/notes.org"
 )

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

end of thread, other threads:[~2016-08-26 14:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-25  5:17 Bug: spurious newline after comment [8.3.5 (release_8.3.5-1087-g6b52bc @ /Users/maarhart/elisp/org-mode/lisp/)] Martín Hartmann
2016-08-26 14:31 ` Nicolas Goaziou

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