From: Arun Isaac <arunisaac@systemreboot.net>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Bug: org-publish-get-project-from-filename raises (wrong-type-argument sequencep any)
Date: Fri, 30 Dec 2016 11:11:02 +0530 [thread overview]
Message-ID: <cu7pokaq8i9.fsf@systemreboot.net> (raw)
In-Reply-To: <871swqmpbu.fsf@nicolasgoaziou.fr>
[-- Attachment #1: Type: text/plain, Size: 728 bytes --]
Nicolas Goaziou writes:
> Hello,
>
> Arun Isaac <arunisaac@systemreboot.net> writes:
>
>> On list elements of `org-publish-project-alist' with :base-extension any
>> `org-publish-get-project-from-filename' fails with error
>> (wrong-type-argument sequencep any). This is due to the `concat' call in
>> `org-publish-get-project-from-filename' where it attempts to construct a
>> regex by concatenating several strings together. When extension `x' is
>> any (a symbol), this step fails.
>
> Fixed. Thank you.
Perhaps, `org-publish-get-project-from-filename' can be rewritten
without `catch' and `throw' using `cl-some' or `seq-some'. This is not a
bug. But, it might help improve readability of the logic.
Thanks,
Arun Isaac.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]
next prev parent reply other threads:[~2016-12-30 5:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-29 18:12 Bug: org-publish-get-project-from-filename raises (wrong-type-argument sequencep any) Arun Isaac
2016-12-29 20:51 ` Nicolas Goaziou
2016-12-30 5:41 ` Arun Isaac [this message]
2016-12-31 11:31 ` Nicolas Goaziou
2017-01-01 10:35 ` Arun Isaac
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cu7pokaq8i9.fsf@systemreboot.net \
--to=arunisaac@systemreboot.net \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).