emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* #+NAME: in a property drawer
@ 2017-11-24  6:08 Xebar Saram
  2017-11-24  6:31 ` Xebar Saram
  0 siblings, 1 reply; 2+ messages in thread
From: Xebar Saram @ 2017-11-24  6:08 UTC (permalink / raw)
  To: org mode

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

Hi all and happy holidays!

I want to be able to add a #+NAME to a property drawer that would name a
code block thats split between sub org headers. Im at loss on how this is
done?

this is a current example of a tmux conf thats split with different org sub
headers:

 * tmux conf
 :PROPERTIES:
 :header-args: :noweb yes  :tangle /zeltak@132.72.155.204:~/.tmux.conf
 :END:



***** Mouse
      :PROPERTIES:
      :ID:       ba8ce7aa-2b3b-43be-816d-ea2ab515a999
      :END:
#+BEGIN_SRC conf
#-------------->  mouse
setw -g mouse on
set-option -g status-keys vi
#+END_SRC

***** Theme and look
      :PROPERTIES:
      :ID:       85257f51-1306-4caf-a055-a6df3afac1a5
      :END:
#+BEGIN_SRC conf
#--------------> THEME AND LOOK
#default theme picker
source /home/zeltak/.tmux/neonB
#source /home/zeltak/.tmux/solarized-dark
#+END_SRC


I want to add a name (#+NAME) for all the sub headers that will make
'.tmux.conf'. anyone know how thats done?

[-- Attachment #2: Type: text/html, Size: 1418 bytes --]

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

* Re: #+NAME: in a property drawer
  2017-11-24  6:08 #+NAME: in a property drawer Xebar Saram
@ 2017-11-24  6:31 ` Xebar Saram
  0 siblings, 0 replies; 2+ messages in thread
From: Xebar Saram @ 2017-11-24  6:31 UTC (permalink / raw)
  To: org mode

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

Sorry for the noise, this was resolved in the proper thread relating to this

The solution it so to use ':noweb-ref NAME' as an argument in the drawer

best

Z

[-- Attachment #2: Type: text/html, Size: 498 bytes --]

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

end of thread, other threads:[~2017-11-24  6:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-24  6:08 #+NAME: in a property drawer Xebar Saram
2017-11-24  6:31 ` Xebar Saram

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