help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] Display links in blue for browse-url


From: Jeff Rancier
Subject: Re: [h-e-w] Display links in blue for browse-url
Date: Mon, 25 Feb 2002 13:29:04 -0500

Daniel,

Try the following:

(setq font-lock-hyperlink-face (make-face 'font-lock-hyperlink-face))
(set-face-foreground 'font-lock-hyperlink-face "blue")
(set-face-underline-p 'font-lock-hyperlink-face t)

(font-lock-add-keywords 'emacs-lisp-mode
                        '(("\\(^.*http:.*$\\)" 1 font-lock-hyperlink-face
prepend)))

The only problem is that the whole line is underlined?  Can a more seasoned
veteran assist with this?

Thanks,
Jeff

----- Original Message -----
From: "Daniel Hegyi" <address@hidden>
To: <address@hidden>
Sent: Monday, February 25, 2002 12:30 PM
Subject: [h-e-w] Display links in blue for browse-url


| Hi,
|
| I'm using browse-url. Is there any way to display in blue (and maybe
| underline...) all words in all modes that start with "http://"; or
| "https://";?
|
| Thanks,
| Daniel
|
| _________________________________________________________________
| Join the world’s largest e-mail service with MSN Hotmail.
| http://www.hotmail.com
|




reply via email to

[Prev in Thread] Current Thread [Next in Thread]