From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81733 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Re: Reading groups without starting Gnus Date: Thu, 12 Apr 2012 19:14:57 +0200 Message-ID: <874nsoyir2.fsf@thinkpad.tsdh.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1334250932 4490 80.91.229.3 (12 Apr 2012 17:15:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 12 Apr 2012 17:15:32 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M30011@lists.math.uh.edu Thu Apr 12 19:15:32 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SINcJ-00058L-FQ for ding-account@gmane.org; Thu, 12 Apr 2012 19:15:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1SINbw-0001am-J2; Thu, 12 Apr 2012 12:15:08 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1SINbv-0001ab-Ca for ding@lists.math.uh.edu; Thu, 12 Apr 2012 12:15:07 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1SINbr-00089F-9z for ding@lists.math.uh.edu; Thu, 12 Apr 2012 12:15:07 -0500 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1SINbp-0000Ln-Eh for ding@gnus.org; Thu, 12 Apr 2012 19:15:01 +0200 Original-Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id A71C621F23 for ; Thu, 12 Apr 2012 13:15:00 -0400 (EDT) Original-Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 12 Apr 2012 13:15:00 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:subject:references:date :in-reply-to:message-id:mime-version:content-type :content-transfer-encoding; s=smtpout; bh=B+DKrUxZklKi6Oz/WVev5I BwPBM=; b=U8pD2wbri/mCyH2+SvTUnCFDJSWZSYuXsvCWIf8Vr141eO4j4d6O7a dRu+tgcGfVdvvNeDRVv5XxTH6WqrSg/bgQIaKqVYeKxrjO75fngWH0+R/i1wlVI9 bVECwU10Qs9LlVbVkddaqAiBxnht9r5o7ePPKf8d2yn844sbU7qto= X-Sasl-enc: c98IJqD8J1P8c+CP21jMRMiIcJVnkimP8gXZFoVMsWMk 1334250900 Original-Received: from thinkpad.tsdh.de (91-67-11-43-dynip.superkabel.de [91.67.11.43]) by mail.messagingengine.com (Postfix) with ESMTPSA id BF59C8E0154 for ; Thu, 12 Apr 2012 13:14:59 -0400 (EDT) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Thu, 12 Apr 2012 18:53:56 +0200") User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.1.50 (gnu/linux) X-Spam-Score: -2.8 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81733 Archived-At: Lars Magne Ingebrigtsen writes: > I've now altered Ma Gnus so that one can read (ephemeral) groups > without starting Gnus (or having a Gnus setup at all). > > Please give it a whirl and see whether it actually works, for instance > via `debbugs-gnu'. I tried with M-x gnus-read-ephemeral-emacs-bug-group RET some-random-bug-no RET which errors with gnus-summary-read-group-1: No buffer named *Group* --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (error "No buffer named *Group*") gnus-group-update-group("nndoc+/tmp/gnus-temp-group-1527B7B-ephemeral:g= nus-read-ephemeral-bug" nil t) gnus-summary-read-group-1("nndoc+/tmp/gnus-temp-group-1527B7B-ephemeral= :gnus-read-ephemeral-bug" t t nil nil nil) gnus-summary-read-group("nndoc+/tmp/gnus-temp-group-1527B7B-ephemeral:g= nus-read-ephemeral-bug" t t nil nil nil nil) gnus-group-read-group(t t "nndoc+/tmp/gnus-temp-group-1527B7B-ephemeral= :gnus-read-ephemeral-bug" nil) byte-code("=08 =1B\306\f\206\n\307\307=0E=08$*\205\207" [gnus-large-eph= emeral-newsgroup gnus-fetch-old-ephemeral-headers gnus-fetch-old-headers = gnus-large-newsgroup number group gnus-group-read-group t select-articles= ] 5) gnus-group-read-ephemeral-group("gnus-read-ephemeral-bug" (nndoc "/tmp/= gnus-temp-group-1527B7B" (nndoc-article-type mbox)) nil nil) gnus-read-ephemeral-bug-group((666) "http://debbugs.gnu.org/%s;mboxmain= t=3Dyes;mboxstat=3Dyes" nil) gnus-read-ephemeral-emacs-bug-group(666) call-interactively(gnus-read-ephemeral-emacs-bug-group t nil) execute-extended-command(nil) call-interactively(execute-extended-command nil nil) --8<---------------cut here---------------end--------------->8--- but brings up a summary buffer with messages anyway. When selecting an article in there, I get several concat: Wrong type argument: stringp, nil [3 times] errors, but again the article buffers are shown anyway. Oh, the latter errors seem to be cause by my customizations, i.e., org-contacts hooked into gnus-article-prepare-hook... --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (wrong-type-argument stringp nil) regexp-quote(nil) (concat org-contacts-email-property "=3D{\\b" (regexp-quote email) "\\b= }") (org-contacts-filter nil (concat org-contacts-email-property "=3D{\\b" = (regexp-quote email) "\\b}")) (or (org-contacts-filter nil (concat org-contacts-email-property "=3D{\= \b" (regexp-quote email) "\\b}")) (when name (org-contacts-filter (concat= "^" name "$")))) (cadar (or (org-contacts-filter nil (concat org-contacts-email-property= "=3D{\\b" (regexp-quote email) "\\b}")) (when name (org-contacts-filter = (concat "^" name "$"))))) (let* ((address (org-contacts-gnus-get-name-email)) (name (car address)= ) (email (cadr address))) (cadar (or (org-contacts-filter nil (concat org= -contacts-email-property "=3D{\\b" (regexp-quote email) "\\b}")) (when na= me (org-contacts-filter (concat "^" name "$")))))) org-contacts-gnus-article-from-get-marker() (let ((marker (org-contacts-gnus-article-from-get-marker))) (when marke= r (with-current-buffer (marker-buffer marker) (save-excursion (goto-char = marker) (let* ((org-email-link-description-format (or org-contacts-email-= link-description-format org-email-link-description-format)) (link (gnus-w= ith-article-buffer ...))) (org-set-property org-contacts-last-read-mail-p= roperty link)))))) org-contacts-gnus-store-last-mail() run-hooks(gnus-article-prepare-hook) apply(run-hooks gnus-article-prepare-hook) gnus-run-hooks(gnus-article-prepare-hook) gnus-article-prepare(1 nil) gnus-summary-display-article(1 nil) gnus-summary-select-article(nil nil pseudo) gnus-summary-scroll-up(1) call-interactively(gnus-summary-scroll-up nil nil) --8<---------------cut here---------------end--------------->8--- Bye, Tassilo