1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-19 10:22:27 +00:00
emacs/doc/lispintro
Paul Eggert 97976f9f3f Fix permissions bugs with setgid directories etc.
* configure.ac (BSD4_2): Remove; no longer needed.
* admin/CPP-DEFINES (BSD4_2): Remove.
* doc/lispintro/emacs-lisp-intro.texi (Files List):
directory-files-and-attributes now outputs t for attribute that's
now a placeholder.
* doc/lispref/files.texi (Testing Accessibility): Document GROUP arg
of file-ownership-preserved-p.
(File Attributes): Document that 9th element is now
just a placeholder.
* doc/lispref/os.texi (User Identification): Document new functions group-gid,
group-real-gid.
* etc/NEWS: Document changes to file-attributes,
file-ownership-preserved-p.
Mention new functions group-gid, group-real-gid.
* lisp/files.el (backup-buffer): Don't rely on 9th output of
file-attributes, as it's now a placeholder.  Instead, use the new
optional arg of file-ownership-preserved-p.
(file-ownership-preserved-p): New optional arg GROUP.
Fix mishandling of setuid directories that would cause this
function to return t when it should have returned nil.
Document what happens if the file does not exist, and when
it's not known whether the ownership will be preserved.
* lisp/net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
Likewise.
(tramp-get-local-gid): Use group-gid for integer, as that's
faster and more reliable.
* src/dired.c (Ffile_attributes): Return t as the 9th attribute,
to mark it as a placeholder.  The old value was often wrong.
The only user of this attribute has been changed to use
file-ownership-preserved-p instead, with its new group arg.
* src/editfns.c (Fgroup_gid, Fgroup_real_gid): New functions.

Fixes: debbugs:13125
2012-12-14 10:59:00 -08:00
..
.gitignore
ChangeLog Fix permissions bugs with setgid directories etc. 2012-12-14 10:59:00 -08:00
cons-1.eps Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
cons-1.pdf
cons-2.eps Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
cons-2.pdf
cons-2a.eps Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
cons-2a.pdf
cons-3.eps Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
cons-3.pdf
cons-4.eps Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
cons-4.pdf
cons-5.eps Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
cons-5.pdf
doclicense.texi Update licenses to latest version from FSF. 2012-12-06 00:33:32 -08:00
drawers.eps Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
drawers.pdf
emacs-lisp-intro.texi Fix permissions bugs with setgid directories etc. 2012-12-14 10:59:00 -08:00
lambda-1.eps Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
lambda-1.pdf
lambda-2.eps Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
lambda-2.pdf
lambda-3.eps Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
lambda-3.pdf
Makefile.in Merge from emacs-24; up to 2012-04-26T03:04:36Z!cyd@gnu.org 2012-06-21 00:34:27 -07:00
makefile.w32-in Give info files the .info extension 2012-05-03 23:45:03 -07:00
README Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Copyright (C) 2001-2012  Free Software Foundation, Inc.
See the end of the file for license conditions.


This directory contains the source of the "Introduction to Programming
in Emacs Lisp" written by Robert J. Chassell, bob@gnu.org.  This
manual is an elementary introduction to programming in Emacs Lisp for
people who are not programmers, and who are not necessarily interested
in programming, but who do want to customize or extend their computing
environment.

This third edition of 2006 Oct 31 updates the previous editions to GNU
Emacs 22.

The Texinfo source file `emacs-lisp-intro.texi', formats without
reported error using `pdfeTeXk', Version 3.141592-1.21a-2.2 (Web2C
7.5.4) and texinfo.tex version 2006-08-26.17 started by `texi2dvi'
version 4.8, and with `makeinfo' version 4.8.

This directory contains the following Encapsulated PostScript figures:

  cons-1.eps, cons-2.eps, cons-2a.eps, cons-3.eps, cons-4.eps, cons-5.eps
  drawers.eps, lambda-1.eps, lambda-2.eps, lambda-3.eps

See the beginning of the `emacs-lisp-intro.texi' file for appropriate
settings.  These figures are not necessary; they are merely nice to
look at --- without them you get the same figures printed with ASCII
characters.

Whether and how you print PostScript depends on your site.  You not
only need to set 'print-postscript-figures' before creating the .dvi
file, but then must convert the .dvi file to .ps with a 'dvips' or
equivalent command.

On some systems you will see an error message when `psfig.tex' is
loaded for the last two .eps files:

            ! No room for a new \write .

If this happens, try `epsf.tex' instead of `psfig.tex', or try typing
RET at the error; the formatting may continue successfully.

Or else find the section that says:

 @c !!! Clear print-postscript-figures if the computer formatting this
 @c     document is too small and cannot handle all the diagrams and figures.
 @c clear print-postscript-figures

and change the file so it reads:   @clear print-postscript-figures
This will prevent TeX from attempting to load the last few .eps files.

You will find additional instructions on formatting in the beginning
of the Texinfo file 'emacs-lisp-intro.texi'.  Best Wishes!

2006 Oct 31
Robert J. Chassell, bob@gnu.org



COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES

The PostScript images (*.eps) contain copyright and license information
in their headers.  The PDF versions were automatically generated using
the epstopdf utility, and are subject to the same conditions as their
EPS counterparts.



This file is part of GNU Emacs.

GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.