diff options
| author | Reuben Thomas | 2014-08-07 12:49:36 +0100 |
|---|---|---|
| committer | Reuben Thomas | 2014-08-07 12:49:36 +0100 |
| commit | 6d9d9cde2f7672efc5d74dc1f8f4a8bd9deb27ea (patch) | |
| tree | 5617810b2e5630ce6a5bef0b8dffa300e3ff19b9 | |
| parent | 6c5bbf8a00919b191d5319ee9324c93f1c496dbf (diff) | |
| download | emacs-6d9d9cde2f7672efc5d74dc1f8f4a8bd9deb27ea.tar.gz emacs-6d9d9cde2f7672efc5d74dc1f8f4a8bd9deb27ea.zip | |
Remove remaining mentions of VMS as a host
* notes/exit-value: Remove specific discussion of VMS.
* doc/emacs/programs.texi (Program Modes): Don't advertise VMS DCL support
any more.
* doc/misc/ediff.texi (Merging and diff3): Don't mention lack of support
for VMS diff, we no longer support VMS.
* lisp/progmodes/ada-mode.el:
* lisp/net/tramp.el (tramp-handle-file-symlink-p):
* lisp/net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
about VMS, which we no longer support.
* lisp/progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
and fix a FIXME, using convert-standard-filename in place of
removed ada-convert-file-name.
* lisp/url/url-handlers.el: Remove a comment about VMS, which we no longer
support.
| -rw-r--r-- | admin/ChangeLog | 4 | ||||
| -rw-r--r-- | admin/notes/exit-value | 43 | ||||
| -rw-r--r-- | doc/emacs/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/emacs/programs.texi | 4 | ||||
| -rw-r--r-- | doc/misc/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/misc/ediff.texi | 8 | ||||
| -rw-r--r-- | lisp/ChangeLog | 15 | ||||
| -rw-r--r-- | lisp/files.el | 2 | ||||
| -rw-r--r-- | lisp/net/tramp-ftp.el | 7 | ||||
| -rw-r--r-- | lisp/net/tramp.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/ada-mode.el | 5 | ||||
| -rw-r--r-- | lisp/progmodes/ada-xref.el | 8 | ||||
| -rw-r--r-- | lisp/url/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/url/url-handlers.el | 2 |
14 files changed, 59 insertions, 56 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog index 7da79325a94..34dc8c9c5c0 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2014-08-07 Reuben Thomas <rrt@sc3d.org> | 1 | 2014-08-07 Reuben Thomas <rrt@sc3d.org> |
| 2 | 2 | ||
| 3 | * notes/exit-value: Remove specific discussion of VMS. | ||
| 4 | |||
| 5 | 2014-08-07 Reuben Thomas <rrt@sc3d.org> | ||
| 6 | |||
| 3 | Refer to MS-DOS using the same name everywhere. | 7 | Refer to MS-DOS using the same name everywhere. |
| 4 | 8 | ||
| 5 | * FOR-RELEASE: ``MS-DOG'', ``MSDOG'' and ``msdog'' become | 9 | * FOR-RELEASE: ``MS-DOG'', ``MSDOG'' and ``msdog'' become |
diff --git a/admin/notes/exit-value b/admin/notes/exit-value index cad6862c8aa..96337e4c8dd 100644 --- a/admin/notes/exit-value +++ b/admin/notes/exit-value | |||
| @@ -1,35 +1,28 @@ | |||
| 1 | ttn 2004-05-09 | 1 | ttn 2004-05-09 |
| 2 | 2 | ||
| 3 | The exit value of a program returning to the shell on unixoid systems is | 3 | The exit value of a program returning to the shell on unixoid systems |
| 4 | typically 0 for success, and non-0 (such as 1) for failure. For vms it is | 4 | is typically 0 for success, and non-0 (such as 1) for failure. This is |
| 5 | odd (1,3,5...) for success, even (0,2,4...) for failure. | 5 | not always the case on other systems. |
| 6 | 6 | ||
| 7 | This holds from the point of view of the "shell" (in quotes because vms has a | 7 | From the point of view of the program stdlib.h provides macros |
| 8 | different dispatch model that is not explained further here). | 8 | `EXIT_SUCCESS' and `EXIT_FAILURE' that should DTRT. N.B. The |
| 9 | 9 | numerical values of these macros DO NOT need to fulfill the exit value | |
| 10 | From the point of view of the program, nowadays stdlib.h on both type of | 10 | requirements outlined in the first paragraph! That is the job of the |
| 11 | systems provides macros `EXIT_SUCCESS' and `EXIT_FAILURE' that should DTRT. | ||
| 12 | |||
| 13 | NB: The numerical values of these macros DO NOT need to fulfill the exit | ||
| 14 | value requirements outlined in the first paragraph! That is the job of the | ||
| 15 | `exit' function. Thus, this kind of construct shows misunderstanding: | 11 | `exit' function. Thus, this kind of construct shows misunderstanding: |
| 16 | 12 | ||
| 17 | #ifdef VMS | 13 | #ifdef WEIRD_OS |
| 18 | exit (1); | 14 | exit (1); |
| 19 | #else | 15 | #else |
| 20 | exit (0); | 16 | exit (0); |
| 21 | #endif | 17 | #endif |
| 22 | 18 | ||
| 23 | Values aside from EXIT_SUCCESS and EXIT_FAILURE are tricky. | 19 | Values aside from EXIT_SUCCESS and EXIT_FAILURE are tricky, but can be |
| 24 | 20 | used to indicate finer gradations of failure. If this is the only | |
| 25 | 21 | information available to the caller, clamping such values to | |
| 26 | 22 | EXIT_FAILURE loses information. If there are other ways to indicate | |
| 27 | ttn 2004-05-12 | 23 | the problem to the caller (such as a message to stderr) it may be ok |
| 24 | to clamp. In all cases, it is the relationship between the program | ||
| 25 | and its caller that must be examined. | ||
| 28 | 26 | ||
| 29 | Values aside from EXIT_SUCCESS and EXIT_FAILURE can be used to indicate | 27 | [Insert ZAMM quote here.] <-- I presume this refers to ``Zen and the |
| 30 | finer gradations of failure. If this is the only information available | 28 | Art of Motorcycle Maintenance'' - Reuben Thomas <rrt@sc3d.org>. |
| 31 | to the caller, clamping such values to EXIT_FAILURE loses information. | ||
| 32 | If there are other ways to indicate the problem to the caller (such as | ||
| 33 | a message to stderr) it may be ok to clamp. In all cases, it is the | ||
| 34 | relationship between the program and its caller that must be examined. | ||
| 35 | [Insert ZAMM quote here.] | ||
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 0fd60805692..356bc26722f 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 2014-08-07 Reuben Thomas <rrt@sc3d.org> | 1 | 2014-08-07 Reuben Thomas <rrt@sc3d.org> |
| 2 | 2 | ||
| 3 | * programs.texi (Program Modes): Don't advertise VMS DCL support | ||
| 4 | any more. | ||
| 5 | |||
| 6 | 2014-08-07 Reuben Thomas <rrt@sc3d.org> | ||
| 7 | |||
| 3 | Refer to MS-DOS using the same name everywhere. | 8 | Refer to MS-DOS using the same name everywhere. |
| 4 | 9 | ||
| 5 | * Makefile.in (EMACSSOURCES): ``MS-DOG'', ``MSDOG'' and ``msdog'' | 10 | * Makefile.in (EMACSSOURCES): ``MS-DOG'', ``MSDOG'' and ``msdog'' |
diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi index 05008790b4f..4c80449c2a2 100644 --- a/doc/emacs/programs.texi +++ b/doc/emacs/programs.texi | |||
| @@ -88,8 +88,8 @@ Fortran, Icon, IDL (CORBA), IDLWAVE, Java, Javascript, Metafont | |||
| 88 | Octave, Pascal, Perl, Pike, PostScript, Prolog, Python, Ruby, Simula, Tcl, | 88 | Octave, Pascal, Perl, Pike, PostScript, Prolog, Python, Ruby, Simula, Tcl, |
| 89 | and VHDL@. An alternative mode for Perl is called CPerl mode. Modes are | 89 | and VHDL@. An alternative mode for Perl is called CPerl mode. Modes are |
| 90 | also available for the scripting languages of the common GNU and Unix | 90 | also available for the scripting languages of the common GNU and Unix |
| 91 | shells, VMS DCL, and MS-DOS/MS-Windows @samp{BAT} files, and for | 91 | shells, and MS-DOS/MS-Windows @samp{BAT} files, and for makefiles, |
| 92 | makefiles, DNS master files, and various sorts of configuration files. | 92 | DNS master files, and various sorts of configuration files. |
| 93 | 93 | ||
| 94 | Ideally, Emacs should have a major mode for each programming | 94 | Ideally, Emacs should have a major mode for each programming |
| 95 | language that you might want to edit. If it doesn't have a mode for | 95 | language that you might want to edit. If it doesn't have a mode for |
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 8f50396b2b8..cc0da7e25f3 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-08-07 Reuben Thomas <rrt@sc3d.org> | ||
| 2 | |||
| 3 | * ediff.texi (Merging and diff3): Don't mention lack of support | ||
| 4 | for VMS diff, we no longer support VMS. | ||
| 5 | |||
| 1 | 2014-08-07 Michael Albinus <michael.albinus@gmx.de> | 6 | 2014-08-07 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 7 | ||
| 3 | * tramp.texi (Remote shell setup): Explain, how to change command | 8 | * tramp.texi (Remote shell setup): Explain, how to change command |
diff --git a/doc/misc/ediff.texi b/doc/misc/ediff.texi index 9d373982fa8..4e1806de94d 100644 --- a/doc/misc/ediff.texi +++ b/doc/misc/ediff.texi | |||
| @@ -350,8 +350,7 @@ All the above functions use the POSIX @code{diff} or @code{diff3} programs | |||
| 350 | to find differences between two files. They process the @code{diff} output | 350 | to find differences between two files. They process the @code{diff} output |
| 351 | and display it in a convenient form. At present, Ediff understands only | 351 | and display it in a convenient form. At present, Ediff understands only |
| 352 | the plain output from diff. Options such as @samp{-c} are not supported, | 352 | the plain output from diff. Options such as @samp{-c} are not supported, |
| 353 | nor is the format produced by incompatible file comparison programs such as | 353 | nor is the format produced by incompatible file comparison programs. |
| 354 | the VMS version of @code{diff}. | ||
| 355 | 354 | ||
| 356 | The functions @code{ediff-files}, @code{ediff-buffers}, | 355 | The functions @code{ediff-files}, @code{ediff-buffers}, |
| 357 | @code{ediff-files3}, @code{ediff-buffers3} first display the coarse, | 356 | @code{ediff-files3}, @code{ediff-buffers3} first display the coarse, |
| @@ -1945,11 +1944,6 @@ Specifies the default directory to look for patches. | |||
| 1945 | 1944 | ||
| 1946 | @end table | 1945 | @end table |
| 1947 | 1946 | ||
| 1948 | @noindent | ||
| 1949 | @strong{Warning:} Ediff does not support the output format of VMS | ||
| 1950 | @code{diff}. Instead, make sure you are using some implementation of POSIX | ||
| 1951 | @code{diff}, such as @code{gnudiff}. | ||
| 1952 | |||
| 1953 | @node Merging and diff3 | 1947 | @node Merging and diff3 |
| 1954 | @section Merging and diff3 | 1948 | @section Merging and diff3 |
| 1955 | 1949 | ||
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9948ec0d3c0..12f5f5fb84c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,20 @@ | |||
| 1 | 2014-08-07 Reuben Thomas <rrt@sc3d.org> | 1 | 2014-08-07 Reuben Thomas <rrt@sc3d.org> |
| 2 | 2 | ||
| 3 | * progmodes/ada-mode.el: | ||
| 4 | * net/tramp.el (tramp-handle-file-symlink-p): | ||
| 5 | * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment | ||
| 6 | about VMS, which we no longer support. | ||
| 7 | * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS, | ||
| 8 | and fix a FIXME, using convert-standard-filename in place of | ||
| 9 | removed ada-convert-file-name. | ||
| 10 | |||
| 11 | 2014-08-07 Eli Zaretskii <eliz@gnu.org> | ||
| 12 | |||
| 13 | * files.el (auto-mode-alist): Remove support for VMS from a | ||
| 14 | pattern. | ||
| 15 | |||
| 16 | 2014-08-07 Reuben Thomas <rrt@sc3d.org> | ||
| 17 | |||
| 3 | Refer to MS-DOS using the same name everywhere. | 18 | Refer to MS-DOS using the same name everywhere. |
| 4 | 19 | ||
| 5 | * arc-mode.el: Fix a couple of ``MS-DOG''s missed in the previous | 20 | * arc-mode.el: Fix a couple of ``MS-DOG''s missed in the previous |
diff --git a/lisp/files.el b/lisp/files.el index 597afb99120..5cff5b11ee9 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -2413,7 +2413,7 @@ ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\|7Z\\)\\'" . archive-mode) | |||
| 2413 | ("\\.wy\\'" . wisent-grammar-mode) | 2413 | ("\\.wy\\'" . wisent-grammar-mode) |
| 2414 | ;; .emacs or .gnus or .viper following a directory delimiter in | 2414 | ;; .emacs or .gnus or .viper following a directory delimiter in |
| 2415 | ;; Unix or MS-DOS syntax. | 2415 | ;; Unix or MS-DOS syntax. |
| 2416 | ("[]>:/\\]\\..*\\(emacs\\|gnus\\|viper\\)\\'" . emacs-lisp-mode) | 2416 | ("[:/\\]\\..*\\(emacs\\|gnus\\|viper\\)\\'" . emacs-lisp-mode) |
| 2417 | ("\\`\\..*emacs\\'" . emacs-lisp-mode) | 2417 | ("\\`\\..*emacs\\'" . emacs-lisp-mode) |
| 2418 | ;; _emacs following a directory delimiter in MS-DOS syntax | 2418 | ;; _emacs following a directory delimiter in MS-DOS syntax |
| 2419 | ("[:/]_emacs\\'" . emacs-lisp-mode) | 2419 | ("[:/]_emacs\\'" . emacs-lisp-mode) |
diff --git a/lisp/net/tramp-ftp.el b/lisp/net/tramp-ftp.el index d98f6d74a6a..a723e57f296 100644 --- a/lisp/net/tramp-ftp.el +++ b/lisp/net/tramp-ftp.el | |||
| @@ -178,12 +178,7 @@ pass to the OPERATION." | |||
| 178 | (ignore-errors (delete-file tmpfile))))) | 178 | (ignore-errors (delete-file tmpfile))))) |
| 179 | 179 | ||
| 180 | ;; Normally, the handlers must be discarded. | 180 | ;; Normally, the handlers must be discarded. |
| 181 | ;; `inhibit-file-name-handlers' isn't sufficient, because the | 181 | (t (let* ((inhibit-file-name-handlers |
| 182 | ;; local file name could be in Tramp syntax as well (for | ||
| 183 | ;; example, returning VMS file names like "/DISK$CAM:/AAA"). | ||
| 184 | ;; That's why we set also `tramp-mode' to nil. | ||
| 185 | (t (let* (;(tramp-mode nil) | ||
| 186 | (inhibit-file-name-handlers | ||
| 187 | (list 'tramp-file-name-handler | 182 | (list 'tramp-file-name-handler |
| 188 | 'tramp-completion-file-name-handler | 183 | 'tramp-completion-file-name-handler |
| 189 | (and (eq inhibit-file-name-operation operation) | 184 | (and (eq inhibit-file-name-operation operation) |
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 921c70135df..17259c69159 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -2998,8 +2998,6 @@ User is always nil." | |||
| 2998 | (with-parsed-tramp-file-name filename nil | 2998 | (with-parsed-tramp-file-name filename nil |
| 2999 | (let ((x (car (file-attributes filename)))) | 2999 | (let ((x (car (file-attributes filename)))) |
| 3000 | (when (stringp x) | 3000 | (when (stringp x) |
| 3001 | ;; When Tramp is running on VMS, then `file-name-absolute-p' | ||
| 3002 | ;; might do weird things. | ||
| 3003 | (if (file-name-absolute-p x) | 3001 | (if (file-name-absolute-p x) |
| 3004 | (tramp-make-tramp-file-name method user host x) | 3002 | (tramp-make-tramp-file-name method user host x) |
| 3005 | x))))) | 3003 | x))))) |
diff --git a/lisp/progmodes/ada-mode.el b/lisp/progmodes/ada-mode.el index 68b6c872d3f..0d07d573155 100644 --- a/lisp/progmodes/ada-mode.el +++ b/lisp/progmodes/ada-mode.el | |||
| @@ -31,11 +31,6 @@ | |||
| 31 | ;; independent from the GNU Ada compiler GNAT, distributed by Ada | 31 | ;; independent from the GNU Ada compiler GNAT, distributed by Ada |
| 32 | ;; Core Technologies. All the other files rely heavily on features | 32 | ;; Core Technologies. All the other files rely heavily on features |
| 33 | ;; provided only by GNAT. | 33 | ;; provided only by GNAT. |
| 34 | ;; | ||
| 35 | ;; Note: this mode will not work with Emacs 19. If you are on a VMS | ||
| 36 | ;; system, where the latest version of Emacs is 19.28, you will need | ||
| 37 | ;; another file, called ada-vms.el, that provides some required | ||
| 38 | ;; functions. | ||
| 39 | 34 | ||
| 40 | ;;; Usage: | 35 | ;;; Usage: |
| 41 | ;; Emacs should enter Ada mode automatically when you load an Ada file. | 36 | ;; Emacs should enter Ada mode automatically when you load an Ada file. |
diff --git a/lisp/progmodes/ada-xref.el b/lisp/progmodes/ada-xref.el index 7cad848fda8..4bc37451e6e 100644 --- a/lisp/progmodes/ada-xref.el +++ b/lisp/progmodes/ada-xref.el | |||
| @@ -651,12 +651,6 @@ Call `ada-require-project-file' first to ensure a project exists." | |||
| 651 | (find-file (car (cdr pos))) | 651 | (find-file (car (cdr pos))) |
| 652 | (goto-char (car pos))))) | 652 | (goto-char (car pos))))) |
| 653 | 653 | ||
| 654 | (defun ada-convert-file-name (name) | ||
| 655 | "Convert from NAME to a name that can be used by the compilation commands. | ||
| 656 | This is overridden on VMS to convert from VMS filenames to Unix filenames." | ||
| 657 | name) | ||
| 658 | ;; FIXME: use convert-standard-filename instead | ||
| 659 | |||
| 660 | (defun ada-set-default-project-file (file) | 654 | (defun ada-set-default-project-file (file) |
| 661 | "Set FILE as the current project file." | 655 | "Set FILE as the current project file." |
| 662 | (interactive "fProject file:") | 656 | (interactive "fProject file:") |
| @@ -1465,7 +1459,7 @@ by replacing the file extension with `.ali'." | |||
| 1465 | (get-file-buffer ali-file-name)) | 1459 | (get-file-buffer ali-file-name)) |
| 1466 | (kill-buffer (get-file-buffer ali-file-name))) | 1460 | (kill-buffer (get-file-buffer ali-file-name))) |
| 1467 | 1461 | ||
| 1468 | (let* ((name (ada-convert-file-name file)) | 1462 | (let* ((name (convert-standard-filename file)) |
| 1469 | (body-name (or (ada-get-body-name name) name))) | 1463 | (body-name (or (ada-get-body-name name) name))) |
| 1470 | 1464 | ||
| 1471 | ;; Always recompile the body when we can. We thus temporarily switch to a | 1465 | ;; Always recompile the body when we can. We thus temporarily switch to a |
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index 92945b37951..9554c6e519c 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-08-07 Reuben Thomas <rrt@sc3d.org> | ||
| 2 | |||
| 3 | * url-handlers.el: Remove a comment about VMS, which we no longer | ||
| 4 | support. | ||
| 5 | |||
| 1 | 2014-08-03 Paul Eggert <eggert@cs.ucla.edu> | 6 | 2014-08-03 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 7 | ||
| 3 | Don't mishandle dates in the year 9999 (Bug#18176). | 8 | Don't mishandle dates in the year 9999 (Bug#18176). |
diff --git a/lisp/url/url-handlers.el b/lisp/url/url-handlers.el index 704c743bfcd..6b7ab8c9ce6 100644 --- a/lisp/url/url-handlers.el +++ b/lisp/url/url-handlers.el | |||
| @@ -51,7 +51,7 @@ | |||
| 51 | ;; delete-directory Finished (DAV) | 51 | ;; delete-directory Finished (DAV) |
| 52 | ;; delete-file Finished (DAV) | 52 | ;; delete-file Finished (DAV) |
| 53 | ;; diff-latest-backup-file | 53 | ;; diff-latest-backup-file |
| 54 | ;; directory-file-name unnecessary (what about VMS)? | 54 | ;; directory-file-name unnecessary |
| 55 | ;; directory-files Finished (DAV) | 55 | ;; directory-files Finished (DAV) |
| 56 | ;; dired-call-process | 56 | ;; dired-call-process |
| 57 | ;; dired-compress-file | 57 | ;; dired-compress-file |