emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Manish <mailtomanish.sharma@gmail.com>
Cc: emacs-orgmode@gnu.org, Andre Powell <apowell656@gmail.com>
Subject: Re: Printing Multiple Lines For Agenda Export
Date: Sat, 21 Aug 2010 08:37:33 +0200	[thread overview]
Message-ID: <C23CE8D2-AE7D-4825-81A7-31D864EF9774@gmail.com> (raw)
In-Reply-To: <AANLkTi=Er37+03Hg85HQq0NnJ3ZE52GwGUZFh1b5kCf7@mail.gmail.com>


On Aug 21, 2010, at 8:09 AM, Manish wrote:

> On Sat, Aug 21, 2010 at 10:39 AM, Carsten Dominik wrote:
>> Hi,
>>
>> this is now fixed.
>>
>> Thanks for the report.
>>
>
> Debug on error gives this dump:

Not anymore. Thanks.

- Carsten

> ,----
> | Debugger entered--Lisp error: (wrong-number-of-arguments eobp 1)
> |   (eobp (forward-char 1))
> |   (or (eobp (forward-char 1)))
> |   (if (string-match "\\S-" txt) (insert "\n" txt) (or (eobp ...)))
> |   (if (not (setq m ...)) (beginning-of-line 2) (setq txt
> (org-agenda-get-some-entry-text m org-agenda-add-entry-text-maxlines "
>> ")) (end-of-line 1) (if (string-match "\\S-" txt) (insert "\n"
> txt) (or ...)))
> |   (while (not (eobp)) (if (not ...) (beginning-of-line 2) (setq txt
> ...) (end-of-line 1) (if ... ... ...)))
> |   (let (m txt) (goto-char (point-min)) (while (not ...) (if ... ...
> ... ... ...)))
> |   (progn (let (m txt) (goto-char ...) (while ... ...)))
> |   (if (and (> org-agenda-add-entry-text-maxlines 0) (not ...))
> (progn (let ... ... ...)))
> |   (when (and (> org-agenda-add-entry-text-maxlines 0) (not ...))
> (let (m txt) (goto-char ...) (while ... ...)))
> |   org-agenda-add-entry-text()
> |   run-hooks(org-agenda-before-write-hook)
> |   (progn (rename-buffer "Agenda View" t) (set-buffer-modified-p nil)
> (insert bs) (org-agenda-remove-marked-text (quote org-filtered))
> (while (setq beg ...) (delete-region beg ...)) (run-hooks (quote
> org-agenda-before-write-hook)) (cond (... ...) (... ... ... ... ...
> ... ...) (... ... ... ...) (... ... ... ... ... ...) (... ... ...) (t
> ...)))
> |   (unwind-protect (progn (rename-buffer "Agenda View" t)
> (set-buffer-modified-p nil) (insert bs) (org-agenda-remove-marked-text
> ...) (while ... ...) (run-hooks ...) (cond ... ... ... ... ... ...))
> (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))
> |   (save-current-buffer (set-buffer temp-buffer) (unwind-protect
> (progn ... ... ... ... ... ... ...) (and ... ...)))
> |   (with-current-buffer temp-buffer (unwind-protect (progn ... ...
> ... ... ... ... ...) (and ... ...)))
> |   (let ((temp-buffer ...)) (with-current-buffer temp-buffer
> (unwind-protect ... ...)))
> |   (with-temp-buffer (rename-buffer "Agenda View" t)
> (set-buffer-modified-p nil) (insert bs) (org-agenda-remove-marked-text
> (quote org-filtered)) (while (setq beg ...) (delete-region beg ...))
> (run-hooks (quote org-agenda-before-write-hook)) (cond (... ...) (...
> ... ... ... ... ... ...) (... ... ... ...) (... ... ... ... ... ...)
> (... ... ...) (t ...)))
> |   (let ((bs ...) beg) (org-agenda-unmark-filtered-text)
> (with-temp-buffer (rename-buffer "Agenda View" t)
> (set-buffer-modified-p nil) (insert bs) (org-agenda-remove-marked-text
> ...) (while ... ...) (run-hooks ...) (cond ... ... ... ... ... ...)))
> |   (save-window-excursion (org-agenda-mark-filtered-text) (let (...
> beg) (org-agenda-unmark-filtered-text) (with-temp-buffer ... ... ...
> ... ... ... ...)))
> |   (save-excursion (save-window-excursion
> (org-agenda-mark-filtered-text) (let ... ... ...)))
> |   (let ((ps-number-of-columns 1) (ps-landscape-mode t)
> (htmlize-output-type ...) (ps-print-color-p ...)) (save-excursion
> (save-window-excursion ... ...)) #<buffer *Org Agenda*>)
> |   eval((let ((ps-number-of-columns 1) (ps-landscape-mode t)
> (htmlize-output-type ...) (ps-print-color-p ...)) (save-excursion
> (save-window-excursion ... ...)) #<buffer *Org Agenda*>))
> |   org-let(((ps-number-of-columns 1) (ps-landscape-mode t)
> (htmlize-output-type (quote css)) (ps-print-color-p (quote
> black-white))) (save-excursion (save-window-excursion
> (org-agenda-mark-filtered-text) (let ... ... ...))) #<buffer *Org
> Agenda*>)
> |   org-write-agenda("d:/home/zms/zrepo.hg/org/2010-08-21.txt" nil)
> |   call-interactively(org-write-agenda nil nil)
> `----
>
> Could my setup be messed up somehow?
>
> Thanks
> -- Manish

- Carsten

  reply	other threads:[~2010-08-21  6:37 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-04 17:24 Printing Multiple Lines For Agenda Export Andre Powell
2010-08-08 11:52 ` David Maus
2010-08-21  5:09 ` Carsten Dominik
2010-08-21  6:09   ` Manish
2010-08-21  6:37     ` Carsten Dominik [this message]
2010-08-21 16:25       ` Manish
2010-08-21 22:16         ` Andre Powell
2010-08-21 22:31           ` Nick Dokos
2010-08-21 22:50             ` Andre Powell
2010-08-21 23:05               ` Memnon Anon
2010-08-21 23:52               ` Nick Dokos
2010-08-22  2:14                 ` Nick Dokos
2010-08-22  2:21                   ` Nick Dokos
  -- strict thread matches above, loose matches on Subject: below --
2010-08-21  2:48 Andre Powell
2010-08-21  4:23 ` Manish

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=C23CE8D2-AE7D-4825-81A7-31D864EF9774@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=apowell656@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mailtomanish.sharma@gmail.com \
    /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).