1. 25 Nov, 2012 16 commits
    • Glenn Morris's avatar
      ChangeLog fix · 1e9f74b1
      Glenn Morris authored
      Reposition and redate entries with the date they were merged into Emacs
      1e9f74b1
    • Bill Wohler's avatar
      Merge from trunk. · a09777fb
      Bill Wohler authored
      a09777fb
    • Bill Wohler's avatar
      Release MH-E version 8.4. · 77f9b93e
      Bill Wohler authored
      * mh-e.el (Version, mh-version): Update for release 8.4.
      77f9b93e
    • Bill Wohler's avatar
      Release MH-E version 8.4. · 6827cac1
      Bill Wohler authored
      * NEWS, MH-E-NEWS: Update for MH-E release 8.4.
      6827cac1
    • Bill Wohler's avatar
      Release MH-E manual version 8.4. · d0457b57
      Bill Wohler authored
      * mh-e.texi: (VERSION, EDITION, UPDATED, UPDATE-MONTH, Preface):
      Update for release 8.4.
      d0457b57
    • Leo Liu's avatar
      * lisp/textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag. · 9ad79506
      Leo Liu authored
      Fixes: debbugs:12979
      9ad79506
    • Glenn Morris's avatar
      Auto-commit of generated files. · cf5b8880
      Glenn Morris authored
      cf5b8880
    • Paul Eggert's avatar
      5fbab051
    • Vincent Belaïche's avatar
      * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable... · e2cb57f5
      Vincent Belaïche authored
      * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable reftex-section-info-function in order to be compatible with Texinfo integration.
      
      * textmodes/reftex.el (reftex-section-pre-regexp, reftex-section-post-regexp, reftex-section-info-function): New variable. (reftex-compile-variables): Use variables reftex-section-pre-regexp, reftex-section-post-regexp, and reftex-section-info-function in order to be compatible with Texinfo integration.
      
      * textmodes/reftex-toc.el (reftex-toc-promote-action): use reftex-section-pre-regexp variable in order to be compatible with Texinfo integration.
      e2cb57f5
    • Chong Yidong's avatar
      Revamp face-spec-set to be more analogous to setq for faces. · 1c4f115d
      Chong Yidong authored
      * lisp/faces.el (face-spec-set): Change the third arg to specify
      whether this function is being called via defface, customize, or a
      third party.  Set the appropriate symbol properties.  Clear the
      override spec if setting via Custom.  Initialize face if necessary.
      (face-spec-recalc): Allow theme faces to completely replace the
      defface spec, in the same way as custom faces (Bug#8454).
      
      * lisp/cus-edit.el (custom-face-set, custom-face-mark-to-save)
      (custom-face-reset-saved, custom-face-mark-to-reset-standard):
      Simplify by using the new arg to face-spec-set.
      
      * lisp/cus-face.el (custom-declare-face): Move face initialization to
      face-spec-set.
      (custom-theme-set-faces): Don't initialize the face name here, as
      that is now done in face-spec-set.
      
      * lisp/emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
      reset face-override-spec too, and use custom-declare-face.
      
      Fixes: debbugs:4988
      1c4f115d
    • Bill Wohler's avatar
      * mh-comp.el (mh-regexp-in-field-syntax-table): Fix docstring. · 1b0b1855
      Bill Wohler authored
      (mh-edit-again): Format.
      (mh-components-to-list): Fix docstring. 
      (mh-regexp-in-field-p): Remove unused variable `field'.
      1b0b1855
    • Bill Wohler's avatar
      * mh-compat.el (mh-define-obsolete-variable-alias) · fb9958d7
      Bill Wohler authored
      (mh-make-obsolete-variable): New macros to fix XEmacs compiler
      warnings.
      
      * mh-letter.el (mh-yank-hooks): Use new mh-make-obsolete-variable
      macro.
      
      * mh-e.el (mh-kill-folder-suppress-prompt-hooks): Use new
      mh-define-obsolete-variable-alias macro.
      
      * mh-compat.el (mh-cl-flet): New alias for cl-flet on Emacs 24 and
      flet elsewhere.
      
      * mh-thread.el (mh-thread-set-tables): Replace flet with new alias
      mh-cl-flet.
      
      * mh-show.el (mh-gnus-article-highlight-citation): Replace flet with
      new alias mh-cl-flet.
      
      * mh-mime.el (mh-display-with-external-viewer, mh-mime-display)
      (mh-press-button, mh-push-button, mh-display-emphasis): Replace flet
      with new alias mh-cl-flet.
      
      * mh-e.el (mh-invisible-header-fields-internal): Remove trailing
        whitespace.
      fb9958d7
    • Bill Wohler's avatar
      Merge from trunk. · 5244bc01
      Bill Wohler authored
      5244bc01
    • Jeffrey C Honig's avatar
      Fixed a small bug in the last checkin. · 9f7e7195
      Jeffrey C Honig authored
      9f7e7195
    • Jeffrey C Honig's avatar
      (mh-edit-again): Use the components file to specify · 855c6482
      Jeffrey C Honig authored
      default values for missing headers in the draft.
      (mh-regexp-in-field-syntax-table, mh-fcc-syntax-table)
      (mh-addr-syntax-table, mh-regexp-in-field-p): Use a syntax table
      so we'll properly parse non-address fields. 
      (mh-components-to-list, mh-extract-header-field): New functions to
      read components file.
      (mh-find-components, mh-send-sub): Move code to locate components
      file into a new function.
      (mh-insert-auto-fields, mh-modify-header-field): New syntax for
      calling mh-regexp-in-field-p.
      (closes SF #1708292)
      855c6482
    • Paul Eggert's avatar
      * mh-e.texi (Procmail): Fix two @ typos. · 61d841dd
      Paul Eggert authored
      61d841dd
  2. 24 Nov, 2012 9 commits
  3. 23 Nov, 2012 15 commits
    • Paul Eggert's avatar
      Fix a race condition with glib (Bug#8855). · 6d4e8f62
      Paul Eggert authored
      This is a backport from the trunk, consisting of:
      
      2012-11-17  Eli Zaretskii  <eliz@gnu.org>
      
      * nt/inc/sys/wait.h: New file, with prototype of waitpid and
      definitions of macros it needs.
      * nt/inc/ms-w32.h (wait): Don't define, 'wait' is not used anymore.
      (sys_wait): Remove prototype.
      * nt/config.nt (HAVE_SYS_WAIT_H): Define to 1.
      * src/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.
      * src/sysdep.c (wait_for_termination_1): Remove the WINDOWSNT portion,
      as it is no longer needed.
      * src/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-03  Paul Eggert  <eggert@cs.ucla.edu>
      
      Fix a race condition that causes Emacs to mess up glib (Bug#8855).
      This is a backport from the trunk.
      The symptom is a diagnostic "GLib-WARNING **: In call to
      g_spawn_sync(), exit status of a child process was requested but
      SIGCHLD action was set to SIG_IGN and ECHILD was received by
      waitpid(), so exit status can't be returned."  The diagnostic
      is partly wrong, as the SIGCHLD action is not set to SIG_IGN.
      The real bug is a race condition between Emacs and glib: Emacs
      does a waitpid (-1, ...) and reaps glib's subprocess by mistake,
      so that glib can't find it.  Work around the bug by invoking
      waitpid only on subprocesses that Emacs itself creates.
      * src/process.c (create_process, record_child_status_change):
      Don't use special value -1 in pid field, as the caller now must
      know the pid rather than having the callee infer it.  The
      inference was sometimes incorrect anyway, due to another race.
      (create_process): Set new 'alive' member if child is created.
      (process_status_retrieved): New function.
      (record_child_status_change): Use it.
      Accept negative 1st argument, which means to wait for the
      processes that Emacs already knows about.  Move special-case code
      for DOS_NT (which lacks WNOHANG) here, from caller.  Keep track of
      processes that have already been waited for, by testing and
      clearing new 'alive' member.
      (CAN_HANDLE_MULTIPLE_CHILDREN): Remove, as record_child_status_change
      now does this internally.
      (handle_child_signal): Let record_child_status_change do all
      the work, since we do not want to reap all exited child processes,
      only the child processes that Emacs itself created.
      * src/process.h (Lisp_Process): New boolean member 'alive'.
      6d4e8f62
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for · 002c019c
      Stefan Monnier authored
      lexical-binding.
      
      Fixes: debbugs:12938
      002c019c
    • Jay Belanger's avatar
      * doc/misc/calc.texi (Date Formatting Codes): Mention the new · 678a34f4
      Jay Belanger authored
        beginning of the date numbering system.
      678a34f4
    • Wolfgang Jenkner's avatar
      lisp/image-mode.el (image-transform-check-size): Use assertions only · 977f9325
      Wolfgang Jenkner authored
      for images of type imagemagick.
      
      Otherwise no error, image-transform-fit-to-{width,height} is
      silently ignored, as before.  Doc fix.
      977f9325
    • Stefan Monnier's avatar
      * lisp/erc/erc-backend.el: Fix last change that missed calls to `second'. · 277c8f21
      Stefan Monnier authored
      Fixes: debbugs:12970
      277c8f21
    • Juanma Barranquero's avatar
      nt/config.nt: Sync with autogen/config.in. · 0414b37b
      Juanma Barranquero authored
      (BROKEN_GETWD, HAVE_CLOSEDIR, HAVE_DIRENT_H, HAVE_FCNTL_H, HAVE_GETWD): Remove.
      0414b37b
    • Dmitry Antipov's avatar
      * frame.h (struct frame): Remove display_preempted member · f418b22e
      Dmitry Antipov authored
      since all users are dead long ago.
      * nsterm.h (struct x_output): Use the only dummy member.
      * w32menu.c (pending_menu_activation): Remove since not
      really used.
      (set_frame_menubar): Adjust user.
      * w32term.h (struct x_output): Drop outdated #if 0 code.
      (struct w32_output): Use bitfields for explicit_parent,
      asked_for_visible and menubar_active members.  Drop
      unused pending_menu_activation member.
      * xterm.h (struct x_output): Drop outdated #if 0 code.
      Use bitfields for explicit_parent, asked_for_visible,
      has_been_visible and net_wm_state_hidden_seen members.
      f418b22e
    • Martin Rudalics's avatar
      Correct and reword recent changes to window.texi. · 0d4bb04f
      Martin Rudalics authored
      * windows.texi (Basic Windows): Fix typo.
      (Windows and Frames): Fix example.  Move description of
      window-in-direction here.
      (Recombining Windows): Fix example.
      (Buffers and Windows): Fix description of
      replace-buffer-in-windows.
      (Switching Buffers): Reword.
      (Display Action Functions): Minor adjustments.
      (Choosing Window Options): Minor fixes.
      (Window History): Minor rewording.
      (Dedicated Windows): Correct and reword part describing how
      dedicatedness affects functions removing buffers or windows.
      * buffers.texi (The Buffer List): Fix description of
      bury-buffer.
      0d4bb04f
    • Glenn Morris's avatar
      Auto-commit of generated files. · e7d0e5ee
      Glenn Morris authored
      e7d0e5ee
    • Eli Zaretskii's avatar
      Fix bug #12955 with building under MSYS Bash. · a879f0ea
      Eli Zaretskii authored
       src/makefile.w32-in (globals.h, gl-stamp): Use $(SWITCHCHAR) instead
       of a literal "/".
       (gl-stamp): Invoke fc.exe directly, not through cmd.
      a879f0ea
    • Chong Yidong's avatar
      Add some missing find options to find-cmd.el. · 930a6273
      Chong Yidong authored
      * find-cmd.el (find-constituents): Add executable, ipath,
      readable, samefile, writable, daystart, regextype.
      
      Fixes: debbugs:12856
      930a6273
    • Chong Yidong's avatar
      * modes.texi (%-Constructs): Fix statement about mode construct padding. · 90d99fdf
      Chong Yidong authored
      Fixes: debbugs:12866
      90d99fdf
    • Paul Eggert's avatar
      movemail: treat EACCES etc. failures as permanent · e6bac876
      Paul Eggert authored
      * movemail.c (main): Treat any link failure other than EEXIST as a
      permanent failure, not just EPERM.  EACCES, for example.
      e6bac876
    • Eli Zaretskii's avatar
      Fix cursor display when several display strings follow each other. · 24becea4
      Eli Zaretskii authored
       src/xdisp.c (set_cursor_from_row): Skip step 2 only if point is not
       between bpos_covered and bpos_max.  This fixes cursor display when
       several display strings follow each other.
      24becea4
    • Juri Linkov's avatar
      * lisp/dired.el (dired-mark): Add optional arg `interactive'. · 61a2a122
      Juri Linkov authored
      Check for `use-region-p' if `interactive' is non-nil.
      (dired-unmark, dired-flag-file-deletion): Add optional arg
      `interactive'.  Call `dired-mark' with the arg `interactive'.
      
      Fixes: debbugs:10624
      61a2a122