The shirts are all packed! And on time! Sort of!
My methodology here was M-x gnus-summary-sort-by-random (nice that somebody had added that), and then I went down from the top. If somebody had made a request that I couldn’t fill (for instance, if I was out of XL when I got down to them), I skipped them and went to the next one.
There were 29 contestants, and only 8 shirts, so most of you didn’t get a shirt. Sorry! And I guess you’ll find out if you got a shirt if it shows up in your mailbox during the next few weeks… (Or perhaps you can make a guess based on the extremely censored screenshot above.)
Oh, and I also had one copy of the Twenty Years of Septembe. I re-sorted and packed it up for the first matching entry, so one of you’re getting a shirt, but not a Gnus shirt.
Did you send back information to lottery winners or it would be surprise?
Didn’t send any emails to the winners.
My prize arrived today! Can’t remember the last time I won in a lottery 🙂 Thanks!
Mine arrived today and I’m absolutely thrilled, thank you Lars!
Hi, i couldn’t get this through gmane, so trying here 🙂
I like the [Export to Org] button that appears on iCalendar invites, but is there a nicer way to filter/transform the description and such? I like running a little regex replace, and adding the link back to the e-mail, but it would be easier to do this if the capture template was more configurable, e.g. we could have a defcustom gnus-icalendar-org-template-format-string
Currently I don’t do (gnus-icalendar-org-setup) but manually
(setq gnus-icalendar-org-enabled-p t)
;; based on gnus-icalendar-insinuate-org-templates:
(unless (gnus-icalendar-find-if (lambda (x) (string= (cadr x) gnus-icalendar-org-template-name))
org-capture-templates)
(setq org-capture-templates
(append `((,gnus-icalendar-org-template-key
,gnus-icalendar-org-template-name
entry
(file+olp ,gnus-icalendar-org-capture-file ,@gnus-icalendar-org-capture-headline)
;; was “%i”:
#’my-org-capture-template-gnus-icalendar))
org-capture-templates)))
(defun my-org-capture-template-gnus-icalendar ()
“Template for gnus-icalendar’s `org-capture’ entry.”
;; TODO: Why is “%a” always empty? Have to store the link manually:
(let ((annotation
(with-current-buffer gnus-article-buffer
(org-store-link nil))))
(when (stringp annotation)
(remove-text-properties 0 (length annotation)
‘(read-only t) annotation))
(concat “%(my-gnus-clean-ms-ical \”%i\”)\n”
;; “%a” ; would prefer to just do this instead of storing link myself:
(my-org-capture-escape annotation))))
and as the above shows, for some reason the link to the article isn’t stored (maybe because org-capture-string is called in a temp buffer?) so I have to fetch it myself.
So this works for the initial export, but the update button unfortunately seems to overwrite everything.
I suppose a better method might be to filter the parsed iCal event. In my emacs 29.4, icalendar–set-event-property is commented out in icalendar.el.gz – probably no one else needed it before now. But I can’t quite imagine what the api should be like.