1. 12 Apr, 2015 23 commits
  2. 11 Apr, 2015 13 commits
  3. 10 Apr, 2015 4 commits
    • Daiki Ueno's avatar
      Add facility to collect stderr of async subprocess · f55ea05b
      Daiki Ueno authored
      * src/w32.h (register_aux_fd): New function declaration.
      * src/w32.c (register_aux_fd): New function.
      * src/process.h (struct Lisp_Process): New member stderrproc.
      * src/process.c (PIPECONN_P): New macro.
      (PIPECONN1_P): New macro.
      (Fdelete_process, Fprocess_status, Fset_process_buffer)
      (Fset_process_filter, Fset_process_sentinel, Fstop_process)
      (Fcontinue_process): Handle pipe process specially.
      (create_process): Respect p->stderrproc.
      (Fmake_pipe_process): New function.
      (Fmake_process): Add new keyword argument :stderr.
      (wait_reading_process_output): Specially handle a pipe process when
      it gets an EOF.
      (syms_of_process): Register Qpipe and Smake_pipe_process.
      
      * doc/lispref/processes.texi (Asynchronous Processes): Document
      `make-pipe-process' and `:stderr' keyword of `make-process'.
      
      * lisp/subr.el (start-process): Suggest to use `make-process' handle
      standard error separately.
      
      * test/automated/process-tests.el (process-test-stderr-buffer)
      (process-test-stderr-filter): New tests.
      
      * etc/NEWS: Mention new process type `pipe' and its usage with the
      `:stderr' keyword of `make-process'.
      f55ea05b
    • Paul Eggert's avatar
      Minor quoting etc. fixes to lispref manual · a2940cd4
      Paul Eggert authored
      * doc/lispref/tips.texi (Documentation Tips):
      Distinguish more clearly among grave accent, apostrophe,
      and single quote.
      * doc/lispref/README, doc/lispref/buffers.texi:
      * doc/lispref/commands.texi, doc/lispref/control.texi:
      * doc/lispref/customize.texi, doc/lispref/display.texi:
      * doc/lispref/elisp.texi, doc/lispref/files.texi:
      * doc/lispref/frames.texi, doc/lispref/hash.texi:
      * doc/lispref/help.texi, doc/lispref/internals.texi:
      * doc/lispref/loading.texi, doc/lispref/makefile.w32-in:
      * doc/lispref/markers.texi, doc/lispref/modes.texi:
      * doc/lispref/nonascii.texi, doc/lispref/objects.texi:
      * doc/lispref/os.texi, doc/lispref/positions.texi:
      * doc/lispref/strings.texi, doc/lispref/syntax.texi:
      * doc/lispref/text.texi, doc/lispref/tips.texi:
      * doc/lispref/two-volume-cross-refs.txt, doc/lispref/windows.texi:
      Use American-style double quoting in ordinary text,
      and quote 'like this' when single-quoting in ASCII text.
      Also, fix some minor spacing issues.
      a2940cd4
    • Michael Albinus's avatar
      Handle symlinked test directory in tramp-tests.el · ca401f6f
      Michael Albinus authored
      * test/automated/tramp-tests.el (tramp-test18-file-attributes)
      (tramp--test-check-files): Use `file-truename' for directories.
      ca401f6f
    • Eli Zaretskii's avatar
      Fix 'recenter' when visual-line-mode is turned on · 5aed69af
      Eli Zaretskii authored
      * src/window.c (Frecenter): Use the same code for GUI and TTY
      frames alike; use vmotion only for "initial" frames.  This is
      because vmotion doesn't support visual-line-mode.  Rewrite the
      'iarg >= 0' case to use move_it_* functions instead of using
      vmotion, for the same reason.  Fix the clipping of the argument
      value to support scroll-margin in all cases and avoid unwarranted
      recentering.  Reported by Milan Stanojević <milanst@gmail.com> in
      http://lists.gnu.org/archive/html/help-gnu-emacs/2015-04/msg00092.html,
      which see.
      5aed69af