From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/17434 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.user Subject: Re: Hanging gnus session Date: Wed, 11 Feb 2015 08:15:43 +0100 Message-ID: <874mqs536o.fsf@gnu.org> References: <87mw4lgane.fsf@engels.histomat.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1423638972 8636 80.91.229.3 (11 Feb 2015 07:16:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Feb 2015 07:16:12 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Feb 11 08:16:00 2015 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YLRWi-0000qd-D9 for gegu-info-gnus-english@m.gmane.org; Wed, 11 Feb 2015 08:16:00 +0100 Original-Received: from localhost ([::1]:43504 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLRWh-00082k-L4 for gegu-info-gnus-english@m.gmane.org; Wed, 11 Feb 2015 02:15:59 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLRWe-00082W-D7 for info-gnus-english@gnu.org; Wed, 11 Feb 2015 02:15:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YLRWb-00079e-5q for info-gnus-english@gnu.org; Wed, 11 Feb 2015 02:15:56 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:33822) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLRWa-00079Y-Uy for info-gnus-english@gnu.org; Wed, 11 Feb 2015 02:15:53 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YLRWY-0000n5-Im for info-gnus-english@gnu.org; Wed, 11 Feb 2015 08:15:50 +0100 Original-Received: from dhcp122.uni-koblenz.de ([141.26.71.122]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Feb 2015 08:15:50 +0100 Original-Received: from tsdh by dhcp122.uni-koblenz.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Feb 2015 08:15:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 51 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dhcp122.uni-koblenz.de User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:xxpSs4vmIBoz+Ct+ehWVD7OVhBo= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:17434 Archived-At: Haines Brown writes: Hi Haines, > Here is my setup. In .fluxbox I have a key defined that starts an > "emacs-gnus" executable script. That script simply has: > > #!/bin/sh > emacs -q -l /home/haines/.emacs.d/elisp/gnus.el > exit 0 > > The gnus.el file defines the news servers and some other parameters > which have never been a problem. As its final line I have: > > (gnus) > > When I hit the key, gnus starts OK, and it checks new news. However, > there are two problems. > > First, when gnus starts, the emacs minibuffer says, "Gnus auto-save > file exists. Do you want to read it?" If I respond "y", messages are > retrieved. I don't know why gnus needs to access an auto-save file and I > would like to avoid the query under normal conditions. Gnus regularly auto-saves what articles you've read etc, and when you hit `s' in *Group* or quit Gnus it saves that information to ~/.newsrc.eld and deletes the auto-saved file. So when it asks you that question on startup, it means that you've not properly quit your previous Gnus session. Maybe you simply killed emacs without quitting Gnus before? Or maybe there's another Emacs session running Gnus already? > Second, when I do "g" to update the groups, gnus simply hangs. $ ps aux > tells me there are two processes running: > > /bin/sh /home/haines/scripts/emacs-gnus > emacs -q -l /home/haines/.emacs.d/elisp/gnus.el > > I have to kill them and start gnus anew in order to read news again. I > would prefer that the emacs client run gnus all the time and I only need > to press g to update it. That's how it's supposed to work. Does the echo area indicate what server it checks when it hangs? What you can also do is `M-x toggle-debug-on-quit RET' before you update with `g'. Then, when Gnus hangs for a while hit `C-g'. That will show you a backtrace which you can post here. Bye, Tassilo