1. 27 May, 2014 3 commits
    • Paul Eggert's avatar
      Merge from gnulib. · c3e7b943
      Paul Eggert authored
      This incorporates:
      2014-05-21 fchdir: port 'open' and 'close' redefinitions to AIX 7.1
      * doc/misc/texinfo.tex, lib/openat-proc.c: Update from gnulib.
      c3e7b943
    • Stefan Monnier's avatar
      * lisp/mouse.el (mouse-set-region): Handle spurious drag events. · a366fbe2
      Stefan Monnier authored
      (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
      
      Fixes: debbugs:17562
      a366fbe2
    • Paul Eggert's avatar
      Don't kill already-reaped process. · ca0279be
      Paul Eggert authored
      * process.c (process_send_signal): Fix race condition where a
      subprocess was reaped by a signal handler between the check for
      liveness and calling 'kill', which meant that Emacs could in
      theory kill an innocent bystander process.  Do the fix by blocking
      SIGCHLD in a critical section that checks liveness before killing.
      
      Fixes: debbugs:17561
      ca0279be
  2. 26 May, 2014 8 commits
  3. 25 May, 2014 11 commits
  4. 24 May, 2014 10 commits
  5. 23 May, 2014 5 commits
    • Glenn Morris's avatar
      Small fix for he-line-search-regexp · 486eebac
      Glenn Morris authored
      * lisp/hippie-exp.el (he-line-search-regexp):
      Handle comint-prompt-regexp containing subgroups.
      
      Fixes: debbugs:17529
      486eebac
    • Stephen Berman's avatar
      todo-mode.el: Remove dependence on auto-mode-alist. · 903204bb
      Stephen Berman authored
      * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
      to avoid errors when trying to create or visit a file foo.todo
      located outside to todo-directory, and to allow having such files
      without them being tied to Todo mode.
      (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
      (todo-archive-done-item, todo-find-filtered-items-file)
      (todo-filter-items, todo-find-item, todo-diary-goto-entry)
      (todo-category-completions, todo-read-category): When visiting a
      Todo file, make sure we're in the right mode and the buffer local
      variables are set.
      (todo-make-categories-list, todo-reset-nondiary-marker)
      (todo-reset-done-string, todo-reset-comment-string): After
      processing all Todo files, kill the buffers of those files that
      weren't being visited before the processing.
      (todo-display-as-todo-file, todo-add-to-buffer-list)
      (todo-visit-files-commands): Comment out.
      (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
      (auto-mode-alist): Remove add-to-list calls making Todo file
      extensions unrestrictedly tied to Todo modes.
      
      * doc/misc/todo-mode.texi: Update in light of changes due to bug#17482.
      Replace numerous mistaken uses of literal quotes with proper
      Texinfo markup.
      (Todo Mode Entry Points): Comment out reference to using find-file
      or Dired to visit Todo files, since this has been disabled (bug#17482).
      903204bb
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/nadvice.el (advice--member-p): Change second arg. · 15ad4013
      Stefan Monnier authored
      (advice-function-member-p): Tell it to check both names and functions.
      (advice--add-function): Adjust call accordingly.
      
      Fixes: debbugs:17531
      15ad4013
    • Stefan Monnier's avatar
      * lisp/minibuffer.el (completion--sreverse): Remove. · e4829cb8
      Stefan Monnier authored
      (completion--common-suffix): Use `reverse' instead.
      * lisp/emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
      e4829cb8
    • Stephen Berman's avatar
      * calendar/todo-mode.el: Miscellaneous bug fixes. · 982ccf03
      Stephen Berman authored
      (todo-delete-file): When deleting an archive but not its todo
      file, make sure to update the todo file's category sexp.
      (todo-move-category): Keep the moved category's name unless the
      file moved to already has a category with that name.  If the
      numerically last category of the source file was moved, make the
      first category current to avoid selecting a nonexisting category.
      (todo-merge-category): Fix implementation to make merging to a
      category in another file work as documented.  Eliminate now
      insufficient and unnecessary renaming of archive category, correct
      document string accordingly, and clarify it.  If the numerically
      last category of the source file was merged, make the first
      category current to avoid selecting a nonexisting category.
      (todo-archive-done-item): When there are marked items and point
      happens to be on an unmarked item, ignore the latter.  Don't leave
      point below last item after archiving marked items.
      (todo-unarchive-items): Fix logic to ensure unarchiving an item
      from an archive with only one category deletes the archive only
      when the category is empty after unarchiving.  Make sure the todo
      file's category sexp is updated.
      (todo-read-file-name): Allow an existing file name even when it is
      not required (todo-move-category needs this to work as documented).
      (todo-add-file): Call todo-validate-name to reject the name of an
      existing todo file (needed due to fix in todo-read-file-name).
      (todo-reset-nondiary-marker): Also reset in filtered items files.
      (todo-reset-done-string, todo-reset-comment-string): Also reset in
      regexp filtered items files.
      (todo-reset-highlight-item): Also reset in filtered items files.
      Fix incorrect variable reference in document string.
      982ccf03
  6. 22 May, 2014 3 commits