1. 02 Feb, 2013 7 commits
  2. 01 Feb, 2013 20 commits
    • Stefan Monnier's avatar
      * lisp/mouse.el (mouse-drag-track): Always deactivate the mark before · 13841bfc
      Stefan Monnier authored
      running the final event's command since that command is in charge of
      activating the mark if needed.
      
      Fixes: debbugs:13523
      13841bfc
    • Juri Linkov's avatar
      * lisp/replace.el (perform-replace): Move let-bindings of isearch-* · dc2bc295
      Juri Linkov authored
      variables deeper to the loop that searches for the next match.
      Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
      Use `isearch-search-fun-default' instead of `isearch-search-fun'.
      
      * lisp/isearch.el (isearch-search-fun-default): Check for null
      first element of isearch-cmds as a precaution when it's used
      with inactive isearch.
      
      Fixes: debbugs:13579
      dc2bc295
    • Andrew W. Nosenko's avatar
      * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range" · f864e0ea
      Andrew W. Nosenko authored
      error when buffer in question is narrowed so position 1 is out of
      visible part.
      f864e0ea
    • Paul Eggert's avatar
      Fix timestamp bug when write-region appends nothing. · 35e85499
      Paul Eggert authored
      * fileio.c (Fwrite_region): When neither O_EXCL nor O_TRUNC is used,
      the file's time stamp doesn't change if Emacs happens to write nothing
      to the file, and on a buggy file system this could cause Emacs to
      incorrectly infer that the file system doesn't have the bug.
      Avoid this problem by inhibiting the inference in this case.
      
      Fixes: debbugs:13149
      35e85499
    • Christopher Schmidt's avatar
      * vc/vc-arch.el (vc-arch-registered): · af314ba0
      Christopher Schmidt authored
      * vc/vc-bzr.el (vc-bzr-registered):
      * vc/vc-cvs.el (vc-cvs-registered):
      * vc/vc-git.el (vc-git-registered):
      * vc/vc-hg.el (vc-hg-registered):
      * vc/vc-mtn.el (vc-mtn-registered):
      * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
      (Bug#13139)
      af314ba0
    • Christopher Schmidt's avatar
      * info.el (Info-next-reference, Info-prev-reference): Add numeric · 7b6d5ecf
      Christopher Schmidt authored
      prefix argument.  (Bug#11656)
      7b6d5ecf
    • Stefan Monnier's avatar
    • Glenn Morris's avatar
      Auto-commit of loaddefs files. · 25b4eb90
      Glenn Morris authored
      25b4eb90
    • Glenn Morris's avatar
      Auto-commit of loaddefs files. · 7f12eefa
      Glenn Morris authored
      7f12eefa
    • Glenn Morris's avatar
      Auto-commit of generated files. · d7ad186c
      Glenn Morris authored
      d7ad186c
    • Eli Zaretskii's avatar
      Make sure program names are encoded before using them to invoke subprocesses. · e7c3fb06
      Eli Zaretskii authored
       src/callproc.c (Fcall_process): Make sure program name in PATH and
       new_argv[0] is encoded, if needed.  Otherwise, un-encoded string
       is passed to exec/spawnve, which fails unless the file-name
       encoding is UTF-8.
      e7c3fb06
    • Eli Zaretskii's avatar
      w32proc.c (sys_spawnve): Initialize escape_char. · 18a80473
      Eli Zaretskii authored
       src/w32proc.c (sys_spawnve): Make sure escape_char is initialized,
       even if w32-quote-process-args is nil.
      18a80473
    • Glenn Morris's avatar
      * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item · 1f4f0f46
      Glenn Morris authored
      if the backend is known not to support it.
      1f4f0f46
    • Glenn Morris's avatar
      * imenu.el (imenu-default-create-index-function): · 48c828b9
      Glenn Morris authored
      Tweak infinite loop test to check for forward motion as well as none.
      48c828b9
    • Alex Harsanyi's avatar
    • Dmitry Antipov's avatar
      * window.h (struct window): Convert base_line_number, base_line_pos · 422ff52b
      Dmitry Antipov authored
      and column_number_displayed members from Lisp_Object to ptrdiff_t.
      Convert region_showing member from Lisp_Object to bitfield.
      Remove sequence_number member.  Adjust comments.
      * window.c (sequence_number): Remove.
      (make_window): Initialize column_number_displayed.
      * print.c (print_object): Follow the printed representation of
      frames and print window pointer to distinguish between windows.
      (adjust_window_count): Invalidate base_line_pos.  Adjust comment.
      * xdisp.c (wset_base_line_number, wset_base_line_pos)
      (wset_column_number_displayed, wset_region_showing): Remove.
      (window_buffer_changed, mode_line_update_needed, redisplay_internal)
      (try_scrolling, try_cursor_movement, redisplay_window)
      (try_window_reusing_current_matrix, try_window_id, display_line)
      (display_mode_lines, decode_mode_spec): Adjust users.
      * .gdbinit (pwinx): Do not print sequence_number.
      422ff52b
    • Paul Eggert's avatar
      Use fdopendir, fstatat and readlinkat, for efficiency. · 8654f9d7
      Paul Eggert authored
      On my host, this speeds up directory-files-and-attributes by a
      factor of 3, when applied to Emacs's src directory.
      These functions are standardized by POSIX and are common these
      days; fall back on a (slower) gnulib implementation if the host
      is too old to supply them.
      * .bzrignore: Add lib/dirent.h.
      * lib/Makefile.am (libgnu_a_SOURCES): Add openat-die.c, save-cwd.c.
      * lib/careadlinkat.c, lib/careadlinkat.h: Merge from gnulib,
      incorporating: 2013-01-29 careadlinkat: do not provide careadlinkatcwd.
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
      * lib/dirent.in.h, lib/fdopendir.c, lib/fstatat.c, lib/openat-priv.h:
      * lib/openat-proc.c, lib/openat.h, m4/dirent_h.m4, m4/fdopendir.m4:
      * m4/fstatat.m4: New files, from gnulib.
      * lib/openat-die.c, lib/save-cwd.c, lib/save-cwd.h: New files.
      These last three are specific to Emacs and are not copied from gnulib.
      They are simpler than the gnulib versions and are tuned for Emacs.
      * admin/merge-gnulib (GNULIB_MODULES): Add fdopendir, fstatat, readlinkat.
      (GNULIB_TOOL_FLAGS): Do not avoid at-internal, openat-h.
      Avoid dup, open, opendir.
      * nt/inc/sys/stat.h (fstatat):
      * nt/inc/unistd.h (readlinkat): New decls.
      * src/conf_post.h (GNULIB_SUPPORT_ONLY_AT_FDCWD): Remove.
      * src/dired.c: Include <fcntl.h>.
      (open_directory): New function, which uses open and fdopendir
      rather than opendir.  DOS_NT platforms still use opendir, though.
      (directory_files_internal, file_name_completion): Use it.
      (file_attributes): New function, with most of the old Ffile_attributes.
      (directory_files_internal, Ffile_attributes): Use it.
      (file_attributes, file_name_completion_stat): First arg is now fd,
      not dir name.  All uses changed.  Use fstatat rather than lstat +
      stat.
      (file_attributes): Use emacs_readlinkat rather than Ffile_symlink_p.
      * src/fileio.c: Include <allocator.h>, <careadlinkat.h>.
      (emacs_readlinkat): New function, with much of the old
      Ffile_symlink_p, but with an fd argument for speed.
      It uses readlinkat rather than careadlinkatcwd, so that it
      need not assume the working directory.
      (Ffile_symlink_p): Use it.
      * src/filelock.c (current_lock_owner): Use emacs_readlinkat
      rather than emacs_readlink.
      * src/lisp.h (emacs_readlinkat): New decl.
      (READLINK_BUFSIZE, emacs_readlink): Remove.
      * src/sysdep.c: Do not include <allocator.h>, <careadlinkat.h>.
      (emacs_norealloc_allocator, emacs_readlink): Remove.
      This stuff is moved to fileio.c.
      * src/w32.c (fstatat, readlinkat): New functions.
      (careadlinkat): Don't check that fd == AT_FDCWD.
      (careadlinkatcwd): Remove; no longer needed.
      
      Fixes: debbugs:13539
      8654f9d7
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Move lisp/calc/README* to etc/CALC-NEWS · 0eb61895
      Glenn Morris authored
      * make-dist: Only README files exist in lisp/ now, not README*.
      
      * doc/misc/calc.texi (Help Commands): Mention etc/CALC-NEWS.
      
      * etc/CALC-NEWS: Move here from lisp/calc/README, README.prev.
      
      * lisp/calc/README, lisp/calc/README.prev: Rename/merge to etc/CALC-NEWS.
      0eb61895
    • Glenn Morris's avatar
      Merge calc news from lisp/calc/README into etc/NEWS files · 86e100a6
      Glenn Morris authored
      * doc/misc/calc.texi (Help Commands): Update calc-view-news description.
      
      * lisp/calc/calc-help.el (calc-view-news): Use view-emacs-news.
      
      * lisp/calc/README: Move news entries from here...
      * etc/NEWS, etc/NEWS.23: ... to here
      86e100a6
  3. 31 Jan, 2013 10 commits
  4. 30 Jan, 2013 3 commits