annotate lisp/net/trampver.el @ 111802:ec305a5ef324

Silence nxml-mode.el compilation. * lisp/nxml/nxml-mode.el: Require rng-nxml. (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets): Remove declarations.
author Glenn Morris <rgm@gnu.org>
date Thu, 02 Dec 2010 19:13:24 -0800
parents 8e746f396237
children 417b1e4d63cd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
50338
155b4b78aa3b * tramp.el: Version 2.0.31 released.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
diff changeset
1 ;;; trampver.el --- Transparent Remote Access, Multiple Protocol
155b4b78aa3b * tramp.el: Version 2.0.31 released.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
diff changeset
2 ;;; lisp/trampver.el. Generated from trampver.el.in by configure.
155b4b78aa3b * tramp.el: Version 2.0.31 released.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
diff changeset
3
107820
e97568b31550 Synchronize with Tramp repository.
Michael Albinus <albinus@detlef>
parents: 107502
diff changeset
4 ;; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009,
e97568b31550 Synchronize with Tramp repository.
Michael Albinus <albinus@detlef>
parents: 107502
diff changeset
5 ;; 2010 Free Software Foundation, Inc.
50338
155b4b78aa3b * tramp.el: Version 2.0.31 released.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
diff changeset
6
93126
46ad4668db91 Fix up encoding.
Michael Albinus <michael.albinus@gmx.de>
parents: 93081
diff changeset
7 ;; Author: Kai Großjohann <kai.grossjohann@gmx.net>
50338
155b4b78aa3b * tramp.el: Version 2.0.31 released.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
diff changeset
8 ;; Keywords: comm, processes
110015
280c8ae2476d Add "Package:" file headers to denote built-in packages.
Chong Yidong <cyd@stupidchicken.com>
parents: 109993
diff changeset
9 ;; Package: tramp
50338
155b4b78aa3b * tramp.el: Version 2.0.31 released.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
diff changeset
10
155b4b78aa3b * tramp.el: Version 2.0.31 released.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
diff changeset
11 ;; This file is part of GNU Emacs.
155b4b78aa3b * tramp.el: Version 2.0.31 released.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
diff changeset
12
94702
80bd1cb865de Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93975
diff changeset
13 ;; GNU Emacs is free software: you can redistribute it and/or modify
50338
155b4b78aa3b * tramp.el: Version 2.0.31 released.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
diff changeset
14 ;; it under the terms of the GNU General Public License as published by
94702
80bd1cb865de Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93975
diff changeset
15 ;; the Free Software Foundation, either version 3 of the License, or
80bd1cb865de Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93975
diff changeset
16 ;; (at your option) any later version.
50338
155b4b78aa3b * tramp.el: Version 2.0.31 released.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
diff changeset
17
155b4b78aa3b * tramp.el: Version 2.0.31 released.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
diff changeset
18 ;; GNU Emacs is distributed in the hope that it will be useful,
155b4b78aa3b * tramp.el: Version 2.0.31 released.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
diff changeset
19 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
155b4b78aa3b * tramp.el: Version 2.0.31 released.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
diff changeset
20 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
155b4b78aa3b * tramp.el: Version 2.0.31 released.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
diff changeset
21 ;; GNU General Public License for more details.
155b4b78aa3b * tramp.el: Version 2.0.31 released.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
diff changeset
22
155b4b78aa3b * tramp.el: Version 2.0.31 released.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
diff changeset
23 ;; You should have received a copy of the GNU General Public License
94702
80bd1cb865de Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93975
diff changeset
24 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
50338
155b4b78aa3b * tramp.el: Version 2.0.31 released.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
diff changeset
25
155b4b78aa3b * tramp.el: Version 2.0.31 released.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
diff changeset
26 ;;; Code:
155b4b78aa3b * tramp.el: Version 2.0.31 released.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
diff changeset
27
107820
e97568b31550 Synchronize with Tramp repository.
Michael Albinus <albinus@detlef>
parents: 107502
diff changeset
28 ;; In the Tramp CVS repository, the version number and the bug report
e97568b31550 Synchronize with Tramp repository.
Michael Albinus <albinus@detlef>
parents: 107502
diff changeset
29 ;; address are auto-frobbed from configure.ac, so you should edit that
e97568b31550 Synchronize with Tramp repository.
Michael Albinus <albinus@detlef>
parents: 107502
diff changeset
30 ;; file and run "autoconf && ./configure" to change them. (X)Emacs
e97568b31550 Synchronize with Tramp repository.
Michael Albinus <albinus@detlef>
parents: 107502
diff changeset
31 ;; version check is defined in macro AC_EMACS_INFO of aclocal.m4;
e97568b31550 Synchronize with Tramp repository.
Michael Albinus <albinus@detlef>
parents: 107502
diff changeset
32 ;; should be changed only there.
50338
155b4b78aa3b * tramp.el: Version 2.0.31 released.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
diff changeset
33
110264
ec526909f60b Migrate to Tramp 2.2. Rearrange load dependencies.
Michael Albinus <michael.albinus@gmx.de>
parents: 110015
diff changeset
34 ;;;###tramp-autoload
111788
8e746f396237 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
Michael Albinus <michael.albinus@gmx.de>
parents: 111647
diff changeset
35 (defconst tramp-version "2.2.1-pre"
50338
155b4b78aa3b * tramp.el: Version 2.0.31 released.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
diff changeset
36 "This version of Tramp.")
155b4b78aa3b * tramp.el: Version 2.0.31 released.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
diff changeset
37
110264
ec526909f60b Migrate to Tramp 2.2. Rearrange load dependencies.
Michael Albinus <michael.albinus@gmx.de>
parents: 110015
diff changeset
38 ;;;###tramp-autoload
60763
3ba8f94e9cfa Sync with Tramp 2.0.48.
Michael Albinus <michael.albinus@gmx.de>
parents: 59582
diff changeset
39 (defconst tramp-bug-report-address "tramp-devel@gnu.org"
50338
155b4b78aa3b * tramp.el: Version 2.0.31 released.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
diff changeset
40 "Email address to send bug reports to.")
155b4b78aa3b * tramp.el: Version 2.0.31 released.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
diff changeset
41
81758
f03856eb136b * files.el (file-remote-p): Introduce optional parameter CONNECTED.
Michael Albinus <michael.albinus@gmx.de>
parents: 77986
diff changeset
42 ;; Check for (X)Emacs version.
110264
ec526909f60b Migrate to Tramp 2.2. Rearrange load dependencies.
Michael Albinus <michael.albinus@gmx.de>
parents: 110015
diff changeset
43 (let ((x (if (or (>= emacs-major-version 22)
ec526909f60b Migrate to Tramp 2.2. Rearrange load dependencies.
Michael Albinus <michael.albinus@gmx.de>
parents: 110015
diff changeset
44 (and (featurep 'xemacs)
ec526909f60b Migrate to Tramp 2.2. Rearrange load dependencies.
Michael Albinus <michael.albinus@gmx.de>
parents: 110015
diff changeset
45 (= emacs-major-version 21)
ec526909f60b Migrate to Tramp 2.2. Rearrange load dependencies.
Michael Albinus <michael.albinus@gmx.de>
parents: 110015
diff changeset
46 (>= emacs-minor-version 4)))
ec526909f60b Migrate to Tramp 2.2. Rearrange load dependencies.
Michael Albinus <michael.albinus@gmx.de>
parents: 110015
diff changeset
47 "ok"
111788
8e746f396237 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
Michael Albinus <michael.albinus@gmx.de>
parents: 111647
diff changeset
48 (format "Tramp 2.2.1-pre is not fit for %s"
110264
ec526909f60b Migrate to Tramp 2.2. Rearrange load dependencies.
Michael Albinus <michael.albinus@gmx.de>
parents: 110015
diff changeset
49 (when (string-match "^.*$" (emacs-version))
ec526909f60b Migrate to Tramp 2.2. Rearrange load dependencies.
Michael Albinus <michael.albinus@gmx.de>
parents: 110015
diff changeset
50 (match-string 0 (emacs-version)))))))
87142
a33cd731dd95 Fix buggy calls to `error' in the net/ directory.
Deepak Goel <deego@gnufans.org>
parents: 85508
diff changeset
51 (unless (string-match "\\`ok\\'" x) (error "%s" x)))
81758
f03856eb136b * files.el (file-remote-p): Introduce optional parameter CONNECTED.
Michael Albinus <michael.albinus@gmx.de>
parents: 77986
diff changeset
52
110264
ec526909f60b Migrate to Tramp 2.2. Rearrange load dependencies.
Michael Albinus <michael.albinus@gmx.de>
parents: 110015
diff changeset
53 (add-hook 'tramp-unload-hook
ec526909f60b Migrate to Tramp 2.2. Rearrange load dependencies.
Michael Albinus <michael.albinus@gmx.de>
parents: 110015
diff changeset
54 (lambda ()
ec526909f60b Migrate to Tramp 2.2. Rearrange load dependencies.
Michael Albinus <michael.albinus@gmx.de>
parents: 110015
diff changeset
55 (unload-feature 'trampver 'force)))
ec526909f60b Migrate to Tramp 2.2. Rearrange load dependencies.
Michael Albinus <michael.albinus@gmx.de>
parents: 110015
diff changeset
56
50338
155b4b78aa3b * tramp.el: Version 2.0.31 released.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
diff changeset
57 (provide 'trampver)
155b4b78aa3b * tramp.el: Version 2.0.31 released.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
diff changeset
58
155b4b78aa3b * tramp.el: Version 2.0.31 released.
Kai Großjohann <kgrossjo@eu.uu.net>
parents:
diff changeset
59 ;;; trampver.el ends here
93081
dc3dfd7208a1 * net/trampver.el: Move coding cookie at the end.
Michael Albinus <michael.albinus@gmx.de>
parents: 87749
diff changeset
60
dc3dfd7208a1 * net/trampver.el: Move coding cookie at the end.
Michael Albinus <michael.albinus@gmx.de>
parents: 87749
diff changeset
61 ;; Local Variables:
dc3dfd7208a1 * net/trampver.el: Move coding cookie at the end.
Michael Albinus <michael.albinus@gmx.de>
parents: 87749
diff changeset
62 ;; mode: Emacs-Lisp
dc3dfd7208a1 * net/trampver.el: Move coding cookie at the end.
Michael Albinus <michael.albinus@gmx.de>
parents: 87749
diff changeset
63 ;; coding: utf-8
dc3dfd7208a1 * net/trampver.el: Move coding cookie at the end.
Michael Albinus <michael.albinus@gmx.de>
parents: 87749
diff changeset
64 ;; End: