emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ramesh Nedunchezian <rameshnedunchezian@outlook.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Bug (HTML/TexInfo etc): Commented code block gets through to exporter when it shouldn't [9.4.4 (release_9.4.4 @ /usr/local/share/emacs/28.0.50/lisp/org/)]
Date: Fri, 30 Apr 2021 10:30:14 +0530	[thread overview]
Message-ID: <TY2PR0101MB36937F08212D3E3DC63AA53BDA5E9@TY2PR0101MB3693.apcprd01.prod.exchangelabs.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 833 bytes --]


Bug (HTML/TexInfo etc):

  Commented code block gets through to exporter when it shouldn't
  [9.4.4 (release_9.4.4 @ /usr/local/share/emacs/28.0.50/lisp/org/)]

See the attached files.  The `.txt' file is actually a `.org' file.

The surprising behaviour--surprising at least to me--is because of the
presence of tabs in the source block, that is commented out.
Screenshots show where the tabs are in org file, and how the HTML
output is rendered.

When I untabify the file, everything looks fine.

I have created this report with `emacs -Q' (i.e., with a capital Q),
and whatever Org that ships with it.

----------------

Emacs  : GNU Emacs 28.0.50 (build 6, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0)
 of 2021-04-28
Package: Org mode version 9.4.4 (release_9.4.4 @ /usr/local/share/emacs/28.0.50/lisp/org/)

[-- Attachment #2: bug1.org.html --]
[-- Type: text/html, Size: 9534 bytes --]

[-- Attachment #3: bug1.org.txt --]
[-- Type: text/plain, Size: 561 bytes --]

# -*- mode: org; -*-

*** Minimal setup using =straight.el=

 # =straight.el=[fn:xxx3]

 Add this to your init file,

 #+begin_src emacs-lisp
  (straight-use-package 'helm)
 #+end_src

 or

 # #+begin_src emacs-lisp
 #  (use-package helm
 #	      :straight t
 #	      :config
 #	      [...])
 # #+end_src

 #+begin_src emacs-lisp
   (use-package helm :straight t)
 #+end_src

 For further information, see =straight.el='s user manual.

 # To upgrade =helm=, do {{kbd(M-x straight-pull-package)}} and restart
 # Emacs.  =straight.el= will rebuild helm for you.


[-- Attachment #4: Screenshot from 2021-04-30 10-07-37.png --]
[-- Type: image/png, Size: 14188 bytes --]

[-- Attachment #5: Screenshot from 2021-04-30 10-07-01.png --]
[-- Type: image/png, Size: 29787 bytes --]

             reply	other threads:[~2021-04-30  5:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-30  5:00 Ramesh Nedunchezian [this message]
     [not found] <77b4a55f-1ec4-eeb4-8097-fec80ae9526a@outlook.com>
2021-04-30  5:12 ` Bug (HTML/TexInfo etc): Commented code block gets through to exporter when it shouldn't [9.4.4 (release_9.4.4 @ /usr/local/share/emacs/28.0.50/lisp/org/)] Ramesh Nedunchezian

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=TY2PR0101MB36937F08212D3E3DC63AA53BDA5E9@TY2PR0101MB3693.apcprd01.prod.exchangelabs.com \
    --to=rameshnedunchezian@outlook.com \
    --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).