summaryrefslogtreecommitdiff
path: root/lisp/net/browse-url.el
Commit message (Collapse)AuthorAgeFilesLines
* Prefer HTTPS to FTP and HTTP in documentationPaul Eggert2017-09-131-2/+2
| | | | | | | | | | | | | Most of this change is to boilerplate commentary such as license URLs. This change was prompted by ftp://ftp.gnu.org's going-away party, planned for November. Change these FTP URLs to https://ftp.gnu.org instead. Make similar changes for URLs to other organizations moving away from FTP. Also, change HTTP to HTTPS for URLs to gnu.org and fsf.org when this works, as this will further help defend against man-in-the-middle attacks (for this part I omitted the MS-DOS and MS-Windows sources and the test tarballs to keep the workload down). HTTPS is not fully working to lists.gnu.org so I left those URLs alone for now.
* Simplify checks for xdg-open and xdg-emailPaul Eggert2017-03-091-31/+9
| | | | | | | | | | | | | | | browse-url's xdg-open detection was too picky on some GNU/Linux desktops; see Bug#25778. Simplify the code by assuming xdg-open works if it is executable, as nowadays this is more likely to be correct than trying to use heuristics from a few years ago. Don't test for nohup: it is ineffective nowadays, as xdg-open's child uses the default action for SIGHUP even if xdg-open's invoker ignores SIGHUP. While we're at it, allow for Wayland here, as "emacs -nw" might be running in a non-X Wayland terminal. * lisp/mail/emacsbug.el (report-emacs-bug-can-use-xdg-email): * lisp/net/browse-url.el (browse-url-can-use-xdg-open): Simplify to a test for DISPLAY and whether the helper program is executable. Allow WAYLAND_DISPLAY as an option.
* Support browsing URLs with embedded spaces on MS-WindowsEli Zaretskii2017-03-071-1/+1
| | | | | | * lisp/net/browse-url.el (browse-url-default-windows-browser): Unhex %XX hex-encoded characters, as w32-shell-execute doesn't support that in file:// URLs. (Bug#26014)
* Merge from origin/emacs-25Paul Eggert2017-01-011-1/+1
|\ | | | | | | | | 2e2a806 Fix copyright years by hand 5badc81 Update copyright year to 2017
| * Update copyright year to 2017Paul Eggert2016-12-311-1/+1
| | | | | | | | Run admin/update-copyright.
* | Merge from origin/emacs-25Paul Eggert2016-11-191-3/+3
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4af5981 Add a comment in generated refcards about the source ef880a5 ; * etc/refcards/calccard.tex: Remove obsolete comment. 4887e7c js-mode: Fix indent problem after a regexp e992ac0 Fix sluggish display of symbols in UTF-8 language environment 1fc101b Don't confuse how Texinfo outputs @var with the input 91aa5d1 * doc/lispref/display.texi (Scroll Bars): * doc/lispref/frame... f758fcd * doc/emacs/cmdargs.texi (Initial Options): Copyedit for --da... 5b0cddd More fixes in copyright notices in etc/refcards/ f994c20 Update copyright text in refcards 9ad2ae7 Fix Outline command names 26c3554 Send text received by bracketed paste to process db0b58d Correct the statement about programming modes always running ... 78aece4 Improve documentation of 'occur' eb364fd Do call debugger on failed cl-assert 3ef4ee8 Avoid infloop in python 8da810f Don't refer to obsolete FEATURE-unload-hook 4f478ca Improve documentation of dabbrevs 7272e5d * lisp/chistory.el (list-command-history): Doc fix. (Bug#24890) 89b7482 * lisp/simple.el (set-mark-command): Doc fix. (Bug#24890) 3b199f7 Improve documentation of some Help commands 93d3a0e Fix documentation of yes-or-no prompts af04919 Fix documentation of partial completion style ed80184 Fix documentation of the mode line on emacsclient frames e6be855 Fix description of 'C-z' in User manual 16f7007 Improve and clarify documentation of Outline Mode 31d93aa Add Emacs version number to nt/README.W32 0b6b815 Fix python-mode hideshow regexp dc152c5 Modernize usage of 'macOS' in doc and comments 84c5343 Prefer comments /* like this */ in C code bb61e50 * doc/lispref/loading.texi (Autoload): Better link (Bug#24845). 3ef86fd Clarify documentation of face attribute functions de51d59 ; * nt/README.W32: Minor copyedits. db436e9 Don't call debug on failed cl-assert # Conflicts: # doc/emacs/cmdargs.texi # etc/NEWS # etc/PROBLEMS # lisp/auth-source.el # lisp/net/tramp-sh.el
| * Modernize usage of 'macOS' in doc and commentsPaul Eggert2016-11-061-3/+3
| | | | | | | | | | | | | | | | Apple changed the spelling of its operating system again, to "macOS", effective with macOS 10.12 Sierra (2016-09-20). Change Emacs documentation and comments to match this. Stick with older OS spellings ("OS X", "Mac OS X") when talking about older releases where the older names are more correct.
* | Merge from origin/emacs-25Paul Eggert2016-11-041-4/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | acae275 ; Spelling fixes d8fac73 Update README for precompiled windows Emacs. 23570fd Clarify documentation of 'vc-responsible-backend' wrt symlinks f708cb2 Clarify doc string of 'transpose-sexps' cd05b1d Fix docstring of 'browse-url-firefox-new-window-is-tab' bdc89eb Improve documentation of 'font-lock-remove-keywords' 4a0c590 Fix documentation of the command summary key 0221b7a Mark relocation workarounds with REL_ALLOC
| * Fix docstring of 'browse-url-firefox-new-window-is-tab'Tibor Csögör2016-11-041-4/+1
| | | | | | | | | | | | | | | | * lisp/net/browse-url.el (browse-url-firefox-new-window-is-tab): Remove obsolete note from docstring (obsoleted by previous commits). (Bug#24843) Copyright-paperwork-exempt: yes
* | Teach browse-url to open man page urlsMark Oteiza2016-10-211-0/+24
|/ | | | | | * lisp/net/browse-url.el (browse-url-man-function): New custom option. (browse-url): Add a condition to catch links matching "^man:". (browse-url-man): New function.
* * lisp/net/browse-url.el (browse-url-default-browser):Glenn Morris2016-01-301-1/+1
| | | | Lower priority of non-free Chrome.
* ; * lisp/net/browse-url.el: Fix obvious typos in recent.Glenn Morris2016-01-251-4/+4
|
* browse-url.el: Add 'google-chrome' to supported browsers.Kelvin White2016-01-241-0/+35
|
* Add some missing version tags.Glenn Morris2016-01-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/electric.el (electric-quote-comment) (electric-quote-string, electric-quote-paragraph): * lisp/epg-config.el (epg-gpgconf-program): * lisp/rect.el (rectangle-preview): * lisp/emacs-lisp/check-declare.el (check-declare-ext-errors): * lisp/emacs-lisp/package.el (package-selected-packages) (package-hidden-regexps): * lisp/erc/erc.el (erc-network-hide-list, erc-channel-hide-list): * lisp/eshell/em-term.el (eshell-destroy-buffer-when-process-dies): * lisp/gnus/mml-sec.el (mml1991-signers, mml2015-signers) (mml-smime-signers, mml1991-encrypt-to-self, mml2015-encrypt-to-self) (mml-smime-encrypt-to-self, mml2015-sign-with-sender) (mml-smime-sign-with-sender, mml2015-always-trust) (mml-secure-fail-when-key-problem, mml-secure-key-preferences): * lisp/net/browse-url.el (browse-url-conkeror-new-window-is-buffer) (browse-url-conkeror-arguments): * lisp/net/newst-reader.el (newsticker-download-logos): * lisp/progmodes/gud.el (gud-guiler-command-name): * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point): * lisp/progmodes/project.el (project-vc): * lisp/progmodes/python.el (python-indent-guess-indent-offset-verbose) (python-shell-remote-exec-path, python-shell-first-prompt-hook) (python-shell-completion-native-disabled-interpreters) (python-shell-completion-native-enable) (python-shell-completion-native-output-timeout) (python-shell-completion-native-try-output-timeout): * lisp/progmodes/xref.el (xref): * lisp/term/screen.el (xterm-screen-extra-capabilities): * lisp/term/xterm.el (xterm-max-cut-length): Add missing version tags.
* Update copyright year to 2016Paul Eggert2016-01-011-1/+1
| | | | Run admin/update-copyright.
* Fix documentation of browse-url browser-related functionsEli Zaretskii2015-12-261-9/+21
| | | | | | | | * lisp/net/browse-url.el (browse-url) (browse-url-default-browser, browse-url-default-windows-browser) (browse-url-default-macosx-browser, browse-url-chromium) (browse-url-kde, browse-url-text-xterm): Clarify the usage of ARGS and NEW-WINDOW arguments in these functions. (Bug#19421)
* Don't treat /foo/bar:mumble as ange-ftp addressAndreas Schwab2015-12-251-5/+5
| | | | | * lisp/net/browse-url.el (browse-url-filename-alist): Match colons only in the first component. (bug#5362)
* Fix some more docstring etc. quoting problemsPaul Eggert2015-09-031-1/+1
| | | | | | | | | | | | | | | | | | | Mostly these fixes prevent the transliteration of apostrophes that should stay apostrophes. Also, prefer curved quotes in Bahá’í proper names, as that’s the preferred Bahá’í style and these names are chock-full of non-ASCII characters anyway. * lisp/emacs-lisp/eieio-core.el (eieio-defclass-autoload) (eieio-defclass-internal): * lisp/emacs-lisp/eieio.el (defclass): * lisp/hi-lock.el (hi-lock-mode): Don’t transliterate Lisp apostrophes when generating a doc string or diagnostic. * lisp/international/mule-diag.el (list-coding-systems-1): * lisp/international/ogonek.el (ogonek-jak, ogonek-how): * lisp/mail/sendmail.el (sendmail-query-user-about-smtp): * lisp/vc/ediff-mult.el (ediff-redraw-registry-buffer): * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map): Substitute quotes before putting them in the help buffer.
* * lisp/net/browse-url.el (browse-url, browse-url-at-point): Doc fixes.Glenn Morris2015-04-181-4/+9
|
* * mail/rmail.el (rmail-show-message-1): When displaying a mime message,Richard Stallman2015-04-051-176/+137
|\ | | | | | | | | | | | | | | | | | | | | | | | | indicate start and finish in the echo area. * mail/rmail.el (rmail-epa-decrypt): Disregard <pre> before armor. Ignore more kinds of whitespace in mime headers. Modify the decrypted mime part's mime type so it will be displayed by default when visiting this message again. * net/browse-url.el (browse-url-firefox-program): Prefer IceCat, doc. (browse-url-firefox-arguments) (browse-url-firefox-startup-arguments): Doc fix.
| * browse-url: mark some of the more obsolete stuff as suchGlenn Morris2015-03-241-103/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/browse-url.el (browse-url-browser-function) (browse-url-default-browser): Remove obsolete items from the explicit listing. (browse-url-new-window-flag, browse-url-of-file-hook): Doc fixes. (browse-url-netscape-program, browse-url-netscape-arguments) (browse-url-netscape-startup-arguments) (browse-url-galeon-program, browse-url-galeon-arguments) (browse-url-galeon-startup-arguments) (browse-url-gnome-moz-program, browse-url-gnome-moz-arguments) (browse-url-galeon-new-window-is-tab) (browse-url-netscape-new-window-is-tab) (browse-url-mosaic-program, browse-url-mosaic-arguments) (browse-url-mosaic-pidfile, browse-url-CCI-port) (browse-url-CCI-host, browse-url-netscape-version) (browse-url-netscape, browse-url-netscape-sentinel) (browse-url-netscape-reload, browse-url-netscape-send) (browse-url-galeon, browse-url-galeon-sentinel) (browse-url-gnome-moz, browse-url-mosaic, browse-url-cci) (browse-url-w3-gnudoit): Make obsolete. * etc/NEWS: Mention this. * doc/misc/idlwave.texi (HTML Help Browser Tips): Remove obsolete info. * lisp/ffap.el (ffap-url-fetcher): Simplify default and doc. * lisp/x-dnd.el: Comment update.
| * * lisp/net/browse-url.el: Omit confusing documentation.Paul Eggert2015-03-171-5/+3
| |
| * Spelling and wording fixesPaul Eggert2015-03-171-19/+20
| |
| * Fixes: debbugs:19335Vibhav Pant2015-03-171-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | * net/browse-url.el (browse-url-browser-function): Add "Conkeror". (browse-url-conkeror-program, browse-url-conkeror-arguments) (browse-url-conkeror-new-window-is-buffer): New defcustoms. (browse-url-default-browser): Check for `browse-url-conkeror' and call `browse-url-conkeror-program'. (browse-url-conkeror): New command. (bug#19863) * etc/NEWS: Mention added support for Conkeror.
| * browse-url-firefox: removed MS-Windows limitationsOscar Fuentes2015-03-061-12/+5
| | | | | | | | | | net/browse-url.el (browse-url-firefox): Removed outdated MS-Windows limitations.
| * Merge from origin/emacs-24Paul Eggert2015-03-031-53/+27
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f160106 Avoid assertion violations in Rmail due to newline cache 1b0ebbd browse-url-firefox: update for firefox 36's removal of -remote 1817892 Avoid erratic behavior of menu-bar tooltips on w32 (Bug#19925) 0260932 Bump python.el version b0adfc7 Spelling fixes 35f047c * src/fileio.c (Fmake_temp_name): Doc tweaks. 6f2971a * lisp/comint.el (comint-line-beginning-position): Revert searching 65d8ac7 Mention in admin/notes/repo how to mark commits not to be merged. 86fe750 # Remove NEWS temporary markup 4fa778b erc.el: Add old version header for package.el compatibilty 9366f05 Tramp: Disable paging with PAGER=cat Conflicts: admin/notes/repo etc/NEWS lisp/ChangeLog lisp/erc/ChangeLog src/ChangeLog
| | * browse-url-firefox: update for firefox 36's removal of -remoteGlenn Morris2015-02-241-53/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ref: https://bugzilla.mozilla.org/show_bug.cgi?id=1080319 * lisp/net/browse-url.el (browse-url-firefox-startup-arguments): Make obsolete. (browse-url-firefox): Doc fix. Remove -remote. (browse-url-firefox-sentinel): Remove function. * etc/NEWS: Mention this. Fixes: debbugs:19921
| | * Update copyright year to 2015Paul Eggert2015-01-011-1/+1
| | | | | | | | | | | | Run admin/update-copyright.
| * | Revert changes installed by xwidgets mergePaul Eggert2015-02-011-11/+2
| | |
* | | Prefer IceCat to Firefox and Iceweasel.Richard M. Stallman2015-03-221-4/+4
|/ / | | | | | | | | | | * lisp/net/browse-url.el (browse-url-firefox-program): Prefer IceCat, doc. (browse-url-firefox-arguments) (browse-url-firefox-startup-arguments): Doc fix.
* | merge masterjave2015-01-021-1/+1
|\ \
| * | Update copyright year to 2015Paul Eggert2015-01-011-1/+1
| | | | | | | | | | | | Run admin/update-copyright.
* | | upstreamJoakim Verona2014-06-041-27/+30
|\ \ \ | |/ /
| * | Add with-file-modes macro, and use itGlenn Morris2014-05-141-10/+6
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/subr.el (with-file-modes): New macro. * lisp/printing.el (pr-save-file-modes): * lisp/eshell/esh-util.el (eshell-with-file-modes): Make obsolete. * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Add with-file-modes. * lisp/doc-view.el (doc-view-make-safe-dir): * lisp/epg.el (epg--start): * lisp/files.el (locate-user-emacs-file, make-temp-file) (backup-buffer-copy, move-file-to-trash): * printing.el (pr-despool-print, pr-call-process, pr-text2ps): * eshell/esh-util.el (eshell-with-private-file-modes) (eshell-make-private-directory): * lisp/net/browse-url.el (browse-url-mosaic): * lisp/obsolete/mailpost.el (post-mail-send-it): * lisp/obsolete/pgg-pgp.el (pgg-pgp-verify-region): * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-verify-region): * lisp/url/url-util.el (url-make-private-file): Use with-file-modes. * doc/lispref/files.texi (Changing Files): Mention with-file-modes. * etc/NEWS: Mention this.
| * * net/browse-url.el (browse-url):Michael Albinus2014-05-131-4/+4
| | | | | | | | | | | | | | Use `unhandled-file-name-directory' when setting `default-directory', in order to circumvent stalled remote connections. Fixes: debbugs:17425
| * * browse-url.el (browse-url-mosaic): Create /tmp/Mosaic.PID as a private file.Glenn Morris2014-05-101-4/+10
| |
| * * browse-url.el (browse-url-mosaic): Be careful when writing /tmp/Mosaic.PID.Glenn Morris2014-05-081-20/+15
| | | | | | | | | | | | This is CVE-2014-3423. Fixes: debbugs:17428
| * browse-url.el commentGlenn Morris2014-05-051-0/+3
| |
| * Replace "Maintainer: FSF" with the emacs-devel mailing addressGlenn Morris2014-02-091-1/+1
| |
| * Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-011-1/+1
| |
| * * lisp/menu-bar.el (menu-bar-tools-menu): Add `browse-web'.Juri Linkov2013-12-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/startup.el (fancy-startup-screen, fancy-about-screen): Set browse-url-browser-function to eww-browse-url locally. (Bug#14751) * lisp/net/browse-url.el (browse-url-browser-function): Move `eww' closer to similar functions. * lisp/net/eww.el (browse-web): Add alias to `eww'. (eww-mode-map): Bind "r" to `eww-forward-url' like in Info. Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
| * Fixed drag-n-drop with Unicode file names.Eli Zaretskii2013-12-031-3/+6
| |
| * * lisp/dired-x.el:Daniel Hackney2013-09-041-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/ange-ftp.el: * lisp/net/browse-url.el: * lisp/net/dbus.el: * lisp/net/eudc.el: * lisp/net/eudcb-ldap.el: * lisp/net/eww.el: * lisp/net/imap.el: * lisp/printing.el: * lisp/vc/ediff-diff.el: * lisp/vc/ediff-init.el: * lisp/vc/ediff-merg.el: * lisp/vc/ediff-mult.el: * lisp/vc/ediff-util.el: * lisp/vc/ediff-wind.el: * lisp/vc/ediff.el: * lisp/vc/emerge.el: * lisp/vc/pcvs.el: * vc/vc-annotate.el: Prefix unused arguments with `_' to silence byte compiler. Remove some unused let-bound variables.
* | merge upstreamJoakim Verona2013-09-101-10/+10
| |
* | merge from trunkroot2013-08-121-2/+2
|\ \ | |/ | | | | | | Conflicts: src/Makefile.in
| * * lisp/emacs-lisp/re-builder.el (reb-color-display-p):Dmitry Antipov2013-07-311-2/+2
| | | | | | | | | | | | | | | | * lisp/files.el (save-buffers-kill-terminal): * lisp/net/browse-url.el (browse-url): * lisp/server.el (server-save-buffers-kill-terminal): * lisp/textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert): Prefer nil to selected-frame for the first arg of frame-parameter.
* | Merge branch 'trunk' into xwidgetJoakim Verona2013-07-021-0/+1
|\ \ | |/ | | | | | | Conflicts: src/window.c
| * Use `eww-browse-url' instead of `eww'Lars Magne Ingebrigtsen2013-06-191-1/+1
| | | | | | | | | | * net/browse-url.el (browse-url-browser-function): `eww-browse-url' has the right calling signature, `eww' does not.
| * (browse-url-browser-function): Add `eww' as a possible choice.Lars Magne Ingebrigtsen2013-06-181-0/+1
| |
* | Merge remote-tracking branch 'origin/trunk' into xwidgetJoakim Verona2013-05-271-3/+4
|\ \ | |/ | | | | | | | | | | | | Conflicts: ChangeLog lisp/ChangeLog lisp/progmodes/octave.el src/Makefile.in