emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-publish issue
@ 2017-03-13 19:31 Bob Newell
  2017-03-13 21:09 ` Bob Newell
  0 siblings, 1 reply; 3+ messages in thread
From: Bob Newell @ 2017-03-13 19:31 UTC (permalink / raw)
  To: emacs-orgmode

Aloha,

Running 9.0.5. I have a strange problem with org-publish. Only the first
entry of my :components gets processed. I've tried tracing code and fail
to find the problem. Can anyone give a suggestion? I'm appending my
project alist. Mahalo!

(setq org-publish-project-alist
            (quote (
              ("35yearsorg"
               :base-directory "~/organize/publish/35years/"
               :publishing-directory "/ftp:chipschapbn@www.bobnewell.net:~/publish/35years"
               :recursive t
               :table-of-contents t
	       :auto-sitemap t
	       :sitemap-title "35 Years of EMACS"
	       :sitemap-filename "index.html"
	       :sitemap-style "tree"
	       :makeindex t
               :base-extension "org"
               :publishing-function org-html-publish-to-html
               :style-include-default nil
               :section-numbers t
               :table-of-contents t 
               :author-info "Bob Newell"
               :creator-info nil)
              ("35yearstother"
	       :base-directory "~/organize/publish/35years/other/"
	       :base-extension "css\\|pdf\\|sh"
               :publishing-directory "/ftp:chipschapbn@www.bobnewell.net:~/publish/35years/other"
	       :publishing-function org-publish-attachment
	       :recursive t
              )
              ("35yearsimages"
	       :base-directory "~/organize/publish/35years/images"
	       :base-extension "png\\|jpg\\|gif"
               :publishing-directory "/ftp:chipschapbn@www.bobnewell.net:~/publish/35years/images"
	       :publishing-function org-publish-attachment
	       :recursive t
	       )
              ("35yearsweb" :components ("35yearsimages" "35yearsother" "35yearsorg"))
              ("generalorg"
               :base-directory "~/organize/publish/general/"
               :publishing-directory "/ftp:chipschapbn@www.bobnewell.net:~/publish/general"
               :recursive t
               :table-of-contents t
	       :auto-sitemap t
	       :sitemap-title "General Web Pages"
	       :sitemap-filename "index.html"
	       :sitemap-style "tree"
	       :makeindex t
               :base-extension "org"
               :publishing-function org-html-publish-to-html
               :style-include-default nil
               :section-numbers t
               :table-of-contents t
               :author-info "Bob Newell"
               :creator-info nil)
              ("generaltother"
	       :base-directory "~/organize/publish/general/other/"
	       :base-extension "css\\|pdf\\|sh"
               :publishing-directory "/ftp:chipschapbn@www.bobnewell.net:~/publish/general/other"
	       :publishing-function org-publish-attachment
	       :recursive t
	       )
              ("generalimages"
	       :base-directory "~/organize/publish/general/images/"
	       :base-extension "png\\|jpg\\|gif"
               :publishing-directory "/ftp:chipschapbn@www.bobnewell.net:~/publish/general/images"
	       :publishing-function org-publish-attachment
	       :recursive t
              )
              ("generalweb" :components ("generalimages" "generalother" "generalorg"))
)))


-- 
Bob Newell
Honolulu, Hawai`i
* Via Gnus/BBDB/Org/Emacs/Linux *

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

* Re: org-publish issue
  2017-03-13 19:31 org-publish issue Bob Newell
@ 2017-03-13 21:09 ` Bob Newell
  2017-03-17  7:55   ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Bob Newell @ 2017-03-13 21:09 UTC (permalink / raw)
  To: emacs-orgmode

Okay, solved, but it does point to a problem. I had misspellings in the
project names. So this happens:

("generalweb" :components ("generalimages" "generalother" "generalorg"))

"generalimages" is processed. "generalother" isn't found because of a
misspelling. But there is no error message and processing stops
silently, with "generalorg" being skipped.

Perhaps there should at least be an error or warning here?

-- 
Bob Newell
Honolulu, Hawai`i
* Via Gnus/BBDB/Org/Emacs/Linux *

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

* Re: org-publish issue
  2017-03-13 21:09 ` Bob Newell
@ 2017-03-17  7:55   ` Nicolas Goaziou
  0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2017-03-17  7:55 UTC (permalink / raw)
  To: Bob Newell; +Cc: emacs-orgmode

Hello,

Bob Newell <bobnewell@bobnewell.net> writes:

> Okay, solved, but it does point to a problem. I had misspellings in the
> project names. So this happens:
>
> ("generalweb" :components ("generalimages" "generalother" "generalorg"))
>
> "generalimages" is processed. "generalother" isn't found because of a
> misspelling. But there is no error message and processing stops
> silently, with "generalorg" being skipped.
>
> Perhaps there should at least be an error or warning here?

In master, an error in now raised.

Thank you.


Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2017-03-17  7:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-13 19:31 org-publish issue Bob Newell
2017-03-13 21:09 ` Bob Newell
2017-03-17  7:55   ` Nicolas Goaziou

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