Merge from emacs-23
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 18 Nov 2010 03:54:14 +0000 (22:54 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 18 Nov 2010 03:54:14 +0000 (22:54 -0500)
33 files changed:
1  2 
.dir-locals.el
admin/notes/bugtracker
configure
configure.in
doc/lispref/ChangeLog
doc/lispref/loading.texi
doc/lispref/text.texi
doc/misc/ChangeLog
etc/NEWS.23
lib-src/ChangeLog
lib-src/emacsclient.c
lisp/ChangeLog
lisp/comint.el
lisp/emacs-lisp/autoload.el
lisp/emacs-lisp/bytecomp.el
lisp/files.el
lisp/ls-lisp.el
lisp/mouse-sel.el
lisp/printing.el
lisp/progmodes/python.el
lisp/server.el
lisp/simple.el
lisp/speedbar.el
lisp/subr.el
lisp/textmodes/picture.el
lisp/vc/vc-hg.el
lisp/wid-edit.el
nt/INSTALL
src/ChangeLog
src/config.in
src/keyboard.c
src/lread.c
src/xsettings.c

diff --cc .dir-locals.el
@@@ -1,7 -1,8 +1,9 @@@
  ((nil . ((tab-width . 8)
 +         (sentence-end-double-space . t)
           (fill-column . 70)))
   (c-mode . ((c-file-style . "GNU")))
+  ;; You must set bugtracker_debbugs_url in your bazaar.conf for this to work.
+  ;; See admin/notes/bugtracker.
   (log-edit-mode . ((log-edit-rewrite-fixes
                      " (bug#\\([0-9]+\\))" . "debbugs:\\1")))
   (change-log-mode . ((add-log-time-zone-rule . t)
Simple merge
diff --cc configure
+++ b/configure
@@@ -9330,168 -8542,11 +9330,179 @@@ $as_echo_n "checking GCONF_CFLAGS... " 
              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_CFLAGS" >&5
  $as_echo "$GCONF_CFLAGS" >&6; }
  
 -            { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_LIBS" >&5
 -$as_echo_n "checking GCONF_LIBS... " >&6; }
 -            GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'`
 -            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_LIBS" >&5
 -$as_echo "$GCONF_LIBS" >&6; }
 +            { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_LIBS" >&5
 +$as_echo_n "checking GCONF_LIBS... " >&6; }
 +            GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'`
 +            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_LIBS" >&5
 +$as_echo "$GCONF_LIBS" >&6; }
 +        else
 +            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 +$as_echo "no" >&6; }
 +            GCONF_CFLAGS=""
 +            GCONF_LIBS=""
 +            ## If we have a custom action on failure, don't print errors, but
 +            ## do set a variable so people can do so.
 +            GCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.13"`
 +
 +        fi
 +
 +
 +
 +     else
 +        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
 +        echo "*** See http://www.freedesktop.org/software/pkgconfig"
 +     fi
 +  fi
 +
 +  if test $succeeded = yes; then
 +     HAVE_GCONF=yes
 +  else
 +     HAVE_GCONF=no
 +  fi
 +
 +   if test "$HAVE_GCONF" = yes; then
 +
 +$as_echo "#define HAVE_GCONF 1" >>confdefs.h
 +
++            for ac_func in g_type_init
++do :
++  ac_fn_c_check_func "$LINENO" "g_type_init" "ac_cv_func_g_type_init"
++if test "x$ac_cv_func_g_type_init" = x""yes; then :
++  cat >>confdefs.h <<_ACEOF
++#define HAVE_G_TYPE_INIT 1
++_ACEOF
++
++fi
++done
++
 +   fi
 +fi
 +
 +HAVE_LIBSELINUX=no
 +LIBSELINUX_LIBS=
 +if test "${with_selinux}" = "yes"; then
 +   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgetfilecon in -lselinux" >&5
 +$as_echo_n "checking for lgetfilecon in -lselinux... " >&6; }
 +if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then :
 +  $as_echo_n "(cached) " >&6
 +else
 +  ac_check_lib_save_LIBS=$LIBS
 +LIBS="-lselinux  $LIBS"
 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 +/* end confdefs.h.  */
 +
 +/* Override any GCC internal prototype to avoid an error.
 +   Use char because int might match the return type of a GCC
 +   builtin and then its argument prototype would still apply.  */
 +#ifdef __cplusplus
 +extern "C"
 +#endif
 +char lgetfilecon ();
 +int
 +main ()
 +{
 +return lgetfilecon ();
 +  ;
 +  return 0;
 +}
 +_ACEOF
 +if ac_fn_c_try_link "$LINENO"; then :
 +  ac_cv_lib_selinux_lgetfilecon=yes
 +else
 +  ac_cv_lib_selinux_lgetfilecon=no
 +fi
 +rm -f core conftest.err conftest.$ac_objext \
 +    conftest$ac_exeext conftest.$ac_ext
 +LIBS=$ac_check_lib_save_LIBS
 +fi
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_lgetfilecon" >&5
 +$as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; }
 +if test "x$ac_cv_lib_selinux_lgetfilecon" = x""yes; then :
 +  HAVE_LIBSELINUX=yes
 +else
 +  HAVE_LIBSELINUX=no
 +fi
 +
 +   if test "$HAVE_LIBSELINUX" = yes; then
 +
 +$as_echo "#define HAVE_LIBSELINUX 1" >>confdefs.h
 +
 +      LIBSELINUX_LIBS=-lselinux
 +   fi
 +fi
 +
 +
 +HAVE_GNUTLS=no
 +if test "${with_gnutls}" = "yes" ; then
 +
 +  succeeded=no
 +
 +  # Extract the first word of "pkg-config", so it can be a program name with args.
 +set dummy pkg-config; ac_word=$2
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 +$as_echo_n "checking for $ac_word... " >&6; }
 +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 +  $as_echo_n "(cached) " >&6
 +else
 +  case $PKG_CONFIG in
 +  [\\/]* | ?:[\\/]*)
 +  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 +  ;;
 +  *)
 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 +for as_dir in $PATH
 +do
 +  IFS=$as_save_IFS
 +  test -z "$as_dir" && as_dir=.
 +    for ac_exec_ext in '' $ac_executable_extensions; do
 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 +    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 +    break 2
 +  fi
 +done
 +  done
 +IFS=$as_save_IFS
 +
 +  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
 +  ;;
 +esac
 +fi
 +PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 +if test -n "$PKG_CONFIG"; then
 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 +$as_echo "$PKG_CONFIG" >&6; }
 +else
 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 +$as_echo "no" >&6; }
 +fi
 +
 +
 +
 +  if test "$PKG_CONFIG" = "no" ; then
 +     HAVE_GNUTLS=no
 +  else
 +     PKG_CONFIG_MIN_VERSION=0.9.0
 +     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
 +        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls >= 2.2.4" >&5
 +$as_echo_n "checking for gnutls >= 2.2.4... " >&6; }
 +
 +        if $PKG_CONFIG --exists "gnutls >= 2.2.4" 2>&5; then
 +            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 +$as_echo "yes" >&6; }
 +            succeeded=yes
 +
 +            { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBGNUTLS_CFLAGS" >&5
 +$as_echo_n "checking LIBGNUTLS_CFLAGS... " >&6; }
 +            LIBGNUTLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= 2.2.4"|sed -e 's,///*,/,g'`
 +            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGNUTLS_CFLAGS" >&5
 +$as_echo "$LIBGNUTLS_CFLAGS" >&6; }
 +
 +            { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBGNUTLS_LIBS" >&5
 +$as_echo_n "checking LIBGNUTLS_LIBS... " >&6; }
 +            LIBGNUTLS_LIBS=`$PKG_CONFIG --libs "gnutls >= 2.2.4"|sed -e 's,///*,/,g'`
 +            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGNUTLS_LIBS" >&5
 +$as_echo "$LIBGNUTLS_LIBS" >&6; }
          else
              { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  $as_echo "no" >&6; }
