emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Better links to usenet articles


From: Carsten Dominik
Subject: Re: [Orgmode] Better links to usenet articles
Date: Sun, 16 Nov 2008 22:30:52 +0100

Hi Tassilo,

is there no way to do this without having to show the headers?  Seems
to be unnecessary overhead...

Sorry for being picky, thanks for looking into this.

- Carsten

On Nov 14, 2008, at 10:09 AM, Tassilo Horn wrote:

Tassilo Horn <address@hidden> writes:

Ups, please correct that one line.

--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---

Bye,
Tassilo





reply via email to

[Prev in Thread] Current Thread [Next in Thread]