David Masterson writes:
>>> When you have '(:foo bar :baz eet), nothing inside is evaluated because
>>> of the quote. To evaluate expressions selectively, use backquote:
>>>
>>> `(:foo bar:baz ,(concat "foo" "bar"))
> ...
> I spoke too soon -- I'm still getting the same error about expecting a
>
David Masterson writes:
> Ihor Radchenko writes:
>
>> David Masterson writes:
>>
>>> Hmm. Couldn't get rx (or rx-to-string) to work for me. Kept getting an
>>> error that a stringp was expected for the argument to :exclude. I tried
>>> variations on:
>>>
>>> :exclude (rx-to-string (seq (or
Ihor Radchenko writes:
> David Masterson writes:
>
>> Hmm. Couldn't get rx (or rx-to-string) to work for me. Kept getting an
>> error that a stringp was expected for the argument to :exclude. I tried
>> variations on:
>>
>> :exclude (rx-to-string (seq (or "init" "calendar-beorg") ".org"))
>
David Masterson writes:
> Hmm. Couldn't get rx (or rx-to-string) to work for me. Kept getting an
> error that a stringp was expected for the argument to :exclude. I tried
> variations on:
>
> :exclude (rx-to-string (seq (or "init" "calendar-beorg") ".org"))
When you have '(:foo bar :baz eet)
David Masterson writes:
> Ihor Radchenko writes:
>
>> David Masterson writes:
>>
>>> So I have this form:
>>>
>>> :exclude "\(init\|calendar-beorg\).org"
>>>
>>> but that doesn't seem to work as I get an ignorable error in processing
>>> calendar-beorg.org (a known Beorg issue).
>>>
>>> Is my
Ihor Radchenko writes:
> David Masterson writes:
>
>> So I have this form:
>>
>> :exclude "\(init\|calendar-beorg\).org"
>>
>> but that doesn't seem to work as I get an ignorable error in processing
>> calendar-beorg.org (a known Beorg issue).
>>
>> Is my regex wrong?
>
> Yes. You got to escap
David Masterson writes:
> So I have this form:
>
> :exclude "\(init\|calendar-beorg\).org"
>
> but that doesn't seem to work as I get an ignorable error in processing
> calendar-beorg.org (a known Beorg issue).
>
> Is my regex wrong?
Yes. You got to escape the \ inside string.
I recommend usin
In the Org Mode manual section 14.1.3, it says that ":exclude" takes a
regular expression of filenames to exclude from publishing but it
doesn't really explain what the regular expression format is (I assume
Elisp regex). I have two Org files that I want to exclude:
* calendar-beorg.org
* init.or