1. 23 Dec, 2014 1 commit
    • Eli Zaretskii's avatar
      Improve indexing on the chapter/section/subsection levels. · 20cfd248
      Eli Zaretskii authored
       doc/lispref/windows.texi (Recombining Windows): Index subject of sections.
       doc/lispref/variables.texi (Variables with Restricted Values)
       (Generalized Variables): Index subject of sections.
       doc/lispref/text.texi (Buffer Contents, Examining Properties)
       (Changing Properties, Property Search, Substitution): Index
       subject of sections.
       doc/lispref/syntax.texi (Motion and Syntax, Parsing Expressions)
       (Motion via Parsing, Position Parse, Control Parsing): Index
       subject of sections.
       doc/lispref/strings.texi (Predicates for Strings, Creating Strings)
       (Modifying Strings, Text Comparison): Index subject of sections.
       doc/lispref/searching.texi (Syntax of Regexps, Regexp Special)
       (Regexp Functions, Regexp Functions): Index subject of sections.
       doc/lispref/processes.texi (Subprocess Creation, Process Information): Index
       subject of sections.
       doc/lispref/positions.texi (Screen Lines): Index subject of sections.
       doc/lispref/nonascii.texi (Scanning Charsets, Specifying Coding Systems):
       Index subject of sections.
       doc/lispref/minibuf.texi (Text from Minibuffer, Object from Minibuffer)
       (Multiple Queries, Minibuffer Contents): Index subject of
       sections.
       doc/lispref/markers.texi (Predicates on Markers, Creating Markers)
       (Information from Markers, Moving Markers): Index subject of
       sections.
       doc/lispref/macros.texi (Defining Macros, Problems with Macros): Index
       subject of sections.
       doc/lispref/loading.texi (Loading Non-ASCII, Where Defined): Index subject
       of sections.
       doc/lispref/lists.texi (List-related Predicates, List Variables, Setcar)
       (Setcdr, Plist Access): Index subject of sections.
       doc/lispref/keymaps.texi (Controlling Active Maps, Scanning Keymaps)
       (Modifying Menus): Index subject of sections.
       doc/lispref/help.texi (Accessing Documentation, Help Functions): Index
       subject of sections.
       doc/lispref/hash.texi (Hash Access): Index subject of sections.
       doc/lispref/functions.texi (Core Advising Primitives)
       (Advising Named Functions, Porting old advices): Index subject of
       sections.
       doc/lispref/frames.texi (Creating Frames, Initial Parameters)
       (Position Parameters, Buffer Parameters, Minibuffers and Frames)
       (Pop-Up Menus, Drag and Drop): Index subject of sections.
       doc/lispref/files.texi (Visiting Functions, Kinds of Files)
       (Unique File Names): Index subject of sections.
       doc/lispref/display.texi (Refresh Screen, Echo Area Customization)
       (Warning Variables, Warning Options, Delayed Warnings)
       (Temporary Displays, Managing Overlays, Overlay Properties)
       (Finding Overlays, Size of Displayed Text, Defining Faces)
       (Attribute Functions, Displaying Faces, Face Remapping)
       (Basic Faces, Font Lookup, Fontsets, Replacing Specs)
       (Defining Images, Showing Images): Index subject of sections.
       doc/lispref/debugging.texi (Debugging, Explicit Debug)
       (Invoking the Debugger, Excess Open, Excess Close): Index subject
       of sections.
       doc/lispref/customize.texi (Defining New Types, Applying Customizations)
       (Custom Themes): Index subject of sections.
       doc/lispref/control.texi (Sequencing, Combining Conditions)
       (Processing of Errors, Cleanups): Index subject of sections.
       doc/lispref/compile.texi (Eval During Compile): Index subject of sections.
       doc/lispref/commands.texi (Using Interactive, Distinguish Interactive)
       (Command Loop Info, Classifying Events, Event Mod)
       (Invoking the Input Method): Index subject of sections.
       doc/lispref/buffers.texi (Buffer List, Buffer Gap): Index subject of sections.
       doc/lispref/backups.texi (Making Backups, Numbered Backups, Backup Names)
       (Reverting): Index subject of sections.
       doc/lispref/abbrevs.texi (Abbrev Tables, Defining Abbrevs, Abbrev Files)
       (Abbrev Expansion, Standard Abbrev Tables, Abbrev Properties)
       (Abbrev Table Properties): Index subject of sections.
       doc/lispref/os.texi (Time of Day, Time Conversion, Time Parsing)
       (Time Calculations, Idle Timers): Index subject of sections.
      20cfd248
  2. 08 Jun, 2014 1 commit
    • Glenn Morris's avatar
      Doc edits re uniquify · 99d8aedf
      Glenn Morris authored
      * doc/emacs/buffers.texi (Uniquify): Copyedits.
      
      * doc/emacs/files.texi (Visiting): Update for uniquify changes.
      
      * doc/lispref/files.texi (Subroutines of Visiting): Mention uniquify.
      
      * doc/misc/vip.texi (Files): Defer to Emacs manual for uniquify details.
      
      * lisp/bookmark.el (bookmark-load): Doc fix.
      
      * lisp/uniquify.el (uniquify-buffer-name-style): Doc fix.
      
      * lisp/files.el: Comment.
      
      * etc/NEWS: Related edit.
      99d8aedf
  3. 25 Mar, 2014 1 commit
  4. 18 Mar, 2014 1 commit
    • Paul Eggert's avatar
      Style fixes for floating-point doc. · 09b73f08
      Paul Eggert authored
      * commands.texi, customize.texi, display.texi, elisp.texi, files.texi:
      * frames.texi, hash.texi, internals.texi, keymaps.texi, lists.texi:
      * minibuf.texi, nonascii.texi, numbers.texi, objects.texi, os.texi:
      * processes.texi, streams.texi, strings.texi, text.texi:
      * variables.texi, windows.texi:
      Hyphenate "floating-point" iff it precedes a noun.
      Reword to avoid nouns and hyphenation when that's easy.
      Prefer "integer" to "integer number" and "is floating point"
      to "is a floating point number".
      Prefer "@minus{}" to "-" when it's a minus.
      09b73f08
  5. 24 Jan, 2014 1 commit
  6. 07 Jan, 2014 2 commits
    • Glenn Morris's avatar
      Fix some superscript typos in doc/ · d831c9b8
      Glenn Morris authored
      * doc/lispref/files.texi (File Attributes):
      * doc/misc/efaq.texi (Problems with very large files):
      Fix superscript typo.
      d831c9b8
    • Chong Yidong's avatar
      More doc updates. · de7ce2d1
      Chong Yidong authored
      * doc/emacs/search.texi (Special Isearch): Document C-x 8 RET in isearch.
      (Word Search): Document incremental word search changes.
      (Isearch Yank): Document M-s C-e with a prefix argument.
      
      * doc/lispref/files.texi (Changing Files): Document copy-file changes.
      
      * lisp/isearch.el (isearch-yank-char, isearch-yank-word)
      (isearch-yank-line): Doc fix.
      de7ce2d1
  7. 05 Jan, 2014 1 commit
    • Chong Yidong's avatar
      More doc updates. · 81c7d631
      Chong Yidong authored
      * backups.texi (Making Backups): Document backup-buffer change.
      
      * commands.texi (Defining Commands): Document the interactive-form
      property more carefully.  Document interactive-only.
      
      * compile.texi (Compiler Errors): Copyedits.  Note that the
      details for byte-compile-warnings are in its docstring.
      
      * customize.texi (Variable Definitions): Likewise.
      
      * files.texi (Visiting Files): Copyedits.
      (Testing Accessibility): Mention ACLs.  Move file-modes here from
      File Attributes.
      (Truenames): Move file-equal-p here from Kinds of Files.
      (File Attributes): Move file-newer-than-file-p here from Testing
      Accessibility.
      (Extended Attributes): New node.  Add file-extended-attributes.
      (Changing Files): Document set-file-extended-attributes.
      
      * minibuf.texi (Minibuffer Contents): Remove obsolete function
      minibuffer-completion-contents.
      
      * variables.texi (Defining Variables): Note that defvar acts
      always on the dynamic value.
      81c7d631
  8. 01 Jan, 2014 1 commit
  9. 29 Dec, 2013 1 commit
    • Paul Eggert's avatar
      Plain copy-file no longer chmods an existing destination. · a560b856
      Paul Eggert authored
      * doc/lispref/files.texi (Changing Files): Document this.
      * etc/NEWS: Document this.
      * src/fileio.c (realmask): Now a static var, not a local.
      (barf_or_query_if_file_exists): New arg KNOWN_TO_EXIST.
      Remove arg STATPTR.  All uses changed.
      (Fcopy_file): Do not alter permissions of existing destinations,
      unless PRESERVE-PERMISSIONS (renamed from
      PRESERVE-EXTENDED-ATTRIBUTES) is non-nil.
      Avoid race when testing for existing destinations and for
      when input and output files are the same.
      If changing the group fails, adjust both default and
      preserved permissions so that access is not granted to the
      wrong group.
      (Fset_default_file_modes, init_fileio): Update realmask.
      (Fdefault_file_modes): Use realmask instead of calling umask.
      
      Fixes: debbugs:16133
      a560b856
  10. 23 Dec, 2013 1 commit
  11. 20 Nov, 2013 1 commit
  12. 19 Nov, 2013 1 commit
    • Xue Fuqiao's avatar
      Doc fixes. · a6e3a5d5
      Xue Fuqiao authored
      * lisp/filenotify.el (file-notify-add-watch): Refine doc string.
      
      * doc/lispref/os.texi (File Notifications): Add an index.
      
      * doc/lispref/loading.texi (Loading): Add an cross-reference.
      a6e3a5d5
  13. 23 Oct, 2013 1 commit
  14. 20 Aug, 2013 1 commit
  15. 24 Jul, 2013 1 commit
  16. 22 Jul, 2013 1 commit
    • Michael Albinus's avatar
      * files.texi (Magic File Names): Add file-notify-add-watch, · 32813ea7
      Michael Albinus authored
      file-notify-rm-watch and file-notify-supported-p.  Move
      file-remote-p down.
      
      * errors.texi (Standard Errors): Add file-notify-error.
      
      * os.texi (Desktop Notifications): Rename from Notifications.
      (File Notifications): New node.
      
      * elisp.texi (Top): Update menu for these changes.
      32813ea7
  17. 03 Jul, 2013 1 commit
    • Glenn Morris's avatar
      Fix some doc/ cross-references · a944db14
      Glenn Morris authored
      * doc/lispintro/emacs-lisp-intro.texi (edebug):
      * doc/lispref/debugging.texi (Debugging):
      * doc/lispref/files.texi (File Attributes, Changing Files):
      * doc/misc/bovine.texi (top):
      * doc/misc/cc-mode.texi (AWK Mode Font Locking):
      * doc/misc/mh-e.texi (Preface):
      * doc/misc/url.texi (URI Parsing):
      Fix cross-references to other manuals.
      
      * doc/lispref/package.texi (Package Archives): Fix @url call.
      a944db14
  18. 11 Jun, 2013 1 commit
  19. 10 Jun, 2013 2 commits
  20. 23 Feb, 2013 1 commit
  21. 19 Jan, 2013 1 commit
  22. 04 Jan, 2013 1 commit
  23. 01 Jan, 2013 1 commit
  24. 29 Dec, 2012 1 commit
    • Eli Zaretskii's avatar
      Fix bug #13298 with failed backups by falling back on set-file-modes. · ccad023b
      Eli Zaretskii authored
       src/fileio.c (Fset_file_selinux_context, Fset_file_acl): Return t if
       file's SELinux context or ACLs successfully set, nil otherwise.
      
       lisp/files.el (backup-buffer-copy, basic-save-buffer-2): If
       set-file-extended-attributes fails, fall back on set-file-modes
       instead of signaling an error.
      
       doc/lispref/files.texi (Changing Files): Document the return values of
       set-file-selinux-context and set-file-acl.
      ccad023b
  25. 27 Dec, 2012 1 commit
    • Glenn Morris's avatar
      Document cygwin-convert-file-name-{to|from}-windows · 1ab0c851
      Glenn Morris authored
      * doc/lispref/files.texi (File Names): Mention Cygwin conversion functions.
      
      * src/cygw32.c (Fcygwin_convert_file_name_to_windows)
      (Fcygwin_convert_file_name_from_windows): Doc fixes.
      
      * etc/NEWS: Related markup.
      1ab0c851
  26. 22 Dec, 2012 1 commit
  27. 19 Dec, 2012 1 commit
  28. 17 Dec, 2012 1 commit
    • Eli Zaretskii's avatar
      Support Posix ACL APIs on MS-Windows. · 66447e07
      Eli Zaretskii authored
       src/w32.c: Include sddl.h and sys/acl.h.
       (SDDL_REVISION_1): Define if not already defined.
       (g_b_init_get_security_descriptor_dacl)
       (g_b_init_convert_sd_to_sddl, g_b_init_convert_sddl_to_sd)
       (g_b_init_is_valid_security_descriptor)
       (g_b_init_set_file_security): New static flags.
       (globals_of_w32): Initialize them to zero.
       (SetFileSecurity_Name): New string constant.
       (SetFileSecurity_Proc, GetSecurityDescriptorDacl_Proc)
       (ConvertStringSecurityDescriptorToSecurityDescriptor_Proc)
       (ConvertSecurityDescriptorToStringSecurityDescriptor_Proc)
       (IsValidSecurityDescriptor_Proc): New typedefs.
       (get_file_security, get_security_descriptor_owner)
       (get_security_descriptor_group): Set errno to ENOTSUP.
       (set_file_security, get_security_descriptor_dacl)
       (is_valid_security_descriptor, convert_sd_to_sddl)
       (convert_sddl_to_sd, acl_valid, acl_to_text, acl_from_text)
       (acl_free, acl_get_file, acl_set_file): New functions.
       src/fileio.c (Fcopy_file) [WINDOWSNT]: Support copying ACLs.
      
       nt/inc/sys/acl.h: New file.
       nt/inc/ms-w32.h (ENOTSUP): Define if undefined.
       nt/config.nt (HAVE_POSIX_ACL): Define.
      
       doc/lispref/files.texi (File Attributes, Changing Files): Update to include
       MS-Windows support for ACLs.
      66447e07
  29. 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
      	set.
      	(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
      	entries.
      	(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'.
      7c3d167f
  30. 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,
      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
      97976f9f
  31. 05 Dec, 2012 1 commit
    • Paul Eggert's avatar
      Fix minor whitespace issues after "." in manual. · 1df7defd
      Paul Eggert authored
      Be more systematic about using "@." (not ".") at end of sentence that
      ends in a capital letter, and about appending "@:" after non-ends of
      sentences that end in a lower case letter followed by "." followed by
      whitespace.  Omit unnecessary use of "@:" and "@.".  Similarly for "?"
      and "!".  Be more consistent about putting a comma after "i.e." and
      "e.g."; this is the typical American style and it's easier to code in
      Texinfo.
      
      Fixes: debbugs:12973
      1df7defd
  32. 24 Oct, 2012 1 commit
    • Paul Eggert's avatar
      Update manual for new time stamp format. · 72ec96fb
      Paul Eggert authored
      These instances were missed the first time around.
      Problem reported by Glenn Morris in <http://bugs.gnu.org/12706#25>.
      * doc/lispintro/emacs-lisp-intro.texi (Files List):
      * doc/lispref/buffers.texi (Modification Time):
      * doc/lispref/files.texi (Testing Accessibility, File Attributes):
      * doc/lispref/intro.texi (Version Info):
      * doc/lispref/os.texi (Time of Day):
      * doc/misc/emacs-mime.texi (time-date): 
      Update for new time stamp format (HIGH LOW MICROSEC PICOSEC).
      * doc/misc/emacs-mime.texi (time-date): 
      Also, fix bogus time stamp and modernize a bit.
      72ec96fb
  33. 23 Oct, 2012 1 commit
  34. 01 Oct, 2012 1 commit
  35. 30 Sep, 2012 1 commit
    • Paul Eggert's avatar
      file-attributes has a new optional arg FOLLOW-SYMLINKS. · e7a2937b
      Paul Eggert authored
      * doc/lispref/files.texi (File Attributes): Describe it.
      (Magic File Names): Use it.
      * etc/NEWS: Document the change.
      * lisp/files.el (remote-file-name-inhibit-cache):
      * lisp/time.el (display-time-file-nonempty-p): Use it.
      * lisp/files.el (after-find-file): Don't chase links before calling
      file-exists-p, as file-exists-p already does the right thing.
      * src/dired.c (directory_files_internal, Ffile_attributes):
      New arg follow_symlinks.  All uses changed.
      e7a2937b
  36. 25 Sep, 2012 1 commit
  37. 26 Jun, 2012 1 commit
    • Sam Steingold's avatar
      * lisp/files.el (file-name-base): New convenience function. · d2c32364
      Sam Steingold authored
      * lisp/autoinsert.el, lisp/cus-dep.el, lisp/doc-view.el, lisp/image-dired.el,
      * lisp/woman.el, lisp/eshell/esh-cmd.el, lisp/progmodes/ada-xref.el,
      * lisp/progmodes/cc-defs.el, lisp/progmodes/cperl-mode.el,
      * lisp/progmodes/flymake.el, lisp/progmodes/gud.el, lisp/progmodes/idlwave.el,
      * lisp/textmodes/ispell.el, lisp/textmodes/reftex-ref.el,
      * lisp/textmodes/tex-mode.el: Use it.
      Did not touch cedet and org because they are maintained elsewhere.
      d2c32364
  38. 11 Jun, 2012 1 commit