Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: lance <lance@mail.augustmail.com>
Subject: Re: gnus open RSS link in W3M?
Date: Wed, 06 Jul 2005 15:31:06 -0500	[thread overview]
Message-ID: <873bqry8vp.fsf@mail.augustmail.com> (raw)
In-Reply-To: <k6k3j1gn.fsf@Guido@VanHoecke.org>

Guido Van Hoecke <Guido@VanHoecke.org> writes:

;From Info, RSS I added the following to my .gnus file:

(require 'browse-url)
 (defun browse-nnrss-url( arg )
       (interactive "p")
       (let ((url (assq nnrss-url-field
                        (mail-header-extra
                         (gnus-data-header
                          (assq (gnus-summary-article-number)
                                gnus-newsgroup-data))))))
         (if url
             (progn
               (browse-url (cdr url))
               (gnus-summary-mark-as-read-forward 1))
           (gnus-summary-scroll-up arg))));

     (eval-after-load "gnus"
       #'(define-key gnus-summary-mode-map
           (kbd "<RET>") 'browse-nnrss-url))
     (add-to-list 'nnmail-extra-headers nnrss-url-field)

and get the error:

Debugger entered--Lisp error: (wrong-number-of-arguments require 3)
  (require (quote w3-auto) nil t)
  (progn (require (quote thingatpt)) (require (quote term)) (require (quote dired)) (require (quote executable)) (require (quote w3-auto) nil t))
  (eval-when-compile (require (quote thingatpt)) (require (quote term)) (require (quote dired)) (require (quote executable)) (require (quote w3-auto) nil t))
  load-internal("browse-url" nil t nil undecided)
  load("browse-url" nil t nil)
  require(browse-url)
  load-internal("~/.gnus" nil t nil undecided)
  load("~/.gnus" nil t)
  gnus-read-init-file()
  gnus-1(nil nil nil)
  gnus()
  #<compiled-function nil "...(49)" [toolbar-news-frame-plist toolbar-news-use-separate-frame toolbar-news-frame gnus frame-live-p make-frame add-hook gnus-exit-gnus-hook #<compiled-function nil "...(18)" ... 2> select-frame framep frame-iconified-p deiconify-frame raise-frame] 3 1089222 nil>()
  call-interactively(toolbar-gnus)
  #<compiled-function nil "...(27)" [toolbar-news-commands-alist toolbar-news-reader command error "Unknown news reader %s" call-interactively eval] 4 1089267 nil>()
  call-interactively(toolbar-news)
  release-and-activate-toolbar-button(#<buttonup-event button1up>)
  call-interactively(release-and-activate-toolbar-button)
  recursive-edit()
  byte-code("..." [buffer-read-only noninteractive debugger-buffer middlestart debugger-args debugger-batch-max-lines pop-to-buffer debugger-mode debugger-setup-buffer count-lines 2 "...\n" message buffer-string kill-emacs debug backtrace-debug 3 t debugger-reenable "" nil recursive-edit standard-output] 3)
  debug(error (wrong-number-of-arguments require 3))
  (require (quote w3-auto) nil t)
  (progn (require (quote thingatpt)) (require (quote term)) (require (quote dired)) (require (quote executable)) (require (quote w3-auto) nil t))
  (eval-when-compile (require (quote thingatpt)) (require (quote term)) (require (quote dired)) (require (quote executable)) (require (quote w3-auto) nil t))
  load-internal("browse-url" nil t nil undecided)
  load("browse-url" nil t nil)
  require(browse-url)
  load-internal("~/.gnus" nil t nil undecided)
  load("~/.gnus" nil t)
  gnus-read-init-file()
  gnus-1(nil nil nil)
  gnus()
  #<compiled-function nil "...(49)" [toolbar-news-frame-plist toolbar-news-use-separate-frame toolbar-news-frame gnus frame-live-p make-frame add-hook gnus-exit-gnus-hook #<compiled-function nil "...(18)" ... 2> select-frame framep frame-iconified-p deiconify-frame raise-frame] 3 1089222 nil>()
  call-interactively(toolbar-gnus)
  #<compiled-function nil "...(27)" [toolbar-news-commands-alist toolbar-news-reader command error "Unknown news reader %s" call-interactively eval] 4 1089267 nil>()
  call-interactively(toolbar-news)
  release-and-activate-toolbar-button(#<buttonup-event button1up>)
  call-interactively(release-and-activate-toolbar-button)
  recursive-edit()
  byte-code("..." [buffer-read-only noninteractive debugger-buffer middlestart debugger-args debugger-batch-max-lines pop-to-buffer debugger-mode debugger-setup-buffer count-lines 2 "...\n" message buffer-string kill-emacs debug backtrace-debug 3 t debugger-reenable "" nil recursive-edit standard-output] 3)
  debug(error (wrong-type-argument window-live-p #<window on nil 0x9d3>))
  select-window(#<window on nil 0x9d3>)
  byte-code("..." [curwin select-window] 2)
  throw(top-level nil)
  #<compiled-function nil "...(5)" [throw top-level nil] 3 672656 nil>()
  call-interactively(top-level)
  recursive-edit()
  byte-code("..." [buffer-read-only noninteractive debugger-buffer middlestart debugger-args debugger-batch-max-lines pop-to-buffer debugger-mode debugger-setup-buffer count-lines 2 "...\n" message buffer-string kill-emacs debug backtrace-debug 3 t debugger-reenable "" nil recursive-edit standard-output] 3)
  debug(error (beginning-of-buffer))
  scroll-down(5)
  mwheel-scroll(#<buttonup-event button4up>)
  call-interactively(mwheel-scroll)


> lance <lance@mail.augustmail.com> writes:
>
>> Hey all,
>>
>> Another question.  I have a RSS Feed that goes to the WWW.RSSWEATHER.COM 
>> website.  GNUS keeps putting all the information into a link.  How do I 
>> get gnus to open up the feed in W3M instead of giving me a link?
>
> The RSS node in the gnus info manual gives a recipe to achieve this.
>
> Guido.

-- 

                                Lance Hoffmeyer
                              lance@augustmail.com

-------------------------------------------------------------------------------
          The natural progress of things is for liberty to yield and
                          governments to gain ground.
                                       -
                                Thomas Jefferson


      parent reply	other threads:[~2005-07-06 20:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-01 20:55 lance
     [not found] ` <k6k3j1gn.fsf@Guido@VanHoecke.org>
2005-07-06 20:31   ` lance [this message]

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=873bqry8vp.fsf@mail.augustmail.com \
    --to=lance@mail.augustmail.com \
    /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).