Commit graph

51 commits

Author SHA1 Message Date
Paul Eggert
ba3189039a Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
Stefan Monnier
42d439528d * lisp/url/url-handlers.el (url-file-name-completion)
(url-file-name-all-completions): Don't signal errors.

Fixes: debbugs:14806
2013-07-31 00:19:09 -04:00
Glenn Morris
af74224803 Add some declarations to url-handlers.el
* lisp/url/url-handlers.el (mm-save-part-to-file, mm-destroy-parts)
(mm-decode-string, mail-content-type-get): Declare.
2013-05-22 00:30:44 -07:00
Paul Eggert
ab422c4d68 Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
Stefan Monnier
23855148a2 * lisp/url/url-handlers.el (url-file-handler): Don't assume any url-FOO
function is a good handler for FOO.
(url-copy-file, url-file-local-copy, url-insert-file-contents)
(url-file-name-completion, url-file-name-all-completions)
(url-handlers-create-wrapper): Explicitly register as handler.
2012-09-29 23:26:52 -04:00
Juanma Barranquero
22c4001c8e lisp/url/url-handlers.el (url-handler-regexp): Declare. 2012-06-13 18:25:03 +02:00
Chong Yidong
47fc1d6ba8 * url-handlers.el: Re-order file to avoid recursive load. 2012-06-12 18:00:53 +08:00
Chong Yidong
f1a4e679f3 Various minor variable/hook cleanups.
* lisp/emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
Rename from gud-inhibit-global-bindings.

* lisp/emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.

* lisp/erc/erc-dcc.el (erc-dcc-chat-filter-functions): Rename from
erc-dcc-chat-filter-hook, since this is an abnormal hook.

* lisp/nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
hook from nxml-glyph-set-hook.

* lisp/progmodes/cwarn.el (cwarn-mode): Remove redundant variable
declaration.

* lisp/progmodes/pascal.el (pascal-toggle-completions): Doc fix.

* lisp/textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
Convert to defcustom.

