1. 08 Apr, 2017 1 commit
    • Glenn Morris's avatar
      Remove references to OS/2 in code, doc, and comments · bca1fde8
      Glenn Morris authored
      * lisp/gnus/nnheader.el (nnheader-read-timeout)
      (nnheader-file-name-translation-alist): Remove OS/2 case, and simplify.
      * lisp/emulation/viper-util.el (viper-color-defined-p):
      * lisp/net/pop3.el (pop3-read-timeout):
      * lisp/net/imap.el (imap-read-timeout):
      * lisp/url/url-privacy.el (url-setup-privacy-info): Remove OS/2 case.
      * lisp/emulation/viper-ex.el (viper-glob-function):
      * lisp/vc/ediff-util.el (ediff-submit-report): Doc fix.
      * lisp/cus-edit.el (custom-display): Remove "pm" (OS/2).
      * doc/emacs/msdos-xtra.texi (MS-DOS):
      * doc/misc/gnus.texi (Various Various):
      * doc/misc/viper.texi (Rudimentary Changes): Remove mentions of OS/2.
      ; * lisp/url/url.el, lisp/url/url-vars.el:
      ; * lisp/progmodes/cperl-mode.el: Remove old comments.
      bca1fde8
  2. 04 Apr, 2017 1 commit
    • Lars Brinkhoff's avatar
      Make the URL library use records. · b6738682
      Lars Brinkhoff authored
      * lisp/url/url.el, lisp/url/url-cache.el, lisp/url/url-dav.el,
      lisp/url/url-expand.el, lisp/url/url-file.el, lisp/url/url-imap.el,
      lisp/url/url-ldap.el: Use `url-p' instead of `vectorp'.
      
      * lisp/url/url-http.el (url-http): Check for type `url' instead of
      `vector'.
      b6738682
  3. 01 Jan, 2017 1 commit
  4. 01 May, 2016 1 commit
  5. 25 Apr, 2016 1 commit
  6. 01 Jan, 2016 1 commit
  7. 01 Jan, 2015 2 commits
  8. 19 Sep, 2014 1 commit
  9. 29 Mar, 2014 1 commit
  10. 01 Jan, 2014 1 commit
  11. 20 Dec, 2013 1 commit
  12. 23 May, 2013 2 commits
  13. 01 Jan, 2013 1 commit
  14. 13 Oct, 2012 1 commit
    • Chong Yidong's avatar
      Doc fix for url-http. · b1367cba
      Chong Yidong authored
      * url-http.el (url-http):
      * url.el (url-retrieve-internal): Doc fix.
      
      Fixes: debbugs:6407
      b1367cba
  15. 11 Jul, 2012 1 commit
    • Stefan Monnier's avatar
      More CL cleanups and reduction of use of cl.el. · a464a6c7
      Stefan Monnier authored
      * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
      * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
      * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
      * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
      * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
      * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
      * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
      * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
      * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
      * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
      * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
      * eshell/em-cmpl.el, eshell/em-banner.el:
      * url/url.el, url/url-queue.el, url/url-parse.el, url/url-http.el:
      * url/url-future.el, url/url-dav.el, url/url-cookie.el:
      * calendar/parse-time.el, test/eshell.el: Use cl-lib.
      * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
      * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
      * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
      * term/ns-win.el, term.el, shell.el, ps-samp.el:
      * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
      * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
      * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
      * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
      * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
      * mail/mailheader.el, mail/feedmail.el:
      * url/url-util.el, url/url-privacy.el, url/url-nfs.el, url/url-misc.el:
      * url/url-methods.el, url/url-gw.el, url/url-file.el, url/url-expand.el:
      Dont use CL.
      * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
      * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
      `lambda' rather than with `quote'.
      (eshell-do-opt): Adjust accordingly.
      (eshell-process-option): Simplify.
      * eshell/esh-var.el:
      * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
      * emacs-pcase.el (pcase--dontcare-upats, pcase--let*)
      (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
      to `pcase--dontcare'.
      * emacs-cl.el (labels): Mark obsolete.
      (cl--letf, letf): Move to cl-lib.
      (cl--letf*, letf*): Remove.
      * emacs-cl-lib.el (cl-nth-value): Use defalias.
      * emacs-cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
      (cl-progv): Rewrite.
      (cl--letf, cl-letf): Move from cl.el.
      (cl-letf*): New macro.
      * emacs-cl-extra.el (cl--progv-before, cl--progv-after): Remove.
      a464a6c7
  16. 21 Jun, 2012 1 commit
  17. 09 May, 2012 1 commit
    • 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
  18. 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
  19. 10 Apr, 2012 1 commit
  20. 20 Feb, 2012 1 commit
  21. 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
  22. 06 Feb, 2012 1 commit
  23. 11 Jan, 2012 1 commit
  24. 05 Jan, 2012 1 commit
  25. 15 Nov, 2011 1 commit
  26. 25 Jan, 2011 1 commit
  27. 16 Jan, 2011 1 commit
  28. 15 Jan, 2011 1 commit
  29. 02 Jan, 2011 1 commit
  30. 02 Oct, 2010 1 commit
  31. 19 Mar, 2010 1 commit
    • Glenn Morris's avatar
      Stop message.el from loading about 40 libraries it doesn't always need. · aa8f8277
      Glenn Morris authored
      The general approach is to autoload rather than require, and to
      require in the specific functions rather than the file.  (Bug#5642)
      
      * url/url.el: Move mailcap require earlier in the file.
      
      * gnus/gmm-utils.el: Don't require wid-edit.
      (widget-create-child-value, widget-convert, widget-default-get):
      Autoload.
      
      * gnus/gnus-util.el: Don't require time-date, netrc.
      (message-fetch-field, gnus-group-name-decode): Declare rather than
      autoloading.
      (gnus-fetch-field): Require message.
      (gnus-decode-newsgroups): Require gnus-group.
      
      * gnus/ietf-drums.el: Don't require time-date.
      
      * gnus/message.el: Don't require hashcash, canlock, ecomplete.
      Do require mail-utils.  Require nnheader only when compiling.
      (smtpmail-default-smtp-server): Remove declaration.
      (message-send-mail-function): Check smtpmail-default-smtp-server
      is bound rather than requiring smtpmail.
      (message-auto-save-directory, message-insert-signature): Use
      expand-file-name rather than nnheader-concat.
      (nnheader-insert-file-contents): Autoload.
      (hashcash-wait-async): Declare.
      (message-send-mail): Only call gnus-setup-posting-charset if
      gnus-group-posting-charset-alist is bound.  Require hashcash if needed.
      (message-send-mail-with-sendmail): Require sendmail.
      (canlock-password, canlock-password-for-verify): Declare.
      (message-canlock-password): Require canlock.
      (nnheader-get-report): Autoload.
      (gnus-setup-posting-charset): Declare.
      (message-send-news): Require gnus-msg.
      (message-make-references, message-make-in-reply-to): Use mail-header-id
      rather than the alias mail-header-message-id.
      (ecomplete-add-item, ecomplete-save): Declare.
      (message-put-addresses-in-ecomplete): Require ecomplete.
      (ecomplete-display-matches): Autoload.
      
      * gnus/mm-decode.el: Don't require mailcap, gnus-util.
      (gnus-map-function, gnus-replace-in-string, gnus-read-shell-command)
      (message-fetch-field, mailcap-parse-mailcaps, mailcap-mime-info):
      Autoload.
      (mailcap-mime-extensions): Declare.
      
      * gnus/mm-encode.el: Don't require mailcap.
      (mailcap-extension-to-mime): Autoload.
      
      * gnus/mml-sec.el: Don't require password-cache.
      
      * gnus/mml.el (gnus-setup-posting-charset): Declare rather than autoload.
      (mailcap-parse-mimetypes, mailcap-mime-types): Declare.
      (mml-minibuffer-read-type): Require mailcap.
      (mml-preview): Require gnus-msg.
      
      * gnus/mml1991.el: Require password-cache.
      (password-cache-expiry): Remove declaration.
      
      * gnus/mml2015.el: Require password-cache.
      (password-cache-expiry): Remove declaration.
      
      * gnus/nneething.el (mailcap): Require mailcap.
      
      * gnus/nnheader.el: (declare-function): Add compatibility stub.
      (message-remove-header): Declare rather than autoload.
      (nnheader-replace-header): Require message.
      
      * gnus/nnimap.el (declare-function): Add compatibility stub.
      (netrc-parse, netrc-machine-user-or-password): Declare.
      (nnimap-open-connection): Require netrc.
      
      * gnus/nntp.el (declare-function): Add compatibility stub.
      (netrc-parse, netrc-machine, netrc-get): Declare.
      (nntp-send-authinfo): Require netrc.
      
      * gnus/rfc2047.el: Don't require qp.
      (quoted-printable-encode-region, quoted-printable-decode-string):
      Autoload.
      
      * gnus/sieve-mode.el: Don't require easymenu.
      (easy-menu-add-item): Autoload it.
      
      * gnus/spam-stat.el (time-to-number-of-days): Autoload it.
      
      * password-cache.el (password-cache, password-cache-expiry):
      Autoload.
      aa8f8277
  32. 13 Jan, 2010 1 commit
  33. 05 Jan, 2009 1 commit
  34. 24 Oct, 2008 2 commits
    • Juanma Barranquero's avatar
      Fix braino in previous change. · 091b0137
      Juanma Barranquero authored
      091b0137
    • Juanma Barranquero's avatar
      New function `locate-user-emacs-file'. · d6c180c4
      Juanma Barranquero authored
      * subr.el (locate-user-emacs-file): New function.
        (user-emacs-directory): Mention it in docstring.
      
      * completion.el (save-completions-file-name):
      * filesets.el (filesets-menu-cache-file):
      * image-dired.el (image-dired-dir, image-dired-db-file)
        (image-dired-temp-image-file, image-dired-gallery-dir)
        (image-dired-temp-rotate-image-file):
      * savehist.el (savehist-file):
      * server.el (server-auth-dir):
      * startup.el (auto-save-list-file-prefix):
      * thumbs.el (thumbs-thumbsdir):
      * tutorial.el (tutorial--saved-dir):
      * play/gamegrid.el (gamegrid-user-score-file-directory): Use it.
      
      * url.el (url-configuration-directory): Use `locate-user-emacs-file'.
      
      * NEWS: New function `locate-user-emacs-file'.
      d6c180c4
  35. 02 Jul, 2008 1 commit
    • Juanma Barranquero's avatar
      Typo and docstring fixes. · d1ce47b0
      Juanma Barranquero authored
      * url.el (url-do-setup):
      * url-dired.el (url-dired-minor-mode):
      * url-file.el (url-file-find-possibly-compressed-file):
      * url-gw.el (url-gateway-broken-resolution):
      * url-handlers.el (url-handler-regexp):
      * url-imap.el (url-imap-default-port):
      * url-methods.el (url-scheme-get-property): Fix typos in docstrings.
      
      * url-auth.el (url-basic-auth-storage, url-digest-auth):
        Fix typos in docstrings.
        (url-digest-auth-storage, url-register-auth-scheme): Reflow docstrings.
      
      * url-cache.el (url-cache-prepare): Doc fix.
        (url-cache-create-filename-human-readable, url-cache-extract):
        Fix typos in docstrings.
      
      * url-dav.el (url-intersection, url-dav-iso8601-regexp)
        (url-dav-delete-something): Fix typos in docstrings.
        (url-dav-http-success-p, url-dav-file-name-all-completions)
        (url-dav-directory-files, url-dav-file-name-completion): Doc fixes.
      
      * url-http.el (url-http-idle-sentinel): Doc fix.
      
      * url-irc.el (url-irc-default-port): Fix typo in docstring.
        (url-irc-function): Doc fix.
      
      * url-util.el (url-get-url-filename-chars, url-unhex-string):
        Fix typos in docstrings.
        (url-file-extension): Doc fix.
      
      * url-vars.el (url-current-object, url-current-mime-headers)
        (url-privacy-level, url-mail-command, url-mime-language-string):
        Fix typos in docstrings.
        (url-honor-refresh-requests): Reflow docstring.
        (url-using-proxy): Doc fix.
      d1ce47b0
  36. 06 May, 2008 1 commit
  37. 07 Jan, 2008 1 commit