From: jenenliu <jenenliu@gmail.com>
To: info-gnus-english@gnu.org
Subject: Re: can't open link
Date: Tue, 11 Mar 2014 12:22:41 +0800 [thread overview]
Message-ID: <87fvmppdny.fsf@jenenliu-Inspiron-N4050.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <87bnxeatgv.fsf@topper.koldfront.dk>
Thanks for reply.
asjo@koldfront.dk (Adam Sjøgren) writes:
> jenenliu <jenenliu@gmail.com> writes:
>
>> the link is considered to be unsafe; use the prefix arg to view anyway
>>
>> How can I fix it,
>
> Either you can do as it says, and use C-u before opening the link, or
> you can change the variable mm-w3m-safe-url-regexp:
>
> ,----[ C-h v mm-w3m-safe-url-regexp RET ]
> | mm-w3m-safe-url-regexp is a variable defined in `mm-decode.el'.
> | Its value is nil
> | Original value was "\\`cid:"
> |
> | Documentation:
> | Regexp matching URLs which are considered to be safe.
> | Some HTML mails might contain a nasty trick used by spammers, using
> | the <img> tag which is far more evil than the [Click Here!] button.
> | It is most likely intended to check whether the ominous spam mail has
> | reached your eyes or not, in which case the spammer knows for sure
> | that your email address is valid. It is done by embedding an
> | identifier string into a URL that you might automatically retrieve
> | when displaying the image. The default value is "\\`cid:" which only
> | matches parts embedded to the Multipart/Related type MIME contents and
> | Gnus will never connect to the spammer's site arbitrarily. You may
> | set this variable to nil if you consider all urls to be safe.
> `----
>
I run 'locate mm-decode.el', but I just can find a mm-decode.elc file.
Can I set the mm-w3m-safe-url-regxp variable in my .emacs file, and if
can, how
Thanks
>> and how can I set the default browser to be w3m
>
> Maybe by setting browse-url-browser-function:
>
> ,----[ C-h v browse-url-browser-function RET ]
> | browse-url-browser-function is a variable defined in `browse-url.el'.
> | Its value is browse-url-firefox
> | Original value was
> | browse-url-default-browser
> |
> | This variable may be risky if used as a file-local variable.
> |
> | Documentation:
> | Function to display the current buffer in a WWW browser.
> | This is used by the `browse-url-at-point', `browse-url-at-mouse', and
> | `browse-url-of-file' commands.
> |
> | If the value is not a function it should be a list of pairs
> | (REGEXP . FUNCTION). In this case the function called will be the one
> | associated with the first REGEXP which matches the current URL. The
> | function is passed the URL and any other args of `browse-url'. The last
> | regexp should probably be "." to specify a default browser.
> `----
>
> Best regards,
>
> Adam
--
A lazy Emacser
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
next prev parent reply other threads:[~2014-03-11 4:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-10 5:53 jenenliu
2014-03-10 16:50 ` Adam Sjøgren
2014-03-11 4:22 ` jenenliu [this message]
2014-03-11 21:29 ` Adam Sjøgren
2014-03-12 12:34 ` jenenliu
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=87fvmppdny.fsf@jenenliu-Inspiron-N4050.i-did-not-set--mail-host-address--so-tickle-me \
--to=jenenliu@gmail.com \
--cc=info-gnus-english@gnu.org \
/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).