<p>If you have <a href="Reading%20RSS%20feeds%20in%20GNU%20Emacs.html">GNU Emacs Gnus check RSS feeds</a>, when you have many feeds defined, Gnus startup can take a considerable amount of time, as it redownloads each RSS feed. This can be quite problematic, especially when you are on a slow connection. Also sometimes you need to just check your email quickly without downloading RSS feeds.</p>[ <a href="/index.html">Home</a> ] [ <a href="/Sumoudou.html">相撲道 Sumoudou</a> ] [ <a href="/Sumou.html">相撲 Sumou</a> ] [ <a href="/Keiko.html">稽古 Keiko</a> ] [ <a href="/Power.html">力 Power</a> ] [ <a href="/Non-Sumou.html">相撲外 Non-Sumou</a> ] [ <a href="/whats-new.html">What's NEW!!!</a> ] <br /><br /> </div>
<!— Page published by Emacs Muse begins here —> <p><em><a href="Non-Sumou.html">Other GNU Emacs Gnus tips</a></em></p>
To accomplish this:</p> <ol> <li>Setup you email access for Gnus in ~/.emacs and subscribe to your Inbox and the needed folders.</li> <li>Exit Emacs.</li> <li><table bgcolor="#000000" border="1"><tr><td border="0"><font color="#FFFF00"><b>$ cp ~/.newsrc ~/.newsrc.mail<br /> $ cp ~/.newsrc.eld ~/.newsrc.eld.mail</b></td></tr></table></li> <li>Enter Emacs and Gnus and add the need RSS feeds, you wish to be subscribed to.</li> <li>Exit Emacs.</li> <li><table bgcolor="#000000" border="1"><tr><td border="0"><font color="#FFFF00"><b>$ cp ~/.newsrc ~/.newsrc.mail-rss<br /> $ cp ~/.newsrc.eld ~/.newsrc.eld.mail-rss</b></td></tr></table></li> <li>Enter Emacs and Gnus.</li> <li>Unsubscribe from your mail Inbox and all the mail folders, leaving only the RSS feeds as subscriptions.</li> <li>Exit Emacs.</li> <li><table bgcolor="#000000" border="1"><tr><td border="0"><font color="#FFFF00"><b>$ cp ~/.newsrc ~/.newsrc.rss<br /> $ cp ~/.newsrc.eld ~/.newsrc.eld.rss</b></td></tr></table></li> <li>Add the following code to your ~/.emacs:</li> </ol> <blockquote> <p class="quoted"></p> </blockquote> <pre class="example"> (defun shiroikuma/gnus-mail-rss ()
<ol> <li>Restart Emacs.</li> </ol>"Use GNUS to read email and RSS streams." (interactive) (copy-file "~/.newsrc.mail-rss" "~/.newsrc" 't) (copy-file "~/.newsrc.eld.mail-rss" "~/.newsrc.eld" 't)) (defun shiroikuma/gnus-mail () "Use GNUS to read email only." (interactive) (copy-file "~/.newsrc.mail" "~/.newsrc" 't) (copy-file "~/.newsrc.eld.mail" "~/.newsrc.eld" 't)) (defun shiroikuma/gnus-rss () "Use GNUS to read RSS streams only." (interactive) (copy-file "~/.newsrc.rss" "~/.newsrc" 't) (copy-file "~/.newsrc.eld.rss" "~/.newsrc.eld" 't)) </pre>
Now when you want to just check your email, run the following one time before starting Gnus: <table bgcolor="#000000" border="1"><tr><td border="0"><font color="#FFFF00"><b>M-x shiroikuma/gnus-mail</b></td></tr></table></p>
When you want to only check RSS feeds: <table bgcolor="#000000" border="1"><tr><td border="0"><font color="#FFFF00"><b>M-x shiroikuma/gnus-rss</b></td></tr></table></p>
When you want to check both: <table bgcolor="#000000" border="1"><tr><td border="0"><font color="#FFFF00"><b>M-x shiroikuma/gnus-mail-rss</b></td></tr></table> <!— Page published by Emacs Muse ends here —>