1. 23 Oct, 2012 10 commits
    • Stefan Monnier's avatar
      Cleanup uses of "-hooks". · d1069532
      Stefan Monnier authored
      * doc/emacs/custom.texi (Hooks):
      * doc/lispref/hooks.texi (Standard Hooks): Clarify that -hooks is deprecated.
      
      * lisp/gnus/nndiary.el (nndiary-request-create-group-functions)
      (nndiary-request-update-info-functions)
      (nndiary-request-accept-article-functions):
      * lisp/gnus/gnus-start.el (gnus-subscribe-newsgroup-functions):
      * lisp/cedet/semantic/db-file.el (semanticdb-save-database-functions):
      * lisp/cedet/semantic/lex.el (semantic-lex-reset-functions):
      * lisp/cedet/semantic/edit.el (semantic-change-functions)
      (semantic-edits-new-change-functions)
      (semantic-edits-delete-change-functions)
      (semantic-edits-reparse-change-functions):
      * lisp/htmlfontify.el (hfy-post-html-hook):
      * lisp/filesets.el (filesets-cache-fill-content-hook):
      * lisp/arc-mode.el (archive-extract-hook):
      * lisp/progmodes/cc-mode.el (c-prepare-bug-report-hook):
      * lisp/net/rcirc.el (rcirc-sentinel-functions)
      (rcirc-receive-message-functions, rcirc-activity-functions)
      (rcirc-print-functions):
      * lisp/net/dbus.el (dbus-event-error-functions):
      * lisp/emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-style-functions)
      (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
      
      * lisp/term/sun.el (sun-raw-prefix-hooks):
      * lisp/mail/sendmail.el (mail-yank-hooks):
      * lisp/mh-e/mh-letter.el (mh-yank-hooks): Use make-obsolete-variable.
      d1069532
    • Michael Albinus's avatar
      * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set · f7eac6d8
      Michael Albinus authored
      `tramp-chunksize' to 1.  This improves the performance.
      (tramp-smb-wait-for-output): Add timeout to
      `tramp-accept-process-output' calls.
      f7eac6d8
    • Paul Eggert's avatar
      Fix outdated timestamp documentation in Elisp manual. · c4132fd4
      Paul Eggert authored
      * doc/lispref/files.texi (File Attributes):
      * doc/lispref/text.texi (Undo):
      Time stamp resolution is now 1 picosecond, not 1 second.
      * etc/NEWS: Document increased precision in undo list.
      
      Fixes: debbugs:12706
      c4132fd4
    • Glenn Morris's avatar
      ChangeLog fix · 8740abe1
      Glenn Morris authored
      8740abe1
    • Glenn Morris's avatar
      Start updating cl.texi for cl-lib changes · 8d6510b9
      Glenn Morris authored
      * doc/misc/cl.texi: Include emacsver.texi.
      Use Emacs version number rather than unchanging cl.el version number.
      End all menu descriptions with a period.
      Do not use @dfn{CL} for every instance of "CL".
      (Overview): Remove no-runtime caveat, and note about foo* names.
      (Usage): Use cl-lib rather than cl.
      (Organization, Naming Conventions): Update for cl-lib.el.
      (Installation): Remove long-irrelevant node.
      (Program Structure, Predicates, Control Structure):
      Start updating for cl-lib namespace.
      
      * doc/misc/Makefile.in ($(buildinfodir)/cl$(INFO_EXT), cl.dvi, cl.pdf):
      Depend on emacsver.texi.
      8d6510b9
    • Chong Yidong's avatar
      Make unused variable font-list-limit obsolete, and move it out of C. · 49238e7f
      Chong Yidong authored
      * display.texi (Font Lookup): Remove font-list-limit.
      
      * lisp/startup.el (command-line):
      * lisp/cus-start.el: Don't refer to font-list-limit.
      
      * lisp/faces.el (font-list-limit): Define as an obsolete variable.
      
      * xfaces.c (Vfont_list_limit): Move unused variable to faces.el.
      49238e7f
    • Chong Yidong's avatar
      * doc/lispref/keymaps.texi (Key Sequences): Avoid referring to Edit Macro mode. · 1fb3aa3f
      Chong Yidong authored
      * doc/emacs/kmacro.texi (Edit Keyboard Macro): Fix typo.
      
      Fixes: debbugs:12529
      1fb3aa3f
    • Chong Yidong's avatar
      * lisp/newcomment.el (comment-normalize-vars): Doc fix. · 608d9d7c
      Chong Yidong authored
      Fixes: debbugs:12583
      608d9d7c
    • Stefan Monnier's avatar
      * lisp/subr.el (internal-temp-output-buffer-show): Rename from · 4ff5b1b2
      Stefan Monnier authored
      temp-output-buffer-show, since previously compiled files expect this name.
      4ff5b1b2
    • Glenn Morris's avatar
      image-type-from-file-name fix for bug#9045 · ea1d4aac
      Glenn Morris authored
      * lisp/image.el (image-type-from-file-name): If multiple types match,
      return the first one that is supported.
      ea1d4aac
  2. 22 Oct, 2012 7 commits
  3. 21 Oct, 2012 6 commits
  4. 20 Oct, 2012 13 commits
  5. 19 Oct, 2012 4 commits
    • Paul Eggert's avatar
      Undo faccessat change. · f0a80175
      Paul Eggert authored
      f0a80175
    • Stefan Monnier's avatar
      * lisp/minibuffer.el (minibuffer-force-complete): Make the next completion use · 8e808318
      Stefan Monnier authored
      the same completion-field (bug@12221).
      8e808318
    • Paul Eggert's avatar
      New files from gnulib. · 2c43889e
      Paul Eggert authored
      Fixes: debbugs:12632
      2c43889e
    • Paul Eggert's avatar
      Use faccessat, not access, when checking file permissions. · e752e0b0
      Paul Eggert authored
      * .bzrignore: Add lib/fcntl.h.
      * configure.ac (euidaccess): Remove check; gnulib does this for us now.
      (gl_FCNTL_O_FLAGS): Define a dummy version.
      * lib/at-func.c, lib/euidaccess.c, lib/faccessat.c, lib/fcntl.in.h:
      * lib/getgroups.c, lib/group-member.c, lib/root-uid.h:
      * lib/xalloc-oversized.h, m4/euidaccess.m4, m4/faccessat.m4:
      * m4/fcntl_h.m4, m4/getgroups.m4, m4/group-member.m4:
      New files, from gnulib.
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
      * admin/merge-gnulib (GNULIB_MODULES): Add faccessat.
      (GNULIB_TOOL_FLAGS): Avoid at-internal, fchdir, malloc-posix,
      openat-die, openat-h, save-cwd.  Do not avoid fcntl-h.
      Omit gnulib's m4/fcntl-o.m4.
      * nt/inc/ms-w32.h (AT_FDCWD, AT_EACCESS): New symbols.
      (access): Remove.
      (faccessat): New macro.
      * src/Makefile.in (LIB_EACCESS): New macro.
      (LIBES): Use it.
      * src/callproc.c (init_callproc):
      * src/charset.c (init_charset):
      * src/fileio.c (check_existing, check_executable):
      * src/lread.c (openp, load_path_check):
      * src/process.c (allocate_pty):
      * src/xrdb.c (file_p):
      Use faccessat, not access or euidaccess.  Use symbolic names
      instead of integers for the flags, as they're portable now.
      * src/charset.c, src/xrdb.c: Include <fcntl.h>, for the new flags used.
      * src/fileio.c (Ffile_readable_p):
      Use faccessat, not stat + open + close.
      (file_directory_p): New function, which uses 'stat' on most places
      but 'access' (for efficiency) if WINDOWSNT.
      * src/fileio.c (Ffile_directory_p, Fset_file_times):
      * src/xrdb.c (file_p): Use file_directory_p.
      * src/lisp.h (file_directory_p): New decl.
      * src/lread.c (openp): When opening a file, use fstat rather than
      stat, as that avoids a permissions race.  When not opening a file,
      use file_directory_p rather than stat.
      * src/process.c, src/sysdep.c, src/term.c: All uses of '#ifdef O_NONBLOCK'
      changed to '#if O_NONBLOCK', to accommodate gnulib O_* tyle.
      * src/w32.c (sys_faccessat): Rename from sys_access and switch to
      faccessat's API.  All uses changed.
      
      Fixes: debbugs:12632
      e752e0b0