emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* inlinetask with :noexport: seems to be exported?
@ 2016-09-28 14:03 Rainer M Krug
  2016-09-28 14:21 ` Nicolas Goaziou
  0 siblings, 1 reply; 6+ messages in thread
From: Rainer M Krug @ 2016-09-28 14:03 UTC (permalink / raw)
  To: emacs orgmode-mailinglist

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

Hi

I wanted to define some inlinetask (works - love it) but want to keep
most of them in the org file and not export them. Adding :noexport: does
not work.

Is there a way of not exporting selected inlinetasks?

Thanks

Rainer


-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

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

* Re: inlinetask with :noexport: seems to be exported?
       [not found] <02c9b18f2b68443d824f6b3e6d80c6af@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
@ 2016-09-28 14:11 ` Eric S Fraga
  0 siblings, 0 replies; 6+ messages in thread
From: Eric S Fraga @ 2016-09-28 14:11 UTC (permalink / raw)
  To: Rainer M Krug; +Cc: emacs orgmode-mailinglist

On Wednesday, 28 Sep 2016 at 14:03, Rainer M Krug wrote:
> Hi
>
> I wanted to define some inlinetask (works - love it) but want to keep
> most of them in the org file and not export them. Adding :noexport: does
> not work.

What version of org?  It works fine for me with a fairly recent (but not
up to date, maybe a week old) version.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.1.50.1, Org release_8.3.6-1149-g582233

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

* Re: inlinetask with :noexport: seems to be exported?
  2016-09-28 14:03 inlinetask with :noexport: seems to be exported? Rainer M Krug
@ 2016-09-28 14:21 ` Nicolas Goaziou
  2016-09-29  7:06   ` Rainer M Krug
  0 siblings, 1 reply; 6+ messages in thread
From: Nicolas Goaziou @ 2016-09-28 14:21 UTC (permalink / raw)
  To: Rainer M Krug; +Cc: emacs orgmode-mailinglist

Hello,

Rainer M Krug <Rainer@krugs.de> writes:

> I wanted to define some inlinetask (works - love it) but want to keep
> most of them in the org file and not export them. Adding :noexport: does
> not work.

FWIW, I cannot reproduce it. I tested with the following document, after
evaluating (require 'org-inlinetask).

--8<---------------cut here---------------start------------->8---
* Foo

Foo

*************** Begin :noexport:
Bar
*************** END
--8<---------------cut here---------------end--------------->8---


Regards,

-- 
Nicolas Goaziou

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

* Re: inlinetask with :noexport: seems to be exported?
  2016-09-28 14:21 ` Nicolas Goaziou
@ 2016-09-29  7:06   ` Rainer M Krug
  2016-09-29 11:03     ` Nicolas Goaziou
  0 siblings, 1 reply; 6+ messages in thread
From: Rainer M Krug @ 2016-09-29  7:06 UTC (permalink / raw)
  To: emacs orgmode-mailinglist

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

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Rainer M Krug <Rainer@krugs.de> writes:
>
>> I wanted to define some inlinetask (works - love it) but want to keep
>> most of them in the org file and not export them. Adding :noexport: does
>> not work.
>
> FWIW, I cannot reproduce it. I tested with the following document, after
> evaluating (require 'org-inlinetask).
>
> * Foo
>
> Foo
>
> *************** Begin :noexport:
> Bar
> *************** END

OK - your example works, but the following doesn't:

--8<---------------cut here---------------start------------->8---
* Foo

Foo

*************** TODO :noexport:
Bar
*************** END
--8<---------------cut here---------------end--------------->8---

Effectively, it is exported if the inline task has ho header text.

Cheers,

Rainer

>
>
> Regards,

-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

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

* Re: inlinetask with :noexport: seems to be exported?
  2016-09-29  7:06   ` Rainer M Krug
@ 2016-09-29 11:03     ` Nicolas Goaziou
  2016-09-29 11:42       ` Rainer M Krug
  0 siblings, 1 reply; 6+ messages in thread
From: Nicolas Goaziou @ 2016-09-29 11:03 UTC (permalink / raw)
  To: Rainer M Krug; +Cc: emacs orgmode-mailinglist

Hello,

Rainer M Krug <Rainer@krugs.de> writes:

> OK - your example works, but the following doesn't:
>
> * Foo
>
> Foo
>
> *************** TODO :noexport: Bar *************** END
>
> Effectively, it is exported if the inline task has ho header text.

This is because your syntax is invalid. You cannot have a headline
without text but with tags. :noexport: is treated as the headline (or
inlinetask) text.

You can add a space entity, e.g., \nbsp{}, to work around the problem.

Regards,

-- 
Nicolas Goaziou

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

* Re: inlinetask with :noexport: seems to be exported?
  2016-09-29 11:03     ` Nicolas Goaziou
@ 2016-09-29 11:42       ` Rainer M Krug
  0 siblings, 0 replies; 6+ messages in thread
From: Rainer M Krug @ 2016-09-29 11:42 UTC (permalink / raw)
  To: emacs orgmode-mailinglist

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

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Rainer M Krug <Rainer@krugs.de> writes:
>
>> OK - your example works, but the following doesn't:
>>
>> * Foo
>>
>> Foo
>>
>> *************** TODO :noexport: Bar *************** END
>>
>> Effectively, it is exported if the inline task has ho header text.
>
> This is because your syntax is invalid. You cannot have a headline
> without text but with tags. :noexport: is treated as the headline (or
> inlinetask) text.
>
> You can add a space entity, e.g., \nbsp{}, to work around the problem.

OK - makes sense.

Thanks

Rainer

>
> Regards,

-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

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

end of thread, other threads:[~2016-09-29 11:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-28 14:03 inlinetask with :noexport: seems to be exported? Rainer M Krug
2016-09-28 14:21 ` Nicolas Goaziou
2016-09-29  7:06   ` Rainer M Krug
2016-09-29 11:03     ` Nicolas Goaziou
2016-09-29 11:42       ` Rainer M Krug
     [not found] <02c9b18f2b68443d824f6b3e6d80c6af@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-09-28 14:11 ` Eric S Fraga

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