emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [babel] Commenting out src blocks for tangling
@ 2013-02-27 17:53 Eric S Fraga
  2013-02-27 18:10 ` Aaron Ecay
  2013-02-27 19:18 ` Alan L Tyree
  0 siblings, 2 replies; 27+ messages in thread
From: Eric S Fraga @ 2013-02-27 17:53 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

I finally bit the bullet and converted by rather convoluted and long
emacs startup code to an org file with emacs-lisp code blocks.  I then
tangle these into the actual code which is loaded by emacs at
startup.  So far, so good, and it does make it easier for me to navigate
around my customisations.

However, it has highlighted a feature which is missing (I think) but
which would be great.  I tangle all the code blocks to the same
file.  It would be great if I could have the =org-babel-tangle= command
skip sections that are COMMENTed out (i.e. headline with COMMENT, as
produced by =org-toggle-comment=).

Alternatively, a :nobabel: or :notangle: tag to mark subtrees that
should be excluded would be fine.

If I have missed a way of doing this, please do let me know (politely
;-).  If not, any suggestions on how to achieve this would be great.

Thanks,
eric

-- 
: Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
: in Emacs 24.3.50.1 and Org release_7.9.3f-1285-g6cc600

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

end of thread, other threads:[~2013-10-21  6:49 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-27 17:53 [babel] Commenting out src blocks for tangling Eric S Fraga
2013-02-27 18:10 ` Aaron Ecay
2013-02-27 18:22   ` Eric S Fraga
2013-02-27 19:18 ` Alan L Tyree
2013-02-27 19:32   ` Eric S Fraga
2013-02-27 23:33     ` Darlan Cavalcante Moreira
2013-02-28  9:01       ` Rainer M Krug
2013-02-28  9:25         ` Bastien
2013-02-28  9:27           ` Rainer M Krug
2013-02-28  9:30           ` Sebastien Vauban
2013-02-28  9:42             ` Rainer M Krug
2013-02-28  9:47               ` Sebastien Vauban
2013-02-28 12:30                 ` Rainer M Krug
2013-03-02 10:31                   ` Bastien
2013-03-03  3:44                     ` Charles Berry
2013-03-03  6:18                       ` Bastien
2013-02-28  9:44             ` Bastien
2013-02-28  9:51           ` Rasmus
2013-02-28 10:05             ` Bastien
2013-02-28 19:45           ` Eric S Fraga
2013-10-18 14:37           ` Alan Schmitt
2013-10-18 16:43             ` Eric Schulte
2013-10-19  6:06               ` Alan Schmitt
2013-10-19 21:56                 ` Eric Schulte
2013-10-20 17:05                   ` Alan Schmitt
2013-10-20 21:58                     ` Eric Schulte
2013-10-21  6:49                       ` Alan Schmitt

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