1. 16 Dec, 2012 1 commit
    • Romain Francoise's avatar
      Add support for preserving ACL entries of files. · 7c3d167f
      Romain Francoise authored
      	* configure.ac (acl): New option.
      	(HAVE_POSIX_ACL): Test for POSIX ACL support.  This is typically
      	provided by libacl on GNU/Linux.
      	* fileio.c (Ffile_acl, Fset_file_acl): New functions.
      	(Fcopy_file): Change last arg to `preserve_extended_attributes'
      	and copy ACL entries of file in addition to SELinux context if
      	(syms_of_fileio): Add `file-acl' and `set-file-acl'.
      	* Makefile.in (LIBACL_LIBS): New macro.
      	(LIBES): Use it.
      	* files.el (file-extended-attributes)
      	(set-file-extended-attributes): New functions.
      	(backup-buffer): Use them to handle both SELinux context and ACL
      	(backup-buffer-copy): Work with an alist of extended attributes,
      	rather than an SELinux context.
      	(basic-save-buffer-2): Ditto.
      	* files.texi (File Attributes): Document ACL support and new
      	`file-acl' function.
      	(Changing Files): Mention argument name change of `copy-file' and
      	document new function `set-file-acl'.
  2. 14 Dec, 2012 1 commit
    • Paul Eggert's avatar
      Fix permissions bugs with setgid directories etc. · 97976f9f
      Paul Eggert authored
      * 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,
      * etc/NEWS: Document changes to file-attributes,
      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):
      (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
  3. 11 Dec, 2012 3 commits
  4. 09 Dec, 2012 2 commits
  5. 06 Dec, 2012 2 commits
  6. 05 Dec, 2012 1 commit
  7. 02 Dec, 2012 2 commits
    • Chong Yidong's avatar
      Lisp manual improvements for plists and symbol plists. · f02f19bd
      Chong Yidong authored
      * doc/lispref/commands.texi (Using Interactive): Fix index entry.
      * doc/lispref/customize.texi (Variable Definitions):
      * doc/lispref/display.texi (Defining Faces):
      * doc/lispref/sequences.texi (Char-Tables): Fix xref.
      * doc/lispref/lists.texi (Property Lists): Move here from symbols.texi.
      (Plist Access): Rename from Other Plists.
      * doc/lispref/symbols.texi (Symbol Properties): New node.
      (Symbol Plists): Make it a subsection under Symbol Properties.
      (Standard Properties): New node.
    • Chong Yidong's avatar
      Document the conversion of kbd into a function. · 547d6865
      Chong Yidong authored
      * doc/emacs/custom.texi (Init Rebinding): kbd is now a function.
      * doc/lispref/keymaps.texi (Key Sequences): kbd is now a function.
      Fixes: debbugs:13052
  8. 24 Nov, 2012 2 commits
  9. 23 Nov, 2012 2 commits
    • Martin Rudalics's avatar
      Correct and reword recent changes to window.texi. · 0d4bb04f
      Martin Rudalics authored
      * windows.texi (Basic Windows): Fix typo.
      (Windows and Frames): Fix example.  Move description of
      window-in-direction here.
      (Recombining Windows): Fix example.
      (Buffers and Windows): Fix description of
      (Switching Buffers): Reword.
      (Display Action Functions): Minor adjustments.
      (Choosing Window Options): Minor fixes.
      (Window History): Minor rewording.
      (Dedicated Windows): Correct and reword part describing how
      dedicatedness affects functions removing buffers or windows.
      * buffers.texi (The Buffer List): Fix description of
    • Chong Yidong's avatar
      * modes.texi (%-Constructs): Fix statement about mode construct padding. · 90d99fdf
      Chong Yidong authored
      Fixes: debbugs:12866
  10. 21 Nov, 2012 5 commits
  11. 20 Nov, 2012 1 commit
    • Glenn Morris's avatar
      Make a start on a Profiling section in the lispref · 5b776637
      Glenn Morris authored
      * doc/lispref/debugging.texi (Profiling): New section, in progress.
      * doc/lispref/tips.texi (Compilation Tips): Move profiling to separate section.
      * doc/lispref/elisp.texi: Add Profiling to detailed menu.
  12. 18 Nov, 2012 3 commits
    • Martin Rudalics's avatar
      Fix example for Display Action Functions. · 66c466d4
      Martin Rudalics authored
      * windows.texi (Display Action Functions): Fix recently added
      example.  Suggested by Michael Heerdegen.
    • Paul Eggert's avatar
      Minor cleanup for times as lists of four integers. · 0c93aa38
      Paul Eggert authored
      * doc/lispref/os.texi (Time Parsing): Time values can now be four integers.
      * lisp/files.el (dir-locals-directory-cache):
      * lisp/ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
      Doc fixes.
      * lisp/net/tramp-sh.el (tramp-do-file-attributes-with-ls):
      * lisp/ps-bdf.el (bdf-file-newer-than-time):
      Process four-integers time stamps, not two.  Doc fixes.
    • Glenn Morris's avatar
      Document eager macro expansion · 7351b73d
      Glenn Morris authored
      * doc/lispref/loading.texi (How Programs Do Loading): Add eager macro expansion.
      * doc/lispref/macros.texi (Expansion): Mention eager macro expansion.
      * etc/NEWS: Related edit.
  13. 17 Nov, 2012 5 commits
  14. 16 Nov, 2012 1 commit
    • Martin Rudalics's avatar
      Fix some display-buffer related issues. · 0ff7851c
      Martin Rudalics authored
      * window.el (enlarge-window, shrink-window): Don't mention return
      value in doc-string (Bug#12896).
      (window--display-buffer): Don't resize frames - it won't work
      with all window managers and defeat pop-up-frame-alist.
      (display-buffer-alist): In doc-string explain that CONDITION can
      be a function and which arguments are passed to it (Bug#12854).
      (display-buffer-assq-regexp): New argument ACTION.  Handle lambda
      expressions (Bug#12854).
      (display-buffer): Pass ACTION argument to
      * windows.texi (Choosing Window): Rewrite description of
      display-buffer-alist (Bug#12167).
      (Display Action Functions): Mention inhibit-switch-frame.  Fix
      description of display-buffer-below-selected.  Reorder actions.
      Add example (Bug#12848).
  15. 15 Nov, 2012 5 commits
  16. 14 Nov, 2012 2 commits
  17. 12 Nov, 2012 1 commit
  18. 11 Nov, 2012 1 commit
    • Glenn Morris's avatar
      Document debugger-bury-or-kill · 57fc0fee
      Glenn Morris authored
      * doc/lispref/debugging.texi (Using Debugger): Mention debugger-bury-or-kill.
      * lisp/emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
      * etc/NEWS: Related edit.