1. 10 May, 2012 1 commit
    • Chong Yidong's avatar
      Cleanups and improvements for FFAP and URL. · 9f9aa044
      Chong Yidong authored
      * ffap.el (ffap-url-unwrap-local): Make it work right.
      Use url-generic-parse-url, and handle host names and Windows
      filenames properly.
      (ffap-url-unwrap-remote): Use url-generic-parse-url.
      (ffap-url-unwrap-remote): Accept list values, specifying a list of
      URL schemes to work on.
      (ffap--toggle-read-only): New function.
      (ffap-read-only, ffap-read-only-other-window)
      (ffap-read-only-other-frame): Use it.
      (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
      necessary for ffap-url-unwrap-remote.
      
      * url-parse.el (url-path-and-query, url-port-if-non-default): New
      functions.
      (url-generic-parse-url): Don't set the portspec slot if it is not
      specified; that is what `url-port' is for.
      (url-port): Only require the scheme to be specified to call
      url-scheme-get-property.
      
      * url-util.el (url-encode-url): Use url-path-and-query.
      
      * url-vars.el (url-mime-charset-string): Load mm-util lazily.
      
      Fixes: debbugs:9131
      9f9aa044
  2. 09 May, 2012 2 commits
    • Chong Yidong's avatar
    • Chong Yidong's avatar
      Improve RFC 3986 conformance of url package. · ce7b18ec
      Chong Yidong authored
      Fix 2012-04-10 change to url.el.
      
      * url-http.el (url-http-create-request): Ignore obsolete
      attributes slot of url-object.
      
      * url-parse.el: Improve RFC 3986 conformance.
      (url-generic-parse-url): Do not populate the ATTRIBUTES slot,
      since this is not reliable for general RFC 3986 URIs.  Keep the
      whole path and query inside the FILENAME slot.  Improve docstring.
      (url-recreate-url-attributes): Mark as obsolete.
      (url-recreate-url): Handle missing scheme and userinfo.
      
      * url-util.el (url-encode-url): New function for URL quoting.
      (url-encoding-table, url-host-allowed-chars)
      (url-path-allowed-chars): New constants.
      (url--allowed-chars): New helper function.
      (url-hexify-string): Use them.
      
      * url-vars.el (url-nonrelative-link): Make the regexp stricter.
      
      * url.el (url-retrieve-internal): Use url-encode-url.
      
      Fixes: debbugs:7017
      ce7b18ec
  3. 26 Apr, 2012 1 commit
    • Stefan Monnier's avatar
      Replace lexical-let by lexical-binding (except Gnus, CEDET, ERT). · e95a67dc
      Stefan Monnier authored
      * lisp/term/ns-win.el (ns-define-service):
      * lisp/progmodes/pascal.el (pascal-goto-defun):
      * lisp/progmodes/js.el (js--read-tab):
      * lisp/progmodes/etags.el (tags-lazy-completion-table):
      * lisp/emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
      * lisp/emacs-lisp/ewoc.el (ewoc--wrap):
      * lisp/emacs-lisp/assoc.el (aput, adelete, amake):
      * lisp/doc-view.el (doc-view-convert-current-doc):
      * lisp/url/url.el (url-retrieve-synchronously):
      * lisp/vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
      e95a67dc
  4. 10 Apr, 2012 4 commits
  5. 25 Mar, 2012 1 commit
  6. 14 Mar, 2012 1 commit
  7. 11 Mar, 2012 2 commits
  8. 20 Feb, 2012 2 commits
  9. 19 Feb, 2012 1 commit
  10. 14 Feb, 2012 3 commits
  11. 13 Feb, 2012 1 commit
  12. 10 Feb, 2012 4 commits
  13. 08 Feb, 2012 1 commit
    • Lars Ingebrigtsen's avatar
      Allow specifying whether to inhibit cookies on a per-URL basis · aacaa419
      Lars Ingebrigtsen authored
      * url-http.el (url-http-create-request): Don't send cookies unless
      requested.
      (url-http-parse-headers): Don't store cookies unless requested.
      
      * url.el (url-retrieve): Ditto
      
      * url-queue.el (url-queue-retrieve): Take an optional
      `inhibit-cookies' parameter.
      
      * url-parse.el (url): Add the `use-cookies' slot to the URL struct
      to be able to keep track of whether to do cookies or not on a
      per-URL basis.
      aacaa419
  14. 06 Feb, 2012 3 commits
  15. 31 Jan, 2012 1 commit
  16. 19 Jan, 2012 1 commit
  17. 12 Jan, 2012 2 commits
  18. 11 Jan, 2012 1 commit
  19. 05 Jan, 2012 1 commit
  20. 06 Dec, 2011 1 commit
  21. 04 Dec, 2011 1 commit
  22. 27 Nov, 2011 1 commit
  23. 15 Nov, 2011 1 commit
  24. 14 Nov, 2011 1 commit
  25. 03 Nov, 2011 1 commit
  26. 20 Oct, 2011 1 commit
    • Chong Yidong's avatar
      Fix more minor mode docstrings. · ac6c8639
      Chong Yidong authored
      * lisp/emulation/cua-base.el (cua-mode):
      * lisp/mail/footnote.el (footnote-mode):
      * lisp/mail/mailabbrev.el (mail-abbrevs-mode):
      * lisp/net/xesam.el (xesam-minor-mode):
      * lisp/progmodes/bug-reference.el (bug-reference-mode):
      * lisp/progmodes/cap-words.el (capitalized-words-mode):
      * lisp/progmodes/compile.el (compilation-minor-mode)
      (compilation-shell-minor-mode):
      * lisp/progmodes/gud.el (gud-tooltip-mode):
      * lisp/progmodes/hideif.el (hide-ifdef-mode):
      * lisp/progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
      * lisp/progmodes/subword.el (subword-mode):
      * lisp/progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
      * lisp/progmodes/which-func.el (which-function-mode):
      * lisp/term/tvi970.el (tvi970-set-keypad-mode):
      * lisp/term/vt100.el (vt100-wide-mode):
      * lisp/textmodes/flyspell.el (flyspell-mode):
      * lisp/textmodes/ispell.el (ispell-minor-mode):
      * lisp/textmodes/nroff-mode.el (nroff-electric-mode):
      * lisp/textmodes/paragraphs.el (use-hard-newlines):
      * lisp/textmodes/refill.el (refill-mode):
      * lisp/textmodes/reftex.el (reftex-mode):
      * lisp/textmodes/rst.el (rst-minor-mode):
      * lisp/textmodes/sgml-mode.el (html-autoview-mode)
      (sgml-electric-tag-pair-mode):
      * lisp/textmodes/tex-mode.el (latex-electric-env-pair-mode):
      * lisp/vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
      * lisp/emulation/crisp.el (crisp-mode):
      * lisp/emacs-lisp/eldoc.el (eldoc-mode):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
      minor mode behavior.
      
      * lisp/erc/erc-fill.el (erc-fill-mode):
      * lisp/erc/erc-track.el (erc-track-minor-mode): Doc fix.
      
      * lisp/erc/erc.el (define-erc-module): Fix autogenerated docstring to
      reflect Emacs 24 minor mode changes.
      
      * lisp/gnus/gnus-cite.el (gnus-message-citation-mode): Doc fix (in Emacs 24,
      calling a minor mode from Lisp with nil arg enables it, so we have to
      make the working a bit ambiguous here).
      ac6c8639