From: Marc Girod <girod@shire.ntc.nokia.com>
Subject: Re: w3 trouble
Date: Fri, 17 Oct 2003 11:38:43 GMT [thread overview]
Message-ID: <u0tkbekxct804.fsf@heitsz02lab.ntc.nokia.com> (raw)
In-Reply-To: 87y8vkcfi9.fsf@lucien.dreaming
>>>>> "BL" == Björn Lindström <bkhl@elektrubadur.se> writes:
BL> Since nobody seems to be able to answer this, could maybe someone
BL> share their working w3/gnus settings, so I could try them out?
First, I have only: GNU Emacs 21.2.1
Then, I have quite a lot of settings that might affect.
First old Xresources:
Emacs*w3-tt-style.attributeFont: -adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-1
Emacs*w3-header-style.attributeForeground: AntiqueWhite2
Emacs*w3-italic-style.attributeFont: -adobe-courier-medium-o-normal--12-120-75-75-m-70-iso8859-1
Emacs*w3-node-style.attributeForeground: CadetBlue2
Emacs*w3-visited-node-style.attributeFont: -adobe-courier-medium-o-normal--12-120-75-75-m-70-iso8859-1
Emacs*w3-visited-node-style.attributeForeground: CadetBlue3
Then some things at various levels in my emacs-lisp files:
(custom-set-faces
'(cperl-array-face ((((class color) (background dark)) (:bold nil :foreground "wheat" :background "DeepSkyBlue4"))))
'(widget-button-pressed-face ((t (:foreground "CadetBlue3"))))
'(highlight-changes-delete-face ((t (:underline t :foreground "CadetBlue2"))))
'(message-header-name-face ((t (:foreground "Goldenrod"))))
'(message-header-cc-face ((t (:bold t :foreground "LimeGreen"))))
'(cperl-hash-face ((((class color) (background dark)) (:bold nil :italic nil :foreground "Salmon" :background "DeepSkyBlue4"))))
'(message-separator-face ((t (:foreground "Thistle"))))
'(message-header-other-face ((t (:foreground "Khaki"))))
'(message-cited-text-face ((t (:foreground "MediumTurquoise")))))
--------------------------------
(eval-when-compile (progn (require 'w3) (require 'w3-print) (require 'ssl)))
(defvar url-be-asynchronous t
"*Controls whether document retrievals over HTTP should be done in
the background. This allows you to keep working in other windows
while large downloads occur.")
(autoload 'w3-follow-url-under-mouse-other-frame "w3-addups" nil t)
(autoload 'w3-follow-url-under-mouse "w3-addups" nil t)
(autoload 'w3-find-this-file-other-frame "w3-addups" nil t)
(autoload 'w3-print-this-url "w3-print" nil t)
(autoload 'w3-print-url-under-point "w3-print" nil t)
(global-set-key [S-mouse-2] 'w3-follow-url-under-mouse-other-frame)
(global-set-key [S-mouse-1] 'w3-follow-url-under-mouse)
(require 'mf-sitevars)
(add-hook 'w3-load-hook
(function
(lambda()
(setq url-passwd-entry-func 'read-string)
(setq w3-reuse-buffers 'yes)
(setq w3-track-mouse t)
(setq url-keep-history t)
(setq widget-menu-minibuffer-flag t)
(define-key w3-mode-map "\M-\C-o" 'w3-fetch-other-frame)
(define-key w3-mode-map "e" 'w3-find-this-file)
(define-key w3-mode-map "E" 'w3-find-this-file-other-frame)
(define-key w3-mode-map "\M-<" 'w3-start-of-document)
(define-key w3-mode-map "\M->" 'w3-end-of-document)
(unless (string-match "^Exp" url-version)
(add-to-list 'mm-mime-extensions '(".h" . "text/emacs"))
; must be downcase for the code in mm.el?
(add-to-list 'mm-mime-extensions '(".c" . "text/emacs"))
(add-to-list 'mm-mime-extensions '(".mak" . "text/emacs"))
(mm-add-mailcap-entry "text" "emacs"
'(("viewer" . w3-default-local-file)
("type" . "text/emacs"))))
(setq url-proxy-services mf-url-proxy-services)
)))
(add-hook
'w3-mode-hook
(function
(lambda()
(define-key w3-mode-map [mouse-3] nil)
(define-key w3-mode-map [down-mouse-3] nil)
(define-key w3-mode-map [S-down-mouse-3] 'w3-popup-menu))))
(setq w3-display-frames 'as-link)
(setq w3-user-colors-take-precedence t)
(setq w3-use-terminal-characters nil
w3-use-terminal-glyphs nil
w3-use-terminal-characters-on-tty nil)
(if mf-using-openssl
(setq ssl-program-name "w3ssl"
ssl-view-certificate-program-name "w3ssl"
ssl-program-arguments '("s_client"
"-quiet"
"-connect" (concat host ":" service)
"-verify" (int-to-string
ssl-certificate-verification-policy)
"-CApath" (expand-file-name
ssl-certificate-directory))
ssl-view-certificate-program-arguments '("x509"
"-text"
"-inform" "DER"))
(setq ssl-program-name "s_client"
ssl-program-arguments '("-host" host
"-port" service
"-verify" "4"
"-CApath ~/.w3/certs")))
(if (string-match "^20" emacs-version)
(require 'w3-auto "w3-auto")
(autoload 'w3-preview-this-buffer "w3" "WWW Previewer" t)
(autoload 'w3-follow-url-at-point "w3" "Find document at pt" t)
(autoload 'w3 "w3" "WWW Browser" t)
(autoload 'w3-open-local "w3" "Open local file for WWW browsing" t)
(autoload 'w3-fetch "w3" "Open remote file for WWW browsing" t)
(autoload 'w3-use-hotlist "w3" "Use shortcuts to view WWW docs" t)
(autoload 'w3-show-hotlist "w3" "Use shortcuts to view WWW docs" t)
(autoload 'w3-follow-link "w3" "Follow a hypertext link." t)
(autoload 'w3-batch-fetch "w3" "Batch retrieval of URLs" t)
(autoload 'url-get-url-at-point "url" "Find the url under the cursor" nil)
(autoload 'url-file-attributes "url" "File attributes of a URL" nil)
(autoload 'url-popup-info "url" "Get info on a URL" t)
(autoload 'url-retrieve "url" "Retrieve a URL" nil)
(autoload 'url-buffer-visiting "url" "Find buffer visiting a URL." nil))
(provide 'mf-w3)
--------------------------------
But now that I look at it, obviously, my string-match is obsolete, so
that I could see how w3-auto affects...
--
Marc Girod P.O. Box 323 Voice: +358-71 80 25581
Nokia NBI 00045 NOKIA Group Mobile: +358-50 38 78415
Takomo 1 / 4c27 Finland Fax: +358-71 80 61604
next prev parent reply other threads:[~2003-10-17 11:38 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-10 20:50 w3 trouble Björn Lindström
2003-10-17 10:42 ` Björn Lindström
2003-10-17 11:38 ` Marc Girod [this message]
2003-10-17 13:19 ` Marc Girod
2003-10-20 22:04 ` Björn Lindström
2003-10-21 16:41 ` Kevin Rodgers
2003-10-21 18:24 ` Björn Lindström
2003-10-28 1:03 ` Björn Lindström
2003-10-28 16:57 ` Kevin Rodgers
2003-10-28 23:25 ` Björn Lindström
2003-10-29 0:32 ` Kevin Rodgers
2003-10-29 5:48 ` Björn Lindström
2003-10-29 17:10 ` Kevin Rodgers
2003-12-01 21:27 ` Kai Grossjohann
2003-12-01 21:50 ` Björn Lindström
2003-12-02 13:06 ` Kai Grossjohann
2003-12-02 13:14 ` Björn Lindström
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=u0tkbekxct804.fsf@heitsz02lab.ntc.nokia.com \
--to=girod@shire.ntc.nokia.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 read-only IMAP folder(s) and NNTP newsgroup(s).