[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Better links to usenet articles
From: |
Tassilo Horn |
Subject: |
Re: [Orgmode] Better links to usenet articles |
Date: |
Sun, 16 Nov 2008 22:41:17 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Carsten Dominik <address@hidden> writes:
Hi Carsten,
> is there no way to do this without having to show the headers? Seems
> to be unnecessary overhead...
I'm not sure. Could you please point me to the location where org
creates the link, then I'll try to figure it out.
> Sorry for being picky, thanks for looking into this.
It was my wish, so I'm in a tight spot.
Bye,
Tassilo
>>> --8<---------------cut here---------------start------------->8---
>>> (with-current-buffer gnus-article-buffer
>>> (save-excursion
>>> (gnus-summary-toggle-header 1)
>> ^^^
>>> (goto-char (point-min))
>>> (let ((str (mail-header 'x-no-archive (mail-header-extract))))
>>> (when str
>>> (with-temp-buffer
>>> (insert str)
>>> (buffer-substring-no-properties (point-min) (point-max)))))))
>>> --8<---------------cut here---------------end--------------->8---