aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref
diff options
context:
space:
mode:
authorDan Nicolaescu2008-07-31 05:33:56 +0000
committerDan Nicolaescu2008-07-31 05:33:56 +0000
commit7c2fb837ec2f0e0a509f22ccc35f9b43476a6119 (patch)
tree7ec796ef1f109e43c8be2cc8cfb8dc579cfa8033 /doc/lispref
parent69ab3201ca6f6ef1414d678fd9cb13dd4d6f6b95 (diff)
downloademacs-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/ChangeLog6
-rw-r--r--doc/lispref/files.texi62
-rw-r--r--doc/lispref/intro.texi2
-rw-r--r--doc/lispref/os.texi20
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 @@
12008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * os.texi:
4 * intro.texi:
5 * files.texi: Remove VMS support.
6
12008-07-27 Dan Nicolaescu <dann@ics.uci.edu> 72008-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.
1487See also @code{delete-directory} in @ref{Create/Delete Dirs}. 1487See also @code{delete-directory} in @ref{Create/Delete Dirs}.
1488@end deffn 1488@end deffn
1489 1489
1490@defun define-logical-name varname string
1491This 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
1496This function sets mode bits of @var{filename} to @var{mode} (which 1491This function sets mode bits of @var{filename} to @var{mode} (which
1497must be an integer). Only the low 12 bits of @var{mode} are used. 1492must 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
1566actually operate on files) accept MS-DOS or MS-Windows file-name syntax, 1561actually operate on files) accept MS-DOS or MS-Windows file-name syntax,
1567where backslashes separate the components, as well as Unix syntax; but 1562where backslashes separate the components, as well as Unix syntax; but
1568they always return Unix syntax. On VMS, these functions (and the ones 1563they always return Unix syntax. This enables Lisp programs to specify
1569that operate on files) understand both VMS file-name syntax and Unix 1564file names in Unix syntax and work properly on all systems without
1570syntax. This enables Lisp programs to specify file names in Unix syntax 1565change.
1571and 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
1599the last slash (backslash is also allowed in input on MS-DOS or 1593the last slash (backslash is also allowed in input on MS-DOS or
1600MS-Windows); the nondirectory part is the rest. The rules in VMS syntax 1594MS-Windows); the nondirectory part is the rest.
1601are 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
1604the name proper and the @dfn{version number}. On most systems, only 1597the name proper and the @dfn{version number}. On most systems, only
1605backup files have version numbers in their names. On VMS, every file 1598backup files have version numbers in their names.
1606has a version number, but most of the time the file name actually used
1607in Emacs omits the version number, so that version numbers in Emacs are
1608found mostly in directory lists.
1609 1599
1610@defun file-name-directory filename 1600@defun file-name-directory filename
1611This function returns the directory part of @var{filename}, as a 1601This 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
1615On GNU and Unix systems, a string returned by this function always 1605On GNU and Unix systems, a string returned by this function always
1616ends in a slash. On MS-DOS it can also end in a colon. On VMS, it 1606ends in a slash. On MS-DOS it can also end in a colon.
1617returns 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
1758or a tilde (@samp{~}), and a relative one does not. On MS-DOS and 1732or a tilde (@samp{~}), and a relative one does not. On MS-DOS and
1759MS-Windows, an absolute file name starts with a slash or a backslash, or 1733MS-Windows, an absolute file name starts with a slash or a backslash, or
1760with a drive specification @samp{@var{x}:/}, where @var{x} is the 1734with 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
1764This function returns @code{t} if file @var{filename} is an absolute 1738This function returns @code{t} if file @var{filename} is an absolute
1765file name, @code{nil} otherwise. On VMS, this function understands both 1739file name, @code{nil} otherwise.
1766Unix 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
1819same as the usual Unix terminology.) These two different names for 1792same as the usual Unix terminology.) These two different names for
1820the same entity are related by a syntactic transformation. On GNU and 1793the same entity are related by a syntactic transformation. On GNU and
1821Unix systems, this is simple: a directory name ends in a slash, 1794Unix systems, this is simple: a directory name ends in a slash,
1822whereas the directory's name as a file lacks that slash. On MS-DOS and 1795whereas the directory's name as a file lacks that slash. On MS-DOS
1823VMS, the relationship is more complicated. 1796the 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
1826subtle but crucial. When an Emacs variable or function argument is 1799subtle 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{..}.
1836This function returns a string representing @var{filename} in a form 1809This function returns a string representing @var{filename} in a form
1837that the operating system will interpret as the name of a directory. On 1810that the operating system will interpret as the name of a directory. On
1838most systems, this means appending a slash to the string (if it does not 1811most systems, this means appending a slash to the string (if it does not
1839already end in one). On VMS, the function converts a string of the form 1812already 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
1851This function returns a string representing @var{dirname} in a form that 1823This function returns a string representing @var{dirname} in a form that
1852the operating system will interpret as the name of a file. On most 1824the operating system will interpret as the name of a file. On most
1853systems, this means removing the final slash (or backslash) from the 1825systems, this means removing the final slash (or backslash) from the
1854string. On VMS, the function converts a string of the form @file{[X.Y]} 1826string.
1855to @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
2038argument is @code{nil}. 2009argument is @code{nil}.
2039 2010
2040Aside from VMS, the value is always a string ending with a slash. 2011The 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
2100On VMS, @samp{$} substitution is not done, so this function does nothing
2101on 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
2417of file-attributes}). 2386of file-attributes}).
2418@end defun 2387@end defun
2419 2388
2420@defun file-name-all-versions file dirname
2421This 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
2426This function expands the wildcard pattern @var{pattern}, returning 2390This function expands the wildcard pattern @var{pattern}, returning
2427a list of file names that match it. 2391a 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
55because we consider them secondary (such as most of the individual 55because we consider them secondary (such as most of the individual
56modes) or because they are yet to be written. Because we are not able 56modes) or because they are yet to be written. Because we are not able
57to deal with them completely, we have left out several parts 57to deal with them completely, we have left out several parts
58intentionally. This includes most information about usage on VMS. 58intentionally.
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
61therefore open to criticism on anything it says---from specific examples 61therefore 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
632The value of this variable is a symbol indicating the type of operating 632The value of this variable is a symbol indicating the type of operating
633system Emacs is operating on. Here is a table of the possible values: 633system Emacs is operating on. Here is a table of the possible values:
634 634
635@table @code
636@item alpha-vms
637VMS on the Alpha.
638
639@item aix-v3 635@item aix-v3
640AIX. 636AIX.
641 637
@@ -667,9 +663,6 @@ MS-Windows.
667@item usg-unix-v 663@item usg-unix-v
668AT&T System V. 664AT&T System V.
669 665
670@item vax-vms
671VAX VMS.
672
673@item windows-nt 666@item windows-nt
674Microsoft windows NT. The same executable supports Windows 9X, but the 667Microsoft windows NT. The same executable supports Windows 9X, but the
675value of @code{system-type} is @code{windows-nt} in either case. 668value 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.
862The value is @code{nil} if Emacs is running under a window system. 855The 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
866This function sets or resets a VMS privilege. (It does not exist on
867other systems.) The first argument is the privilege name, as a string.
868The second argument, @var{setp}, is @code{t} or @code{nil}, indicating
869whether the privilege is to be turned on or off. Its default is
870@code{nil}. The function returns @code{t} if successful, @code{nil}
871otherwise.
872
873If the third argument, @var{getprv}, is non-@code{nil}, @code{setprv}
874does not change the privilege, but returns @code{t} or @code{nil}
875indicating 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