Merge from emacs-24; up to 2012-11-15T23:31:37Z!dancol@dancol.org
authorGlenn Morris <rgm@gnu.org>
Sun, 18 Nov 2012 01:52:36 +0000 (17:52 -0800)
committerGlenn Morris <rgm@gnu.org>
Sun, 18 Nov 2012 01:52:36 +0000 (17:52 -0800)
13 files changed:
1  2 
doc/emacs/ChangeLog
doc/lispref/ChangeLog
doc/lispref/windows.texi
etc/NEWS
lisp/ChangeLog
lisp/emacs-lisp/cl-lib.el
lisp/filecache.el
lisp/image.el
lisp/subr.el
lisp/vc/vc-svn.el
src/ChangeLog
src/nsterm.m
src/w32term.h

@@@ -1,9 -1,8 +1,13 @@@
 -2012-11-17  Dani Moncayo  <dmoncayo@gmail.com>
++2012-11-18  Dani Moncayo  <dmoncayo@gmail.com>
+       * mark.texi (Disabled Transient Mark): Doc fixes (Bug#12746).
 -2012-11-12  Chong Yidong  <cyd@gnu.org>
 +2012-11-16  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * trouble.texi (Crashing): Add information about MS-Windows and
 +      the emacs_backtrace.txt file.  (Bug#12908)
 +
 +2012-11-13  Chong Yidong  <cyd@gnu.org>
  
        * building.texi (Multithreaded Debugging): gdb-stopped-hooks is
        actually named gdb-stopped-functions.
@@@ -1,3 -1,26 +1,24 @@@
 -2012-11-17  Glenn Morris  <rgm@gnu.org>
 -
+ 2012-11-18  Glenn Morris  <rgm@gnu.org>
+       * loading.texi (How Programs Do Loading): Add eager macro expansion.
+       * macros.texi (Expansion): Mention eager macro expansion.
 -2012-11-17  Leo Liu  <sdl.web@gmail.com>
+       * minibuf.texi (Basic Completion): Mention misc completion-table funcs.
 -2012-11-17  Glenn Morris  <rgm@gnu.org>
++2012-11-18  Leo Liu  <sdl.web@gmail.com>
+       * minibuf.texi (Programmed Completion): Doc fix for metadata
+       request (Bug#12850).
++2012-11-18  Glenn Morris  <rgm@gnu.org>
+       * display.texi (Temporary Displays): Document with-temp-buffer-window.
+       * frames.texi (Size and Position): Add fit-frame-to-buffer command.
+       * windows.texi (Resizing Windows): Add fit-frame-to-buffer option.
+       (Window Sizes): Add vindex for window-min-height, window-min-width.
+       (Display Action Functions): Mention pop-up-frame-parameters.
  2012-11-16  Martin Rudalics  <rudalics@gmx.at>
  
        * windows.texi (Choosing Window): Rewrite description of
Simple merge
diff --cc etc/NEWS
Simple merge
diff --cc lisp/ChangeLog
 -2012-11-17  Chong Yidong  <cyd@gnu.org>
+ 2012-11-18  Glenn Morris  <rgm@gnu.org>
+       * image.el (insert-image, insert-sliced-image): Doc fix.
 -2012-11-17  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
++2012-11-18  Chong Yidong  <cyd@gnu.org>
+       * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
+       (Bug#12810).
 -2012-11-17  Chong Yidong  <cyd@gnu.org>
++2012-11-18  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
+       * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
+       response when the target file is in a subdirectory (Bug#12757).
 -2012-11-17  Glenn Morris  <rgm@gnu.org>
++2012-11-18  Chong Yidong  <cyd@gnu.org>
+       * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
++2012-11-18  Glenn Morris  <rgm@gnu.org>
+       * woman.el (woman-non-underline-faces):
+       * emacs-lisp/cl-lib.el (face-underline-p):
+       Use set-face-underline rather than the alias set-face-underline-p.
+       * window.el (with-temp-buffer-window): Doc fix.
+       * subr.el (with-output-to-temp-buffer):
+       Add doc xref to with-temp-buffer-window.
 +2012-11-18  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      * woman.el (woman-non-underline-faces): Use `set-face-underline'.
 +      * calc/calc.el (math-format-date-cache): Declare.
 +
 +2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * calc/calc-forms.el (math-julian-date-beginning)
 +      (math-julian-date-beginning-int): Implement [new date numbering].
 +
 +2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      * descr-text.el (quail-find-key):
 +      * dired.el (desktop-file-name):
 +      * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
 +      * generic-x.el (comint-mode, comint-exec):
 +      * image-dired.el (widget-forward):
 +      * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
 +      (speedbar-change-expand-button-char)
 +      (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
 +      (speedbar-make-specialized-keymap, speedbar-make-tag-line):
 +      * printing.el (easy-menu-add-item, easy-menu-remove-item)
 +      (widget-field-action, widget-value-set):
 +      * speedbar.el (imenu--make-index-alist):
 +      * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
 +      (ring-length, ring-insert):
 +      * vcursor.el (compare-windows-skip-whitespace):
 +      * woman.el (dired-get-filename):
 +      Declare functions.
 +
 +      * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
 +
 +2012-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
 +
 +      * calc/calc.el (calc-gregorian-switch): New variable.
 +
 +      * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
 +      (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
 +      (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
 +      (math-leap-year-p): Add option to distinguish between Julian
 +      and Gregorian calendars.
 +      (math-day-number): Use `math-day-in-year' to do the computations.
 +      (math-absolute-from-dt): Rename from `math-absolute-from-date'.
 +      Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
 +      to do the computations.
 +      (math-date-to-dt): Use `math-date-to-julian-dt' and
 +      `math-date-to-gregorian-dt' to do the computations.
 +      (calcFunc-weekday, math-format-date-part): Use the new version of
 +      the DATE to determine the weekday.
 +      (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
 +      when necessary.
 +
 +2012-11-17  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
 +      Cygwin; otherwise use 'file:'.  (Bug#12914)
 +      (cygwin-convert-path-from-windows): Declare, to avoid
 +      byte-compiler warnings.
 +
 +2012-11-17  Andreas Politz  <politza@fh-trier.de>
 +
 +      * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
 +      (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
 +      prefix and negative numeric prefix args (Bug#12795).
 +
 +2012-11-17  Stephen Berman  <stephen.berman@gmx.net>
 +
 +      * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
 +      Don't signal an error with a score that is too low to add to the
 +      list of top scores. (Bug#12779)
 +
 +2012-11-17  Chong Yidong  <cyd@gnu.org>
 +
 +      * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
 +
 +      * filecache.el (file-cache-add-file): Handle relative file name in
 +      the argument (Bug#12694).
 +
 +2012-11-16  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
 +
 +      * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
 +
  2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 +      * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
 +
        * emacs-lisp/cl-lib.el: Set more meaningful version number.
  
  2012-11-16  Martin Rudalics  <rudalics@gmx.at>
Simple merge
Simple merge
diff --cc lisp/image.el
Simple merge
diff --cc lisp/subr.el
Simple merge
Simple merge
diff --cc src/ChangeLog
@@@ -1,73 -1,25 +1,95 @@@
 -2012-11-17  Eli Zaretskii  <eliz@gnu.org>
++2012-11-18  Eli Zaretskii  <eliz@gnu.org>
+       * w32select.c: Include w32common.h before w32term.h, so that
+       windows.h gets included before w32term.h uses some of its
+       features, see below.
+       * w32term.h (LOCALE_ENUMPROCA, LOCALE_ENUMPROCW) [_MSC_VER]: New
+       typedefs.
+       (EnumSystemLocalesA, EnumSystemLocalesW) [_MSC_VER]: New
+       prototypes.
+       (EnumSystemLocales) [_MSC_VER]: Define if undefined.  (Bug#12878)
 -2012-11-17  Jan Djärv  <jan.h.d@swipnet.se>
++2012-11-18  Jan Djärv  <jan.h.d@swipnet.se>
+       * nsterm.m (hold_event): Set send_appdefined to YES (Bug#12834).
+       (ns_select): Return at once if events are held (Bug#12834).
 -2012-11-16  enami tsugutomo  <tsugutomo.enami@jp.sony.com>
++2012-11-18  enami tsugutomo  <tsugutomo.enami@jp.sony.com>
+       * unexelf.c (ELFSIZE) [__NetBSD__ && _LP64]: Set to 64.
+       Needed following 2012-10-20 change.  (Bug#12902)
 +2012-11-18  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      * w32proc.c (waitpid): Remove unused label get_result.
 +
 +2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      * makefile.w32-in (SYSWAIT_H): New macro.
 +      ($(BLD)/callproc.$(O), $(BLD)/w32proc.$(O), $(BLD)/process.$(O))
 +      ($(BLD)/sysdep.$(O)): Update dependencies.
 +
 +2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
 +      * callproc.c (relocate_fd): Assume F_DUPFD.
 +      * emacs.c, term.c (O_RDWR): Remove.
 +      * keyboard.c (tty_read_avail_input): Use O_NONBLOCK rather than
 +      O_NDELAY, since O_NONBLOCK is the standard name for this flag.
 +      * nsterm.m: Assume <fcntl.h> exists.
 +      * process.c (NON_BLOCKING_CONNECT, allocate_pty, create_process)
 +      (create_pty, Fmake_network_process, server_accept_connection)
 +      (wait_reading_process_output, init_process_emacs):
 +      Assume O_NONBLOCK.
 +      (wait_reading_process_output): Put in a special case for WINDOWSNT
 +      to mimick the older behavior where it had O_NDELAY but not O_NONBLOCK.
 +      It's not clear this is needed, but it's a more-conservative change.
 +      (create_process): Assume FD_CLOEXEC.
 +      (create_process, create_pty): Assume O_NOCTTY.
 +      * sysdep.c (init_sys_modes, reset_sys_modes): Assume F_SETFL.
 +      (reset_sys_modes): Use O_NONBLOCK rather than O_NDELAY.
 +      Omit if not DOS_NT, since F_GETFL is not defined there.
 +      (serial_open): Assume O_NONBLOCK and O_NOCTTY.
 +      * term.c: Include <fcntl.h>, for flags like O_NOCTTY.
 +      (O_NOCTTY): Remove.
 +      (init_tty): Assume O_IGNORE_CTTY is defined to 0 on platforms that
 +      lack it, since gnulib guarantees this.
 +      * w32.c (fcntl): Test for O_NONBLOCK rather than O_NDELAY.
 +
 +2012-11-17  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * w32.c (faccessat): Pretend that directories have the execute bit
 +      set.  Emacs expects that, e.g., in files.el:cd-absolute.
 +
 +      * w32proc.c (create_child): Don't clip the PID of the child
 +      process to fit into an Emacs integer, as this is no longer a
 +      restriction.
 +      (waitpid): Rename from sys_wait.  Emulate a Posix 'waitpid' by
 +      reaping only the process specified by PID argument, if that is
 +      positive.  Use PID instead of dead_child to know which process to
 +      reap.  Wait for the child to die only if WNOHANG is not in
 +      OPTIONS.
 +      (sys_select): Don't set dead_child.
 +
 +      * sysdep.c (wait_for_termination_1): Remove the WINDOWSNT portion,
 +      as it is no longer needed.
 +
 +      * process.c (waitpid, WUNTRACED) [!WNOHANG]: Remove definitions,
 +      no longer needed.
 +      (record_child_status_change): Remove the setting of
 +      record_at_most_one_child for the !WNOHANG case.
 +
 +2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Fix problems in ns port found by static checking.
 +      * nsterm.m: Include <pthread.h>, for pthread_mutex_lock etc.
 +      (hold_event, setPosition:portion:whole:): Send SIGIO only to self,
 +      not to process group.
 +      (ns_select): Use emacs_write, not write, as that's more robust
 +      in the presence of signals.
 +      (fd_handler:): Check for read errors.
 +
  2012-11-16  Glenn Morris  <rgm@gnu.org>
  
        * editfns.c (Fmessage): Mention message-log-max.  (Bug#12849)
diff --cc src/nsterm.m
@@@ -329,7 -313,8 +329,8 @@@ hold_event (struct input_event *event
  
    hold_event_q.q[hold_event_q.nr++] = *event;
    /* Make sure ns_read_socket is called, i.e. we have input.  */
 -  kill (0, SIGIO);
 +  raise (SIGIO);
+   send_appdefined = YES;
  }
  
  static Lisp_Object
diff --cc src/w32term.h
Simple merge