* lisp/url/url-handlers.el (url-handler-regexp):
* lisp/url/url-nfs.el (url-nfs-automounter-directory-spec):
* lisp/url/url-vars.el (url-load-hook): Convert to defcustom.
2012-06-12 13:47:14 +08:00
Chong Yidong
fb7ada5f94 Remove * characters from the front of variable docstrings. 2012-04-09 21:05:48 +08:00
Glenn Morris
acaf905b11 Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
Chong Yidong
ac6c8639bd Fix more minor mode docstrings.
* 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).
2011-10-19 20:26:14 -04:00
Glenn Morris
73b0cd5003 Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
Glenn Morris
0d9f702fd0 Nuke arch-tags. 2011-01-15 15:16:57 -08:00
Glenn Morris
5df4f04cd3 Add 2011 to FSF/AIST copyright years. 2011-01-02 15:50:46 -08:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Chong Yidong
120812a0ba * url-handlers.el (url-copy-file): Add fifth arg for compatibility
with 2005-06-25 change to copy-file (Bug#4410).
2009-09-13 21:21:40 +00:00
Stefan Monnier
d696b0d53f (url-file-handler): Save match data. 2009-03-27 15:58:16 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Juanma Barranquero
d1ce47b068 Typo and docstring fixes.
* 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.
2008-07-02 11:14:38 +00:00
Stefan Monnier
a118b59bed (url-file-name-completion): Add missing argument. 2008-05-30 01:36:29 +00:00
Glenn Morris
4936186e9c Switch to recommended form of GPLv3 permissions notice. 2008-05-06 04:29:13 +00:00
Michael Albinus
a9f31e3df9 * url-handlers.el (file-remote-p): Add handler.
(url-handler-file-remote-p): New fun.
2008-02-06 20:34:23 +00:00
Stefan Monnier
791fe18237 (url-handler-unhandled-file-name-directory):
Handle `file' URLs specially.  Return nil for non-local filenames.
2008-02-06 14:43:05 +00:00
Miles Bader
1bad168e59 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1006
2008-01-22 23:53:46 +00:00
Stefan Monnier
ce4059eea0 (unhandled-file-name-directory): Add handler.
(url-handler-unhandled-file-name-directory): New fun.
2008-01-21 17:16:52 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Michael Albinus
80e4b01d33 * url-handlers.el (url-file-handler): Autoload. 2008-01-07 06:52:19 +00:00
Glenn Morris
12dc447f2a Add 2008 to copyright years. 2008-01-07 02:23:04 +00:00
Glenn Morris
ed7cf49acf Don't require cl when compiling. 2007-12-02 18:05:26 +00:00
Glenn Morris
29c7eba8a1 (top-level): Always require url-parse, not just when compiling. 2007-12-01 22:04:57 +00:00
Glenn Morris
8c0ee52a6f Switch license to GPLv3 or later. 2007-07-25 04:18:23 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Stefan Monnier
d0f891a742 (url-file-local-copy): Tell url-copy-file that the dest file will already exist. 2006-08-25 20:44:49 +00:00
Stefan Monnier
89a1fe7748 (url-insert): New function.
(url-insert-file-contents): Use it.
2006-04-26 20:37:58 +00:00
Stefan Monnier
bdba217b30 (url-handler-directory-file-name): New handler.
(url-file-local-copy): Plug race condition security hole.
2006-03-29 08:00:09 +00:00
Stefan Monnier
55262b16df (url-retrieve-synchronously): Don't autoload. 2006-01-02 05:25:13 +00:00
Stefan Monnier
77f05e24e8 (url-insert-file-contents): Use the charset info
provided by the HTTP server, if any.
2005-11-16 19:05:38 +00:00
Eli Zaretskii
cc38a29416 Remove XEmacs conditionals. 2005-10-20 14:17:14 +00:00
Thien-Thi Nguyen
71ddfde5a5 Update years in copyright notice; nfc. 2005-08-06 15:55:38 +00:00
Lute Kamstra
4fc5845fe8 Update FSF's address. 2005-07-04 16:49:24 +00:00
Stefan Monnier
f1b587064a (vc-registered): Explicitly disable VC for URL files. 2005-06-10 21:14:10 +00:00
Lute Kamstra
4ee48a9bfc (url-handler-mode): Specify :group. 2005-04-04 09:38:43 +00:00
Stefan Monnier
5007cdc96d Don't `require' everything eagerly. 2004-12-11 22:06:00 +00:00
Lars Hansen
df41da5eda Fix copyright notice. 2004-10-10 20:40:21 +00:00
Stefan Monnier
ccd59305b4 (url-insert-file-contents): Use the URL to decide the
encoding, not the buffer-file-name (which might not even exist).
2004-10-06 15:56:41 +00:00
Stefan Monnier
d4fdad607e (url-insert-file-contents): Decode contents. 2004-09-20 21:27:10 +00:00
Stefan Monnier
c7389b5db8 Use new find-file-hook.
(url-file-attributes): Add id-format parameter.
2004-04-16 22:00:40 +00:00
Stefan Monnier
f1300fba1c (url-handler-mode): New minor mode.
(url-setup-file-name-handlers): Remove.
2004-04-12 20:43:39 +00:00
Miles Bader
1f3ddf11e8 Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-196
Remove RCS keywords

2004-04-10  Miles Bader  <miles@gnu.org>

   RCS keyword removal (only non-comment changes are enumerated here):

   * lisp/emacs-lisp/bytecomp.el (byte-compile-version): Variable removed.
   (byte-compile-insert-header): Don't use `byte-compile-version'.
   * lisp/url/url-vars.el (url-version): Use the constant string "Emacs"
   instead of calculating something from the RCS `State' keyword
   [the latter is almost entirely useless anyway].
   * lisp/forms.el (forms-version): Variable removed.
   (forms-mode): Don't use `forms-version'.
   * lisp/recentf.el (recentf-version): Variable removed.
   * lisp/progmodes/delphi.el (delphi-version): Variable removed.
   * lisp/progmodes/ada-mode.el (ada-mode): RCS keyword removed from docstring.
2004-04-10 05:55:49 +00:00
Miles Bader
e5566bd545 Resolve CVS conflicts 2004-04-04 04:44:10 +00:00