Gnus development mailing list
 help / color / mirror / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: ding@gnus.org
Subject: icalendar.el and gnus.
Date: Wed, 28 Nov 2012 23:47:09 +0100	[thread overview]
Message-ID: <87obih4a6q.fsf@mat.ucm.es> (raw)

[-- Attachment #1: Type: text/plain, Size: 575 bytes --]

Hello

I have 2 problems with icalendar.el (I contacted the author,
but since he did not reply yet, I thought maybe someone else
has some experience).

The first problem concerns how to automatically call the
icalendar import function (which imports an icalendar event
to the diary) when opening a message.

I used 
(setq gnus-article-mime-part-function 'icalendar-import-buffer)
but then I obtain an error which I attach.

The other question is not really gnus specific:
when I call icalendar-export-region the Location and
Organizer are not exported.

Thanks

Uwe Brauer 


[-- Attachment #2: bug-icalendar --]
[-- Type: application/octet-stream, Size: 1881 bytes --]

Debugger entered--Lisp error: (wrong-type-argument stringp (#<buffer " *mm*<3>"> ("text/plain" (charset . "UTF-8")) 7bit nil nil nil nil nil))
  get-file-buffer((#<buffer " *mm*<3>"> ("text/plain" (charset . "UTF-8")) 7bit nil nil nil nil nil))
  find-buffer-visiting((#<buffer " *mm*<3>"> ("text/plain" (charset . "UTF-8")) 7bit nil nil nil nil nil))
  icalendar--convert-ical-to-diary(((VCALENDAR nil (... ... ...) (... ...)) (VCALENDAR nil (... ... ...) (... ...))) (#<buffer " *mm*<3>"> ("text/plain" (charset . "UTF-8")) 7bit nil nil nil nil nil) nil nil)
  icalendar-extract-ical-from-buffer((#<buffer " *mm*<3>"> ("text/plain" (charset . "UTF-8")) 7bit nil nil nil nil nil))
  gnus-mime-part-function((#<buffer " *mm*<3>"> ("text/plain" (charset . "UTF-8")) 7bit nil nil nil nil nil))
  mapcar(gnus-mime-part-function ((#<buffer " *mm*<3>"> ("text/plain" ...) 7bit nil nil nil nil nil) (#<buffer " *mm*<4>"> ("text/calendar" ... ...) 8bit nil nil nil nil nil)))
  gnus-mime-part-function(("multipart/alternative" (#<buffer " *mm*<3>"> ("text/plain" ...) 7bit nil nil nil nil nil) (#<buffer " *mm*<4>"> ("text/calendar" ... ...) 8bit nil nil nil nil nil)))
  mapcar(gnus-mime-part-function (("multipart/alternative" (#<buffer " *mm*<3>"> ... 7bit nil nil nil nil nil) (#<buffer " *mm*<4>"> ... 8bit nil nil nil nil nil)) (#<buffer " *mm*<5>"> ("application/ics" ...) 8bit nil ("attachment" ...) nil nil nil)))
  gnus-mime-part-function(("multipart/mixed" ("multipart/alternative" (#<buffer " *mm*<3>"> ... 7bit nil nil nil nil nil) (#<buffer " *mm*<4>"> ... 8bit nil nil nil nil nil)) (#<buffer " *mm*<5>"> ("application/ics" ...) 8bit nil ("attachment" ...) nil nil nil)))
  gnus-display-mime()
  gnus-article-prepare-display()
  gnus-article-prepare(9109 nil)
  gnus-summary-display-article(9109)
  gnus-summary-next-page(nil)
  call-interactively(gnus-summary-next-page)
 

             reply	other threads:[~2012-11-28 22:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-28 22:47 Uwe Brauer [this message]
2012-11-30  3:21 ` Dave Goldberg
2012-11-30 14:24   ` coding problem UTF8 (was: icalendar.el and gnus.) Uwe Brauer
2012-11-30 21:29     ` [SOLVED] (was: coding problem UTF8) Uwe Brauer

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=87obih4a6q.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=ding@gnus.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.
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 NNTP newsgroup(s).