emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* typo, sp at C++ Source Code Blocks in Org Mode
@ 2018-11-05  8:00 Van L
  0 siblings, 0 replies; 7+ messages in thread
From: Van L @ 2018-11-05  8:00 UTC (permalink / raw)
  To: emacs-org list

Hello,

At the following page:

  https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-C.html

// CC+ should be C++

:main
can be set to "no" to inhibit wrapping of the code block in a main function call.
:includes
(C & CC+ only) accepts either a single string name, or a list of names of files to #include in the execution of the code block.

// Spelling should be ‘explicitly'

C++ needs to explicitely include either stdio.h or <iostream>

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

* Re: typo, sp at C++ Source Code Blocks in Org Mode
@ 2018-11-05 15:57 Thomas S. Dye
  2018-11-09 15:03 ` Van L
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas S. Dye @ 2018-11-05 15:57 UTC (permalink / raw)
  To: van; +Cc: emacs-orgmode

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

Aloha  Van L,

Worg is maintained by the community.  You can find information on how 
to make these changes yourself:

https://orgmode.org/worg/worg-git.html

Thanks for your interest in Org mode and Worg.

All the best,
Tom



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

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

* Re: typo, sp at C++ Source Code Blocks in Org Mode
  2018-11-05 15:57 Thomas S. Dye
@ 2018-11-09 15:03 ` Van L
  0 siblings, 0 replies; 7+ messages in thread
From: Van L @ 2018-11-09 15:03 UTC (permalink / raw)
  To: Thomas S. Dye; +Cc: emacs-orgmode


> Thanks for your interest in Org mode and Worg.

I hope the worg entry will backprob to the info:org page.

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

* Re: typo, sp at C++ Source Code Blocks in Org Mode
@ 2018-11-09 16:52 Thomas S. Dye
  2018-11-10 10:17 ` Van L
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas S. Dye @ 2018-11-09 16:52 UTC (permalink / raw)
  To: van; +Cc: emacs-org list

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

Aloha Van L,

Thanks for your contribution.

The Org mode manual and Worg are separate documents.  AFAIK there is no 
mechanism to have changes in  one propagate changes in the other.

If you'd like to propose a change to the manual, please submit a patch 
following the instructions here: 
https://orgmode.org/worg/org-contribute.html.

All the best,
Tom

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

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

* Re: typo, sp at C++ Source Code Blocks in Org Mode
  2018-11-09 16:52 typo, sp at C++ Source Code Blocks in Org Mode Thomas S. Dye
@ 2018-11-10 10:17 ` Van L
  2018-11-10 16:45   ` Thomas S. Dye
  0 siblings, 1 reply; 7+ messages in thread
From: Van L @ 2018-11-10 10:17 UTC (permalink / raw)
  To: Thomas S. Dye; +Cc: emacs-org list


> AFAIK there is no mechanism to have changes in  one propagate changes in the other.

It should be possible to link the two because both are org files. 

Worg would need to render to info:worg.

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

* Re: typo, sp at C++ Source Code Blocks in Org Mode
  2018-11-10 10:17 ` Van L
@ 2018-11-10 16:45   ` Thomas S. Dye
  2018-11-14 13:29     ` Van L
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas S. Dye @ 2018-11-10 16:45 UTC (permalink / raw)
  To: Van L; +Cc: emacs-org list

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

Aloha Van L,


On Sat, Nov 10, 2018 at 12:17 AM, Van L <van@scratch.space> wrote:
> 
>>  AFAIK there is no mechanism to have changes in  one propagate 
>> changes in the other.
> 
> It should be possible to link the two because both are org files.
> 
> Worg would need to render to info:worg.

That's an interesting idea.  AFAICT it should be possible.  
Nevertheless, my guess is that it would be a lot of work to mark up the 
Worg sources to get well-formatted info output.

All the best,
Tom

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

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

* Re: typo, sp at C++ Source Code Blocks in Org Mode
  2018-11-10 16:45   ` Thomas S. Dye
@ 2018-11-14 13:29     ` Van L
  0 siblings, 0 replies; 7+ messages in thread
From: Van L @ 2018-11-14 13:29 UTC (permalink / raw)
  To: Thomas S. Dye; +Cc: emacs-org list


> my guess is that it would be a lot of work to mark up the Worg sources to get well-formatted info output. 

The orgmode manual is going to be an org-file which I guess will output to info:org.

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

end of thread, other threads:[~2018-11-14 13:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-09 16:52 typo, sp at C++ Source Code Blocks in Org Mode Thomas S. Dye
2018-11-10 10:17 ` Van L
2018-11-10 16:45   ` Thomas S. Dye
2018-11-14 13:29     ` Van L
  -- strict thread matches above, loose matches on Subject: below --
2018-11-05 15:57 Thomas S. Dye
2018-11-09 15:03 ` Van L
2018-11-05  8:00 Van L

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