* save ~/News/rss/nnrss.el with extra whitespace
[not found] <87ab3gkxxj.fsf@lifelogs.com>
@ 2009-09-15 16:51 ` jidanni
2009-09-25 21:11 ` Ted Zlatanov
2009-09-15 18:28 ` How do I update the URL of an NNRSS group? jidanni
1 sibling, 1 reply; 3+ messages in thread
From: jidanni @ 2009-09-15 16:51 UTC (permalink / raw)
To: ding
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How do I update the URL of an NNRSS group?
[not found] <87ab3gkxxj.fsf@lifelogs.com>
2009-09-15 16:51 ` save ~/News/rss/nnrss.el with extra whitespace jidanni
@ 2009-09-15 18:28 ` jidanni
1 sibling, 0 replies; 3+ messages in thread
From: jidanni @ 2009-09-15 18:28 UTC (permalink / raw)
To: ding
>>>>> "TZ" == Ted Zlatanov <tzz@lifelogs.com> writes:
TZ> On Wed, 10 Jun 2009 02:44:30 +0800 jidanni@jidanni.org wrote:
j> How do I update the URL of an NNRSS group?
j> None of G C-h keys seem to be appropriate.
j> Must I do open heart surgery on some file?
TZ> I don't know for sure, but I think ~/News/rss/nnrss.el (wherever your
TZ> News directory resides) is what you want.
And indeed, the open heart surgery succeeded.
However there should be a interface available to edit them. How could
one's RSS feeds never change URLs? Before long a user will face the
need.
G R runs the command gnus-group-make-rss-group
So perhaps C-u G R should mean edit the RSS particulars of the group
under the cursor.
Editing ~/News/rss/nnrss.el one doesn't know if one needs to
percent-encode URIs or not. The interface could take care of that.
What's worse is if you want to edit the name of the RSS group that shows
up in the *Group* buffer. You have to change ~/News/rss/nnrss.el in two
places, and change a filename on the system... in whatever wacky
charset that got used for that filename... and there may still be even
more steps.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: save ~/News/rss/nnrss.el with extra whitespace
2009-09-15 16:51 ` save ~/News/rss/nnrss.el with extra whitespace jidanni
@ 2009-09-25 21:11 ` Ted Zlatanov
0 siblings, 0 replies; 3+ messages in thread
From: Ted Zlatanov @ 2009-09-25 21:11 UTC (permalink / raw)
To: ding
On Wed, 16 Sep 2009 00:51:51 +0800 jidanni@jidanni.org wrote:
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.
j> OK, but there needs to be a
j> (defun rs-gnus-save-newsrc-with-whitespace-1 ()
j> "Save ~/.newsrc.eld with extra whitespace."
j> (gnus-message 5 "Adding whitespace to .newsrc.eld")
j> (save-excursion
j> (goto-char (point-min))
j> (while (re-search-forward "(\\\"\\| ((\\| (nn" nil t)
j> (replace-match "\n \\&" t))
j> (delete-trailing-whitespace)))
j> (add-hook 'gnus-save-quick-newsrc-hook 'rs-gnus-save-newsrc-with-whitespace-1)
j> for it if one must do it regularly.
I'd rather have a better way to edit it from inside Gnus (see other thread).
Ted
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-09-25 21:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <87ab3gkxxj.fsf@lifelogs.com>
2009-09-15 16:51 ` save ~/News/rss/nnrss.el with extra whitespace jidanni
2009-09-25 21:11 ` Ted Zlatanov
2009-09-15 18:28 ` How do I update the URL of an NNRSS group? jidanni
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).