From: "Sven Bretfeld" <sven.bretfeld@gmx.ch>
To: David Engster <deng@randomsample.de>
Cc: Org-Mode <emacs-orgmode@gnu.org>
Subject: Re: Problems with org-caldav (wrong-type-argument stringp 47)
Date: 27 Jan 2013 03:29:58 +0100 [thread overview]
Message-ID: <87bocbuzmh.fsf@gmx.ch> (raw)
In-Reply-To: <87pq0ronno.fsf@engster.org> (David Engster's message of "Sat, 26 Jan 2013 18:32:43 +0100")
Hi David
David Engster <deng@randomsample.de> writes:
> Sven Bretfeld writes:
>> (setq org-caldav-files "/home/sven/Dropbox/myconf/testlocalcal.org")
>
> No, that's wrong. It has to be a list of files:
>
> (setq org-caldav-files '("/home/sven/Dropbox/myconf/testlocalcal.org"))
Yes, that did it. Thank you. Now syncing works but with error messages that
appear sometimes:
- progn: Could not find UID emacs207403667799062360.
And at other times:
- void-function pop-to-buffer-same-window
Could the last one be a function not implemented in my 23 version of
Emacs? See a full debugg below. The first one is strange to me too.
That's a nice package. I'm trying to automatize the sync process by a
cronjob and tell you my experiences.
Sven
Debugger entered--Lisp error: (void-function pop-to-buffer-same-window)
(pop-to-buffer-same-window (current-buffer))
(save-current-buffer (set-buffer (get-buffer-create "*org caldav sync result*")) (setq buffer-read-only nil) (erase-buffer) (insert "CalDAV Sync finished.\n\n") (if (null org-caldav-sync-result) (insert "Nothing was done.") (insert "== Sync errors: \n\n") (let ... ...) (insert "\n== Successful syncs: \n\n") (org-caldav-sync-result-print-entries ...)) (pop-to-buffer-same-window (current-buffer)) (setq buffer-read-only t) (goto-char (point-min)) (use-local-map org-caldav-sync-results-mode-map))
(with-current-buffer (get-buffer-create "*org caldav sync result*") (setq buffer-read-only nil) (erase-buffer) (insert "CalDAV Sync finished.\n\n") (if (null org-caldav-sync-result) (insert "Nothing was done.") (insert "== Sync errors: \n\n") (let ... ...) (insert "\n== Successful syncs: \n\n") (org-caldav-sync-result-print-entries ...)) (pop-to-buffer-same-window (current-buffer)) (setq buffer-read-only t) (goto-char (point-min)) (use-local-map org-caldav-sync-results-mode-map))
org-caldav-display-sync-results()
(progn (org-caldav-display-sync-results))
(if org-caldav-show-sync-results (progn (org-caldav-display-sync-results)))
(when org-caldav-show-sync-results (org-caldav-display-sync-results))
org-caldav-sync()
call-interactively(org-caldav-sync t nil)
execute-extended-command(nil)
call-interactively(execute-extended-command nil nil)
Debugger entered--Lisp error: (void-function pop-to-buffer-same-window)
(pop-to-buffer-same-window (current-buffer))
(save-current-buffer (set-buffer (get-buffer-create "*org caldav sync result*")) (setq buffer-read-only nil) (erase-buffer) (insert "CalDAV Sync finished.\n\n") (if (null org-caldav-sync-result) (insert "Nothing was done.") (insert "== Sync errors: \n\n") (let ... ...) (insert "\n== Successful syncs: \n\n") (org-caldav-sync-result-print-entries ...)) (pop-to-buffer-same-window (current-buffer)) (setq buffer-read-only t) (goto-char (point-min)) (use-local-map org-caldav-sync-results-mode-map))
(with-current-buffer (get-buffer-create "*org caldav sync result*") (setq buffer-read-only nil) (erase-buffer) (insert "CalDAV Sync finished.\n\n") (if (null org-caldav-sync-result) (insert "Nothing was done.") (insert "== Sync errors: \n\n") (let ... ...) (insert "\n== Successful syncs: \n\n") (org-caldav-sync-result-print-entries ...)) (pop-to-buffer-same-window (current-buffer)) (setq buffer-read-only t) (goto-char (point-min)) (use-local-map org-caldav-sync-results-mode-map))
org-caldav-display-sync-results()
(progn (org-caldav-display-sync-results))
(if org-caldav-show-sync-results (progn (org-caldav-display-sync-results)))
(when org-caldav-show-sync-results (org-caldav-display-sync-results))
org-caldav-sync()
call-interactively(org-caldav-sync t nil)
execute-extended-command(nil)
call-interactively(execute-extended-command nil nil)
next prev parent reply other threads:[~2013-01-27 2:30 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-26 14:20 Problems with org-caldav (wrong-type-argument stringp 47) Sven Bretfeld
2013-01-26 17:32 ` David Engster
2013-01-27 2:29 ` Sven Bretfeld [this message]
2013-01-27 15:07 ` David Engster
2013-01-27 17:08 ` Sven Bretfeld
2013-01-27 17:47 ` Sven Bretfeld
2013-01-27 20:41 ` David Engster
2013-01-28 10:23 ` Eric S Fraga
2013-02-02 15:56 ` David Engster
2013-02-03 0:04 ` Eric S Fraga
2013-02-03 12:20 ` David Engster
2013-02-03 22:31 ` Eric S Fraga
2013-01-28 21:14 ` Torsten Wagner
2013-01-30 10:32 ` Bastien
2013-02-01 12:08 ` Torsten Wagner
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=87bocbuzmh.fsf@gmx.ch \
--to=sven.bretfeld@gmx.ch \
--cc=deng@randomsample.de \
--cc=emacs-orgmode@gnu.org \
/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).