* gnus and gmane @ 2003-11-01 7:45 Simon András 0 siblings, 0 replies; 9+ messages in thread From: Simon András @ 2003-11-01 7:45 UTC (permalink / raw) I'm trying to post to a gmane list with gnus, but I get Couldn't send message via news: 441 No valid newsgroups in "gmane.test" I can read the list with gnus, and also post to it by lynx. I subscibed via browse-foreign-group, and also tried various combinations of (setq gnus-secondary-select-methods '((nntp "news.gmane.org"))) and (setq gnus-secondary-servers '("news.gmane.org")) gnus-version is 5.7. Any idea how to proceed? Posting with lynx is just too painful :-( Andras ^ permalink raw reply [flat|nested] 9+ messages in thread
* Gnus and gmane @ 2016-01-26 18:13 Pietro 2016-01-26 18:59 ` Emanuel Berg 0 siblings, 1 reply; 9+ messages in thread From: Pietro @ 2016-01-26 18:13 UTC (permalink / raw) To: info-gnus-english Hi everybody, I am following the instructions below to use gmane with gnus : >When you get it to work, run >`gnus-group-enter-server-mode' (hit `^' in the group >buffer), then find the Gmane line (should be >"nntp: news.gmane.org" or something similar) and hit >RET. Then make a search for "gnus": > K 64: gmane.emacs.gnus.announce > K 787: gmane.emacs.gnus.buildbot > K 6351: gmane.emacs.gnus.commits > K 12504: gmane.emacs.gnus.cvs > K 82890: gmane.emacs.gnus.general > K 30: gmane.emacs.gnus.patches > K 262: gmane.emacs.gnus.semi > K 13531: gmane.emacs.gnus.semi.japanese > K 1: gmane.emacs.gnus.tutorial > 17939: gmane.emacs.gnus.user >Move point to the desired group and do >`gnus-browse-unsubscribe-current-group' (key: `u') to >subscribe (yes, the name is confusing). Well .. I do subscribe a group but nothing happens and when I restart gnus it gets stuck on "Checking new news", furthermore the subscribed group does not appear in the *Groups* buffer. Help ! ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Gnus and gmane 2016-01-26 18:13 Gnus " Pietro @ 2016-01-26 18:59 ` Emanuel Berg 2016-01-26 21:18 ` Pietro 0 siblings, 1 reply; 9+ messages in thread From: Emanuel Berg @ 2016-01-26 18:59 UTC (permalink / raw) To: info-gnus-english Pietro <pulsarpietro@posteo.net> writes: > I am following the instructions [...] Good instructions! :) > I do subscribe a group but nothing happens and when > I restart gnus it gets stuck on "Checking new news", > furthermore the subscribed group does not appear in > the *Groups* buffer. What do you have in your config files? -- underground experts united http://user.it.uu.se/~embe8573 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Gnus and gmane 2016-01-26 18:59 ` Emanuel Berg @ 2016-01-26 21:18 ` Pietro 2016-01-27 0:30 ` Emanuel Berg 0 siblings, 1 reply; 9+ messages in thread From: Pietro @ 2016-01-26 21:18 UTC (permalink / raw) To: info-gnus-english > Pietro <pulsarpietro@posteo.net> writes: > >> I am following the instructions [...] > > Good instructions! :) Hey, looks who's here, you might find yourself familiar to most of its fragments :-) ;; IMAP personal email (setq user-mail-address "xxxxxx@xxx.xx" user-full-name "xxxxx") (setq gnus-select-method '(nnimap "xxxx" (nnimap-stream ssl) (nnimap-address "xxxxx") (nnimap-server-port "imaps") (nnir-search-engine imap) (nnimap-expunge-on-close 'ask))) ;; Newsgroups (add-to-list 'gnus-secondary-select-methods '(nntp "news.gmane.org")) ;; Ordering, I wish I knew what they are about (setq gnus-extract-address-components (quote mail-extract-address-components)) (setq gnus-article-sort-functions (quote (gnus-article-sort-by-number gnus-article-sort-by-date))) (setq gnus-thread-sort-functions (quote (gnus-thread-sort-by-number gnus-thread-sort-by-most-recent-date))) (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(send-mail-function (quote smtpmail-send-it)) '(smtpmail-smtp-server "xxxxxx") '(smtpmail-smtp-service 587)) (setq gnus-check-new-newsgroups nil) ;; init / fanfare / verbose (setq gnus-inhibit-startup-message t) (setq gnus-novice-user nil) (setq gnus-expert-user t) (setq gnus-interactive-exit 'quiet) (setq gnus-verbose 10) ; [0, 10] (setq gnus-verbose-backends 10) ; ditto > >> I do subscribe a group but nothing happens and when >> I restart gnus it gets stuck on "Checking new news", >> furthermore the subscribed group does not appear in >> the *Groups* buffer. > > What do you have in your config files? ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Gnus and gmane 2016-01-26 21:18 ` Pietro @ 2016-01-27 0:30 ` Emanuel Berg 2016-01-27 10:50 ` pulsarpietro 0 siblings, 1 reply; 9+ messages in thread From: Emanuel Berg @ 2016-01-27 0:30 UTC (permalink / raw) To: info-gnus-english Pietro <pulsarpietro@posteo.net> writes: > ;; IMAP personal email > (setq user-mail-address "xxxxxx@xxx.xx" > user-full-name "xxxxx") > (setq gnus-select-method > '(nnimap "xxxx" > (nnimap-stream ssl) > (nnimap-address "xxxxx") > (nnimap-server-port "imaps") > (nnir-search-engine imap) > (nnimap-expunge-on-close 'ask))) OK, so let's focus on Gmane and NNTP. You can comment this out temporarily, enclose it in (when nil ... ), or create a new .gnus and save the current one to .gnus-out-of-action or whatever to bring back later when Gmane works. > ;; Newsgroups > (add-to-list 'gnus-secondary-select-methods '(nntp "news.gmane.org")) Looks good. > ;; Ordering, I wish I knew what they are about > (setq gnus-extract-address-components (quote mail-extract-address-components)) > (setq gnus-article-sort-functions > (quote (gnus-article-sort-by-number gnus-article-sort-by-date))) > (setq gnus-thread-sort-functions > (quote > (gnus-thread-sort-by-number gnus-thread-sort-by-most-recent-date))) I'd say Gnus does a good job sorting by default. Especially if you don't know what they are, you can comment that out at the very least until you get Gmane up. > (custom-set-variables > ;; custom-set-variables was added by Custom. > ;; If you edit it by hand, you could mess it up, so be careful. > ;; Your init file should contain only one such instance. > ;; If there is more than one, they won't work right. > '(send-mail-function (quote smtpmail-send-it)) > '(smtpmail-smtp-server "xxxxxx") > '(smtpmail-smtp-service 587)) You don't need custom to do that. This is better: (setq message-send-mail-function #'smtpmail-send-it) Note the CL-style hash quote to denote a function literal. > (setq gnus-check-new-newsgroups nil) > > ;; init / fanfare / verbose > (setq gnus-inhibit-startup-message t) > (setq gnus-novice-user nil) > (setq gnus-expert-user t) > (setq gnus-interactive-exit 'quiet) > (setq gnus-verbose 10) ; [0, 10] > (setq gnus-verbose-backends 10) ; ditto That shouldn't affect your situation. You can temporarily remove it just the same, just like the SMTP stuff, just to do everything to isolate the problem. Another thing to try is, instead of having NNTP and Gmane as a secondary method, try to do it number one, i.e.: (setq gnus-select-method '(nntp "news.gmane.org")) I've had it number one (as now) but also as a secondary method, so both should work, of course, but in our attempts to isolate the problem it seems like a reasonable thing to do. -- underground experts united http://user.it.uu.se/~embe8573 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Gnus and gmane 2016-01-27 0:30 ` Emanuel Berg @ 2016-01-27 10:50 ` pulsarpietro 2016-01-27 16:02 ` Pietro 0 siblings, 1 reply; 9+ messages in thread From: pulsarpietro @ 2016-01-27 10:50 UTC (permalink / raw) To: info-gnus-english Emanuel Berg <embe8573@student.uu.se> writes: > Pietro <pulsarpietro@posteo.net> writes: > >> ;; IMAP personal email >> (setq user-mail-address "xxxxxx@xxx.xx" >> user-full-name "xxxxx") >> (setq gnus-select-method >> '(nnimap "xxxx" >> (nnimap-stream ssl) >> (nnimap-address "xxxxx") >> (nnimap-server-port "imaps") >> (nnir-search-engine imap) >> (nnimap-expunge-on-close 'ask))) > > OK, so let's focus on Gmane and NNTP. You can comment > this out temporarily, enclose it in (when nil ... ), > or create a new .gnus and save the current one to > .gnus-out-of-action or whatever to bring back later > when Gmane works. > >> ;; Newsgroups >> (add-to-list 'gnus-secondary-select-methods '(nntp "news.gmane.org")) > > Looks good. > >> ;; Ordering, I wish I knew what they are about >> (setq gnus-extract-address-components (quote mail-extract-address-components)) >> (setq gnus-article-sort-functions >> (quote (gnus-article-sort-by-number gnus-article-sort-by-date))) >> (setq gnus-thread-sort-functions >> (quote >> (gnus-thread-sort-by-number gnus-thread-sort-by-most-recent-date))) > > I'd say Gnus does a good job sorting by default. > Especially if you don't know what they are, you can > comment that out at the very least until you get > Gmane up. > >> (custom-set-variables >> ;; custom-set-variables was added by Custom. >> ;; If you edit it by hand, you could mess it up, so be careful. >> ;; Your init file should contain only one such instance. >> ;; If there is more than one, they won't work right. >> '(send-mail-function (quote smtpmail-send-it)) >> '(smtpmail-smtp-server "xxxxxx") >> '(smtpmail-smtp-service 587)) > > You don't need custom to do that. This is better: > > (setq message-send-mail-function #'smtpmail-send-it) > > Note the CL-style hash quote to denote > a function literal. > >> (setq gnus-check-new-newsgroups nil) >> >> ;; init / fanfare / verbose >> (setq gnus-inhibit-startup-message t) >> (setq gnus-novice-user nil) >> (setq gnus-expert-user t) >> (setq gnus-interactive-exit 'quiet) >> (setq gnus-verbose 10) ; [0, 10] >> (setq gnus-verbose-backends 10) ; ditto > > That shouldn't affect your situation. You can > temporarily remove it just the same, just like the > SMTP stuff, just to do everything to isolate > the problem. > > Another thing to try is, instead of having NNTP and > Gmane as a secondary method, try to do it number one, > i.e.: > > (setq gnus-select-method '(nntp "news.gmane.org")) > > I've had it number one (as now) but also as > a secondary method, so both should work, of course, > but in our attempts to isolate the problem it seems > like a reasonable thing to do. No hope, my .gnus.el now contains the following : (setq gnus-select-method '(nntp "news.gmane.org")) And that is all it is there, GNUS gets stuck with the minibuffer saying: "Checking new news" forever" I can't interact with emacs at all, I can't open a toolbar menu entry for instance. I do not know if this has any effect but as soon as I start gnus I am asked for my local .authinfo.gpg password, even though I haven't setup anything explicitly telling GNUS use it. To make this conversation going I am manually stopping GNUS whatever it does with M-g and then I go through the 'gnus-group-enter-server-mode' and I select this group, find our article and, finally, writing a follow-up. I am not sure this helps but I was curious and I have run strace on the not-responding emacs instance, this is what I get : clock_gettime(CLOCK_MONOTONIC, {85650, 45181449}) = 0 recvmsg(8, 0x7ffe93c2de30, 0) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=11, events=POLLIN}, {fd=5, events=POLLIN}], 4, 0) = 0 (Timeout) clock_gettime(CLOCK_MONOTONIC, {85650, 45317695}) = 0 clock_gettime(CLOCK_REALTIME, {1453891059, 902641062}) = 0 clock_gettime(CLOCK_REALTIME, {1453891059, 902675691}) = 0 clock_gettime(CLOCK_REALTIME, {1453891059, 902708950}) = 0 pselect6(15, [5 7 8 11 14], [], NULL, {0, 9965371}, {NULL, 8}) = 0 (Timeout) clock_gettime(CLOCK_MONOTONIC, {85650, 55595850}) = 0 recvmsg(8, 0x7ffe93c2de30, 0) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=11, events=POLLIN}, {fd=5, events=POLLIN}], 4, 0) = 0 (Timeout) clock_gettime(CLOCK_MONOTONIC, {85650, 55783461}) = 0 clock_gettime(CLOCK_REALTIME, {1453891059, 913131581}) = 0 clock_gettime(CLOCK_REALTIME, {1453891059, 913188508}) = 0 clock_gettime(CLOCK_REALTIME, {1453891059, 913231684}) = 0 pselect6(15, [5 7 8 11 14], [], NULL, {0, 9943073}, {NULL, 8}) = 0 (Timeout) clock_gettime(CLOCK_MONOTONIC, {85650, 66134187}) = 0 recvmsg(8, 0x7ffe93c2de30, 0) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=11, events=POLLIN}, {fd=5, events=POLLIN}], 4, 0) = 0 (Timeout) clock_gettime(CLOCK_MONOTONIC, {85650, 66299517}) = 0 clock_gettime(CLOCK_REALTIME, {1453891059, 923649141}) = 0 clock_gettime(CLOCK_REALTIME, {1453891059, 923689728}) = 0 clock_gettime(CLOCK_REALTIME, {1453891059, 923728795}) = 0 pselect6(15, [5 7 8 11 14], [], NULL, {0, 9959413}, {NULL, 8}) = 0 (Timeout) clock_gettime(CLOCK_MONOTONIC, {85650, 76648247}) = 0 recvmsg(8, 0x7ffe93c2de30, 0) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=11, events=POLLIN}, {fd=5, events=POLLIN}], 4, 0) = 0 (Timeout) clock_gettime(CLOCK_MONOTONIC, {85650, 76789593}) = 0 clock_gettime(CLOCK_REALTIME, {1453891059, 934117273}) = 0 clock_gettime(CLOCK_REALTIME, {1453891059, 934151649}) = 0 clock_gettime(CLOCK_REALTIME, {1453891059, 934187433}) = 0 pselect6(15, [5 7 8 11 14], [], NULL, {0, 9965624}, {NULL, 8}) = 0 (Timeout) clock_gettime(CLOCK_MONOTONIC, {85650, 87054215}) = 0 recvmsg(8, 0x7ffe93c2de30, 0) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=11, events=POLLIN}, {fd=5, events=POLLIN}], 4, 0) = 0 (Timeout) clock_gettime(CLOCK_MONOTONIC, {85650, 87175745}) = 0 clock_gettime(CLOCK_REALTIME, {1453891059, 944489275}) = 0 clock_gettime(CLOCK_REALTIME, {1453891059, 944522317}) = 0 clock_gettime(CLOCK_REALTIME, {1453891059, 944555567}) = 0 pselect6(15, [5 7 8 11 14], [], NULL, {0, 9966958}, {NULL, 8}^CProcess 28307 detached ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Gnus and gmane 2016-01-27 10:50 ` pulsarpietro @ 2016-01-27 16:02 ` Pietro 2016-01-27 23:25 ` Pietro 0 siblings, 1 reply; 9+ messages in thread From: Pietro @ 2016-01-27 16:02 UTC (permalink / raw) To: info-gnus-english pulsarpietro@posteo.net writes: > Emanuel Berg <embe8573@student.uu.se> writes: > >> Pietro <pulsarpietro@posteo.net> writes: >> >>> ;; IMAP personal email >>> (setq user-mail-address "xxxxxx@xxx.xx" >>> user-full-name "xxxxx") >>> (setq gnus-select-method >>> '(nnimap "xxxx" >>> (nnimap-stream ssl) >>> (nnimap-address "xxxxx") >>> (nnimap-server-port "imaps") >>> (nnir-search-engine imap) >>> (nnimap-expunge-on-close 'ask))) >> >> OK, so let's focus on Gmane and NNTP. You can comment >> this out temporarily, enclose it in (when nil ... ), >> or create a new .gnus and save the current one to >> .gnus-out-of-action or whatever to bring back later >> when Gmane works. >> >>> ;; Newsgroups >>> (add-to-list 'gnus-secondary-select-methods '(nntp "news.gmane.org")) >> >> Looks good. >> >>> ;; Ordering, I wish I knew what they are about >>> (setq gnus-extract-address-components (quote mail-extract-address-components)) >>> (setq gnus-article-sort-functions >>> (quote (gnus-article-sort-by-number gnus-article-sort-by-date))) >>> (setq gnus-thread-sort-functions >>> (quote >>> (gnus-thread-sort-by-number gnus-thread-sort-by-most-recent-date))) >> >> I'd say Gnus does a good job sorting by default. >> Especially if you don't know what they are, you can >> comment that out at the very least until you get >> Gmane up. >> >>> (custom-set-variables >>> ;; custom-set-variables was added by Custom. >>> ;; If you edit it by hand, you could mess it up, so be careful. >>> ;; Your init file should contain only one such instance. >>> ;; If there is more than one, they won't work right. >>> '(send-mail-function (quote smtpmail-send-it)) >>> '(smtpmail-smtp-server "xxxxxx") >>> '(smtpmail-smtp-service 587)) >> >> You don't need custom to do that. This is better: >> >> (setq message-send-mail-function #'smtpmail-send-it) >> >> Note the CL-style hash quote to denote >> a function literal. >> >>> (setq gnus-check-new-newsgroups nil) >>> >>> ;; init / fanfare / verbose >>> (setq gnus-inhibit-startup-message t) >>> (setq gnus-novice-user nil) >>> (setq gnus-expert-user t) >>> (setq gnus-interactive-exit 'quiet) >>> (setq gnus-verbose 10) ; [0, 10] >>> (setq gnus-verbose-backends 10) ; ditto >> >> That shouldn't affect your situation. You can >> temporarily remove it just the same, just like the >> SMTP stuff, just to do everything to isolate >> the problem. >> >> Another thing to try is, instead of having NNTP and >> Gmane as a secondary method, try to do it number one, >> i.e.: >> >> (setq gnus-select-method '(nntp "news.gmane.org")) >> >> I've had it number one (as now) but also as >> a secondary method, so both should work, of course, >> but in our attempts to isolate the problem it seems >> like a reasonable thing to do. > No hope, my .gnus.el now contains the following : > > (setq gnus-select-method '(nntp "news.gmane.org")) > > And that is all it is there, GNUS gets stuck with the minibuffer saying: > > "Checking new news" forever" > > I can't interact with emacs at all, I can't open a toolbar menu entry > for instance. > > I do not know if this has any effect but as soon as I start gnus I am > asked for my local .authinfo.gpg password, even though I haven't setup > anything explicitly telling GNUS use it. > > To make this conversation going I am manually stopping GNUS whatever it > does with M-g and then I go through the 'gnus-group-enter-server-mode' > and I select this group, find our article and, finally, writing a follow-up. > > I am not sure this helps but I was curious and I have run strace on > the not-responding emacs instance, this is what I get : > > clock_gettime(CLOCK_MONOTONIC, {85650, 45181449}) = 0 > recvmsg(8, 0x7ffe93c2de30, 0) = -1 EAGAIN (Resource temporarily unavailable) > poll([{fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=11, > events=POLLIN}, {fd=5, events=POLLIN}], 4, 0) = 0 (Timeout) > clock_gettime(CLOCK_MONOTONIC, {85650, 45317695}) = 0 > clock_gettime(CLOCK_REALTIME, {1453891059, 902641062}) = 0 > clock_gettime(CLOCK_REALTIME, {1453891059, 902675691}) = 0 > clock_gettime(CLOCK_REALTIME, {1453891059, 902708950}) = 0 > pselect6(15, [5 7 8 11 14], [], NULL, {0, 9965371}, {NULL, 8}) = 0 (Timeout) > clock_gettime(CLOCK_MONOTONIC, {85650, 55595850}) = 0 > recvmsg(8, 0x7ffe93c2de30, 0) = -1 EAGAIN (Resource temporarily unavailable) > poll([{fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=11, > events=POLLIN}, {fd=5, events=POLLIN}], 4, 0) = 0 (Timeout) > clock_gettime(CLOCK_MONOTONIC, {85650, 55783461}) = 0 > clock_gettime(CLOCK_REALTIME, {1453891059, 913131581}) = 0 > clock_gettime(CLOCK_REALTIME, {1453891059, 913188508}) = 0 > clock_gettime(CLOCK_REALTIME, {1453891059, 913231684}) = 0 > pselect6(15, [5 7 8 11 14], [], NULL, {0, 9943073}, {NULL, 8}) = 0 (Timeout) > clock_gettime(CLOCK_MONOTONIC, {85650, 66134187}) = 0 > recvmsg(8, 0x7ffe93c2de30, 0) = -1 EAGAIN (Resource temporarily unavailable) > poll([{fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=11, > events=POLLIN}, {fd=5, events=POLLIN}], 4, 0) = 0 (Timeout) > clock_gettime(CLOCK_MONOTONIC, {85650, 66299517}) = 0 > clock_gettime(CLOCK_REALTIME, {1453891059, 923649141}) = 0 > clock_gettime(CLOCK_REALTIME, {1453891059, 923689728}) = 0 > clock_gettime(CLOCK_REALTIME, {1453891059, 923728795}) = 0 > pselect6(15, [5 7 8 11 14], [], NULL, {0, 9959413}, {NULL, 8}) = 0 (Timeout) > clock_gettime(CLOCK_MONOTONIC, {85650, 76648247}) = 0 > recvmsg(8, 0x7ffe93c2de30, 0) = -1 EAGAIN (Resource temporarily unavailable) > poll([{fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=11, > events=POLLIN}, {fd=5, events=POLLIN}], 4, 0) = 0 (Timeout) > clock_gettime(CLOCK_MONOTONIC, {85650, 76789593}) = 0 > clock_gettime(CLOCK_REALTIME, {1453891059, 934117273}) = 0 > clock_gettime(CLOCK_REALTIME, {1453891059, 934151649}) = 0 > clock_gettime(CLOCK_REALTIME, {1453891059, 934187433}) = 0 > pselect6(15, [5 7 8 11 14], [], NULL, {0, 9965624}, {NULL, 8}) = 0 (Timeout) > clock_gettime(CLOCK_MONOTONIC, {85650, 87054215}) = 0 > recvmsg(8, 0x7ffe93c2de30, 0) = -1 EAGAIN (Resource temporarily unavailable) > poll([{fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=11, > events=POLLIN}, {fd=5, events=POLLIN}], 4, 0) = 0 (Timeout) > clock_gettime(CLOCK_MONOTONIC, {85650, 87175745}) = 0 > clock_gettime(CLOCK_REALTIME, {1453891059, 944489275}) = 0 > clock_gettime(CLOCK_REALTIME, {1453891059, 944522317}) = 0 > clock_gettime(CLOCK_REALTIME, {1453891059, 944555567}) = 0 > pselect6(15, [5 7 8 11 14], [], NULL, {0, 9966958}, {NULL, 8}^CProcess 28307 detached All solved, the reason why it all looked fairly unreasonable was because of some rubbish state being saved into the .news.eld and .news files. Once removed then you instructions worked smoothly. Thanks a lot. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Gnus and gmane 2016-01-27 16:02 ` Pietro @ 2016-01-27 23:25 ` Pietro 2016-01-29 3:01 ` Emanuel Berg 0 siblings, 1 reply; 9+ messages in thread From: Pietro @ 2016-01-27 23:25 UTC (permalink / raw) To: info-gnus-english Pietro <pulsarpietro@posteo.net> writes: > pulsarpietro@posteo.net writes: > >> Emanuel Berg <embe8573@student.uu.se> writes: >> >>> Pietro <pulsarpietro@posteo.net> writes: >>> >>>> ;; IMAP personal email >>>> (setq user-mail-address "xxxxxx@xxx.xx" >>>> user-full-name "xxxxx") >>>> (setq gnus-select-method >>>> '(nnimap "xxxx" >>>> (nnimap-stream ssl) >>>> (nnimap-address "xxxxx") >>>> (nnimap-server-port "imaps") >>>> (nnir-search-engine imap) >>>> (nnimap-expunge-on-close 'ask))) >>> >>> OK, so let's focus on Gmane and NNTP. You can comment >>> this out temporarily, enclose it in (when nil ... ), >>> or create a new .gnus and save the current one to >>> .gnus-out-of-action or whatever to bring back later >>> when Gmane works. >>> >>>> ;; Newsgroups >>>> (add-to-list 'gnus-secondary-select-methods '(nntp "news.gmane.org")) >>> >>> Looks good. >>> >>>> ;; Ordering, I wish I knew what they are about >>>> (setq gnus-extract-address-components (quote mail-extract-address-components)) >>>> (setq gnus-article-sort-functions >>>> (quote (gnus-article-sort-by-number gnus-article-sort-by-date))) >>>> (setq gnus-thread-sort-functions >>>> (quote >>>> (gnus-thread-sort-by-number gnus-thread-sort-by-most-recent-date))) >>> >>> I'd say Gnus does a good job sorting by default. >>> Especially if you don't know what they are, you can >>> comment that out at the very least until you get >>> Gmane up. >>> >>>> (custom-set-variables >>>> ;; custom-set-variables was added by Custom. >>>> ;; If you edit it by hand, you could mess it up, so be careful. >>>> ;; Your init file should contain only one such instance. >>>> ;; If there is more than one, they won't work right. >>>> '(send-mail-function (quote smtpmail-send-it)) >>>> '(smtpmail-smtp-server "xxxxxx") >>>> '(smtpmail-smtp-service 587)) >>> >>> You don't need custom to do that. This is better: >>> >>> (setq message-send-mail-function #'smtpmail-send-it) >>> >>> Note the CL-style hash quote to denote >>> a function literal. >>> >>>> (setq gnus-check-new-newsgroups nil) >>>> >>>> ;; init / fanfare / verbose >>>> (setq gnus-inhibit-startup-message t) >>>> (setq gnus-novice-user nil) >>>> (setq gnus-expert-user t) >>>> (setq gnus-interactive-exit 'quiet) >>>> (setq gnus-verbose 10) ; [0, 10] >>>> (setq gnus-verbose-backends 10) ; ditto >>> >>> That shouldn't affect your situation. You can >>> temporarily remove it just the same, just like the >>> SMTP stuff, just to do everything to isolate >>> the problem. >>> >>> Another thing to try is, instead of having NNTP and >>> Gmane as a secondary method, try to do it number one, >>> i.e.: >>> >>> (setq gnus-select-method '(nntp "news.gmane.org")) >>> >>> I've had it number one (as now) but also as >>> a secondary method, so both should work, of course, >>> but in our attempts to isolate the problem it seems >>> like a reasonable thing to do. >> No hope, my .gnus.el now contains the following : >> >> (setq gnus-select-method '(nntp "news.gmane.org")) >> >> And that is all it is there, GNUS gets stuck with the minibuffer saying: >> >> "Checking new news" forever" >> >> I can't interact with emacs at all, I can't open a toolbar menu entry >> for instance. >> >> I do not know if this has any effect but as soon as I start gnus I am >> asked for my local .authinfo.gpg password, even though I haven't setup >> anything explicitly telling GNUS use it. >> >> To make this conversation going I am manually stopping GNUS whatever it >> does with M-g and then I go through the 'gnus-group-enter-server-mode' >> and I select this group, find our article and, finally, writing a follow-up. >> >> I am not sure this helps but I was curious and I have run strace on >> the not-responding emacs instance, this is what I get : >> >> clock_gettime(CLOCK_MONOTONIC, {85650, 45181449}) = 0 >> recvmsg(8, 0x7ffe93c2de30, 0) = -1 EAGAIN (Resource temporarily unavailable) >> poll([{fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=11, >> events=POLLIN}, {fd=5, events=POLLIN}], 4, 0) = 0 (Timeout) >> clock_gettime(CLOCK_MONOTONIC, {85650, 45317695}) = 0 >> clock_gettime(CLOCK_REALTIME, {1453891059, 902641062}) = 0 >> clock_gettime(CLOCK_REALTIME, {1453891059, 902675691}) = 0 >> clock_gettime(CLOCK_REALTIME, {1453891059, 902708950}) = 0 >> pselect6(15, [5 7 8 11 14], [], NULL, {0, 9965371}, {NULL, 8}) = 0 (Timeout) >> clock_gettime(CLOCK_MONOTONIC, {85650, 55595850}) = 0 >> recvmsg(8, 0x7ffe93c2de30, 0) = -1 EAGAIN (Resource temporarily unavailable) >> poll([{fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=11, >> events=POLLIN}, {fd=5, events=POLLIN}], 4, 0) = 0 (Timeout) >> clock_gettime(CLOCK_MONOTONIC, {85650, 55783461}) = 0 >> clock_gettime(CLOCK_REALTIME, {1453891059, 913131581}) = 0 >> clock_gettime(CLOCK_REALTIME, {1453891059, 913188508}) = 0 >> clock_gettime(CLOCK_REALTIME, {1453891059, 913231684}) = 0 >> pselect6(15, [5 7 8 11 14], [], NULL, {0, 9943073}, {NULL, 8}) = 0 (Timeout) >> clock_gettime(CLOCK_MONOTONIC, {85650, 66134187}) = 0 >> recvmsg(8, 0x7ffe93c2de30, 0) = -1 EAGAIN (Resource temporarily unavailable) >> poll([{fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=11, >> events=POLLIN}, {fd=5, events=POLLIN}], 4, 0) = 0 (Timeout) >> clock_gettime(CLOCK_MONOTONIC, {85650, 66299517}) = 0 >> clock_gettime(CLOCK_REALTIME, {1453891059, 923649141}) = 0 >> clock_gettime(CLOCK_REALTIME, {1453891059, 923689728}) = 0 >> clock_gettime(CLOCK_REALTIME, {1453891059, 923728795}) = 0 >> pselect6(15, [5 7 8 11 14], [], NULL, {0, 9959413}, {NULL, 8}) = 0 (Timeout) >> clock_gettime(CLOCK_MONOTONIC, {85650, 76648247}) = 0 >> recvmsg(8, 0x7ffe93c2de30, 0) = -1 EAGAIN (Resource temporarily unavailable) >> poll([{fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=11, >> events=POLLIN}, {fd=5, events=POLLIN}], 4, 0) = 0 (Timeout) >> clock_gettime(CLOCK_MONOTONIC, {85650, 76789593}) = 0 >> clock_gettime(CLOCK_REALTIME, {1453891059, 934117273}) = 0 >> clock_gettime(CLOCK_REALTIME, {1453891059, 934151649}) = 0 >> clock_gettime(CLOCK_REALTIME, {1453891059, 934187433}) = 0 >> pselect6(15, [5 7 8 11 14], [], NULL, {0, 9965624}, {NULL, 8}) = 0 (Timeout) >> clock_gettime(CLOCK_MONOTONIC, {85650, 87054215}) = 0 >> recvmsg(8, 0x7ffe93c2de30, 0) = -1 EAGAIN (Resource temporarily unavailable) >> poll([{fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=11, >> events=POLLIN}, {fd=5, events=POLLIN}], 4, 0) = 0 (Timeout) >> clock_gettime(CLOCK_MONOTONIC, {85650, 87175745}) = 0 >> clock_gettime(CLOCK_REALTIME, {1453891059, 944489275}) = 0 >> clock_gettime(CLOCK_REALTIME, {1453891059, 944522317}) = 0 >> clock_gettime(CLOCK_REALTIME, {1453891059, 944555567}) = 0 >> pselect6(15, [5 7 8 11 14], [], NULL, {0, 9966958}, {NULL, 8}^CProcess 28307 detached > > All solved, the reason why it all looked fairly unreasonable was > because of some rubbish state being saved into the .news.eld and .news > files. Once removed then you instructions worked smoothly. > > Thanks a lot. Is there anything specific I need to do to get threads in date order ? ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Gnus and gmane 2016-01-27 23:25 ` Pietro @ 2016-01-29 3:01 ` Emanuel Berg 0 siblings, 0 replies; 9+ messages in thread From: Emanuel Berg @ 2016-01-29 3:01 UTC (permalink / raw) To: info-gnus-english Pietro <pulsarpietro@posteo.net> writes: > Is there anything specific I need to do to get > threads in date order ? I guess, because I wont try it myself: (setq gnus-thread-sort-functions '(gnus-thread-sort-by-most-recent-date gnus-thread-sort-by-number) ) This isn't recommended. The help of `gnus-thread-sort-functions' says: You should probably always include `gnus-thread-sort-by-number' in the list of sorting functions -- preferably first. Also note that sorting by date is often much slower than sorting by number, and the sorting order is very similar. (Sorting by date means sorting by the time the message was sent, sorting by number means sorting by arrival time.) -- underground experts united http://user.it.uu.se/~embe8573 ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2016-01-29 3:01 UTC | newest] Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2003-11-01 7:45 gnus and gmane Simon András 2016-01-26 18:13 Gnus " Pietro 2016-01-26 18:59 ` Emanuel Berg 2016-01-26 21:18 ` Pietro 2016-01-27 0:30 ` Emanuel Berg 2016-01-27 10:50 ` pulsarpietro 2016-01-27 16:02 ` Pietro 2016-01-27 23:25 ` Pietro 2016-01-29 3:01 ` Emanuel Berg
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).