From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Re: Trying to print the agenda in the terminal - emacs stdout limit? Date: Mon, 3 Sep 2012 22:39:14 -0500 Message-ID: References: <877gsa8oj3.fsf@mean.albasani.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec5171c798d70b304c8d8007a Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35398) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8jyv-0002NT-38 for emacs-orgmode@gnu.org; Mon, 03 Sep 2012 23:39:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8jyt-00043r-Po for emacs-orgmode@gnu.org; Mon, 03 Sep 2012 23:39:17 -0400 Received: from mail-iy0-f169.google.com ([209.85.210.169]:42436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8jyt-00042h-JN for emacs-orgmode@gnu.org; Mon, 03 Sep 2012 23:39:15 -0400 Received: by iagk10 with SMTP id k10so9639758iag.0 for ; Mon, 03 Sep 2012 20:39:14 -0700 (PDT) In-Reply-To: <877gsa8oj3.fsf@mean.albasani.net> 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: Memnon Anon Cc: emacs-orgmode@gnu.org --bcaec5171c798d70b304c8d8007a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ah, good catch! Damn, forgot about this. Works fine now, thanks! On Mon, Sep 3, 2012 at 10:21 PM, Memnon Anon < gegendosenfleisch@googlemail.com> wrote: > Hi, > > Marcelo de Moraes Serpa writes: > > > If I eval this block in Emacs, the whole agenda text is shown in the > > *Messages* buffer, but when I run it from the command line, it only > > shows the first two lines: > > > > =E2=9E=9C ~ ./script.el > > Global list of TODO items of type: ALL > > Available with `N r': (0)ALL > > > > The rest seems to be truncated somehow. Does anyone know what could be > > happening? > > Quick test here with emacs 23 and 24 seems to work. > > ,----[ (info "(emacs)Initial Options") ] > | `--batch' implies `-q' (do not load an initialization file), but > | `site-start.el' is loaded nonetheless. > `---- > > Did you setq your org-agenda-files in that script? > My first guess would be it is not set. > > hth > > > > > > > --bcaec5171c798d70b304c8d8007a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ah, good catch! Damn, forgot about this. Works fine now, thanks!

On Mon, Sep 3, 2012 at 10:21 PM, Memnon Anon <gegendosenfleisch@googlemail.com> wrote:
Hi,

Marcelo de Moraes Serpa <celoserp= a@gmail.com> writes:

> If I eval this block in Emacs, the whole agenda text is shown in the > *Messages* buffer, but when I run it from the command line, it only > shows the first two lines:=C2=A0
>
> =E2=9E=9C =C2=A0~ =C2=A0./script.el
> Global list of TODO items of type: ALL
> Available with `N r': (0)ALL
>
> The rest seems to be truncated somehow. Does anyone know what could be=
> happening?

Quick test here with emacs 23 and 24 seems to work.

,----[ (info "(emacs)Initial Options") ]
| =C2=A0 =C2=A0 =C2=A0`--batch' implies `-q' (do not load an initia= lization file), but
| =C2=A0 =C2=A0 =C2=A0`site-start.el' is loaded nonetheless.
`----

Did you setq your org-agenda-files in that script?
My first guess would be it is not set.

hth







--bcaec5171c798d70b304c8d8007a--