๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Matsumura Naoki Wed, 23 Aug 2000 01:41
Use new netscape window on browse-url.el
#339
Author: Matsumura Naoki
Date: Wed, 23 Aug 2000 01:41
35 lines
2840 bytes
ใ“ใ‚“ใซใกใฏใ€ใพใคใ‚€ใ‚‰ใงใ™ใ€‚ใ‚‚ใ—ไบŒๅบฆๅŒใ˜่จ˜ไบ‹ใŒๆŠ•็จฟใ•ใ‚Œใฆ
ใ„ใŸใ‚‰ใ”ใ‚ใ‚“ใชใ•ใ„ใ€‚

mule-2.3 (based emacs-19.34.1) ใงใ€ไป˜ๅฑžใฎ browse-url.el ใ‚’
ไฝฟใ„ๅง‹ใ‚ใพใ—ใŸใ€‚~/.emacs ใซใฏ
  (setq browse-url-browser-function
      (if (eq window-system 'x)
          'browse-url-netscape
          'browse-url-w3))
  (autoload browse-url-browser-function "browse-url"
    "Ask a WWW browser to show a URL." t)
  (define-key global-map [S-down-mouse-3] 'browse-url-at-mouse)
  (setq mew-prog-text/html 'browse-url-of-region)
ใจๆ›ธใ„ใฆใ„ใพใ™ใ€‚

ใ—ใ‹ใ—ใ€ใ“ใ‚Œใงใฏ URL ใ‚’ใ‚ฏใƒชใƒƒใ‚ฏใ™ใ‚‹ใจใ€ๆ—ขใซ้–‹ใ„ใฆใ„ใ‚‹ Netscape ใฎ
ใ‚ฆใ‚ฃใƒณใƒ‰ใ‚ฆใซไธŠๆ›ธใใ•ใ‚Œใฆใ—ใพใ„ใพใ™ใ€‚ๅธธใซๆ–ฐใ—ใ„ใ‚ฆใ‚ฃใƒณใƒ‰ใ‚ฆใ‚’้–‹ใใŸใ„
ใฎใงใ™ใŒใ€ใฉใ†ใ™ใ‚Œใฐใ„ใ„ใงใ—ใ‚‡ใ†ใ‹ใ€‚

browse-url.el ใซใฏ
  When called interactively, if variable `browse-url-new-window-p' is
  non-nil, load the document in a new Netscape window, otherwise use a
  random existing one.  A non-nil interactive prefix argument reverses
  the effect of browse-url-new-window-p.

  When called non-interactively, optional second argument NEW-WINDOW is
  used instead of browse-url-new-window-p."
ใจใ‚ใ‚‹ใฎใงใ€
  (setq browse-url-new-window-p t)
ใงใฏใƒ€ใƒกใง (ๅฎŸ้š›ใ“ใ‚Œใ‚’ๆ›ธใ„ใฆใ‚‚ๆ—ขๅญ˜ใ‚ฆใ‚ฃใƒณใƒ‰ใ‚ฆใซไธŠๆ›ธใ
ใ•ใ‚Œใฆใ—ใพใ„ใพใ—ใŸ)ใ€browse-url-netscape ใฎ็ฌฌไบŒๅผ•ๆ•ฐใซ
t ใ‹ไฝ•ใ‹ใ‚’ๆธกใ›ใฐใ‚ˆใ„ใฎใงใฏใชใ„ใ‹ใจๆ€ใ†ใฎใงใ™ใŒใ€~/.emacs ใซ
ใฉใ†ๆ›ธใ‘ใฐใ‚ˆใ„ใ‹ใŒใ‚ใ‹ใ‚Šใพใ›ใ‚“ใ€‚

ใฉใชใŸใ‹ใ”ๆ•™็คบไธ‹ใ•ใ„ใ€‚ใ‚ˆใ‚ใ—ใใŠ้ก˜ใ„ใ—ใพใ™ใ€‚
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads