* exclude_tags stoppped working at 9.0.5 release?
@ 2017-02-16 17:58 Leslie Watter
0 siblings, 0 replies; 9+ messages in thread
From: Leslie Watter @ 2017-02-16 17:58 UTC (permalink / raw)
To: org-mode-email
[-- Attachment #1: Type: text/plain, Size: 880 bytes --]
Hi Folks,
Sorry if it is a duplicate, I've sent this a few days ago and didn't see it
appear on the list.
I've been dealing with an issue here. Does the '#+EXCLUDE_TAGS' still works
on release 9.0.5 ?
I used the following org-mode file to test the export to latex, only the
subtree.
------------t.org
* exclude tags test
:PROPERTIES:
:EXPORT_FILE_NAME: t.pdf
:EXPORT_OPTIONS: toc:nil tags:nil <:nil ^:nil
:EXPORT_AUTHOR:
:EXPORT_DATE:
:END:
#+TAGS: alunos professor
#+EXCLUDE_TAGS: professor
** First Section
At 1st
***
:professor:
This should not appear on t.pdf
-----------
And it's not working: (
I've searched logs, changelog but no mention to removal of these feature.
What I've done? Point cursor on the :PROPERTIES: line and export only the
subtree to latex and open it => C-c C-e C-s lo
Any hint? Any help is welcome.
Cheers,
LEslie
--
Leslie H. Watter
[-- Attachment #2: Type: text/html, Size: 1758 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* exclude_tags stoppped working at 9.0.5 release?
@ 2017-02-16 18:54 Leslie Watter
2017-02-16 19:26 ` Nick Dokos
0 siblings, 1 reply; 9+ messages in thread
From: Leslie Watter @ 2017-02-16 18:54 UTC (permalink / raw)
To: org-mode-email
[-- Attachment #1: Type: text/plain, Size: 902 bytes --]
Hi Folks,
Sorry if it is a duplicate, I've sent this a few days ago and didn't see it
appear on the list.
I've been dealing with an issue here. Does the '#+EXCLUDE_TAGS' still works
on release 9.0.5 ?
I used the following org-mode file to test the export to latex, only the
subtree.
------------t.org
* exclude tags test
:PROPERTIES:
:EXPORT_FILE_NAME: t.pdf
:EXPORT_OPTIONS: toc:nil tags:nil <:nil ^:nil
:EXPORT_AUTHOR:
:EXPORT_DATE:
:END:
#+TAGS: alunos professor
#+EXCLUDE_TAGS: professor
** First Section
At 1st
***
:professor:
This should not appear on t.pdf
-----------
And it's not working: (
I've searched logs, changelog but no mention to removal of these feature.
What I've done? Point cursor on the :PROPERTIES: line and export only the
subtree to latex and open it => C-c C-e C-s lo
Any hint? Any help is welcome.
Cheers,
LEslie
--
Leslie H. Watter
--
Leslie H. Watter
[-- Attachment #2: Type: text/html, Size: 2085 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* exclude_tags stoppped working at 9.0.5 release?
@ 2017-02-16 18:57 Leslie Watter
0 siblings, 0 replies; 9+ messages in thread
From: Leslie Watter @ 2017-02-16 18:57 UTC (permalink / raw)
To: org-mode-email
[-- Attachment #1: Type: text/plain, Size: 882 bytes --]
Hi Folks,
Sorry if it is a duplicate, I've sent this a few days ago and didn't see it
appear on the list.
I've been dealing with an issue here. Does the '#+EXCLUDE_TAGS' still works
on release 9.0.5 ?
I used the following org-mode file to test the export to latex, only the
subtree.
------------t.org
* exclude tags test
:PROPERTIES:
:EXPORT_FILE_NAME: t.pdf
:EXPORT_OPTIONS: toc:nil tags:nil <:nil ^:nil
:EXPORT_AUTHOR:
:EXPORT_DATE:
:END:
#+TAGS: alunos professor
#+EXCLUDE_TAGS: professor
** First Section
At 1st
***
:professor:
This should not appear on t.pdf
-----------
And it's not working: (
I've searched logs, changelog but no mention to removal of these feature.
What I've done? Point cursor on the :PROPERTIES: line and export only the
subtree to latex and open it => C-c C-e C-s lo
Any hint? Any help is welcome.
Cheers,
LEslie
--
Leslie H. Watter
[-- Attachment #2: Type: text/html, Size: 2507 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: exclude_tags stoppped working at 9.0.5 release?
2017-02-16 18:54 exclude_tags stoppped working at 9.0.5 release? Leslie Watter
@ 2017-02-16 19:26 ` Nick Dokos
2017-02-16 21:43 ` Nick Dokos
0 siblings, 1 reply; 9+ messages in thread
From: Nick Dokos @ 2017-02-16 19:26 UTC (permalink / raw)
To: emacs-orgmode
Leslie Watter <leslie@watter.org> writes:
> ** First Section
>
> At 1st
>
> *** :professor:
> This should not appear on t.pdf
> -----------
>
You might try running org-lint. I believe that empty headlines are
illegal. In particular, this works:
--8<---------------cut here---------------start------------->8---
** First Section
At 1st
*** professorial exclusion :professor:
This should not appear on t.pdf
--8<---------------cut here---------------end--------------->8---
--
Nick
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: exclude_tags stoppped working at 9.0.5 release?
2017-02-16 19:26 ` Nick Dokos
@ 2017-02-16 21:43 ` Nick Dokos
2017-02-17 12:25 ` Nicolas Goaziou
0 siblings, 1 reply; 9+ messages in thread
From: Nick Dokos @ 2017-02-16 21:43 UTC (permalink / raw)
To: emacs-orgmode
Nick Dokos <ndokos@gmail.com> writes:
> Leslie Watter <leslie@watter.org> writes:
>
>
>> ** First Section
>>
>> At 1st
>>
>> *** :professor:
>> This should not appear on t.pdf
>> -----------
>>
> You might try running org-lint.
Actually, I don't think org-lint detects empty headlines.
--
Nick
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: exclude_tags stoppped working at 9.0.5 release?
2017-02-16 21:43 ` Nick Dokos
@ 2017-02-17 12:25 ` Nicolas Goaziou
2017-02-17 15:33 ` Leslie Watter
0 siblings, 1 reply; 9+ messages in thread
From: Nicolas Goaziou @ 2017-02-17 12:25 UTC (permalink / raw)
To: Nick Dokos; +Cc: emacs-orgmode
Hello,
Nick Dokos <ndokos@gmail.com> writes:
> Nick Dokos <ndokos@gmail.com> writes:
>
>> Leslie Watter <leslie@watter.org> writes:
>>
>>
>>> ** First Section
>>>
>>> At 1st
>>>
>>> *** :professor:
>>> This should not appear on t.pdf
>>> -----------
>>>
>> You might try running org-lint.
>
> Actually, I don't think org-lint detects empty headlines.
Empty headlines are supported but an empty headline with tags is
ambiguous. Currently Org prefers to see a headline with ":professor:"
title and no tag.
I added a checker in Org Lint. Thank you.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: exclude_tags stoppped working at 9.0.5 release?
2017-02-17 12:25 ` Nicolas Goaziou
@ 2017-02-17 15:33 ` Leslie Watter
2017-02-17 16:32 ` Nick Dokos
0 siblings, 1 reply; 9+ messages in thread
From: Leslie Watter @ 2017-02-17 15:33 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: Nick Dokos, org-mode-email
[-- Attachment #1: Type: text/plain, Size: 1175 bytes --]
Hi Folks,
I've tried org-lint on the files of these pastebin:
http://pastebin.com/p7D3Qwd6
which are the same files but with tags on headlines, and it returned
nothing to me, but again, I still have
headings with :gabarito: exported to latex.
Even using a fresh installation of spacemacs as a test (just to remove any
pre-configuration I had) it acts the same, exporting gabarito sections.
Any hints ?
Cheers,
Leslie
On Fri, Feb 17, 2017 at 10:25 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:
> Hello,
>
> Nick Dokos <ndokos@gmail.com> writes:
>
> > Nick Dokos <ndokos@gmail.com> writes:
> >
> >> Leslie Watter <leslie@watter.org> writes:
> >>
> >>
> >>> ** First Section
> >>>
> >>> At 1st
> >>>
> >>> ***
> :professor:
> >>> This should not appear on t.pdf
> >>> -----------
> >>>
> >> You might try running org-lint.
> >
> > Actually, I don't think org-lint detects empty headlines.
>
> Empty headlines are supported but an empty headline with tags is
> ambiguous. Currently Org prefers to see a headline with ":professor:"
> title and no tag.
>
> I added a checker in Org Lint. Thank you.
>
>
> Regards,
>
> --
> Nicolas Goaziou
>
>
--
Leslie H. Watter
[-- Attachment #2: Type: text/html, Size: 2336 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: exclude_tags stoppped working at 9.0.5 release?
2017-02-17 15:33 ` Leslie Watter
@ 2017-02-17 16:32 ` Nick Dokos
2017-02-17 16:55 ` Nicolas Goaziou
0 siblings, 1 reply; 9+ messages in thread
From: Nick Dokos @ 2017-02-17 16:32 UTC (permalink / raw)
To: emacs-orgmode
Leslie Watter <leslie@watter.net> writes:
> Hi Folks,
>
> I've tried org-lint on the files of these pastebin:
>
> http://pastebin.com/p7D3Qwd6
>
> which are the same files but with tags on headlines, and it returned nothing to me, but again, I still
> have
> headings with :gabarito: exported to latex.
The org-lint comment was a sideline: as Nicolas said, the problem is
that empty headlines with tags are ambiguous: the following
*** :foo:
is interpreted as a headline ":foo:" with no tag, not as an empty
headline with tag :foo: - the workaround is not to have empty
headlines:
*** baz :foo:
--
Nick
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: exclude_tags stoppped working at 9.0.5 release?
2017-02-17 16:32 ` Nick Dokos
@ 2017-02-17 16:55 ` Nicolas Goaziou
0 siblings, 0 replies; 9+ messages in thread
From: Nicolas Goaziou @ 2017-02-17 16:55 UTC (permalink / raw)
To: Nick Dokos; +Cc: emacs-orgmode
Nick Dokos <ndokos@gmail.com> writes:
> the workaround is not to have empty
> headlines:
>
> *** baz :foo:
You can also insert a non-breaking space in lieu of headline.
Regards,
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2017-02-17 16:55 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-16 18:54 exclude_tags stoppped working at 9.0.5 release? Leslie Watter
2017-02-16 19:26 ` Nick Dokos
2017-02-16 21:43 ` Nick Dokos
2017-02-17 12:25 ` Nicolas Goaziou
2017-02-17 15:33 ` Leslie Watter
2017-02-17 16:32 ` Nick Dokos
2017-02-17 16:55 ` Nicolas Goaziou
-- strict thread matches above, loose matches on Subject: below --
2017-02-16 18:57 Leslie Watter
2017-02-16 17:58 Leslie Watter
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).