all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Confused about what the COMMENT keyword means
@ 2022-09-26 18:28 Alain.Cochard
  2022-09-27  1:55 ` Ihor Radchenko
  0 siblings, 1 reply; 13+ messages in thread
From: Alain.Cochard @ 2022-09-26 18:28 UTC (permalink / raw)
  To: emacs-orgmode


Hello.  I have the file:

   * COMMENT foo
   #+EXPORT_FILE_NAME: foo.pdf
   #+TITLE: foot
   fofoo
   * bar
   #+EXPORT_FILE_NAME: bar.pdf
   #+TITLE: bart
   babar

If I do 'C-c e l p', the file 'foo.pdf' is created from the 'foo.tex'
file.  The content is bar'ish, though, as I expect.

By contrast, with this file

   # * foo
   # #+EXPORT_FILE_NAME: foo.pdf
   # #+TITLE: foot
   # fofoo
   * bar
   #+EXPORT_FILE_NAME: bar.pdf
   #+TITLE: bart
   babar

for which I explicitly comment the whole 'foo' tree, the content is the
same but the files are 'bar.pdf' and 'bar.tex'.

But I thought both way of commenting were equivalent.  What am I
missing?  Thank you.

NB: I used 'emacs -Q'

GNU Emacs 27.2 (build 1, x86_64-redhat-linux-gnu, GTK+ Version
3.24.30, cairo version 1.17.4) of 2021-08-07

Org mode version 9.4.4 (release_9.4.4 @
/usr/share/emacs/27.2/lisp/org/)

-- 
EOST (École et Observatoire des Sciences de la Terre) 
ITE (Institut Terre & Environnement) | alain.cochard@unistra.fr
5 rue René Descartes   [bureau 106]  | Phone: +33 (0)3 68 85 50 44 
F-67084 Strasbourg Cedex, France     | [ slot available for rent ]



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

end of thread, other threads:[~2022-11-10  8:04 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-26 18:28 Confused about what the COMMENT keyword means Alain.Cochard
2022-09-27  1:55 ` Ihor Radchenko
2022-09-27  7:00   ` Alain.Cochard
2022-09-27  7:40     ` Ihor Radchenko
2022-09-30  8:57       ` Alain.Cochard
2022-10-02  4:48         ` [BUG] EXPORT_FILE_NAME keyword is used by `org-export-output-file-name' before macro expansion/INCLUDEs/removing COMMENTed trees (was: Confused about what the COMMENT keyword means) Ihor Radchenko
2022-10-11 14:42           ` Alain.Cochard
2022-10-18  8:53             ` Alain.Cochard
2022-11-10  1:56               ` Ihor Radchenko
2022-11-10  2:03             ` [FR] Allow TITLE to be used as default export file name (was: [BUG] EXPORT_FILE_NAME keyword is used by `org-export-output-file-name' before macro expansion/INCLUDEs/removing COMMENTed trees (was: Confused about what the COMMENT keyword means)) Ihor Radchenko
2022-11-10  7:53               ` Alain.Cochard
2022-11-10  8:04                 ` Ihor Radchenko
2022-11-10  1:51           ` [BUG] EXPORT_FILE_NAME keyword is used by `org-export-output-file-name' before macro expansion/INCLUDEs/removing COMMENTed trees (was: Confused about what the COMMENT keyword means) Ihor Radchenko

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.