Gnus development mailing list
 help / color / mirror / Atom feed
From: jidanni@jidanni.org
To: ding@gnus.org
Subject: save ~/News/rss/nnrss.el with extra whitespace
Date: Wed, 16 Sep 2009 00:51:51 +0800	[thread overview]
Message-ID: <8763bk6ti0.fsf_-_@jidanni.org> (raw)
In-Reply-To: <87ab3gkxxj.fsf@lifelogs.com>

j> Must I do open heart surgery on some file?
TZ> I don't know for sure, but I think ~/News/rss/nnrss.el is what you want.
OK, but there needs to be a

(defun rs-gnus-save-newsrc-with-whitespace-1 ()
  "Save ~/.newsrc.eld with extra whitespace."
  (gnus-message 5 "Adding whitespace to .newsrc.eld")
  (save-excursion
    (goto-char (point-min))
    (while (re-search-forward "(\\\"\\| ((\\| (nn" nil t)
      (replace-match "\n  \\&" t))
    (delete-trailing-whitespace)))
(add-hook 'gnus-save-quick-newsrc-hook 'rs-gnus-save-newsrc-with-whitespace-1)

for it if one must do it regularly.



       reply	other threads:[~2009-09-15 16:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87ab3gkxxj.fsf@lifelogs.com>
2009-09-15 16:51 ` jidanni [this message]
2009-09-25 21:11   ` Ted Zlatanov
2009-09-15 18:28 ` How do I update the URL of an NNRSS group? jidanni

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=8763bk6ti0.fsf_-_@jidanni.org \
    --to=jidanni@jidanni.org \
    --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).