Gnus development mailing list
 help / color / mirror / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: ding@gnus.org
Subject: Re: Reading groups without starting Gnus
Date: Thu, 12 Apr 2012 19:14:57 +0200	[thread overview]
Message-ID: <874nsoyir2.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: <m3lim0ki1n.fsf@stories.gnus.org> (Lars Magne Ingebrigtsen's message of "Thu, 12 Apr 2012 18:53:56 +0200")

Lars Magne Ingebrigtsen <larsi@gnus.org> 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:gnus-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:gnus-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("\b	^[\306\f\206\n\307\307\x0e\b$*\205\207" [gnus-large-ephemeral-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;mboxmaint=yes;mboxstat=yes" 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 "={\\b" (regexp-quote email) "\\b}")
  (org-contacts-filter nil (concat org-contacts-email-property "={\\b" (regexp-quote email) "\\b}"))
  (or (org-contacts-filter nil (concat org-contacts-email-property "={\\b" (regexp-quote email) "\\b}")) (when name (org-contacts-filter (concat "^" name "$"))))
  (cadar (or (org-contacts-filter nil (concat org-contacts-email-property "={\\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 "={\\b" (regexp-quote email) "\\b}")) (when name (org-contacts-filter (concat "^" name "$"))))))
  org-contacts-gnus-article-from-get-marker()
  (let ((marker (org-contacts-gnus-article-from-get-marker))) (when marker (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-with-article-buffer ...))) (org-set-property org-contacts-last-read-mail-property 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



  reply	other threads:[~2012-04-12 17:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-12 16:53 Lars Magne Ingebrigtsen
2012-04-12 17:14 ` Tassilo Horn [this message]
2012-04-12 17:25   ` Lars Magne Ingebrigtsen
2012-04-12 17:31     ` Tassilo Horn
2012-04-12 18:30       ` Lars Magne Ingebrigtsen
2012-04-12 19:45         ` Tassilo Horn
2012-04-12 17:22 ` Tassilo Horn
2012-04-12 17:25   ` Lars Magne Ingebrigtsen
2012-04-12 17:42     ` Tassilo Horn
2012-04-12 17:51       ` Lars Magne Ingebrigtsen
2012-04-12 18:09         ` Tassilo Horn
2012-04-12 18:13           ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874nsoyir2.fsf@thinkpad.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).