diff options
| author | Dan Nicolaescu | 2008-07-31 05:33:56 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2008-07-31 05:33:56 +0000 |
| commit | 7c2fb837ec2f0e0a509f22ccc35f9b43476a6119 (patch) | |
| tree | 7ec796ef1f109e43c8be2cc8cfb8dc579cfa8033 /doc/lispref | |
| parent | 69ab3201ca6f6ef1414d678fd9cb13dd4d6f6b95 (diff) | |
| download | emacs-7c2fb837ec2f0e0a509f22ccc35f9b43476a6119.tar.gz emacs-7c2fb837ec2f0e0a509f22ccc35f9b43476a6119.zip | |
* bitmaps/README:
* xfns.c:
* termcap.c:
* term.c:
* syswait.h:
* systty.h:
* systime.h:
* syssignal.h:
* sysdep.c:
* process.h:
* process.c:
* print.c:
* ndir.h:
* lread.c:
* keyboard.c:
* getpagesize.h:
* floatfns.c:
* fileio.c:
* emacs.c:
* doc.c:
* dispnew.c:
* dired.c:
* data.c:
* callproc.c:
* buffer.c:
* README:
* Makefile.in:
* s/template.h:
* s/msdos.h:
* m/vax.h: Remove VMS support.
* s/vms.h:
* vlimit.h:
* uaf.h:
* temacs.opt:
* param.h:
* ioctl.h: Remove file.
* descrip.mms:
* compile.com: Remove file.
* Create.c: Remove VMS support.
* message.el (Module):
* gnus-start.el (Module):
* gnus-registry.el (Module):
* textmodes/texinfmt.el:
* nxml/nxml-enc.el:
* mail/feedmail.el:
* international/mule.el:
* international/latexenc.el:
* emulation/viper-util.el:
* emulation/viper-init.el:
* emulation/viper-ex.el:
* emacs-lisp/bytecomp.el:
* version.el:
* subr.el:
* startup.el:
* sort.el:
* shadowfile.el:
* recentf.el:
* printing.el:
* paths.el:
* minibuffer.el:
* ls-lisp.el:
* loadup.el:
* hippie-exp.el:
* finder.el:
* files.el:
* ediff-util.el:
* ediff-ptch.el:
* ediff-init.el:
* ediff-diff.el:
* dired.el:
* dired-aux.el:
* cus-edit.el:
* bindings.el:
* arc-mode.el:
* add-log.el: Remove VMS support.
* obsolete/vmsproc.el:
* obsolete/vms-pmail.el:
* obsolete/vms-patch.el: Remove file.
* etags.c:
* emacsclient.c: Remove VMS support.
* termcap.src: Remove file.
* README:
* PROBLEMS:
* MACHINES: Remove VMS info.
* ediff.texi: Remove VMS support.
* os.texi:
* intro.texi:
* files.texi: Remove VMS support.
* emacs.texi: Remove VMS support.
* make-dist:
* README: Remove VMS support.
* vms: Remove directory.
Diffstat (limited to 'doc/lispref')
| -rw-r--r-- | doc/lispref/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/lispref/files.texi | 62 | ||||
| -rw-r--r-- | doc/lispref/intro.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/os.texi | 20 |
4 files changed, 20 insertions, 70 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 168b9aef2a3..d9a648062e8 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2008-07-31 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * os.texi: | ||
| 4 | * intro.texi: | ||
| 5 | * files.texi: Remove VMS support. | ||
| 6 | |||
| 1 | 2008-07-27 Dan Nicolaescu <dann@ics.uci.edu> | 7 | 2008-07-27 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 8 | ||
| 3 | * os.texi: | 9 | * os.texi: |
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index 640d4acdd15..26ff06186f0 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi | |||
| @@ -1487,11 +1487,6 @@ levels of parent directories. | |||
| 1487 | See also @code{delete-directory} in @ref{Create/Delete Dirs}. | 1487 | See also @code{delete-directory} in @ref{Create/Delete Dirs}. |
| 1488 | @end deffn | 1488 | @end deffn |
| 1489 | 1489 | ||
| 1490 | @defun define-logical-name varname string | ||
| 1491 | This function defines the logical name @var{varname} to have the value | ||
| 1492 | @var{string}. It is available only on VMS. | ||
| 1493 | @end defun | ||
| 1494 | |||
| 1495 | @defun set-file-modes filename mode | 1490 | @defun set-file-modes filename mode |
| 1496 | This function sets mode bits of @var{filename} to @var{mode} (which | 1491 | This function sets mode bits of @var{filename} to @var{mode} (which |
| 1497 | must be an integer). Only the low 12 bits of @var{mode} are used. | 1492 | must be an integer). Only the low 12 bits of @var{mode} are used. |
| @@ -1565,10 +1560,9 @@ directory. | |||
| 1565 | On MS-DOS and MS-Windows, these functions (like the function that | 1560 | On MS-DOS and MS-Windows, these functions (like the function that |
| 1566 | actually operate on files) accept MS-DOS or MS-Windows file-name syntax, | 1561 | actually operate on files) accept MS-DOS or MS-Windows file-name syntax, |
| 1567 | where backslashes separate the components, as well as Unix syntax; but | 1562 | where backslashes separate the components, as well as Unix syntax; but |
| 1568 | they always return Unix syntax. On VMS, these functions (and the ones | 1563 | they always return Unix syntax. This enables Lisp programs to specify |
| 1569 | that operate on files) understand both VMS file-name syntax and Unix | 1564 | file names in Unix syntax and work properly on all systems without |
| 1570 | syntax. This enables Lisp programs to specify file names in Unix syntax | 1565 | change. |
| 1571 | and work properly on all systems without change. | ||
| 1572 | 1566 | ||
| 1573 | @menu | 1567 | @menu |
| 1574 | * File Name Components:: The directory part of a file name, and the rest. | 1568 | * File Name Components:: The directory part of a file name, and the rest. |
| @@ -1597,15 +1591,11 @@ Concatenating these two parts reproduces the original file name. | |||
| 1597 | 1591 | ||
| 1598 | On most systems, the directory part is everything up to and including | 1592 | On most systems, the directory part is everything up to and including |
| 1599 | the last slash (backslash is also allowed in input on MS-DOS or | 1593 | the last slash (backslash is also allowed in input on MS-DOS or |
| 1600 | MS-Windows); the nondirectory part is the rest. The rules in VMS syntax | 1594 | MS-Windows); the nondirectory part is the rest. |
| 1601 | are complicated. | ||
| 1602 | 1595 | ||
| 1603 | For some purposes, the nondirectory part is further subdivided into | 1596 | For some purposes, the nondirectory part is further subdivided into |
| 1604 | the name proper and the @dfn{version number}. On most systems, only | 1597 | the name proper and the @dfn{version number}. On most systems, only |
| 1605 | backup files have version numbers in their names. On VMS, every file | 1598 | backup files have version numbers in their names. |
| 1606 | has a version number, but most of the time the file name actually used | ||
| 1607 | in Emacs omits the version number, so that version numbers in Emacs are | ||
| 1608 | found mostly in directory lists. | ||
| 1609 | 1599 | ||
| 1610 | @defun file-name-directory filename | 1600 | @defun file-name-directory filename |
| 1611 | This function returns the directory part of @var{filename}, as a | 1601 | This function returns the directory part of @var{filename}, as a |
| @@ -1613,9 +1603,7 @@ directory name (@pxref{Directory Names}), or @code{nil} if | |||
| 1613 | @var{filename} does not include a directory part. | 1603 | @var{filename} does not include a directory part. |
| 1614 | 1604 | ||
| 1615 | On GNU and Unix systems, a string returned by this function always | 1605 | On GNU and Unix systems, a string returned by this function always |
| 1616 | ends in a slash. On MS-DOS it can also end in a colon. On VMS, it | 1606 | ends in a slash. On MS-DOS it can also end in a colon. |
| 1617 | returns a string ending in one of the three characters @samp{:}, | ||
| 1618 | @samp{]}, or @samp{>}. | ||
| 1619 | 1607 | ||
| 1620 | @example | 1608 | @example |
| 1621 | @group | 1609 | @group |
| @@ -1626,10 +1614,6 @@ returns a string ending in one of the three characters @samp{:}, | |||
| 1626 | (file-name-directory "foo") ; @r{Unix example} | 1614 | (file-name-directory "foo") ; @r{Unix example} |
| 1627 | @result{} nil | 1615 | @result{} nil |
| 1628 | @end group | 1616 | @end group |
| 1629 | @group | ||
| 1630 | (file-name-directory "[X]FOO.TMP") ; @r{VMS example} | ||
| 1631 | @result{} "[X]" | ||
| 1632 | @end group | ||
| 1633 | @end example | 1617 | @end example |
| 1634 | @end defun | 1618 | @end defun |
| 1635 | 1619 | ||
| @@ -1649,11 +1633,6 @@ This function returns the nondirectory part of @var{filename}. | |||
| 1649 | (file-name-nondirectory "lewis/") | 1633 | (file-name-nondirectory "lewis/") |
| 1650 | @result{} "" | 1634 | @result{} "" |
| 1651 | @end group | 1635 | @end group |
| 1652 | @group | ||
| 1653 | ;; @r{The following example is accurate only on VMS.} | ||
| 1654 | (file-name-nondirectory "[X]FOO.TMP") | ||
| 1655 | @result{} "FOO.TMP" | ||
| 1656 | @end group | ||
| 1657 | @end example | 1636 | @end example |
| 1658 | @end defun | 1637 | @end defun |
| 1659 | 1638 | ||
| @@ -1678,11 +1657,6 @@ return value, but backup version numbers are kept. | |||
| 1678 | (file-name-sans-versions "~rms/foo") | 1657 | (file-name-sans-versions "~rms/foo") |
| 1679 | @result{} "~rms/foo" | 1658 | @result{} "~rms/foo" |
| 1680 | @end group | 1659 | @end group |
| 1681 | @group | ||
| 1682 | ;; @r{The following example applies to VMS only.} | ||
| 1683 | (file-name-sans-versions "foo;23") | ||
| 1684 | @result{} "foo" | ||
| 1685 | @end group | ||
| 1686 | @end example | 1660 | @end example |
| 1687 | @end defun | 1661 | @end defun |
| 1688 | 1662 | ||
| @@ -1758,12 +1732,11 @@ name. On Unix and GNU/Linux, an absolute file name starts with a slash | |||
| 1758 | or a tilde (@samp{~}), and a relative one does not. On MS-DOS and | 1732 | or a tilde (@samp{~}), and a relative one does not. On MS-DOS and |
| 1759 | MS-Windows, an absolute file name starts with a slash or a backslash, or | 1733 | MS-Windows, an absolute file name starts with a slash or a backslash, or |
| 1760 | with a drive specification @samp{@var{x}:/}, where @var{x} is the | 1734 | with a drive specification @samp{@var{x}:/}, where @var{x} is the |
| 1761 | @dfn{drive letter}. The rules on VMS are complicated. | 1735 | @dfn{drive letter}. |
| 1762 | 1736 | ||
| 1763 | @defun file-name-absolute-p filename | 1737 | @defun file-name-absolute-p filename |
| 1764 | This function returns @code{t} if file @var{filename} is an absolute | 1738 | This function returns @code{t} if file @var{filename} is an absolute |
| 1765 | file name, @code{nil} otherwise. On VMS, this function understands both | 1739 | file name, @code{nil} otherwise. |
| 1766 | Unix syntax and VMS syntax. | ||
| 1767 | 1740 | ||
| 1768 | @example | 1741 | @example |
| 1769 | @group | 1742 | @group |
| @@ -1819,8 +1792,8 @@ the directory name but not identical to it. (This is not quite the | |||
| 1819 | same as the usual Unix terminology.) These two different names for | 1792 | same as the usual Unix terminology.) These two different names for |
| 1820 | the same entity are related by a syntactic transformation. On GNU and | 1793 | the same entity are related by a syntactic transformation. On GNU and |
| 1821 | Unix systems, this is simple: a directory name ends in a slash, | 1794 | Unix systems, this is simple: a directory name ends in a slash, |
| 1822 | whereas the directory's name as a file lacks that slash. On MS-DOS and | 1795 | whereas the directory's name as a file lacks that slash. On MS-DOS |
| 1823 | VMS, the relationship is more complicated. | 1796 | the relationship is more complicated. |
| 1824 | 1797 | ||
| 1825 | The difference between a directory name and its name as a file is | 1798 | The difference between a directory name and its name as a file is |
| 1826 | subtle but crucial. When an Emacs variable or function argument is | 1799 | subtle but crucial. When an Emacs variable or function argument is |
| @@ -1836,8 +1809,7 @@ such as @samp{$HOME}, and the constructs @samp{~}, @samp{.} and @samp{..}. | |||
| 1836 | This function returns a string representing @var{filename} in a form | 1809 | This function returns a string representing @var{filename} in a form |
| 1837 | that the operating system will interpret as the name of a directory. On | 1810 | that the operating system will interpret as the name of a directory. On |
| 1838 | most systems, this means appending a slash to the string (if it does not | 1811 | most systems, this means appending a slash to the string (if it does not |
| 1839 | already end in one). On VMS, the function converts a string of the form | 1812 | already end in one). |
| 1840 | @file{[X]Y.DIR.1} to the form @file{[X.Y]}. | ||
| 1841 | 1813 | ||
| 1842 | @example | 1814 | @example |
| 1843 | @group | 1815 | @group |
| @@ -1851,8 +1823,7 @@ already end in one). On VMS, the function converts a string of the form | |||
| 1851 | This function returns a string representing @var{dirname} in a form that | 1823 | This function returns a string representing @var{dirname} in a form that |
| 1852 | the operating system will interpret as the name of a file. On most | 1824 | the operating system will interpret as the name of a file. On most |
| 1853 | systems, this means removing the final slash (or backslash) from the | 1825 | systems, this means removing the final slash (or backslash) from the |
| 1854 | string. On VMS, the function converts a string of the form @file{[X.Y]} | 1826 | string. |
| 1855 | to @file{[X]Y.DIR.1}. | ||
| 1856 | 1827 | ||
| 1857 | @example | 1828 | @example |
| 1858 | @group | 1829 | @group |
| @@ -2037,7 +2008,7 @@ with @samp{~}. This variable is buffer-local in every buffer. | |||
| 2037 | @code{expand-file-name} uses the default directory when its second | 2008 | @code{expand-file-name} uses the default directory when its second |
| 2038 | argument is @code{nil}. | 2009 | argument is @code{nil}. |
| 2039 | 2010 | ||
| 2040 | Aside from VMS, the value is always a string ending with a slash. | 2011 | The value is always a string ending with a slash. |
| 2041 | 2012 | ||
| 2042 | @example | 2013 | @example |
| 2043 | @group | 2014 | @group |
| @@ -2097,8 +2068,6 @@ through the immediately preceding @samp{/}). | |||
| 2097 | @end group | 2068 | @end group |
| 2098 | @end example | 2069 | @end example |
| 2099 | 2070 | ||
| 2100 | On VMS, @samp{$} substitution is not done, so this function does nothing | ||
| 2101 | on VMS except discard superfluous initial components as shown above. | ||
| 2102 | @end defun | 2071 | @end defun |
| 2103 | 2072 | ||
| 2104 | @node Unique File Names | 2073 | @node Unique File Names |
| @@ -2417,11 +2386,6 @@ corresponding argument to @code{file-attributes} (@pxref{Definition | |||
| 2417 | of file-attributes}). | 2386 | of file-attributes}). |
| 2418 | @end defun | 2387 | @end defun |
| 2419 | 2388 | ||
| 2420 | @defun file-name-all-versions file dirname | ||
| 2421 | This function returns a list of all versions of the file named | ||
| 2422 | @var{file} in directory @var{dirname}. It is only available on VMS. | ||
| 2423 | @end defun | ||
| 2424 | |||
| 2425 | @defun file-expand-wildcards pattern &optional full | 2389 | @defun file-expand-wildcards pattern &optional full |
| 2426 | This function expands the wildcard pattern @var{pattern}, returning | 2390 | This function expands the wildcard pattern @var{pattern}, returning |
| 2427 | a list of file names that match it. | 2391 | a list of file names that match it. |
diff --git a/doc/lispref/intro.texi b/doc/lispref/intro.texi index e7e08fbb090..76d18e082c1 100644 --- a/doc/lispref/intro.texi +++ b/doc/lispref/intro.texi | |||
| @@ -55,7 +55,7 @@ but not flawless. There are a few topics that are not covered, either | |||
| 55 | because we consider them secondary (such as most of the individual | 55 | because we consider them secondary (such as most of the individual |
| 56 | modes) or because they are yet to be written. Because we are not able | 56 | modes) or because they are yet to be written. Because we are not able |
| 57 | to deal with them completely, we have left out several parts | 57 | to deal with them completely, we have left out several parts |
| 58 | intentionally. This includes most information about usage on VMS. | 58 | intentionally. |
| 59 | 59 | ||
| 60 | The manual should be fully correct in what it does cover, and it is | 60 | The manual should be fully correct in what it does cover, and it is |
| 61 | therefore open to criticism on anything it says---from specific examples | 61 | therefore open to criticism on anything it says---from specific examples |
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi index 15458b87619..9f8d36315bd 100644 --- a/doc/lispref/os.texi +++ b/doc/lispref/os.texi | |||
| @@ -632,10 +632,6 @@ convenient way to test parts of this string is with | |||
| 632 | The value of this variable is a symbol indicating the type of operating | 632 | The value of this variable is a symbol indicating the type of operating |
| 633 | system Emacs is operating on. Here is a table of the possible values: | 633 | system Emacs is operating on. Here is a table of the possible values: |
| 634 | 634 | ||
| 635 | @table @code | ||
| 636 | @item alpha-vms | ||
| 637 | VMS on the Alpha. | ||
| 638 | |||
| 639 | @item aix-v3 | 635 | @item aix-v3 |
| 640 | AIX. | 636 | AIX. |
| 641 | 637 | ||
| @@ -667,9 +663,6 @@ MS-Windows. | |||
| 667 | @item usg-unix-v | 663 | @item usg-unix-v |
| 668 | AT&T System V. | 664 | AT&T System V. |
| 669 | 665 | ||
| 670 | @item vax-vms | ||
| 671 | VAX VMS. | ||
| 672 | |||
| 673 | @item windows-nt | 666 | @item windows-nt |
| 674 | Microsoft windows NT. The same executable supports Windows 9X, but the | 667 | Microsoft windows NT. The same executable supports Windows 9X, but the |
| 675 | value of @code{system-type} is @code{windows-nt} in either case. | 668 | value of @code{system-type} is @code{windows-nt} in either case. |
| @@ -862,19 +855,6 @@ in the system's terminal driver, before Emacs was started. | |||
| 862 | The value is @code{nil} if Emacs is running under a window system. | 855 | The value is @code{nil} if Emacs is running under a window system. |
| 863 | @end defvar | 856 | @end defvar |
| 864 | 857 | ||
| 865 | @defun setprv privilege-name &optional setp getprv | ||
| 866 | This function sets or resets a VMS privilege. (It does not exist on | ||
| 867 | other systems.) The first argument is the privilege name, as a string. | ||
| 868 | The second argument, @var{setp}, is @code{t} or @code{nil}, indicating | ||
| 869 | whether the privilege is to be turned on or off. Its default is | ||
| 870 | @code{nil}. The function returns @code{t} if successful, @code{nil} | ||
| 871 | otherwise. | ||
| 872 | |||
| 873 | If the third argument, @var{getprv}, is non-@code{nil}, @code{setprv} | ||
| 874 | does not change the privilege, but returns @code{t} or @code{nil} | ||
| 875 | indicating whether the privilege is currently enabled. | ||
| 876 | @end defun | ||
| 877 | |||
| 878 | @node User Identification | 858 | @node User Identification |
| 879 | @section User Identification | 859 | @section User Identification |
| 880 | @cindex user identification | 860 | @cindex user identification |