emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] Org manual on :noweb-ref property
@ 2012-01-01  0:22 Tomas Grigera
  2012-01-02 14:28 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Tomas Grigera @ 2012-01-01  0:22 UTC (permalink / raw)
  To: Eric Schulte; +Cc: emacs-orgmode

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

Hi

After Eric's fix a couple of days ago, setting :noweb-ref through a
property now works as explained in the manual. However, the example
given will only work if one turns on property inheritance. I think it
is worthwhile noting this in the manual. The patch here adds that
comment.

First time I send a patch, sorry if I screwd up.

Happy new year

Tomas

[-- Attachment #2: org.texi.diff --]
[-- Type: text/x-patch, Size: 680 bytes --]

diff --git a/doc/org.texi b/doc/org.texi
index 3f02efb..618b287 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -13627,7 +13627,9 @@ concatenated together to form the replacement text.
 By setting this header argument at the sub-tree or file level, simple code
 block concatenation may be achieved.  For example, when tangling the
 following Org mode file, the bodies of code blocks will be concatenated into
-the resulting pure code file.
+the resulting pure code file (note that this example needs that property
+inheritance be turned on for the @code{noweb-ref} property, see
+@ref{Property inheritance}).
 
 @example
  #+BEGIN_SRC sh :tangle yes :noweb yes :shebang #!/bin/sh

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

* Re: [PATCH] Org manual on :noweb-ref property
  2012-01-01  0:22 [PATCH] Org manual on :noweb-ref property Tomas Grigera
@ 2012-01-02 14:28 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2012-01-02 14:28 UTC (permalink / raw)
  To: Tomas Grigera; +Cc: emacs-orgmode, Eric Schulte

Hi Tomas,

Tomas Grigera <tgrigera@gmail.com> writes:

> After Eric's fix a couple of days ago, setting :noweb-ref through a
> property now works as explained in the manual. However, the example
> given will only work if one turns on property inheritance. I think it
> is worthwhile noting this in the manual. The patch here adds that
> comment.

Thanks for the patch -- I've committed a slightly different version,
using a footnote.

> First time I send a patch, sorry if I screwd up.

You did right, thanks!

-- 
 Bastien

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

end of thread, other threads:[~2012-01-02 14:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-01  0:22 [PATCH] Org manual on :noweb-ref property Tomas Grigera
2012-01-02 14:28 ` Bastien

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