From: Nick Dokos <nicholas.dokos@hp.com>
To: =?utf-8?Q?Fran=C3=A7ois?= Pinard <pinard@iro.umontreal.ca>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: A bit more feedback on org-publish-all
Date: Sun, 05 Feb 2012 22:38:39 -0500 [thread overview]
Message-ID: <17364.1328499519@alphaville> (raw)
In-Reply-To: Message from pinard@iro.umontreal.ca (=?utf-8?Q?Fran=C3=A7ois?= Pinard) of "Sun\, 05 Feb 2012 20\:31\:00 EST." <871uq821ez.fsf@iro.umontreal.ca>
François Pinard <pinard@iro.umontreal.ca> wrote:
> pinard@iro.umontreal.ca (François Pinard) writes:
>
> > When I execute org-publish-all, I would like to have some indication
> > of the progress, so I can follow what is going on. [...] Such
> > "Publishing PROJECT..." message would also be useful to me in another
> > way. [...] the script execution is a bit longish [...] while being
> > too silent.
>
> Hmph!
>
> `emacs --batch' buffers its output. So, "Publishing PROJECT" messages
> would not be written timely, and the delaying would remove the
> entertaining virtues.
>
> Yet, such "Publishing PROJECT" messages would be helpful in case of any
> error, as a kind of title prefixing it, and would ease debugging.
>
[I haven't looked at earlier messages in this thread, so I hope I
am not misinterpreting.]
(message "foo") prints to stderr in batch mode, which is an unbuffered
stream. E.g ``emacs --batch -l foo.el'' with foo.el containing
--8<---------------cut here---------------start------------->8---
(message "foo")
(sit-for 10)
--8<---------------cut here---------------end--------------->8---
prints out ``foo'' and then sits for 10 seconds before exiting.
Also, don't you get messages for every file? The only publishing I've
done recently is worg publishing (I publish locally to test any changes
I make before pushing). That gives me a fairly detailed list of what it
is doing. AFAICT, that's the default behavior, but there may be settings
I've overlooked. I would recommend looking at the worg publishing
mechanism in general. See
http://orgmode.org/worg/worg-setup.html
particularly the sections entitled
- What .emacs.el file is used on the server?
- I want it for my own server!
Nick
next prev parent reply other threads:[~2012-02-06 3:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-05 14:48 A bit more feedback on org-publish-all François Pinard
2012-02-06 1:31 ` François Pinard
2012-02-06 3:38 ` Nick Dokos [this message]
2012-02-06 14:56 ` François Pinard
2012-02-06 15:21 ` Nick Dokos
2012-02-06 15:27 ` Nick Dokos
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=17364.1328499519@alphaville \
--to=nicholas.dokos@hp.com \
--cc=emacs-orgmode@gnu.org \
--cc=pinard@iro.umontreal.ca \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.