From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: COMMENTed Radio Targets: Any comments? Date: Sat, 30 Oct 2010 19:39:26 +0530 Message-ID: <814oc36acp.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=43207 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCC82-0003yA-DZ for emacs-orgmode@gnu.org; Sat, 30 Oct 2010 10:09:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PCC81-0008Ka-5A for emacs-orgmode@gnu.org; Sat, 30 Oct 2010 10:09:54 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:45816) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PCC80-0008KV-W6 for emacs-orgmode@gnu.org; Sat, 30 Oct 2010 10:09:53 -0400 Received: by pzk30 with SMTP id 30so414321pzk.0 for ; Sat, 30 Oct 2010 07:09:52 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I am noticing Some inconsistencies with commented out 'Radioed Targets'. Example is down below. Comments are welcome ... In the generated HTML, 1. The section titled 'Radioed Target' is not exported because it is commented out. 2. References to 'Radioed Target' still get exported as link. It points to self. I am not sure what the right behaviour should be ... I see two options (that I think are consistent): 1. In the Org file, references to 'Radioed Target' is still linkified and clicking on it takes me to the right heading (although it is COMMENTed out) The corresponding thing for the HTML exporter is to 'ignore' the COMMENT tag on the headline and (still) export it with refrences to that headline as internal links. 2. The exported HTML doesn't contain the radioed headline. So references to radioed text shouldn't be linkified. Btw, does the behaviour in (1) surprise anyone? # Input Org file #+begin_src emacs-lisp (org-link-search-must-match-exact-headline nil) #+end_src * Links ** Targets *** COMMENT <<>> ** References *** References to Radioed Links This section has references to Radioed Target. # Output HTML file # Shows interesting sections #+begin_src html #+end_src #+begin_src html

1 Links

1.1 Targets

1.2 References

1.2.1 References to Radioed Links

This section has references to Radioed Target .

#+end_src Jambunathan K.