From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61586 Path: news.gmane.org!not-for-mail From: Bill Wohler Newsgroups: gmane.emacs.gnus.general Subject: Re: nnrss seems to have alternative handling switched Date: Mon, 19 Dec 2005 12:44:25 -0800 Organization: Newt Software Message-ID: <13490.1135025065@olgas.newt.com> References: <15901.1134757942@olgas.newt.com> <17279.1134762638@olgas.newt.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1135025480 23500 80.91.229.2 (19 Dec 2005 20:51:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Dec 2005 20:51:20 +0000 (UTC) Original-X-From: ding-owner+m10118@lists.math.uh.edu Mon Dec 19 21:51:06 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EoRxL-00065E-FH for ding-account@gmane.org; Mon, 19 Dec 2005 21:50:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1EoRx8-0000eo-00; Mon, 19 Dec 2005 14:49:50 -0600 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EoRs9-0000ej-00 for ding@lists.math.uh.edu; Mon, 19 Dec 2005 14:44:41 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1EoRs1-000528-J5 for ding@lists.math.uh.edu; Mon, 19 Dec 2005 14:44:40 -0600 Original-Received: from 69-93-192-76.acornhosting.net ([69.93.192.76] helo=tassie.newt.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1EoRs0-0008J9-00 for ; Mon, 19 Dec 2005 21:44:32 +0100 Original-Received: from olgas.newt.com (m110e36d0.tmodns.net [208.54.14.17]) by tassie.newt.com (Postfix) with ESMTP id B00962D4013 for ; Mon, 19 Dec 2005 12:44:29 -0800 (PST) Original-Received: by olgas.newt.com (Postfix, from userid 1000) id 1329416FE1; Mon, 19 Dec 2005 12:44:25 -0800 (PST) Original-Received: from olgas.newt.com (localhost [127.0.0.1]) by olgas.newt.com (Postfix) with ESMTP id 0F36416FAC for ; Mon, 19 Dec 2005 12:44:25 -0800 (PST) Original-To: ding@gnus.org In-Reply-To: Reiner Steib's message of Sat, 17 Dec 2005 00:27:03 +0100. X-Mailer: MH-E 7.85+cvs; nmh 1.1; GNU Emacs 22.0.50.10 X-Image-URL: http://www.newt.com/wohler/images/bill-diving.png X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61586 Archived-At: --=-=-= Reiner Steib wrote: > [ I don't use RSS, but hopefully others will jump in. Maybe ask > again on ding@gnus.org if nobody answers. ] OK, will do. --=-=-= Content-Type: message/rfc822 Content-Disposition: inline; filename=10701 X-MHE-Checksum: a457901b2ef2b947898b99c7930d44d5 Replied: Fri, 16 Dec 2005 11:50:38 -0800 Replied: "bugs@gnus.org (The Gnus Bugfixing Girls + Boys) " To: bugs@gnus.org (The Gnus Bugfixing Girls + Boys) Subject: nnrss seems to have alternative handling switched Organization: Newt Software X-Mailer: MH-E 7.85+cvs; nmh 1.1; GNU Emacs 22.0.50.8 X-Image-URL: http://www.newt.com/wohler/images/bill-diving.png Date: Fri, 16 Dec 2005 10:32:22 -0800 Message-ID: <15901.1134757942@olgas.newt.com> From: Bill Wohler Gnus v5.11 GNU Emacs 22.0.50.8 (i686-pc-linux-gnu, GTK+ Version 2.6.10) of 2005-12-14 on olgas I just started reading RSS via Gnus. Nice stuff. However, Gnus seems to have the Content-Types of its alternatives switched. (I'm guessing that Gnus generates a multipart/alternative body based upon the appearance of this Content-Type header field when entering `t'. However `t' doesn't show the MIME body parts, so it's a bit confusing.) When I view the text/plain alternative (I think--I've added text/html to mm-discouraged-alternatives), the lines aren't folded and I can see HTML tags. When I remove text/html from mm-discouraged-alternatives, then I get the text/html alternative (I think) and see what should be a text/plain alternative (text is folded, and I don't see HTML, nor links). Let me know if there is any more information I can provide that would help. Thanks. I'm using Gnus from CVS Emacs as of 2005-12-14. <#part type=application/emacs-lisp disposition=inline description="User settings"> ------------------ Environment follows ------------------ (setq gnus-directory "~/var/news") (setq gnus-default-nntp-server "") (setq gnus-message-archive-method '(nnmh "archive" (nnmh-directory "~/var/mail/out") (nnmh-get-new-mail nil))) (setq gnus-message-archive-group "") (setq gnus-secondary-select-methods '((nnml ""))) (setq gnus-large-newsgroup 400) (setq gnus-kill-files-directory "~/var/news/") (setq gnus-interactive-catchup nil) (setq gnus-interactive-exit nil) (setq gnus-updated-mode-lines '(group summary tree)) (setq gnus-thread-hide-subtree t) (setq gnus-thread-sort-functions '(gnus-thread-sort-by-number gnus-thread-sort-by-total-score)) (setq gnus-thread-expunge-below 500) (setq gnus-summary-mode-hook '(gnus-agent-mode bw-gnus-summary-mode-hook)) (setq gnus-orphan-score -500) (setq gnus-group-sort-function '(gnus-group-sort-by-alphabet gnus-group-sort-by-rank)) (setq gnus-group-line-format "%M%S%p%L%P%5y: %(%g%)%l\n") (setq gnus-exit-gnus-hook '(mm-destroy-postponed-undisplay-list)) (setq gnus-visible-headers '("^From:" "^Subject:" "^Organization:" "^Newsgroups:" "^Date:")) (setq gnus-default-article-saver 'gnus-summary-write-to-file) (setq gnus-read-active-file nil) (setq gnus-read-newsrc-file nil) (setq gnus-save-newsrc-file nil) (setq gnus-save-killed-list nil) (setq gnus-startup-hook '((lambda nil (require 'bw-gnus)))) (setq gnus-before-startup-hook '((lambda nil (require 'bw-gnus)))) (setq gnus-setup-news-hook '(gnus-agent-queue-setup gnus-fixup-nnimap-unread-after-getting-new-news)) (setq gnus-group-mode-hook '(gnus-agent-mode)) (setq gnus-score-expiry-days 60) (setq gnus-buffer-configuration '((article (vertical 1.0 (summary 4 point) (article 1.0))) (group (vertical 1.0 (group 1.0 point) (if gnus-carpal '(group-carpal 4)))) (summary (vertical 1.0 (summary 1.0 point) (if gnus-carpal '(summary-carpal 4)))) (server (vertical 1.0 (server 1.0 point) (if gnus-carpal '(server-carpal 2)))) (browse (vertical 1.0 (browse 1.0 point) (if gnus-carpal '(browse-carpal 2)))) (message (vertical 1.0 (message 1.0 point))) (pick (vertical 1.0 (article 1.0 point))) (info (vertical 1.0 (info 1.0 point))) (summary-faq (vertical 1.0 (summary 0.25) (faq 1.0 point))) (edit-article (vertical 1.0 (article 1.0 point))) (edit-form (vertical 1.0 (group 0.5) (edit-form 1.0 point))) (edit-score (vertical 1.0 (summary 0.25) (edit-score 1.0 point))) (post (vertical 1.0 (post 1.0 point))) (reply (vertical 1.0 (article 0.5) (message 1.0 point))) (forward (vertical 1.0 (message 1.0 point))) (reply-yank (vertical 1.0 (message 1.0 point))) (mail-bounce (vertical 1.0 (article 0.5) (message 1.0 point))) (pipe (vertical 1.0 (summary 0.25 point) (if gnus-carpal '(summary-carpal 4)) ("*Shell Command Output*" 1.0))) (bug (vertical 1.0 (if gnus-bug-create-help-buffer '("*Gnus Help Bug*" 0.5)) ("*Gnus Bug*" 1.0 point))) (score-trace (vertical 1.0 (summary 0.5 point) ("*Score Trace*" 1.0))) (score-words (vertical 1.0 (summary 0.5 point) ("*Score Words*" 1.0))) (split-trace (vertical 1.0 (summary 0.5 point) ("*Split Trace*" 1.0))) (category (vertical 1.0 (category 1.0))) (compose-bounce (vertical 1.0 (article 0.5) (message 1.0 point))) (display-term (vertical 1.0 ("*display*" 1.0))))) ;; (makeunbound 'gnus-topic-mode) ;; (makeunbound 'gnus-topic-mode-hook) ;; (makeunbound 'gnus-topic-line-format) ;; (makeunbound 'gnus-topic-indent-level) ;; (makeunbound 'gnus-topic-display-empty-topics) (setq gnus-agent-expire-days 30) (setq gnus-server-mode-hook '(gnus-agent-mode)) (setq mm-inline-text-html-with-images t) (setq mm-discouraged-alternatives '("application/octet-stream" "audio/midi")) (setq mm-inline-large-images t) (setq nnmail-keep-last-article t) (setq nnmail-prepare-incoming-hook '((lambda nil (goto-char (point-min))))) (setq message-directory "~/var/mail/") (setq message-required-headers '((X-Draft-From lambda nil (gnus-inews-make-draft-meta-information "nnrss:Debian Planet" 'nil)) (optional . References) From)) (setq message-mode-hook '(#[nil "\302\030\303 !)\207" [gnus-article-copy gnus-setup-message-group nil gnus-configure-posting-styles] 2])) (setq message-header-setup-hook '(gnus-inews-insert-archive-gcc gnus-inews-insert-gcc)) (setq message-send-actions '((gnus-bug-kill-buffer))) (setq message-auto-save-directory "~/var/mail/drafts") <#/part> -- Bill Wohler http://www.newt.com/wohler/ GnuPG ID:610BD9AD Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian! If you're passed on the right, you're in the wrong lane. --=-=-= Content-Type: message/rfc822 Content-Disposition: inline; filename=10704 X-MHE-Checksum: 56eca1e4ff0e21ee049183784a0e2ca3 To: bugs@gnus.org (The Gnus Bugfixing Girls + Boys) Subject: Re: nnrss seems to have alternative handling switched In-Reply-To: Bill Wohler's message of Fri, 16 Dec 2005 10:32:22 PST. <15901.1134757942@olgas.newt.com> References: <15901.1134757942@olgas.newt.com> Organization: Newt Software X-Mailer: MH-E 7.85+cvs; nmh 1.1; GNU Emacs 22.0.50.8 X-Image-URL: http://www.newt.com/wohler/images/bill-diving.png Date: Fri, 16 Dec 2005 11:50:38 -0800 Message-ID: <17279.1134762638@olgas.newt.com> From: Bill Wohler As a followup to my last message, I did a little more digging and created the absolute minimum environment (appended below) and ran emacs -q. I still saw the problem I described in the previous message. In the minimalist environment, I am probably seeing the text/html parts and am probably using w3-standalone (the default). While email address and links in other (nntp and nnml) Gnus buffers are highlighted and can be followed, the links in the nnrss buffers can not. Do you know why not? Is this because goto-address is working on the other buffers and w3-standalone isn't generating clickable links in the text/html parts? I suppose this is another bug: these links should be clickable by default in case you're not a Ph.D. in Emacs lisp. By the way, how come nnml-directory isn't customizable? I have moved nearly my entire Gnus settings to customize except for that option. Thanks! (custom-set-variables '(gnus-directory "~/var/news") '(gnus-group-line-format "%M%S%p%L%P%5y: %(%g%)%l ") '(gnus-before-startup-hook 'bw-gnus-startup) '(gnus-summary-line-format "%U%R%z%(%-20,20n%)%6L %S ") '(gnus-thread-hide-subtree t) '(mail-source-delete-incoming t) '(mail-sources (quote ((directory :path "/home/wohler/var/mail/incoming/" :suffix "")))) '(message-auto-save-directory "~/var/mail/drafts") '(message-directory "~/var/mail/")) (defun bw-gnus-startup () (setq nnml-directory (expand-file-name "lists" message-directory)) ;; Summary buffer. (gnus-add-configuration '(article (vertical 1.0 (summary 4 point) (article 1.0))))) -- Bill Wohler http://www.newt.com/wohler/ GnuPG ID:610BD9AD Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian! If you're passed on the right, you're in the wrong lane. --=-=-= -- Bill Wohler http://www.newt.com/wohler/ GnuPG ID:610BD9AD Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian! If you're passed on the right, you're in the wrong lane. --=-=-=--