From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Fraga Subject: [bug] COMMENT alone on heading ignored by new exporter Date: Sat, 29 Sep 2012 01:08:22 +0930 Message-ID: <871uhm40pd.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THctW-0000I7-Ei for emacs-orgmode@gnu.org; Fri, 28 Sep 2012 11:54:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1THctQ-0005cE-KR for emacs-orgmode@gnu.org; Fri, 28 Sep 2012 11:54:26 -0400 Received: from va3ehsobe010.messaging.microsoft.com ([216.32.180.30]:45612 helo=va3outboundpool.messaging.microsoft.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THctQ-0005Xe-GW for emacs-orgmode@gnu.org; Fri, 28 Sep 2012 11:54:20 -0400 Received: from mail229-va3 (localhost [127.0.0.1]) by mail229-va3-R.bigfish.com (Postfix) with ESMTP id BF5EBD602DC for ; Fri, 28 Sep 2012 15:39:08 +0000 (UTC) Received: from VA3EHSMHS029.bigfish.com (unknown [10.7.14.252]) by mail229-va3.bigfish.com (Postfix) with ESMTP id B195740099 for ; Fri, 28 Sep 2012 15:38:33 +0000 (UTC) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Hello, I often use COMMENT in headlines to block out text that I don't want exported. This works generally very well. However, sometimes I comment a headline that has no headline text, as in "* COMMENT" alone. These sections are ignored properly by the old exporter but not the new one. This is a minor bug; all you have to do is add any text after the COMMENT. I thought it would be easy to figure out where this is going wrong but I was unable to. Sorry! Example org and exported tex files attached. Thanks, eric PS - I've been silent on this list for months now; it's annoying how work can interfere with what I would rather be doing... :( -- : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D : in Emacs 24.2.50.1 and Org release_7.9.1-225-ga5756f --=-=-= Content-Type: text/org Content-Disposition: attachment; filename="comment.org" * first some text * second some text which should appear in the new exporter *** second first some text which should appear *** COMMENT second third some text which should not appear *** COMMENT some text which should not appear *but* does actually appear unfortunately in the new exporter, although not in the old one. * COMMENT third some text which should not appear --=-=-= Content-Type: text/x-tex Content-Disposition: attachment; filename="comment.tex" % Created 2012-09-29 Sat 01:04 \documentclass{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{fixltx2e} \usepackage{graphicx} \usepackage{longtable} \usepackage{float} \usepackage{wrapfig} \usepackage{soul} \usepackage{textcomp} \usepackage{marvosym} \usepackage[integrals]{wasysym} \usepackage{latexsym} \usepackage{amssymb} \usepackage{hyperref} \tolerance=1000 \usepackage{xcolor} \usepackage{listings} \usepackage{amsmath} \author{Eric Fraga} \date{\today} \title{comment} \hypersetup{ pdfkeywords={}, pdfsubject={}, pdfcreator={Generated by Org mode 7.9.1 in Emacs 24.2.50.1.}} \begin{document} \maketitle \tableofcontents \vspace*{1cm} \section{first} \label{sec-1} some text \section{second} \label{sec-2} some text which should appear in the new exporter \subsection{second first} \label{sec-2-1} some text which should appear \subsection{COMMENT} \label{sec-2-2} some text which should not appear \textbf{but} does actually appear unfortunately in the new exporter, although not in the old one. % Generated by Org mode 7.9.1 in Emacs 24.2.50.1. \end{document} --=-=-=--