diff --cc configure.in
Simple merge
@@@ -1,9 -1,15 +1,20 @@@
 -2010-11-12  Eli Zaretskii  <eliz@gnu.org>
++2010-11-17  Eli Zaretskii  <eliz@gnu.org>
+       * customize.texi (Composite Types): Lower-case index entry.
+       * loading.texi (How Programs Do Loading): Document
+       load-file-name.  (Bug#7346)
 -2010-11-10  Glenn Morris  <rgm@gnu.org>
++2010-11-17  Glenn Morris  <rgm@gnu.org>
+       * text.texi (Kill Functions, Low-Level Kill Ring): Small fixes.
 -2010-10-27  Glenn Morris  <rgm@gnu.org>
 +2010-11-13  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * display.texi (Usual Display): Characters with no fonts are not
 +      necessarily displayed as empty boxes.
 +
 +2010-10-31  Glenn Morris  <rgm@gnu.org>
  
        * maps.texi (Standard Keymaps): Update File menu description.
  
Simple merge
Simple merge
 -2010-11-10  Glenn Morris  <rgm@gnu.org>
 +2010-11-18  Katsumi Yamaoka  <yamaoka@jpl.org>
 +
 +      * gnus.texi (Misc Article): Document gnus-inhibit-images.
 +
++2010-11-17  Glenn Morris  <rgm@gnu.org>
+       * edt.texi: Remove information about Emacs 19.
 -2010-11-05  Michael Albinus  <michael.albinus@gmx.de>
++2010-11-17  Michael Albinus  <michael.albinus@gmx.de>
+       * trampver.texi: Update release number.
 -2010-11-03  Jay Belanger  <jay.p.belanger@gmail.com>
 +2010-11-12  Katsumi Yamaoka  <yamaoka@jpl.org>
 +
 +      * gnus.texi (Article Washing): Fix typo.
 +
 +2010-11-11  Noorul Islam  <noorul@noorul.com>
 +
 +      * org.texi: Fix typo.
 +
 +2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
 +
 +      * org.texi (Using capture): Explain that refiling is
 +      sensitive to cursor position.
 +
 +2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
 +
 +      * org.texi (Images and tables): Add cross reference to link section.
 +
 +2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
 +
 +      * org.texi: Document the <c> cookie.
 +
 +2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
 +
 +      * org.texi: multi-line header arguments :PROPERTIES: :ID:
 +      b77c8857-6c76-4ea9-8a61-ddc2648d96c4 :END:.
 +
 +2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
 +
 +      * org.texi (CSS support): Document :HTML_CONTAINER_CLASS: property.
 +
 +2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
 +
 +      * org.texi (Project alist): Mention that this is a property list.
 +
 +2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
 +
 +      * org.texi (Setting up the staging area): Document that
 +      file names remain visible when encrypting the MobileOrg files.
 +
 +2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
 +
 +      * org.texi (Setting up the staging area): Document which
 +      versions are needed for encryption.
 +
 +2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
 +
 +      * org.texi (noweb): Update :noweb documentation to
 +      reflect the new "tangle" argument.
 +
 +2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
 +
 +      * org.texi (Batch execution): Improve tangling script in
 +      documentation.
 +
 +2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
 +
 +      * org.texi (Handling links):
 +      (In-buffer settings): Document inlining images on startup.
 +
 +2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
 +
 +      * org.texi (Setting up the staging area): Document use of
 +      crypt password.
 +
 +2010-11-11  David Maus  <dmaus@ictsoc.de>
 +
 +      * org.texi (Template expansion): Add date related link type escapes.
 +
 +2010-11-11  David Maus  <dmaus@ictsoc.de>
 +
 +      * org.texi (Template expansion): Add mew in table for link type
 +      escapes.
 +
 +2010-11-11  David Maus  <dmaus@ictsoc.de>
 +
 +      * org.texi (Template expansion): Fix typo in link type escapes.
 +
 +2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
 +
 +      * org.texi (Structure of code blocks): Another documentation tweak.
 +
 +2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
 +
 +      * org.texi (Structure of code blocks): Documentation tweak.
 +
 +2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
 +
 +      * org.texi (Structure of code blocks):
 +      Update documentation to mention inline code block syntax.
 +
 +2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
 +
 +      * org.texi (comments): Improve wording.
 +
 +2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
 +
 +      * org.texi (comments): Document the new :comments header arguments.
 +
 +2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
 +
 +      * org.texi (Installation): Remove the special
 +      installation instructions for XEmacs.
 +
 +2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
 +
 +      * org.texi (Easy Templates): New section.  Documents quick
 +      insertion of empty structural elements.
 +
 +2010-11-11  Noorul Islam  <noorul@noorul.com>
 +
 +      * org.texi: Fix doc.
 +
 +2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
 +
 +      * org.texi (The date/time prompt): Document specification
 +      of time ranges.
 +
 +2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
 +
 +      * org.texi (Internal links): Document the changes in
 +      internal links.
 +
 +2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
 +
 +      * org.texi (Agenda commands): Document the limitation for
 +      the filter preset - it can only be used for an entire agenda
 +      view, not in an individual block in a block agenda.
 +
 +2010-11-11  Eric S Fraga  <e.fraga@ucl.ac.uk>
 +
 +      * org.texi (iCalendar export): Document alarm creation.
 +
 +2010-11-10  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      * dbus.texi (Type Conversion): Introduce `:unix-fd' type mapping.
 +
 +2010-11-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 +
 +      * gnus.texi (Article Washing): Document gnus-article-treat-non-ascii.
 +
 +2010-11-09  Jay Belanger  <jay.p.belanger@gmail.com>
  
        * calc.texi: Use emacsver.texi to determine Emacs version.
  
diff --cc etc/NEWS.23
Simple merge
@@@ -1,34 -1,9 +1,39 @@@
 -2010-11-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
++2010-11-18  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+       * emacsclient.c (set_local_socket) [DARWIN_OS]: Add fall-back
+       definition of _CS_DARWIN_USER_TEMP_DIR for Mac OS X 10.4 and older.
 -2010-10-01  Glenn Morris  <rgm@gnu.org>
 +2010-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
 +
 +      * test-distrib.c: Remove include guards for config.h and fcntl.h.
 +      (O_RDONLY): Do not define.
 +      (cool_read): Fix type for variable "sofar".
 +
 +2010-10-25  Glenn Morris  <rgm@gnu.org>
 +
 +      * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove easymenu.elc.
 +
 +2010-10-23  Glenn Morris  <rgm@gnu.org>
 +
 +      * digest-doc.c, sorted-doc.c: Remove files.
 +      * Makefile.in (UTILITIES): Remove digest-doc and sorted-doc.
 +      (digest-doc${EXEEXT}, sorted-doc${EXEEXT}): Remove rules.
 +      * makefile.w32-in (ALL): Remove digest-doc and sorted-doc.
 +      ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe, sorted-doc, digest-doc)
 +      ($(BLD)/digest-doc.$(O), $(BLD)/sorted-doc.$(O)): Remove rules.
 +      (install): Don't install digest-doc.exe or sorted-doc.exe.
 +
 +2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
 +
 +      * Makefile.in (PROFILING_LDFLAGS): Remove, not needed.
 +
 +2010-10-09  Glenn Morris  <rgm@gnu.org>
 +
 +      * b2m.c, b2m.pl: Remove files.
 +      * Makefile.in (INSTALLABLES): Remove b2m.
 +      * makefile.w32-in ($(BLD)/b2m.$(O)): Remove.
 +
 +2010-10-08  Glenn Morris  <rgm@gnu.org>
  
        * emacsclient.c (set_local_socket) [DARWIN_OS]: Try as a fall-back
        DARWIN_USER_TEMP_DIR.  (Bug#3992)
Simple merge
diff --cc lisp/ChangeLog
 -2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
+ 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * simple.el (kill-new, kill-append, kill-region):
+       * comint.el (comint-kill-region): Make the yank-handler argument obsolete.
 -2010-11-17  Glenn Morris  <rgm@gnu.org>
++2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
+       that are both openers (resp. closers) and something else.
+       (smie-grammar): Loosen definition of valid values.
+       (smie-next-sexp, smie-down-list, smie-blink-matching-open)
+       (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
+       (smie-indent-after-keyword): Adjust users.
+       (smie-indent-keyword): Don't indent empty lines.
+       * vc-hg.el (vc-hg-program): New var.
+       Suggested by Norman Gray <norman@astro.gla.ac.uk>.
+       (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
 -2010-11-16  Ulrich Mueller  <ulm@gentoo.org>
++2010-11-18  Glenn Morris  <rgm@gnu.org>
+       * emacs-lisp/autoload.el (autoload-find-destination): The function
+       coding-system-eol-type may return non-numeric values.  (Bug#7414)
 -2010-11-13  Eli Zaretskii  <eliz@gnu.org>
++2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
+       * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
 -2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
++2010-11-18  Eli Zaretskii  <eliz@gnu.org>
+       * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
 -2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-remote-coding-commands): Add an alternative
 -      using "base64 -d -i".  This is needed for older base64 versions
 -      from GNU coreutils.  Reported by Klaus Reichl
 -      <Klaus.Reichl@thalesgroup.com>.
 -
 -2010-11-13  Glenn Morris  <rgm@gnu.org>
++2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
+       * textmodes/picture.el (picture-mouse-set-point): Don't use
+       posn-col-row; explicitly compute the motion based on the posn at
+       the window-start (Bug#7390).
 -2010-11-12  Glenn Morris  <rgm@gnu.org>
++2010-11-18  Glenn Morris  <rgm@gnu.org>
+       * novice.el (disabled-command-function):
+       Fix 2009-11-15 change.  (Bug#7384)
 -2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
++2010-11-18  Glenn Morris  <rgm@gnu.org>
+       * calendar/calendar.el (diary-iso-date-forms): Make elements
+       mutually exclusive.  (Bug#7377)
 -2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
++2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
+       when filling the remaining "unconstrained" values.
 -2010-11-11  Glenn Morris  <rgm@gnu.org>
++2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
+       safety predicate.
+       * files.el (safe-local-variable-p): Gracefully handle errors.
+       * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
+       Use smie-indent-virtual when indenting relative to an opener.
+       (smie-rule-separator): Use smie-rule-parent.
+       (smie-indent-keyword): Consult rules, even for openers at bol.
+       (smie-indent-comment-close): Try to align closer's content.
 -2010-11-10  Glenn Morris  <rgm@gnu.org>
++2010-11-18  Glenn Morris  <rgm@gnu.org>
+       * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
++2010-11-18  Glenn Morris  <rgm@gnu.org>
+       * printing.el (pr-menu-bind): Doc fix.
+       * speedbar.el (speedbar-toggle-images): Doc fix.
+       * progmodes/python.el (python-shell): Doc fix.
+       * wid-edit.el (widget-field-use-before-change)
+       (widget-use-overlay-change): Doc fixes.
 +2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      Minor cleanup to improve style.
 +      * textmodes/rst.el (rst-update-section): Use point-marker.
 +      (rst-get-decoration): Eliminate unneeded assignment.
 +      (rst-promote-region, rst-straighten-decorations)
 +      (rst-section-tree, rst-adjust): Use point-marker.
 +      (rst-toc-mode-mouse-goto): Avoid setq.
 +      (rst-shift-region-guts, rst-shift-region-left)
 +      (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
 +      (rst-convert-bullets-to-enumeration): Use copy-marker.
 +
 +      * minibuffer.el (completion-fail-discreetly): New var.
 +      (completion--do-completion): Use it.
 +
 +      * electric.el (electric-pair-pairs): New var.
 +      (electric-pair-post-self-insert-function): Use it.
 +      (electric-layout-post-self-insert-function): Don't insert a before
 +      newline unless it's actually needed.
 +
 +2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * progmodes/python.el (run-python): Explain why we remove the current
 +      directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
 +
 +      * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
 +
 +2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * progmodes/octave-mod.el: Rely on elecric-*-modes.
 +      (octave-mode-map): Don't bind ;, SPC, and LF.
 +      (octave-auto-indent, octave-auto-newline): Remove.
 +      (electric-layout-rules): Declare.
 +      (octave-mode): Set electric-layout-rules.
 +      (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
 +      (octave-reindent-then-newline-and-indent, octave-electric-semi)
 +      (octave-electric-space): Remove.
 +
 +      * electric.el (electric-layout-mode): New minor mode.
 +      (electric--after-char-pos): New function.
 +      (electric-indent-post-self-insert-function): Use it.
 +      (electric-layout-rules): New var.
 +      (electric-layout-post-self-insert-function): New function.
 +      (electric-indent-mode): Make them interact better.
 +
 +2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
 +      (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
 +      (checkdoc-proper-noun-region-engine): Use with-syntax-table.
 +
 +2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
 +
 +      * textmodes/flyspell.el (flyspell-generic-progmode-verify):
 +      Make sure to check inside the word (Bug#6761).
 +
 +2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * startup.el (command-line): If the cursorColor resource is set,
 +      change the cursor face-spec (Bug#7392).
 +
 +2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
 +
 +      The main features of the following allout.el changes are:
 +      - implement user customization for the allout key bindings
 +      - add a customization control by which the user can inhibit use of
 +        a trailing Ctrl-H, so by default it's reserved for use with
 +        describe-prefix-bindings
 +      - adapt to new version of called-interactively-p, while
 +        maintaining backwards compatibility with old version
 +      - fix hotspot navigation so i works properly with meta-modified keys
 +
 +      * allout.el (allout-keybindings, allout-bind-keys)
 +      (allout-keybindings-binding, allout-prefixed-keybindings)
 +      (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
 +      (allout-keybindings-list, allout-mode-map-adjustments)
 +      (allout-setup-mode-map): Establish allout-mode keymaps as user
 +      customizable settings, and also establish a customizable setting which
 +      regulates whether or not a trailing control-h is reserved for use with
 +      describe-prefix-bindings - and inhibit it by default, so that control-h
 +      *is* reserved for describe-prefix-bindings unless the user changes it.
 +
 +      * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
 +      and accurately between modified and unmodified events, and handle
 +      modified events more comprehensively.
 +
 +      * allout.el (allout-substring-no-properties):
 +      Alias to use or provide version of `substring-no-properties'.
 +      (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
 +
 +      * allout.el (allout-next-single-char-property-change):
 +      Alias to use or provide version of `next-single-char-property-change'.
 +      (allout-annotate-hidden, allout-hide-by-annotation):
 +      Use `allout-next-single-char-property-change'.
 +
 +      * allout.el (allout-select-safe-coding-system):
 +      Alias to use or provide version of `select-safe-coding-system'.
 +      (allout-toggle-subtree-encryption):
 +      Use `allout-select-safe-coding-system'.
 +
 +      * allout.el (allout-set-buffer-multibyte):
 +      Alias to use or provide version of `set-buffer-multibyte'.
 +      (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
 +
 +      * allout.el (allout-called-interactively-p): Macro for using the
 +      different versions of called-interactively-p identically, depending on
 +      the subroutine's argument signature.
 +      (allout-back-to-current-heading, allout-beginning-of-current-entry):
 +      Use `(interactive "p")' instead of `(called-interactively-p)'.
 +
 +      * allout.el (allout-init, allout-ascend, allout-end-of-level)
 +      (allout-previous-visible-heading, allout-forward-current-level)
 +      (allout-backward-current-level, allout-show-children):
 +      Use `allout-called-interactively-p' instead of `called-interactively-p'.
 +
 +      * allout.el (allout-before-change-handler):
 +      Exempt edits to the (overlaid) character after the allout outline
 +      bullet from edit confirmation prompt.
 +
 +      * allout.el (allout-add-resumptions):
 +      Ensure that it respects correct buffer for keybindings.
 +
 +      * allout.el (allout-beginning-of-line):
 +      Use `allout-previous-single-char-property-change' alias for the sake of
 +      diverse compatibility.
 +
 +      * allout.el (allout-end-of-line):
 +      Use `allout-mark-active-p' to encapsulate respect for mark activity.
 +
 +2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * frame.el (frame-notice-user-settings): Don't clobber other
 +      user-set parameters when calling face-set-after-frame-default in
 +      response to background-color parameter (Bug#7373).
 +
 +2010-11-13  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * international/characters.el (glyphless-char-display-control):
 +      Renamed from glyphless-char-control; all users changed.  Doc fix.
 +      Signal an error if display method is not one of the recognized
 +      symbols.
 +
 +2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      * net/tramp-compat.el (tramp-compat-line-beginning-position)
 +      (tramp-compat-line-end-position): Remove them.
 +
 +      * net/tramp.el (tramp-parse-rhosts-group)
 +      (tramp-parse-shosts-group, tramp-parse-sconfig-group)
 +      (tramp-parse-hosts-group, tramp-parse-passwd-group)
 +      (tramp-parse-netrc-group, tramp-parse-putty-group)
 +      * net/tramp-cmds.el (tramp-append-tramp-buffers)
 +      * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
 +      (tramp-sh-handle-file-selinux-context)
 +      (tramp-sh-handle-file-name-all-completions)
 +      (tramp-sh-handle-insert-directory)
 +      (tramp-sh-handle-expand-file-name, tramp-find-executable)
 +      (tramp-wait-for-output, tramp-send-command-and-read)
 +      * net/tramp-smb.el (tramp-smb-read-file-entry)
 +      (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
 +
 +      * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
 +      `point-at-bol'.
 +      (tramp-remote-coding-commands): Add an alternative using "base64
 +      -d -i".  This is needed for older base64 versions from GNU
 +      coreutils.  Reported by Klaus Reichl
 +      <Klaus.Reichl@thalesgroup.com>.
 +
 +2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
 +
 +      * simple.el (count-words-region): New function.
 +
 +2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * shell.el (shell-dir-cookie-re): New custom variable.
 +      (shell-dir-cookie-watcher): New function.
 +
 +      * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
 +      and compilation-mode (bug#7350).
 +
 +      * vc/smerge-mode.el (smerge-refine): Choose better default part to
 +      highlight when one of them is empty.
 +
 +      * skeleton.el (skeleton-read): Don't use `newline' since it may strip
 +      trailing space.
 +      (skeleton-newline): New function.
 +      (skeleton-internal-1): Use it.
 +
 +      * simple.el (open-line): `newline' may strip trailing space.
 +
 +2010-11-12  Kevin Ryde  <user42@zip.com.au>
 +
 +      * international/mule-cmds.el (princ-list): Use mapc.
 +
 +2010-11-12  Glenn Morris  <rgm@gnu.org>
 +
 +      * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
 +      Use it to replace all instances of "*Compile-Log*"
 +
 +2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
 +      indentation specs.
 +
 +2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * progmodes/modula2.el: Use SMIE and skeleton.
 +      (m2-mode-syntax-table): (*..*) can be nested.
 +      Add //...\n.  Fix paren syntax.
 +      (m2-mode-map): Remove LF and TAB bindings.
 +      (m2-indent): Add safety property.
 +      (m2-smie-grammar): New var.
 +      (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
 +      (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
 +      (m2-mode): Use define-derived-mode.
 +      (m2-newline, m2-tab): Remove.
 +      (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
 +      (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
 +      (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
 +      (m2-import): Use define-skeleton.
 +
 +2010-11-11  Glenn Morris  <rgm@gnu.org>
 +
 +      * obsolete/lucid.el: Don't warn about any CL functions in this file.
 +
 +      * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
 +      (ls-lisp-verbosity): Add custom :set-after property.
 +      (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
 +      (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
 +      (ls-lisp-insert-directory): Update caller.
 +      (ls-lisp-set-options): New function.
 +      (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
 +      Doc fix.
 +
 +      * play/landmark.el (lm-prompt-for-move):
 +      * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
 +
 +      * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
 +
 +      * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
 +      (idlwave-study-twins): Prefix dynamic local variable `name'.
 +      (idlwave-routine-twin-compare): Update for above change.
 +
 +      * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
 +      Prefix dynamic local variables `name', `kwd', and `link'.
 +      * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
 +      * progmodes/idlw-complete-structtag.el
 +      (idlwave-complete-structure-tag-help):
 +      * progmodes/idlwave.el (idlwave-complete-sysvar-help)
 +      (idlwave-complete-sysvar-tag-help)
 +      (idlwave-complete-class-structure-tag-help):
 +      Update for above name changes.
 +
 +2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 +
 +      * net/browse-url.el (browse-url-browser-function): Change the
 +      default to use `browse-url-mail' on mailto: URLs.
 +
 +2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * emacs-lisp/package.el (package-read-all-archive-contents):
 +      Reset package-archive-contents to nil before re-reading.
 +
 +2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
 +
 +      * textmodes/flyspell.el (flyspell-word): Do not re-check words
 +      already found as misspellings by (flyspell-large-region), just
 +      do highlighting (bug#7322).
 +
 +2010-11-10  Glenn Morris  <rgm@gnu.org>
 +
 +      * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
 +
 +      * emulation/edt.el (edt-with-position): New macro.
 +      (edt-find-forward, edt-find-backward, edt-find-next-forward)
 +      (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
 +      (edt-paragraph-forward, edt-paragraph-backward): Use it.
 +
 +      * emulation/tpu-extras.el (tpu-with-position): New macro.
 +      (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
 +
 +      * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
 +
 +      * textmodes/texnfo-upd.el (texinfo-all-menus-update)
 +      (texinfo-menu-copy-old-description, texinfo-start-menu-description)
 +      (texinfo-master-menu, texinfo-insert-node-lines)
 +      (texinfo-multiple-files-update):
 +      * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
 +      Use line-beginning-position.
 +
 +      * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
 +      No recent Emacs supports system-type `emx'.
 +
 +      * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
 +      (ada-command-separator, ada-default-prj-properties)
 +      (ada-find-any-references): Update for above name change.
 +
 +      * dirtrack.el (dirtrack-directory-function)
 +      (dirtrack-canonicalize-function):
 +      * filecache.el (file-cache-completion-ignore-case)
 +      (file-cache-case-fold-search, file-cache-ignore-case):
 +      * term.el (serial-port-is-file-p): Cosmetic change.
 +
 +      * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
 +      Remove non-existent `windows-95' system-type.
 +      * dired.el (dired-chown-program): Remove non-existent `linux'
 +      system-type.
 +
 +      * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
 +      (ping-program-options): Remove non-existent `linux' system-type.
 +
 +      * startup.el (package-initialize): Update declaration.
 +
 +      * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
 +      (ls-lisp-handle-switches): Use time-less-p.
 +      (ls-lisp-format-time): Use float-time.
 +
 +      * textmodes/remember.el (remember-time-to-seconds): Remove.
 +      (remember-store-in-mailbox): Use float-time.
 +
 +      * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
 +
 +      * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
 +      never a real function.
 +      (with-no-warnings): Remove compat stub, now unused.
 +      (time-less-p): Doc fix.
 +      (time-to-number-of-days): Simplify.
 +
 +      * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
 +      Remove.
 +      (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
 +      * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
 +      * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
 +      * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
 +      * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
 +
 +      * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
 +      (eshell-shuffle-files, eshell-shorthand-tar-command)
 +      (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
 +      Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
 +      * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
 +      Prefix dynamic local variable `matches'.
 +
 +      * skeleton.el (skeleton-internal-list, skeleton-internal-1):
 +      Prefix dynamic local variable `skeleton'.
 +
 +2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
 +
 +      * net/browse-url.el (browse-url-mail): Insert body part of mailto url
 +      in mail buffer; make yank-action always a command that yanks original
 +      buffer.
 +
  2010-11-09  Glenn Morris  <rgm@gnu.org>
  
        * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
diff --cc lisp/comint.el
Simple merge
@@@ -575,10 -526,10 +575,10 @@@ removes any prior now out-of-date autol
             (autoload-ensure-default-file (autoload-generated-file)))
          ;; This is to make generated-autoload-file have Unix EOLs, so
          ;; that it is portable to all platforms.
-         (unless (zerop (coding-system-eol-type buffer-file-coding-system))
-           (set-buffer-file-coding-system 'unix))
+         (or (eq 0 (coding-system-eol-type buffer-file-coding-system))
+           (set-buffer-file-coding-system 'unix))
          (or (> (buffer-size) 0)
 -            (error "Autoloads file %s does not exist" buffer-file-name))
 +            (error "Autoloads file %s lacks boilerplate" buffer-file-name))
          (or (file-writable-p buffer-file-name)
              (error "Autoloads file %s is not writable" buffer-file-name))
          (widen)
Simple merge
diff --cc lisp/files.el
Simple merge
diff --cc lisp/ls-lisp.el
@@@ -96,19 -84,19 +96,25 @@@ update the dependent variables.
                 (const MacOS)
                 (const MS-Windows)
                 (const UNIX))
 +  :initialize 'custom-initialize-default
 +  :set (lambda (symbol value)
 +       (unless (equal value (eval symbol))
 +         (custom-set-default symbol value)
 +         (ls-lisp-set-options)))
    :group 'ls-lisp)
  
+ ;; Only made an obsolete alias in 23.3.  Before that, the initial
+ ;; value was set according to:
+ ;;  (or (memq ls-lisp-emulation '(MS-Windows MacOS))
+ ;;      (and (boundp 'ls-lisp-dired-ignore-case) ls-lisp-dired-ignore-case))
+ ;; Which isn't the right thing to do.
+ (define-obsolete-variable-alias 'ls-lisp-dired-ignore-case
+   'ls-lisp-ignore-case "21.1")
  (defcustom ls-lisp-ignore-case
-   ;; Name change for consistency with other option names.
-   (or (memq ls-lisp-emulation '(MS-Windows MacOS))
-       (and (boundp 'ls-lisp-dired-ignore-case) ls-lisp-dired-ignore-case))
+   (memq ls-lisp-emulation '(MS-Windows MacOS))
    "Non-nil causes ls-lisp alphabetic sorting to ignore case."
 +  :set-after '(ls-lisp-emulation)
    :type 'boolean
    :group 'ls-lisp)
  
Simple merge
Simple merge
Simple merge
diff --cc lisp/server.el
Simple merge
diff --cc lisp/simple.el
@@@ -3018,22 -2855,20 +3013,24 @@@ argument should still be a \"useful\" s
      (let ((interprogram-paste (and interprogram-paste-function
                                     (funcall interprogram-paste-function))))
        (when interprogram-paste
 -        (if (listp interprogram-paste)
 -            (dolist (s (nreverse interprogram-paste))
 -              (push s kill-ring))
 -            (push interprogram-paste kill-ring)))))
 -  (if (and replace kill-ring)
 -      (setcar kill-ring string)
 -    (push string kill-ring)
 -    (if (> (length kill-ring) kill-ring-max)
 -      (setcdr (nthcdr (1- kill-ring-max) kill-ring) nil)))
 +        (dolist (s (if (listp interprogram-paste)
 +                     (nreverse interprogram-paste)
 +                   (list interprogram-paste)))
 +        (unless (and kill-do-not-save-duplicates
 +                     (equal s (car kill-ring)))
 +          (push s kill-ring))))))
 +  (unless (and kill-do-not-save-duplicates
 +             (equal string (car kill-ring)))
 +    (if (and replace kill-ring)
 +      (setcar kill-ring string)
 +      (push string kill-ring)
 +      (if (> (length kill-ring) kill-ring-max)
 +        (setcdr (nthcdr (1- kill-ring-max) kill-ring) nil))))
    (setq kill-ring-yank-pointer kill-ring)
    (if interprogram-cut-function
 -      (funcall interprogram-cut-function string (not replace))))
 +      (funcall interprogram-cut-function string)))
+ (set-advertised-calling-convention
+  'kill-new '(string &optional replace) "23.3")
  
  (defun kill-append (string before-p &optional yank-handler)
    "Append STRING to the end of the latest kill in the kill ring.
Simple merge
diff --cc lisp/subr.el
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc nt/INSTALL
Simple merge
diff --cc src/ChangeLog
 -2010-11-14  Jan Djärv  <jan.h.d@swipnet.se>
++2010-11-18  Jan Djärv  <jan.h.d@swipnet.se>
+       * xsettings.c (init_gconf): Check HAVE_G_TYPE_INIT.
+       * config.in (HAVE_G_TYPE_INIT): New symbol.
 -2010-11-12  Eli Zaretskii  <eliz@gnu.org>
++2010-11-18  Eli Zaretskii  <eliz@gnu.org>
+       * lread.c (Fload): Mention `load-in-progress' and
+       `load-file-name'.  (Bug#7346)
 -2010-11-09  Eli Zaretskii  <eliz@gnu.org>
 -
+       * keyboard.c (kbd_buffer_nr_stored): Define only ifdef subprocesses.
+       (kbd_buffer_store_event_hold, kbd_buffer_get_event)
+       (tty_read_avail_input): Call kbd_buffer_nr_stored only ifdef
+       subprocesses.  Use buffer_free only ifdef subprocesses.
+       * process.c (init_process) [subprocesses]: Init kbd_is_on_hold in
+       the subprocesses version, not in the non-subprocesses one.
+       * Makefile.in: Don't use ## comment, it breaks the MSDOS build.
 -      * xfns.c (x_real_positions): Fix declaration-after-statement
 -      problem.
 +2010-11-17  Eli Zaretskii  <eliz@gnu.org>
  
 -2010-11-05  Chong Yidong  <cyd@stupidchicken.com>
 +      * xdisp.c (set_cursor_from_row): Fix cursor positioning in empty
 +      lines on text-mode terminals.  (bug#7417)
  
 -      * image.c (free_image): Don't garbage the frame here, since this
 -      function can be called while redisplaying (Bug#7210).
 -      (uncache_image): Garbage the frame here (Bug#6426).
 +2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -2010-11-04  Chong Yidong  <cyd@stupidchicken.com>
 +      * xterm.c (get_current_wm_state): Rename from get_current_vm_state.
 +      (do_ewmh_fullscreen, x_handle_net_wm_state): Update callers.
  
 -      * process.c (Fmake_network_process): Don't apply Bug#5173 fix for
 -      Windows.
 +2010-11-17  Kenichi Handa  <handa@m17n.org>
  
 -2010-11-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 +      * coding.c (Fset_terminal_coding_system_internal): Fix previous
 +      change (set charset-ID list instead of charset-symbol list).
  
 -      * process.c (Fmake_network_process): Don't call turn_on_atimers around
 -      `connect' (Bug#5723).
 +2010-11-16  Chong Yidong  <cyd@stupidchicken.com>
  
 -2010-11-04  Helmut Eller  <eller.helmut@gmail.com>
 +      * keyboard.c (make_lispy_position): For text area clicks, record Y
 +      pixel position relative to the text area, excluding header line.
 +      Also change X and Y to Lisp_Objects, not pointers; don't return
 +      coordinate values via pointers.  Pass ON_TEXT_AREA coordinate to
 +      buffer_posn_from_coords counting from the start of the text area.
 +      (Fposn_at_x_y, make_lispy_event): Callers changed.
  
 -      * process.c (Fmake_network_process): Call `select' for interrupted
 -      `connect' rather than creating new socket (Bug#5173).
 +      * window.c (coordinates_in_window): Change X and Y to ints rather
 +      than pointers; don't return coordinates via pointers.
 +      (struct check_window_data): Change X and Y from pointers to ints.
 +      (window_from_coordinates): Remove args WX and WY; don't return
 +      coordinates via pointers.
 +      (Fcoordinates_in_window_p, window_from_coordinates):
 +      (check_window_containing, Fwindow_at): Callers changed.
 +      (window_relative_x_coord): New function.
  
 -2010-11-04  Kenichi Handa  <handa@m17n.org>
 +      * window.h (window_from_coordinates, window_relative_x_coord):
 +      Update prototypes.
  
 -      * font.c (font_delete_unmatched): Check Vface_ignored_fonts.
 -      Don't sheck SPEC if it is nil.
 -      (font_list_entities): Call font_delete_unmatched if
 -      Vface_ignored_fonts is non-nil.
 +      * dispnew.c (buffer_posn_from_coords): Assume that X counts from
 +      the start of the text area.
  
 -2010-11-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 +      * xdisp.c (remember_mouse_glyph): Change window_from_coordinates
 +      call.  Use window_relative_x_coord.
 +      (note_mouse_highlight): Change window_from_coordinates call.
  
 -      * dispextern.h (TRY_WINDOW_CHECK_MARGINS)
 -      (TRY_WINDOW_IGNORE_FONTS_CHANGE): New defines.
 +      * w32term.c (w32_read_socket):
 +      * msdos.c (dos_rawgetc):
 +      * xterm.c (handle_one_xevent): Likewise.
  
 -      * xdisp.c (try_window): Change arg from CHECK_MARGINS to FLAGS.
 -      Don't abort with fonts change if TRY_WINDOW_IGNORE_FONTS_CHANGE is
 -      set in FLAGS.  Callers with non-zero CHECK_MARGINS changed to use
 -      TRY_WINDOW_CHECK_MARGINS.
 +2010-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
  
 -      * xfns.c (Fx_show_tip): Undo last change.  Call try_window with
 -      TRY_WINDOW_IGNORE_FONTS_CHANGE (Bug#2423).
 +      * strftime.c (LOCALE_PARAM_DECL): Update for standard C.
 +      (LOCALE_PARAM, LOCALE_PARAM_PROTO): Remove, unused.
 +      (memcpy_lowcase, so_week_days, extra_args_spec, emacs_strftimeu):
 +      Convert definitions to standard C.
 +      * regex.c: Do not include <stdlib.h>, config.h does it.
 +      Include unistd.h.
 +      (xrealloc, init_syntax_once, re_match, regcomp, regexec)
 +      (regerror, regfree): Convert definitions to standard C.
 +      * mktime.c (my_mktime_localtime_r, ydhms_tm_diff, ranged_convert)
 +      (__mktime_internal): Convert definitions to standard C.
 +
 +2010-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
 +
 +      * w32proc.c:
 +      * w32inevt.c:
 +      * w32heap.c:
 +      * w32.c: Remove config.h include guards.
 +
 +      * callproc.c (child_setup): Reorder code to simplify #ifdefs.
 +      No code changes.
 +
 +      * process.c: Include <sys/ioctl.h> unconditionally,
 +      keyboard.c already does it.
 +
 +      * keyboard.c (pending_malloc_warning): Add const to match
 +      definition in alloc.c.
 +      (Fset_input_interrupt_mode): Simplify #ifdefs.
 +
 +2010-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
 +
 +      Clean up systty.h macros.
 +      * systty.h (EMACS_GET_TTY_PGRP, EMACS_SET_TTY_PGRP, EMACS_GET_TTY)
 +      (EMACS_SET_TTY): Remove unneeded abstraction, instead inline the
 +      definition in all uses.
 +      (EMACS_TTY_TABS_OK): Remove, it has a single user.
 +      * sysdep.c (discard_tty_input, child_setup_tty)
 +      (init_sys_modes, tabs_safe_p, reset_sys_modes):
 +      * emacs.c (shut_down_emacs):
 +      * callproc.c (child_setup):
 +      * term.c (dissociate_if_controlling_tty): Inline removed macros.
 +
 +      * data.c (sign_extend_temp, sign_extend_lisp_int): Remove, unused.
 +
 +2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * w32fns.c (Fx_create_frame):
 +      * nsfns.m (Fx_create_frame): Don't check for the cursorColor
 +      resource here; it's now done at startup.
 +
 +2010-11-14  Jan Djärv  <jan.h.d@swipnet.se>
 +
 +      * xterm.c (set_wm_state): Add Qnil to final cons.
 +
 +      * xselect.c (x_send_client_event): Remove unused variables cons and
 +      size.
 +
 +2010-11-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 +
 +      * keyboard.c (modify_event_symbol) : Add const to array elements of
 +      arg NAME_TABLE.
 +      (lispy_accent_keys, lispy_function_keys, lispy_multimedia_keys)
 +      (lispy_kana_keys, iso_lispy_function_keys, lispy_wheel_names)
 +      (lispy_wheel_names, lispy_drag_n_drop_names, modifier_names):
 +      Add const to array elements.
 +      (scroll_bar_parts): Make static.  Fix position of const.
 +
 +      * w32fns.c (lispy_function_keys): Add const to extern.
 +
 +      * w32inevt.c (lispy_function_keys): Likewise.
 +
 +2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * xfns.c (Fx_create_frame): Don't check for the cursorColor
 +      resource here; it's now done at startup.
 +
 +2010-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
 +
 +      * xmenu.c: Make it clear that ../lwlib/lwlib.h is only needed for Motif.
 +
 +      Fix compilation on Solaris.
 +      * sysdep.c: Do not #include <term.h>.
 +      (tputs): Add declaration, similar to what cm.c does.  (Bug#7178)
 +
 +      * s/ms-w32.h (HAVE_TERMIOS_H): Do not undef, not used anymore.
 +
 +2010-11-13  Jan Djärv  <jan.h.d@swipnet.se>
 +
 +      * xterm.c (set_wm_state): Don't put Atom in cons, call
 +      make_fixnum_or_float on them first.
 +      (x_term_init): Initialize Xatom_net_supporting_wm_check and
 +      Xatom_net_supported correctly.
 +
 +      * xselect.c (x_send_client_event): Move CHECK_STRING ...
 +      (Fx_send_client_event): to here.
 +
 +2010-11-13  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * window.c (Fwindow_use_time): New function.
 +
 +2010-11-13  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * xdisp.c (set_cursor_from_row): Fix cursor positioning on
 +      zero-width characters.
 +
 +      * .gdbinit (pgx): Adapt to latest changes in `struct glyph'.
 +
 +      * w32term.c (x_draw_glyphless_glyph_string_foreground): Draw the
 +      box before drawing the glyphs inside it.
 +
 +      * xdisp.c (syms_of_xdisp) <glyphless-char-display>: Doc fix.
 +
 +      * dispextern.h (enum glyphless_display_method): Rename
 +      GLYPHLESS_DISPLAY_HEXA_CODE to GLYPHLESS_DISPLAY_HEX_CODE.  All
 +      users changed.
 +
 +      * term.c (append_glyphless_glyph, produce_glyphless_glyph): Fix
 +      comments.
 +      (produce_glyphless_glyph): Enclose "U+nnnn" and "empty box"
 +      whitespace in "[]", to simulate a box.  Don't use uninitialized
 +      variable `width'.
  
 -2010-11-04  Jan Djärv  <jan.h.d@swipnet.se>
 +2010-11-11  Julien Danjou  <julien@danjou.info>
 +
 +      * xsettings.c (init_xsettings): Use already fetch atoms.
 +
 +      * xsmfns.c (create_client_leader_window): Use SM_CLIENT_ID atom
 +      from dpyinfo.
 +
 +      * xselect.c (Fx_send_client_event): Split and create
 +      x_send_client_event.
 +
 +      * lisp.h: Do not EXFUN Fx_send_client_event.
 +
 +      * xterm.c (x_set_frame_alpha): Use _NET_WM_WINDOW_OPACITY atom
 +      from dpyinfo.
 +      (wm_supports): Use atoms from dpyinfo.
 +      (do_ewmh_fullscreen): Use atoms from dpyinfo.
 +      (x_ewmh_activate_frame): Use atoms from dpyinfo.
 +      (xembed_set_info): Use atoms from dpyinfo.
 +      (x_term_init): Fetch _XEMBED_INFO, _NET_SUPPORTED,
 +      _NET_SUPPORTING_WM_CHECK, _NET_WM_WINDOW_OPACITY and
 +      _NET_ACTIVE_WINDOW, XSETTINGS  atoms.
 +      Get all atoms in one round-trip.
 +      (set_wm_state): Use x_send_client_event rather than
 +      Fx_send_client_event, using Atom directly.
 +      (x_ewmh_activate_frame): Ditto.
 +      (x_set_sticky): Pass atoms to set_wm_state.
 +      (do_ewmh_fullscreen): Ditto.
 +
 +
 +      * xterm.h (x_display_info): Add Xatom_net_supported,
 +      Xatom_net_supporting_wm_check, Xatom_net_active_window,
 +      Xatom_net_wm_window_opacity, Xatom_XEMBED_INFO, SM_CLIENT_ID.
 +
 +      * xfns.c (Fx_show_tip): Fix typo in docstring.
 +
 +2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * cmds.c (Fself_insert_command): Don't call XFASTINT without checking
 +      it's not negative.
 +
 +2010-11-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 +
 +      * font.c (font_filter_properties): Add const to array elements of
 +      properties args.
 +
 +      * font.h (font_filter_properties): Likewise.
 +
 +      * ftfont.c (ftfont_booleans, ftfont_non_booleans): Add const to array
 +      elements.
 +
 +      * w32font.c (w32font_booleans, w32font_non_booleans): Likewise.
 +
 +2010-11-10  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      * dbusbind.c (QCdbus_type_unix_fd): New Lisp object.
 +      (XD_BASIC_DBUS_TYPE, xd_symbol_to_dbus_type, xd_signature)
 +      (xd_append_arg, xd_retrieve_arg): Support DBUS_TYPE_UNIX_FD.
 +      (Fdbus_call_method): Add DBUS_TYPE_UNIX_FD type mapping to doc string.
 +      (syms_of_dbusbind): Initialize QCdbus_type_unix_fd).
 +
 +2010-11-10  Glenn Morris  <rgm@gnu.org>
 +
 +      * emacs.c (syms_of_emacs) <system-type>: Doc fix.
 +
 +2010-11-09  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * xfns.c (x_real_positions): Fix declaration-after-statement problem.
 +
 +2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * image.c (free_image): Don't garbage the frame here, since this
 +      function can be called while redisplaying (Bug#7210).
 +      (uncache_image): Garbage the frame here (Bug#6426).
 +
 +2010-11-09  Jan Djärv  <jan.h.d@swipnet.se>
  
        * xfns.c (x_real_positions): Only use _NET_FRAME_EXTENTS if our
        parent is the root window.  Check this after traversing window tree.
diff --cc src/config.in
@@@ -279,21 -289,12 +279,24 @@@ along with GNU Emacs.  If not, see <htt
  /* Define to 1 if you have the `gtk_main' function. */
  #undef HAVE_GTK_MAIN
  
 -/* Define to 1 if GTK can handle more than one display. */
 -#undef HAVE_GTK_MULTIDISPLAY
 +/* Define to 1 if you have the `gtk_orientable_set_orientation' function. */
 +#undef HAVE_GTK_ORIENTABLE_SET_ORIENTATION
 +
 +/* Define to 1 if you have the `gtk_widget_get_mapped' function. */
 +#undef HAVE_GTK_WIDGET_GET_MAPPED
 +
 +/* Define to 1 if you have the `gtk_widget_get_sensitive' function. */
 +#undef HAVE_GTK_WIDGET_GET_SENSITIVE
 +
 +/* Define to 1 if you have the `gtk_widget_get_window' function. */
 +#undef HAVE_GTK_WIDGET_GET_WINDOW
 +
 +/* Define to 1 if you have the `gtk_widget_set_has_window' function. */
 +#undef HAVE_GTK_WIDGET_SET_HAS_WINDOW
  
+ /* Define to 1 if you have the `g_type_init' function. */
+ #undef HAVE_G_TYPE_INIT
  /* Define to 1 if netdb.h declares h_errno. */
  #undef HAVE_H_ERRNO
  
diff --cc src/keyboard.c
Simple merge
diff --cc src/lread.c
@@@ -966,8 -1007,13 +966,12 @@@ Loading a file records its definitions
  `require' calls, in an element of `load-history' whose
  car is the file name loaded.  See `load-history'.
  
+ While the file is in the process of being loaded, the variable
+ `load-in-progress' is non-nil and the variable `load-file-name'
+ is bound to the file's name.
  Return t if the file exists and loads successfully.  */)
 -     (file, noerror, nomessage, nosuffix, must_suffix)
 -     Lisp_Object file, noerror, nomessage, nosuffix, must_suffix;
 +  (Lisp_Object file, Lisp_Object noerror, Lisp_Object nomessage, Lisp_Object nosuffix, Lisp_Object must_suffix)
  {
    register FILE *stream;
    register int fd = -1;
diff --cc src/xsettings.c
@@@ -622,12 -557,15 +622,14 @@@ xft_settings_event (struct x_display_in
  
  
  static void
 -init_gconf ()
 +init_gconf (void)
  {
  #if defined (HAVE_GCONF) && defined (HAVE_XFT)
 -  int i;
    char *s;
  
+ #ifdef HAVE_G_TYPE_INIT
    g_type_init ();
+ #endif
    gconf_client = gconf_client_get_default ();
    s = gconf_client_get_string (gconf_client, SYSTEM_MONO_FONT, NULL);
    if (s)