From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: A bit more feedback on org-publish-all Date: Sun, 05 Feb 2012 22:38:39 -0500 Message-ID: <17364.1328499519@alphaville> References: <87ty351gl6.fsf@iro.umontreal.ca> <871uq821ez.fsf@iro.umontreal.ca> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35513) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuFPg-0006ND-UH for emacs-orgmode@gnu.org; Sun, 05 Feb 2012 22:38:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RuFPf-0006Ag-O0 for emacs-orgmode@gnu.org; Sun, 05 Feb 2012 22:38:44 -0500 Received: from g4t0014.houston.hp.com ([15.201.24.17]:16385) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuFPf-0006AW-H3 for emacs-orgmode@gnu.org; Sun, 05 Feb 2012 22:38:43 -0500 In-Reply-To: Message from pinard@iro.umontreal.ca (=?us-ascii?Q?=3D=3Futf-?= =?us-ascii?Q?8=3FQ=3FFran=3DC3=3DA7ois=3F=3D?= Pinard) of "Sun\, 05 Feb 2012 20\:31\:00 EST." <871uq821ez.fsf@iro.umontreal.ca> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?us-ascii?Q?=3D=3Futf-8=3FQ=3FFran=3DC3=3DA7?= =?us-ascii?Q?ois=3F=3D?= Pinard Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Fran=C3=A7ois Pinard wrote: > pinard@iro.umontreal.ca (Fran=C3=A7ois Pinard) writes: >=20 > > 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. >=20 > Hmph! >=20 > `emacs --batch' buffers its output. So, "Publishing PROJECT" messages > would not be written timely, and the delaying would remove the > entertaining virtues. >=20 > Yet, such "Publishing PROJECT" messages would be helpful in case of any > error, as a kind of title prefixing it, and would ease debugging. >=20 [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=20 - What .emacs.el file is used on the server? - I want it for my own server! Nick