Joe Fineman <[email protected]> writes: > I am using gnus v5.10.10 under GNU Emacs 22.3.1 under (for my many > sins) Windows XP. As usual, I find it hard to understand info, FAQs, > etc., on the following. > > 1. Opaque links: Some of my email, in particular from a couple of > organizations, comes with links that are not spelled out > (http://and.all/that.jazz), but appear merely as CLICK HERE or the > like. I was under the impression that that was illegal, but in any
Why would a link be illegal? html emails should be illegal :-; > case it is baffling. Is there any way to get at them -- or, if not, > to mark the email as unread in such a way that I can bring it up in my > browser (Conkeror)? I use this, but as I recall just hitting enter on it should bring it up in w3m (using the settings below) ,---- | (global-set-key (kbd "<f4>") 'rgr/browse-url) | | (defun rgr/browse (url) | "If prefix is specified use the system default browser else use the configured emacs one" | (if current-prefix-arg | (when url (browse-url-default-browser url)) | (if url (browse-url url) (call-interactively 'browse-url)) | )) | | (defun rgr/browse-url (&optional url) | "browse the url passed in" | (interactive) | (setq url (or url (w3m-url-valid (w3m-anchor)) (browse-url-url-at-point) (region-or-word-at-point))) | (setq url (read-string (format "Url \"%s\" :" url) url nil url)) | (rgr/browse url)) `---- Hitting enter brings it up in w3m for me, C-u f4 opens the system browser (firefox for me). C-h f on browse-url-default-browser will help. The function region-or-word-at-point is in the thinatpt+ library. I daresay there are simpler solutions but I like this since I generally open links in w3m inside emacs but occasionally need to launch a real browser from an encoded url. The code above works for a visible http link e.g "http://clickme" and also a formatted one w3m that just shows "click me" but with an underlying link. > > 2. Spelled-out HTML: In one email mailing list that I subscribe to, > most of the postings appear in plain text followed by text with all > the HTML coding explicitly embedded. Contributors to that list cannot > be dissuaded from top posting over the entire contents of the posting > they are commenting on, so that the comment, however short, is > embedded in a gigantic mess. Is there any way to prune that at my > end? These are my settings: (setq mm-text-html-renderer 'w3m mm-inline-text-html-with-images t mm-inline-large-images t mm-verify-option 'always mm-decrypt-option nil mm-discouraged-alternatives '("text/html" "text/richtext") mm-automatic-display '("text/html") mm-attachment-override-types '("image/.*") mm-external-terminal-program (quote urxvt) gnus-ignored-mime-types '("text/x-vcard") w3m-key-binding 'info w3m-cookie-accept-bad-cookies (quote ask) w3m-use-cookies t w3m-safe-url-regexp nil mm-w3m-safe-url-regexp nil ) They might need pruning but I dont see any html codes. I am assuming w3m works on windows too. Best of luck! regards, r. > > The apposite lines in my .emacs are: > > (setq load-path (cons (expand-file-name "/gnus-5.10.10/lisp") load-path)) > (if (locate-library "gnus-load") (require 'gnus-load)) > > (load-library "message") > (setq message-send-mail-function 'smtpmail-send-it) > (setq gnus-spam-autodetect '(("nntp.*" . t))) > > (setq gnus-secondary-select-methods '((nnml ""))) > (setq nnmail-spool-file "po:joe_f") > (load-library "pop3") > (setq pop3-password "********") ^^*** you should always consider keeping passwords in a seperate file and load them in from the meatier config files. > (setq nnmail-pop-password-required nil) > (setq nnmail-pop3-password-required nil) > (setq pop3-password-required nil) > > (setq gnus-nntp-server "news.eternal-september.org") > (setq gnus-read-active-file 'some) > > (setq global-font-lock-mode t) > > (load "/emacs-22.3/lisp/net/browse-url") > > (setq > browse-url-browser-function 'browse-url-generic > browse-url-generic-program "c:/conkeror/conkeror.exe") > > (setq gnus-button-url 'browse-url-generic > browse-url-generic-program "c:/conkeror/conkeror.exe" > browse-url-browser-function gnus-button-url) > > Thank you for your attention. -- _______________________________________________ info-gnus-english mailing list [email protected] http://lists.gnu.org/mailman/listinfo/info-gnus-english
