Merge from emacs-23
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 9 Nov 2010 20:07:10 +0000 (15:07 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 9 Nov 2010 20:07:10 +0000 (15:07 -0500)
31 files changed:
1  2 
.dir-locals.el
ChangeLog
configure
configure.in
doc/emacs/ChangeLog
doc/misc/ChangeLog
etc/NEWS.23
lisp/ChangeLog
lisp/Makefile.in
lisp/dired.el
lisp/emacs-lisp/cl-loaddefs.el
lisp/files.el
lisp/international/mule-cmds.el
lisp/locate.el
lisp/ls-lisp.el
lisp/minibuffer.el
lisp/net/tramp.el
lisp/progmodes/python.el
lisp/progmodes/tcl.el
lisp/progmodes/verilog-mode.el
lisp/server.el
lisp/vc/vc-mtn.el
oldXMenu/ChangeLog
oldXMenu/XDelAssoc.c
oldXMenu/XMakeAssoc.c
src/ChangeLog
src/config.in
src/image.c
src/xfns.c
src/xterm.c
src/xterm.h

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")))
+  (log-edit-mode . ((log-edit-rewrite-fixes
+                     " (bug#\\([0-9]+\\))" . "debbugs:\\1")))
   (change-log-mode . ((add-log-time-zone-rule . t)
                     (fill-column . 74)
                     (bug-reference-url-format . "http://debbugs.gnu.org/%s")
diff --cc ChangeLog
+++ b/ChangeLog
@@@ -1,31 -1,18 +1,39 @@@
 -2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
++2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * .dir-locals.el (log-edit-mode): Set log-edit-rewrite-fixes.
 -2010-11-04  Michael Albinus  <michael.albinus@gmx.de>
++2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
+       * configure.in: Don't write a warning for D-Bus anymore.
 -2010-11-03  Glenn Morris  <rgm@gnu.org>
 +2010-11-06  Andreas Schwab  <schwab@linux-m68k.org>
  
 -      * configure.in (CRT_DIR): New output variable.
 -      (--with-crt-dir): New option.  (Bug#5655)
 -      (HAVE_LIB64_DIR): Remove.
 +      * configure.in: Fix indentation.
  
 -2010-10-12  Glenn Morris  <rgm@gnu.org>
 +2010-10-31  Ken Brown  <kbrown@cornell.edu>
 +
 +      * configure.in (checking whether localtime caches TZ): Use
 +      unsetenv instead of modifying environment directly.
 +
 +2010-10-25  Andreas Schwab  <schwab@linux-m68k.org>
 +
 +      * configure.in (checking for -znocombreloc): Use AC_LANG_PROGRAM
 +      to avoid warning.
 +
 +2010-10-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 +
 +      * configure.in: Remove the BROKEN annotation from gnutls.
 +
 +2010-10-22  Glenn Morris  <rgm@gnu.org>
 +
 +      * make-dist: Avoid listing .el files twice.  Don't try to run
 +      autoconf if --no-update.
 +
 +2010-10-20  Glenn Morris  <rgm@gnu.org>
 +
 +      * make-dist: No longer create lisp/MANIFEST.
 +
 +2010-10-14  Glenn Morris  <rgm@gnu.org>
  
        * BUGS, INSTALL.BZR, README: Updates.
  
diff --cc configure
+++ b/configure
@@@ -1,6 -1,6 +1,6 @@@
  #! /bin/sh
  # Guess values for system-dependent variables and create Makefiles.
- # Generated by GNU Autoconf 2.68 for emacs 24.0.50.
 -# Generated by GNU Autoconf 2.67 for emacs 23.2.90.
++# Generated by GNU Autoconf 2.67 for emacs 24.0.50.
  #
  #
  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  test -n "$ac_init_help" && exit $ac_status
  if $ac_init_version; then
    cat <<\_ACEOF
 -emacs configure 23.2.90
 +emacs configure 24.0.50
- generated by GNU Autoconf 2.68
+ generated by GNU Autoconf 2.67
  
  Copyright (C) 2010 Free Software Foundation, Inc.
  This configure script is free software; the Free Software Foundation
@@@ -1973,35 -1910,6 +1965,35 @@@ $as_echo "$ac_res" >&6; 
  
  } # ac_fn_c_check_decl
  
- if eval \${$3+:} false; then :
 +# ac_fn_c_check_header_preproc LINENO HEADER VAR
 +# ----------------------------------------------
 +# Tests whether HEADER is present, setting the cache variable VAR accordingly.
 +ac_fn_c_check_header_preproc ()
 +{
 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 +$as_echo_n "checking for $2... " >&6; }
-   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
++if eval "test \"\${$3+set}\"" = set; then :
 +  $as_echo_n "(cached) " >&6
 +else
 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 +/* end confdefs.h.  */
 +#include <$2>
 +_ACEOF
 +if ac_fn_c_try_cpp "$LINENO"; then :
 +  eval "$3=yes"
 +else
 +  eval "$3=no"
 +fi
 +rm -f conftest.err conftest.i conftest.$ac_ext
 +fi
 +eval ac_res=\$$3
 +             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 +$as_echo "$ac_res" >&6; }
++  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 +
 +} # ac_fn_c_check_header_preproc
 +
  # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
  # ----------------------------------------------------
  # Tries to find if the field MEMBER exists in type AGGR, after including
@@@ -2183,8 -2091,8 +2175,8 @@@ cat >config.log <<_ACEO
  This file contains any messages produced by compilers while
  running configure, to aid debugging if configure makes a mistake.
  
 -It was created by emacs $as_me 23.2.90, which was
 +It was created by emacs $as_me 24.0.50, which was
- generated by GNU Autoconf 2.68.  Invocation command line was
+ generated by GNU Autoconf 2.67.  Invocation command line was
  
    $ $0 $@
  
@@@ -2442,7 -2350,7 +2434,7 @@@ $as_echo "$as_me: loading site script $
        || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  as_fn_error $? "failed to load site script $ac_site_file
--See \`config.log' for more details" "$LINENO" 5; }
++See \`config.log' for more details" "$LINENO" 5 ; }
    fi
  done
  
        stringfreelist) ac_gc_check_string_free_list=1 ;;
        xmallocoverrun) ac_xmalloc_overrun=1 ;;
        conslist)       ac_gc_check_cons_list=1 ;;
--      *)      as_fn_error $? "unknown check category $check" "$LINENO" 5 ;;
++      *)      as_fn_error $? "unknown check category $check" "$LINENO" 5  ;;
        esac
  done
  IFS="$ac_save_IFS"
  $as_echo "$ac_cv_build" >&6; }
  case $ac_cv_build in
  *-*-*) ;;
--*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
++*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
  esac
  build=$ac_cv_build
  ac_save_IFS=$IFS; IFS='-'
  $as_echo "$ac_cv_host" >&6; }
  case $ac_cv_host in
  *-*-*) ;;
--*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
++*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
  esac
  host=$ac_cv_host
  ac_save_IFS=$IFS; IFS='-'
  test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  as_fn_error $? "no acceptable C compiler found in \$PATH
--See \`config.log' for more details" "$LINENO" 5; }
++See \`config.log' for more details" "$LINENO" 5 ; }
  
  # Provide some information about the compiler.
  $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@@ -3921,7 -3798,7 +3913,7 @@@ sed 's/^/| /' conftest.$ac_ext >&
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  as_fn_error 77 "C compiler cannot create executables
--See \`config.log' for more details" "$LINENO" 5; }
++See \`config.log' for more details" "$LINENO" 5 ; }
  else
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  $as_echo "yes" >&6; }
@@@ -3964,7 -3841,7 +3956,7 @@@ els
    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  as_fn_error $? "cannot compute suffix of executables: cannot compile and link
--See \`config.log' for more details" "$LINENO" 5; }
++See \`config.log' for more details" "$LINENO" 5 ; }
  fi
  rm -f conftest conftest$ac_cv_exeext
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
@@@ -4023,7 -3900,7 +4015,7 @@@ $as_echo "$ac_try_echo"; } >&
  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  as_fn_error $? "cannot run C compiled programs.
  If you meant to cross compile, use \`--host'.
--See \`config.log' for more details" "$LINENO" 5; }
++See \`config.log' for more details" "$LINENO" 5 ; }
      fi
    fi
  fi
@@@ -4075,7 -3952,7 +4067,7 @@@ sed 's/^/| /' conftest.$ac_ext >&
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  as_fn_error $? "cannot compute suffix of object files: cannot compile
--See \`config.log' for more details" "$LINENO" 5; }
++See \`config.log' for more details" "$LINENO" 5 ; }
  fi
  rm -f conftest.$ac_cv_objext conftest.$ac_ext
  fi
@@@ -4493,7 -4374,7 +4485,7 @@@ els
    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
--See \`config.log' for more details" "$LINENO" 5; }
++See \`config.log' for more details" "$LINENO" 5 ; }
  fi
  
  ac_ext=c
@@@ -5082,7 -4908,7 +5074,7 @@@ els
    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
--See \`config.log' for more details" "$LINENO" 5; }
++See \`config.log' for more details" "$LINENO" 5 ; }
  fi
  
  ac_ext=c
  fi
  
  fi
- if test "x$ac_cv_have_decl_i386" = xyes; then :
 +
 +## Although we're running on an amd64 kernel, we're actually compiling for
 +## the x86 architecture.  The user should probably have provided an
 +## explicit --build to `configure', but if everything else than the kernel
 +## is running in i386 mode, we can help them out.
 +if test "$machine" = "amdx86-64"; then
 +  ac_fn_c_check_decl "$LINENO" "i386" "ac_cv_have_decl_i386" "$ac_includes_default"
++if test "x$ac_cv_have_decl_i386" = x""yes; then :
 +
 +fi
 +
 +  if test "$ac_cv_have_decl_i386" = "yes"; then
 +    canonical=`echo "$canonical" | sed -e 's/^amd64/i386/' -e 's/^x86_64/i386/'`
 +    machine=intel386
 +    machfile="m/${machine}.h"
 +  fi
 +fi
 +
  # Extract the first word of "install-info", so it can be a program name with args.
  set dummy install-info; ac_word=$2
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  rm -f core conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
  
 -#### Extract some information from the operating system and machine files.
 -
 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the machine- and system-dependent files to find out
 - - which libraries the lib-src programs will want, and
 - - whether the GNU malloc routines are usable..." >&5
 -$as_echo "$as_me: checking the machine- and system-dependent files to find out
 - - which libraries the lib-src programs will want, and
 - - whether the GNU malloc routines are usable..." >&6;}
 -
 -### First figure out CFLAGS (which we use for running the compiler here)
 -### and REAL_CFLAGS (which we use for real compilation).
 -### The two are the same except on a few systems, where they are made
 -### different to work around various lossages.  For example,
 -### GCC 2.5 on GNU/Linux needs them to be different because it treats -g
 -### as implying static linking.
 -
 -### If the CFLAGS env var is specified, we use that value
 -### instead of the default.
 -
 -### It's not important that this name contain the PID; you can't run
 -### two configures in the same directory and have anything work
 -### anyway.
 -tempcname="conftest.c"
 -
 -echo '
 -#include "'${srcdir}'/src/'${opsysfile}'"
 -#include "'${srcdir}'/src/'${machfile}'"
 -#ifndef LIBS_MACHINE
 -#define LIBS_MACHINE
 -#endif
 -#ifndef LIBS_SYSTEM
 -#define LIBS_SYSTEM
 -#endif
 -#ifndef C_SWITCH_SYSTEM
 -#define C_SWITCH_SYSTEM
 -#endif
 -#ifndef C_SWITCH_MACHINE
 -#define C_SWITCH_MACHINE
 -#endif
 -configure___ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM
 -configure___ c_switch_system=C_SWITCH_SYSTEM
 -configure___ c_switch_machine=C_SWITCH_MACHINE
  
 -#ifndef LIB_X11_LIB
 -#define LIB_X11_LIB -lX11
 -#endif
 +# The value of CPP is a quoted variable reference, so we need to do this
 +# to get its actual value...
 +CPP=`eval "echo $CPP"`
  
 -#ifndef LIBX11_SYSTEM
 -#define LIBX11_SYSTEM
 -#endif
 -configure___ LIBX=LIB_X11_LIB LIBX11_SYSTEM
  
 -#ifdef UNEXEC
 -configure___ unexec=UNEXEC
 -#else
 -configure___ unexec=unexec.o
 -#endif
 +CANNOT_DUMP=no
 +case "$opsys" in
 +  your-opsys-here)
 +   CANNOT_DUMP=yes
  
 -#ifdef SYSTEM_MALLOC
 -configure___ system_malloc=yes
 -#else
 -configure___ system_malloc=no
 -#endif
 +$as_echo "#define CANNOT_DUMP 1" >>confdefs.h
  
 -#ifdef USE_MMAP_FOR_BUFFERS
 -configure___ use_mmap_for_buffers=yes
 -#else
 -configure___ use_mmap_for_buffers=no
 -#endif
 +  ;;
 +esac
  
 -#ifndef C_DEBUG_SWITCH
 -#define C_DEBUG_SWITCH -g
 -#endif
  
 -#ifndef C_OPTIMIZE_SWITCH
 -#ifdef __GNUC__
 -#define C_OPTIMIZE_SWITCH -O2
 -#else
 -#define C_OPTIMIZE_SWITCH -O
 -#endif
 -#endif
  
 -#ifndef C_WARNINGS_SWITCH
 -#define C_WARNINGS_SWITCH ${C_WARNINGS_SWITCH}
 -#endif
 +UNEXEC_OBJ=unexelf.o
 +case "$opsys" in
 +  # MSDOS uses unexcoff.o
 +  # MSWindows uses unexw32.o
 +  aix4-2)
 +   UNEXEC_OBJ=unexaix.o
 +   ;;
 +  cygwin)
 +   UNEXEC_OBJ=unexcw.o
 +   ;;
 +  darwin)
 +   UNEXEC_OBJ=unexmacosx.o
 +   ;;
 +  hpux10-20 | hpux11)
 +   UNEXEC_OBJ=unexhp9k800.o
 +   ;;
 +  sol2-10)
 +   # Use the Solaris dldump() function, called from unexsol.c, to dump
 +   # emacs, instead of the generic ELF dump code found in unexelf.c.
 +   # The resulting binary has a complete symbol table, and is better
 +   # for debugging and other observability tools (debuggers, pstack, etc).
 +   #
 +   # If you encounter a problem using dldump(), please consider sending
 +   # a message to the OpenSolaris tools-linking mailing list:
 +   #      http://mail.opensolaris.org/mailman/listinfo/tools-linking
 +   #
 +   # It is likely that dldump() works with older Solaris too, but this has
 +   # not been tested, so for now this change is for Solaris 10 or newer.
 +   UNEXEC_OBJ=unexsol.o
 +   ;;
 +esac
  
 -#ifndef LD_SWITCH_MACHINE
 -#define LD_SWITCH_MACHINE
 -#endif
 +LD_SWITCH_SYSTEM=
 +case "$opsys" in
 +  freebsd)
 +   ## Let `ld' find image libs and similar things in /usr/local/lib.
 +   ## The system compiler, GCC, has apparently been modified to not
 +   ## look there, contrary to what a stock GCC would do.
 +   LD_SWITCH_SYSTEM=-L/usr/local/lib
 +   ;;
  
 -#ifndef LD_SWITCH_SYSTEM
 -#define LD_SWITCH_SYSTEM
 -#endif
 +  gnu-linux)
 +   ## cpp test was "ifdef __mips__", but presumably this is equivalent...
 +   test "$machine" = "mips" && LD_SWITCH_SYSTEM="-G 0"
 +   ;;
  
 -#ifndef LD_SWITCH_X_SITE_AUX
 -#define LD_SWITCH_X_SITE_AUX
 -#endif
 +  netbsd)
 +   LD_SWITCH_SYSTEM="-Wl,-rpath,/usr/pkg/lib -L/usr/pkg/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib"
 +   ;;
  
 -configure___ ld_switch_system=LD_SWITCH_SYSTEM
 -configure___ ld_switch_machine=LD_SWITCH_MACHINE
 +  openbsd)
 +   ## Han Boetes <han@mijncomputer.nl> says this is necessary,
 +   ## otherwise Emacs dumps core on elf systems.
 +   LD_SWITCH_SYSTEM="-Z"
 +   ;;
 +esac
  
 -#ifdef THIS_IS_CONFIGURE
  
 -/* Get the CFLAGS for tests in configure.  */
 -#ifdef __GNUC__
 -configure___ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
 -#else
 -configure___ CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
 -#endif
 +ac_link="$ac_link $LD_SWITCH_SYSTEM"
 +
 +## This setting of LD_SWITCH_SYSTEM references LD_SWITCH_X_SITE_AUX,
 +## which has not been defined yet.  When this was handled with cpp,
 +## it was expanded to null when configure sourced the s/*.h file.
 +## Thus LD_SWITCH_SYSTEM had different values in configure and the Makefiles.
 +## FIXME it would be cleaner to put this in LD_SWITCH_SYSTEM_TEMACS
 +## (or somesuch), but because it is supposed to go at the _front_
 +## of LD_SWITCH_SYSTEM, we cannot do that in exactly the same way.
 +## Compare with the gnu-linux case below, which added to the end
 +## of LD_SWITCH_SYSTEM, and so can instead go at the front of
 +## LD_SWITCH_SYSTEM_TEMACS.
 +case "$opsys" in
 +  netbsd|openbsd)
 +   ## _AUX_RPATH is like _AUX, but uses -rpath instead of -R.
 +   LD_SWITCH_SYSTEM="\$(LD_SWITCH_X_SITE_AUX_RPATH) $LD_SWITCH_SYSTEM" ;;
 +esac
  
 -#else /* not THIS_IS_CONFIGURE */
  
 -/* Get the CFLAGS for real compilation.  */
 -#ifdef __GNUC__
 -configure___ REAL_CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH C_WARNINGS_SWITCH ${PROFILING_CFLAGS} '${SPECIFIED_CFLAGS}'
 -#else
 -configure___ REAL_CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
 -#endif
 +C_SWITCH_MACHINE=
 +if test "$machine" = "alpha"; then
 +  ac_fn_c_check_decl "$LINENO" "__ELF__" "ac_cv_have_decl___ELF__" "$ac_includes_default"
- if test "x$ac_cv_have_decl___ELF__" = xyes; then :
++if test "x$ac_cv_have_decl___ELF__" = x""yes; then :
  
 -#endif /* not THIS_IS_CONFIGURE */
 -' > ${tempcname}
 -
 -LDFLAGS="${LDFLAGS} ${PROFILING_LDFLAGS}"
 +fi
  
 -# The value of CPP is a quoted variable reference, so we need to do this
 -# to get its actual value...
 -CPP=`eval "echo $CPP"`
 -eval `${CPP} -Isrc ${tempcname} \
 -       | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`
 -if test "x$SPECIFIED_CFLAGS" = x; then
 -  eval `${CPP} -Isrc -DTHIS_IS_CONFIGURE ${tempcname} \
 -       | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`
 -else
 -  REAL_CFLAGS="$CFLAGS"
 +  if test "$ac_cv_have_decl___ELF__" = "yes"; then
 +    ## With ELF, make sure that all common symbols get allocated to in the
 +    ## data section.  Otherwise, the dump of temacs may miss variables in
 +    ## the shared library that have been initialized.  For example, with
 +    ## GNU libc, __malloc_initialized would normally be resolved to the
 +    ## shared library's .bss section, which is fatal.
 +    if test "x$GCC" = "xyes"; then
 +      C_SWITCH_MACHINE="-fno-common"
 +    else
 +      as_fn_error $? "What gives?  Fix me if DEC Unix supports ELF now." "$LINENO" 5
 +    fi
 +  else
 +    UNEXEC_OBJ=unexalpha.o
 +  fi
  fi
 -rm ${tempcname}
  
 -ac_link="$ac_link $ld_switch_machine $ld_switch_system"
 +
 +
 +
 +C_SWITCH_SYSTEM=
 +## Some programs in src produce warnings saying certain subprograms
 +## are too complex and need a MAXMEM value greater than 2000 for
 +## additional optimization.  --nils@exp-math.uni-essen.de
 +test "$opsys" = "aix4.2" && test "x$GCC" != "xyes" && \
 +  C_SWITCH_SYSTEM="-ma -qmaxmem=4000"
 +## gnu-linux might need -D_BSD_SOURCE on old libc5 systems.
 +## It is redundant in glibc2, since we define _GNU_SOURCE.
 +
 +
 +
 +LIBS_SYSTEM=
 +case "$opsys" in
 +  ## IBM's X11R5 uses -lIM and -liconv in AIX 3.2.2.
 +  aix4-2) LIBS_SYSTEM="-lrts -lIM -liconv" ;;
 +
 +  freebsd) LIBS_SYSTEM="-lutil" ;;
 +
 +  hpux*) LIBS_SYSTEM="-l:libdld.sl" ;;
 +
 +  sol2*) LIBS_SYSTEM="-lsocket -lnsl -lkstat" ;;
 +
 +  ## Motif needs -lgen.
 +  unixware) LIBS_SYSTEM="-lsocket -lnsl -lelf -lgen" ;;
 +esac
 +
 +
  
  ### Make sure subsequent tests use flags consistent with the build flags.
  
  
  fi
  
- if ${ac_cv_c_bigendian+:} false; then :
 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
 +$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
++if test "${ac_cv_c_bigendian+set}" = set; then :
 +  $as_echo_n "(cached) " >&6
 +else
 +  ac_cv_c_bigendian=unknown
 +    # See if we're dealing with a universal compiler.
 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 +/* end confdefs.h.  */
 +#ifndef __APPLE_CC__
 +             not a universal capable compiler
 +           #endif
 +           typedef int dummy;
 +
 +_ACEOF
 +if ac_fn_c_try_compile "$LINENO"; then :
 +
 +      # Check for potential -arch flags.  It is not universal unless
 +      # there are at least two -arch flags with different values.
 +      ac_arch=
 +      ac_prev=
 +      for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
 +       if test -n "$ac_prev"; then
 +         case $ac_word in
 +           i?86 | x86_64 | ppc | ppc64)
 +             if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
 +               ac_arch=$ac_word
 +             else
 +               ac_cv_c_bigendian=universal
 +               break
 +             fi
 +             ;;
 +         esac
 +         ac_prev=
 +       elif test "x$ac_word" = "x-arch"; then
 +         ac_prev=arch
 +       fi
 +       done
 +fi
 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 +    if test $ac_cv_c_bigendian = unknown; then
 +      # See if sys/param.h defines the BYTE_ORDER macro.
 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 +/* end confdefs.h.  */
 +#include <sys/types.h>
 +           #include <sys/param.h>
 +
 +int
 +main ()
 +{
 +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
 +                   && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
 +                   && LITTLE_ENDIAN)
 +            bogus endian macros
 +           #endif
 +
 +  ;
 +  return 0;
 +}
 +_ACEOF
 +if ac_fn_c_try_compile "$LINENO"; then :
 +  # It does; now see whether it defined to BIG_ENDIAN or not.
 +       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 +/* end confdefs.h.  */
 +#include <sys/types.h>
 +              #include <sys/param.h>
 +
 +int
 +main ()
 +{
 +#if BYTE_ORDER != BIG_ENDIAN
 +               not big endian
 +              #endif
 +
 +  ;
 +  return 0;
 +}
 +_ACEOF
 +if ac_fn_c_try_compile "$LINENO"; then :
 +  ac_cv_c_bigendian=yes
 +else
 +  ac_cv_c_bigendian=no
 +fi
 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 +fi
 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 +    fi
 +    if test $ac_cv_c_bigendian = unknown; then
 +      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 +/* end confdefs.h.  */
 +#include <limits.h>
 +
 +int
 +main ()
 +{
 +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
 +            bogus endian macros
 +           #endif
 +
 +  ;
 +  return 0;
 +}
 +_ACEOF
 +if ac_fn_c_try_compile "$LINENO"; then :
 +  # It does; now see whether it defined to _BIG_ENDIAN or not.
 +       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 +/* end confdefs.h.  */
 +#include <limits.h>
 +
 +int
 +main ()
 +{
 +#ifndef _BIG_ENDIAN
 +               not big endian
 +              #endif
 +
 +  ;
 +  return 0;
 +}
 +_ACEOF
 +if ac_fn_c_try_compile "$LINENO"; then :
 +  ac_cv_c_bigendian=yes
 +else
 +  ac_cv_c_bigendian=no
 +fi
 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 +fi
 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 +    fi
 +    if test $ac_cv_c_bigendian = unknown; then
 +      # Compile a test program.
 +      if test "$cross_compiling" = yes; then :
 +  # Try to guess by grepping values from an object file.
 +       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 +/* end confdefs.h.  */
 +short int ascii_mm[] =
 +                { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 +              short int ascii_ii[] =
 +                { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 +              int use_ascii (int i) {
 +                return ascii_mm[i] + ascii_ii[i];
 +              }
 +              short int ebcdic_ii[] =
 +                { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 +              short int ebcdic_mm[] =
 +                { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 +              int use_ebcdic (int i) {
 +                return ebcdic_mm[i] + ebcdic_ii[i];
 +              }
 +              extern int foo;
 +
 +int
 +main ()
 +{
 +return use_ascii (foo) == use_ebcdic (foo);
 +  ;
 +  return 0;
 +}
 +_ACEOF
 +if ac_fn_c_try_compile "$LINENO"; then :
 +  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
 +            ac_cv_c_bigendian=yes
 +          fi
 +          if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
 +            if test "$ac_cv_c_bigendian" = unknown; then
 +              ac_cv_c_bigendian=no
 +            else
 +              # finding both strings is unlikely to happen, but who knows?
 +              ac_cv_c_bigendian=unknown
 +            fi
 +          fi
 +fi
 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 +else
 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 +/* end confdefs.h.  */
 +$ac_includes_default
 +int
 +main ()
 +{
 +
 +           /* Are we little or big endian?  From Harbison&Steele.  */
 +           union
 +           {
 +             long int l;
 +             char c[sizeof (long int)];
 +           } u;
 +           u.l = 1;
 +           return u.c[sizeof (long int) - 1] == 1;
 +
 +  ;
 +  return 0;
 +}
 +_ACEOF
 +if ac_fn_c_try_run "$LINENO"; then :
 +  ac_cv_c_bigendian=no
 +else
 +  ac_cv_c_bigendian=yes
 +fi
 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
 +fi
 +
 +    fi
 +fi
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
 +$as_echo "$ac_cv_c_bigendian" >&6; }
 + case $ac_cv_c_bigendian in #(
 +   yes)
 +     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
 +;; #(
 +   no)
 +      ;; #(
 +   universal)
 +
 +$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
  
-  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
 +     ;; #(
 +   *)
 +     as_fn_error $? "unknown endianness
++ presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5  ;;
 + esac
  
  
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
@@@ -7445,8 -6940,8 +7437,8 @@@ if test "x$with_x" = xno; the
    have_x=disabled
  else
    case $x_includes,$x_libraries in #(
--    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
-     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
++    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
+     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
    $as_echo_n "(cached) " >&6
  else
    # One or both of the vars are not set, and there is no cached value.
@@@ -7710,26 -7199,19 +7702,26 @@@ if test "${with_ns}" != no; the
    elif test -f $GNUSTEP_CONFIG_FILE; then
       NS_IMPL_GNUSTEP=yes
       ns_appdir=`pwd`/nextstep/Emacs.app
 -     ns_appbindir=`pwd`/nextstep/Emacs.app
 -     ns_appresdir=`pwd`/nextstep/Emacs.app/Resources
 +     ns_appbindir=${ns_appdir}
 +     ns_appresdir=${ns_appdir}/Resources
       ns_appsrc=${srcdir}/nextstep/GNUstep/Emacs.base
 -          GNUSTEP_MAKEFILES="$(. $GNUSTEP_CONFIG_FILE; echo $GNUSTEP_MAKEFILES)"
 -     GNUSTEP_SYSTEM_HEADERS="$(. $GNUSTEP_CONFIG_FILE; echo $GNUSTEP_SYSTEM_HEADERS)"
 +          GNUSTEP_SYSTEM_HEADERS="$(. $GNUSTEP_CONFIG_FILE; echo $GNUSTEP_SYSTEM_HEADERS)"
       GNUSTEP_SYSTEM_LIBRARIES="$(. $GNUSTEP_CONFIG_FILE; echo $GNUSTEP_SYSTEM_LIBRARIES)"
 -     CPPFLAGS="$CPPFLAGS -I${GNUSTEP_SYSTEM_HEADERS}"
 -     CFLAGS="$CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}"
 -     REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}"
 -     LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}"
 +          GNUSTEP_LOCAL_HEADERS="$(. $GNUSTEP_CONFIG_FILE; echo $GNUSTEP_LOCAL_HEADERS)"
 +     GNUSTEP_LOCAL_LIBRARIES="$(. $GNUSTEP_CONFIG_FILE; echo $GNUSTEP_LOCAL_LIBRARIES)"
 +     test "x${GNUSTEP_LOCAL_HEADERS}" != "x" && \
 +       GNUSTEP_LOCAL_HEADERS="-I${GNUSTEP_LOCAL_HEADERS}"
 +     test "x${GNUSTEP_LOCAL_LIBRARIES}" != "x" && \
 +       GNUSTEP_LOCAL_LIBRARIES="-L${GNUSTEP_LOCAL_LIBRARIES}"
 +     CPPFLAGS="$CPPFLAGS -I${GNUSTEP_SYSTEM_HEADERS} ${GNUSTEP_LOCAL_HEADERS}"
 +     CFLAGS="$CFLAGS -I${GNUSTEP_SYSTEM_HEADERS} ${GNUSTEP_LOCAL_HEADERS}"
 +     LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES} ${GNUSTEP_LOCAL_LIBRARIES}"
 +     LIB_STANDARD=
 +     START_FILES=
 +     TEMACS_LDFLAGS2=
    fi
    ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default"
- if test "x$ac_cv_header_AppKit_AppKit_h" = xyes; then :
+ if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then :
    HAVE_NS=yes
  else
    as_fn_error $? "\`--with-ns' was specified, but the include
@@@ -8749,271 -8162,39 +8741,271 @@@ $as_echo "no" >&6; 
    fi
  
    if test $succeeded = yes; then
 -     pkg_check_gtk=yes
 +     HAVE_IMAGEMAGICK=yes
    else
 -     pkg_check_gtk=no
 +     :
    fi
  
 -  if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then
 -     as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5
 -  fi
 -fi
  
  
 -if test x"$pkg_check_gtk" = xyes; then
  
 +    if test $HAVE_IMAGEMAGICK = yes; then
  
 +$as_echo "#define HAVE_IMAGEMAGICK 1" >>confdefs.h
  
 -  C_SWITCH_X_SITE="$C_SWITCH_X_SITE $GTK_CFLAGS"
 -  CFLAGS="$CFLAGS $GTK_CFLAGS"
 -  LIBS="$GTK_LIBS $LIBS"
 -    GTK_COMPILES=no
 -  for ac_func in gtk_main
 +      CFLAGS="$CFLAGS $IMAGEMAGICK_CFLAGS"
 +      LIBS="$IMAGEMAGICK_LIBS $LIBS"
 +      for ac_func in MagickExportImagePixels
  do :
 -  ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main"
 -if test "x$ac_cv_func_gtk_main" = x""yes; then :
 +  ac_fn_c_check_func "$LINENO" "MagickExportImagePixels" "ac_cv_func_MagickExportImagePixels"
- if test "x$ac_cv_func_MagickExportImagePixels" = xyes; then :
++if test "x$ac_cv_func_MagickExportImagePixels" = x""yes; then :
    cat >>confdefs.h <<_ACEOF
 -#define HAVE_GTK_MAIN 1
 +#define HAVE_MAGICKEXPORTIMAGEPIXELS 1
  _ACEOF
 - GTK_COMPILES=yes
 +
 +fi
 +done
 +
 +    fi
 +  fi
 +fi
 +
 +
 +HAVE_GTK=no
 +if test "${with_gtk3}" = "yes"; then
 +  GLIB_REQUIRED=2.6
 +  GTK_REQUIRED=2.90
 +  GTK_MODULES="gtk+-3.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED"
 +
 +
 +  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 ${ac_cv_path_PKG_CONFIG+:} false; then :
++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
 +     pkg_check_gtk=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 $GTK_MODULES" >&5
 +$as_echo_n "checking for $GTK_MODULES... " >&6; }
 +
 +        if $PKG_CONFIG --exists "$GTK_MODULES" 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 GTK_CFLAGS" >&5
 +$as_echo_n "checking GTK_CFLAGS... " >&6; }
 +            GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'`
 +            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
 +$as_echo "$GTK_CFLAGS" >&6; }
 +
 +            { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
 +$as_echo_n "checking GTK_LIBS... " >&6; }
 +            GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'`
 +            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
 +$as_echo "$GTK_LIBS" >&6; }
 +        else
 +            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 +$as_echo "no" >&6; }
 +            GTK_CFLAGS=""
 +            GTK_LIBS=""
 +            ## If we have a custom action on failure, don't print errors, but
 +            ## do set a variable so people can do so.
 +            GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTK_MODULES"`
 +
 +        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
 +     pkg_check_gtk=yes
 +  else
 +     pkg_check_gtk=no
 +  fi
 +
 +  if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then
 +     as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5
 +  fi
 +fi
 +
 +if test "$pkg_check_gtk" != "yes"; then
 +  HAVE_GTK=no
 +if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "maybe"; then
 +  GLIB_REQUIRED=2.6
 +  GTK_REQUIRED=2.6
 +  GTK_MODULES="gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED"
 +
 +
 +  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 ${ac_cv_path_PKG_CONFIG+:} false; then :
++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
 +     pkg_check_gtk=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 $GTK_MODULES" >&5
 +$as_echo_n "checking for $GTK_MODULES... " >&6; }
 +
 +        if $PKG_CONFIG --exists "$GTK_MODULES" 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 GTK_CFLAGS" >&5
 +$as_echo_n "checking GTK_CFLAGS... " >&6; }
 +            GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'`
 +            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
 +$as_echo "$GTK_CFLAGS" >&6; }
 +
 +            { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
 +$as_echo_n "checking GTK_LIBS... " >&6; }
 +            GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'`
 +            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
 +$as_echo "$GTK_LIBS" >&6; }
 +        else
 +            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 +$as_echo "no" >&6; }
 +            GTK_CFLAGS=""
 +            GTK_LIBS=""
 +            ## If we have a custom action on failure, don't print errors, but
 +            ## do set a variable so people can do so.
 +            GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTK_MODULES"`
 +
 +        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
 +     pkg_check_gtk=yes
 +  else
 +     pkg_check_gtk=no
 +  fi
 +
 +  if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then
 +     as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5
 +  fi
 +fi
 +fi
 +
 +GTK_OBJ=
 +if test x"$pkg_check_gtk" = xyes; then
 +
 +
 +
 +  C_SWITCH_X_SITE="$C_SWITCH_X_SITE $GTK_CFLAGS"
 +  CFLAGS="$CFLAGS $GTK_CFLAGS"
 +  LIBS="$GTK_LIBS $LIBS"
 +    GTK_COMPILES=no
 +  for ac_func in gtk_main
 +do :
 +  ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main"
- if test "x$ac_cv_func_gtk_main" = xyes; then :
++if test "x$ac_cv_func_gtk_main" = x""yes; then :
 +  cat >>confdefs.h <<_ACEOF
 +#define HAVE_GTK_MAIN 1
 +_ACEOF
 + GTK_COMPILES=yes
  fi
  done
  
    if test "${GTK_COMPILES}" != "yes"; then
      if test "$USE_X_TOOLKIT" != "maybe"; then
--      as_fn_error $? "Gtk+ wanted, but it does not compile, see config.log.  Maybe some x11-devel files missing?" "$LINENO" 5;
++      as_fn_error $? "Gtk+ wanted, but it does not compile, see config.log.  Maybe some x11-devel files missing?" "$LINENO" 5 ;
      fi
    else
      HAVE_GTK=yes
@@@ -9264,167 -8480,9 +9256,167 @@@ if test "x$ac_cv_func_dbus_watch_get_un
  #define HAVE_DBUS_WATCH_GET_UNIX_FD 1
  _ACEOF
  
 -fi
 -done
 +fi
 +done
 +
 +     DBUS_OBJ=dbusbind.o
 +   fi
 +fi
 +
 +
 +HAVE_GCONF=no
 +if test "${HAVE_X11}" = "yes" && test "${with_gconf}" = "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 ${ac_cv_path_PKG_CONFIG+:} false; then :
++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_GCONF=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 gconf-2.0 >= 2.13" >&5
 +$as_echo_n "checking for gconf-2.0 >= 2.13... " >&6; }
 +
 +        if $PKG_CONFIG --exists "gconf-2.0 >= 2.13" 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 GCONF_CFLAGS" >&5
 +$as_echo_n "checking GCONF_CFLAGS... " >&6; }
 +            GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'`
 +            { $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; }
 +        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
 +
 +   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 ${ac_cv_lib_selinux_lgetfilecon+:} false; then :
++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" = xyes; then :
++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
  
@@@ -9817,10 -8852,15 +9809,10 @@@ rm -f core conftest.err conftest.$ac_ob
  fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_motif_version_2_1" >&5
  $as_echo "$emacs_cv_motif_version_2_1" >&6; }
 -  HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
    if test $emacs_cv_motif_version_2_1 = yes; then
 -    HAVE_LIBXP=no
 -
 -$as_echo "#define HAVE_MOTIF_2_1 1" >>confdefs.h
 -
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpCreateContext in -lXp" >&5
  $as_echo_n "checking for XpCreateContext in -lXp... " >&6; }
- if ${ac_cv_lib_Xp_XpCreateContext+:} false; then :
+ if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then :
    $as_echo_n "(cached) " >&6
  else
    ac_check_lib_save_LIBS=$LIBS
@@@ -9854,10 -8894,15 +9846,10 @@@ LIBS=$ac_check_lib_save_LIB
  fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpCreateContext" >&5
  $as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; }
- if test "x$ac_cv_lib_Xp_XpCreateContext" = xyes; then :
+ if test "x$ac_cv_lib_Xp_XpCreateContext" = x""yes; then :
 -  HAVE_LIBXP=yes
 +  LIBXP=-lXp
  fi
  
 -    if test ${HAVE_LIBXP} = yes; then
 -
 -$as_echo "#define HAVE_LIBXP 1" >>confdefs.h
 -
 -    fi
    else
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LessTif where some systems put it" >&5
  $as_echo_n "checking for LessTif where some systems put it... " >&6; }
@@@ -10915,13 -9946,11 +10907,13 @@@ $as_echo "#define HAVE_TIFF 1" >>confde
    fi
  fi
  
 +
  ### Use -lgif or -lungif if available, unless `--with-gif=no'.
  HAVE_GIF=no
 +LIBGIF=
  if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then
    ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default"
- if test "x$ac_cv_header_gif_lib_h" = xyes; then :
+ if test "x$ac_cv_header_gif_lib_h" = x""yes; then :
    # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
  # Earlier versions can crash Emacs.
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5
@@@ -10960,10 -9989,10 +10952,10 @@@ LIBS=$ac_check_lib_save_LIB
  fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5
  $as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; }
- if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = xyes; then :
+ if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = x""yes; then :
    HAVE_GIF=yes
  else
 -  try_libungif=yes
 +  HAVE_GIF=maybe
  fi
  
  fi
  
  
    if test "$HAVE_GIF" = yes; then
 -      ac_gif_lib_name="-lgif"
 -  fi
 -
 +    LIBGIF=-lgif
 +  elif test "$HAVE_GIF" = maybe; then
  # If gif_lib.h but no libgif, try libungif.
 -  if test x"$try_libungif" = xyes; then
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5
  $as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; }
- if ${ac_cv_lib_ungif_EGifPutExtensionLast+:} false; then :
+ if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then :
    $as_echo_n "(cached) " >&6
  else
    ac_check_lib_save_LIBS=$LIBS
@@@ -11010,13 -10041,17 +11002,13 @@@ LIBS=$ac_check_lib_save_LIB
  fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
  $as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; }
- if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = xyes; then :
+ if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = x""yes; then :
    HAVE_GIF=yes
 +else
 +  HAVE_GIF=no
  fi
  
 -
 -    if test "$HAVE_GIF" = yes; then
 -
 -$as_echo "#define LIBGIF -lungif" >>confdefs.h
 -
 -      ac_gif_lib_name="-lungif"
 -    fi
 +    test "$HAVE_GIF" = yes && LIBGIF=-lungif
    fi
  
    if test "${HAVE_GIF}" = "yes"; then
  
  ### Use -lgpm if available, unless `--with-gpm=no'.
  HAVE_GPM=no
 +LIBGPM=
 +MOUSE_SUPPORT=
  if test "${with_gpm}" != "no"; then
    ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default"
- if test "x$ac_cv_header_gpm_h" = xyes; then :
+ if test "x$ac_cv_header_gpm_h" = x""yes; then :
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5
  $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; }
- if ${ac_cv_lib_gpm_Gpm_Open+:} false; then :
+ if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then :
    $as_echo_n "(cached) " >&6
  else
    ac_check_lib_save_LIBS=$LIBS
  
  $as_echo "#define HAVE_GPM 1" >>confdefs.h
  
 +    LIBGPM=-lgpm
 +    ## May be reset below.
 +    MOUSE_SUPPORT="\$(GPM_MOUSE_SUPPORT)"
 +  fi
  fi
  
 +
  ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default"
- if test "x$ac_cv_header_malloc_malloc_h" = xyes; then :
+ if test "x$ac_cv_header_malloc_malloc_h" = x""yes; then :
  
  $as_echo "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h
  
  
  ### Use session management (-lSM -lICE) if available
  HAVE_X_SM=no
 +LIBXSM=
  if test "${HAVE_X11}" = "yes"; then
    ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default"
- if test "x$ac_cv_header_X11_SM_SMlib_h" = xyes; then :
+ if test "x$ac_cv_header_X11_SM_SMlib_h" = x""yes; then :
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
  $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
- if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
+ if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then :
    $as_echo_n "(cached) " >&6
  else
    ac_check_lib_save_LIBS=$LIBS
@@@ -11216,161 -10238,6 +11208,161 @@@ $as_echo "#define HAVE_X_SM 1" >>confde
    fi
  fi
  
- if ${ac_cv_path_PKG_CONFIG+:} false; then :
 +
 +### Use libxml (-lxml2) if available
 +if test "${with_xml2}" != "no"; then
 +  ### I'm not sure what the version number should be, so I just guessed.
 +
 +  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 ${ac_cv_lib_xml2_htmlReadMemory+:} false; then :
++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_LIBXML2=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 libxml-2.0 > 2.2.0" >&5
 +$as_echo_n "checking for libxml-2.0 > 2.2.0... " >&6; }
 +
 +        if $PKG_CONFIG --exists "libxml-2.0 > 2.2.0" 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 LIBXML2_CFLAGS" >&5
 +$as_echo_n "checking LIBXML2_CFLAGS... " >&6; }
 +            LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 > 2.2.0"|sed -e 's,///*,/,g'`
 +            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXML2_CFLAGS" >&5
 +$as_echo "$LIBXML2_CFLAGS" >&6; }
 +
 +            { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXML2_LIBS" >&5
 +$as_echo_n "checking LIBXML2_LIBS... " >&6; }
 +            LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 > 2.2.0"|sed -e 's,///*,/,g'`
 +            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXML2_LIBS" >&5
 +$as_echo "$LIBXML2_LIBS" >&6; }
 +        else
 +            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 +$as_echo "no" >&6; }
 +            LIBXML2_CFLAGS=""
 +            LIBXML2_LIBS=""
 +            ## If we have a custom action on failure, don't print errors, but
 +            ## do set a variable so people can do so.
 +            LIBXML2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 > 2.2.0"`
 +
 +        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_LIBXML2=yes
 +  else
 +     HAVE_LIBXML2=no
 +  fi
 +
 +  if test "${HAVE_LIBXML2}" = "yes"; then
 +    LIBS="$LIBXML2_LIBS $LIBS"
 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for htmlReadMemory in -lxml2" >&5
 +$as_echo_n "checking for htmlReadMemory in -lxml2... " >&6; }
- if test "x$ac_cv_lib_xml2_htmlReadMemory" = xyes; then :
++if test "${ac_cv_lib_xml2_htmlReadMemory+set}" = set; then :
 +  $as_echo_n "(cached) " >&6
 +else
 +  ac_check_lib_save_LIBS=$LIBS
 +LIBS="-lxml2  $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 htmlReadMemory ();
 +int
 +main ()
 +{
 +return htmlReadMemory ();
 +  ;
 +  return 0;
 +}
 +_ACEOF
 +if ac_fn_c_try_link "$LINENO"; then :
 +  ac_cv_lib_xml2_htmlReadMemory=yes
 +else
 +  ac_cv_lib_xml2_htmlReadMemory=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_xml2_htmlReadMemory" >&5
 +$as_echo "$ac_cv_lib_xml2_htmlReadMemory" >&6; }
++if test "x$ac_cv_lib_xml2_htmlReadMemory" = x""yes; then :
 +  HAVE_LIBXML2=yes
 +else
 +  HAVE_LIBXML2=no
 +fi
 +
 +    if test "${HAVE_LIBXML2}" = "yes"; then
 +
 +$as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
 +
 +    else
 +      LIBXML2_LIBS=""
 +      LIBXML2_CFLAGS=""
 +    fi
 +  fi
 +fi
 +
 +
 +
  # If netdb.h doesn't declare h_errno, we must declare it by hand.
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5
  $as_echo_n "checking whether netdb declares h_errno... " >&6; }
@@@ -11695,24 -10551,18 +11676,24 @@@ LIBS=$ac_check_lib_save_LIB
  fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mail_maillock" >&5
  $as_echo "$ac_cv_lib_mail_maillock" >&6; }
- if test "x$ac_cv_lib_mail_maillock" = xyes; then :
+ if test "x$ac_cv_lib_mail_maillock" = x""yes; then :
 -  cat >>confdefs.h <<_ACEOF
 -#define HAVE_LIBMAIL 1
 -_ACEOF
 +  have_mail=yes
 +else
 +  have_mail=no
 +fi
  
 -  LIBS="-lmail $LIBS"
 +if test $have_mail = yes; then
 +  LIBS_MAIL=-lmail
 +  LIBS="$LIBS_MAIL $LIBS"
  
 -fi
 +$as_echo "#define HAVE_LIBMAIL 1" >>confdefs.h
  
 +else
 +  LIBS_MAIL=
 +fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5
  $as_echo_n "checking for maillock in -llockfile... " >&6; }
- if ${ac_cv_lib_lockfile_maillock+:} false; then :
+ if test "${ac_cv_lib_lockfile_maillock+set}" = set; then :
    $as_echo_n "(cached) " >&6
  else
    ac_check_lib_save_LIBS=$LIBS
@@@ -11746,19 -10596,15 +11727,19 @@@ LIBS=$ac_check_lib_save_LIB
  fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5
  $as_echo "$ac_cv_lib_lockfile_maillock" >&6; }
- if test "x$ac_cv_lib_lockfile_maillock" = xyes; then :
+ if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then :
 -  cat >>confdefs.h <<_ACEOF
 -#define HAVE_LIBLOCKFILE 1
 -_ACEOF
 +  have_lockfile=yes
 +else
 +  have_lockfile=no
 +fi
  
 -  LIBS="-llockfile $LIBS"
 +if test $have_lockfile = yes; then
 +   LIBS_MAIL=-llockfile
 +   LIBS="$LIBS_MAIL $LIBS"
  
 -fi
 +$as_echo "#define HAVE_LIBLOCKFILE 1" >>confdefs.h
  
 +else
  # If we have the shared liblockfile, assume we must use it for mail
  # locking (e.g. Debian).  If we couldn't link against liblockfile
  # (no liblockfile.a installed), ensure that we don't need to.
  # That is because we have not set up to link ncurses in lib-src.
  # It's better to believe a function is not available
  # than to expect to find it in ncurses.
 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tparm in -lncurses" >&5
 -$as_echo_n "checking for tparm in -lncurses... " >&6; }
 -if test "${ac_cv_lib_ncurses_tparm+set}" = set; then :
 +# Also we need tputs and friends to be able to build at all.
 +have_tputs_et_al=true
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tputs" >&5
 +$as_echo_n "checking for library containing tputs... " >&6; }
- if ${ac_cv_search_tputs+:} false; then :
++if test "${ac_cv_search_tputs+set}" = set; then :
    $as_echo_n "(cached) " >&6
  else
 -  ac_check_lib_save_LIBS=$LIBS
 -LIBS="-lncurses  $LIBS"
 +  ac_func_search_save_LIBS=$LIBS
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  /* end confdefs.h.  */
  
  #ifdef __cplusplus
  extern "C"
  #endif
 -char tparm ();
 +char tputs ();
 +int
 +main ()
 +{
 +return tputs ();
 +  ;
 +  return 0;
 +}
 +_ACEOF
 +for ac_lib in '' ncurses terminfo termcap; do
 +  if test -z "$ac_lib"; then
 +    ac_res="none required"
 +  else
 +    ac_res=-l$ac_lib
 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 +  fi
 +  if ac_fn_c_try_link "$LINENO"; then :
 +  ac_cv_search_tputs=$ac_res
 +fi
 +rm -f core conftest.err conftest.$ac_objext \
 +    conftest$ac_exeext
-   if ${ac_cv_search_tputs+:} false; then :
++  if test "${ac_cv_search_tputs+set}" = set; then :
 +  break
 +fi
 +done
- if ${ac_cv_search_tputs+:} false; then :
++if test "${ac_cv_search_tputs+set}" = set; then :
 +
 +else
 +  ac_cv_search_tputs=no
 +fi
 +rm conftest.$ac_ext
 +LIBS=$ac_func_search_save_LIBS
 +fi
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tputs" >&5
 +$as_echo "$ac_cv_search_tputs" >&6; }
 +ac_res=$ac_cv_search_tputs
 +if test "$ac_res" != no; then :
 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 +
 +else
 +  have_tputs_et_al=false
 +fi
 +
 +if test "$have_tputs_et_al" != true; then
 +  as_fn_error $? "I couldn't find termcap functions (tputs and friends).
 +Maybe some development libraries/packages are missing?  Try installing
 +libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5
 +fi
 +# Must define this when any termcap library is found.
 +
 +$as_echo "#define HAVE_LIBNCURSES 1" >>confdefs.h
 +
 +## FIXME This was the cpp logic, but I am not sure it is right.
 +## The above test has not necessarily found libncurses.
 +HAVE_LIBNCURSES=yes
 +
 +## Use terminfo instead of termcap?
 +## Note only system files NOT using terminfo are:
 +## freebsd < 40000, ms-w32, msdos, netbsd < 599002500, and
 +## darwin|gnu without ncurses.
 +TERMINFO=no
 +LIBS_TERMCAP=
 +case "$opsys" in
 +  ## cygwin: Fewer environment variables to go wrong, more terminal types.
 +  ## hpux10-20: Use the system provided termcap(3) library.
 +  ## openbsd: David Mazieres <dm@reeducation-labor.lcs.mit.edu> says this
 +  ##  is necessary.  Otherwise Emacs dumps core when run -nw.
 +  aix4-2|cygwin|hpux*|irix6-5|openbsd|sol2*|unixware) TERMINFO=yes ;;
 +
 +  ## darwin: Prevents crashes when running Emacs in Terminal.app under 10.2.
 +  ##  The ncurses library has been moved out of the System framework in
 +  ##  Mac OS X 10.2.  So if configure detects it, set the command-line
 +  ##  option to use it.
 +  darwin|gnu*)
 +    ## (HAVE_LIBNCURSES was not always true, but is since 2010-03-18.)
 +    if test "x$HAVE_LIBNCURSES" = "xyes"; then
 +      TERMINFO=yes
 +      LIBS_TERMCAP="-lncurses"
 +    fi
 +    ;;
 +
 +  freebsd)
 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether FreeBSD is new enough to use terminfo" >&5
 +$as_echo_n "checking whether FreeBSD is new enough to use terminfo... " >&6; }
-     if ${emacs_cv_freebsd_terminfo+:} false; then :
++    if test "${emacs_cv_freebsd_terminfo+set}" = set; then :
 +  $as_echo_n "(cached) " >&6
 +else
 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 +/* end confdefs.h.  */
 +#include <osreldate.h>
  int
  main ()
  {
@@@ -13215,11 -11885,10 +13195,11 @@@ $as_echo "#define HAVE_RES_INIT 1" >>co
  fi
  
  # Do we need the Hesiod library to provide the support routines?
 +LIBHESIOD=
  if test "$with_hesiod" != no ; then
 -  # Don't set $LIBS here -- see comments above.
 +  # Don't set $LIBS here -- see comments above.  FIXME which comments?
    ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send"
- if test "x$ac_cv_func_res_send" = xyes; then :
+ if test "x$ac_cv_func_res_send" = x""yes; then :
  
  else
    ac_fn_c_check_func "$LINENO" "__res_send" "ac_cv_func___res_send"
@@@ -13356,8 -12025,10 +13336,8 @@@ LIBS=$ac_check_lib_save_LIB
  fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
  $as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; }
- if test "x$ac_cv_lib_hesiod_hes_getmailhost" = xyes; then :
+ if test "x$ac_cv_lib_hesiod_hes_getmailhost" = x""yes; then :
 -
 -$as_echo "#define HAVE_LIBHESIOD 1" >>confdefs.h
 -
 +  hesiod=yes
  else
    :
  fi
@@@ -13429,22 -12082,18 +13409,22 @@@ LIBS=$ac_check_lib_save_LIB
  fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5
  $as_echo "$ac_cv_lib_com_err_com_err" >&6; }
- if test "x$ac_cv_lib_com_err_com_err" = xyes; then :
+ if test "x$ac_cv_lib_com_err_com_err" = x""yes; then :
 -  cat >>confdefs.h <<_ACEOF
 -#define HAVE_LIBCOM_ERR 1
 -_ACEOF
 +  have_com_err=yes
 +else
 +  have_com_err=no
 +fi
  
 -  LIBS="-lcom_err $LIBS"
 +  if test $have_com_err = yes; then
 +    COM_ERRLIB=-lcom_err
 +    LIBS="$COM_ERRLIB $LIBS"
  
 -fi
 +$as_echo "#define HAVE_LIBCOM_ERR 1" >>confdefs.h
  
 -  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
 -$as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; }
 -if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then :
 +  fi
 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5
 +$as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; }
- if ${ac_cv_lib_crypto_mit_des_cbc_encrypt+:} false; then :
++if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then :
    $as_echo_n "(cached) " >&6
  else
    ac_check_lib_save_LIBS=$LIBS
@@@ -13476,24 -12125,20 +13456,24 @@@ rm -f core conftest.err conftest.$ac_ob
      conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
 -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
 -$as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; }
 -if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = x""yes; then :
 -  cat >>confdefs.h <<_ACEOF
 -#define HAVE_LIBK5CRYPTO 1
 -_ACEOF
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
 +$as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; }
- if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = xyes; then :
++if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = x""yes; then :
 +  have_crypto=yes
 +else
 +  have_crypto=no
 +fi
  
 -  LIBS="-lk5crypto $LIBS"
 +  if test $have_crypto = yes; then
 +    CRYPTOLIB=-lcrypto
 +    LIBS="$CRYPTOLIB $LIBS"
  
 -fi
 +$as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
  
 -  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5
 -$as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; }
 -if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then :
 +  fi
 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
 +$as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; }
- if ${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+:} false; then :
++if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then :
    $as_echo_n "(cached) " >&6
  else
    ac_check_lib_save_LIBS=$LIBS
@@@ -13525,24 -12170,20 +13505,24 @@@ rm -f core conftest.err conftest.$ac_ob
      conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
 -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
 -$as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; }
 -if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = x""yes; then :
 -  cat >>confdefs.h <<_ACEOF
 -#define HAVE_LIBCRYPTO 1
 -_ACEOF
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
 +$as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; }
- if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = xyes; then :
++if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = x""yes; then :
 +  have_k5crypto=yes
 +else
 +  have_k5crypto=no
 +fi
  
 -  LIBS="-lcrypto $LIBS"
 +  if test $have_k5crypto = yes; then
 +    CRYPTOLIB=-lk5crypto
 +    LIBS="$CRYPTOLIB $LIBS"
  
 -fi
 +$as_echo "#define HAVE_LIBK5CRYPTO 1" >>confdefs.h
  
 +  fi
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
  $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
- if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
+ if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then :
    $as_echo_n "(cached) " >&6
  else
    ac_check_lib_save_LIBS=$LIBS
@@@ -13576,23 -12217,19 +13556,23 @@@ LIBS=$ac_check_lib_save_LIB
  fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
  $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
- if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
+ if test "x$ac_cv_lib_krb5_krb5_init_context" = x""yes; then :
 -  cat >>confdefs.h <<_ACEOF
 -#define HAVE_LIBKRB5 1
 -_ACEOF
 +  have_krb5=yes
 +else
 +  have_krb5=no
 +fi
  
 -  LIBS="-lkrb5 $LIBS"
 +  if test $have_krb5=yes; then
 +    KRB5LIB=-lkrb5
 +    LIBS="$KRB5LIB $LIBS"
  
 -fi
 +$as_echo "#define HAVE_LIBKRB5 1" >>confdefs.h
  
 -  if test "${with_kerberos5}" = no; then
 +  fi
 +    if test "${with_kerberos5}" = no; then
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5
  $as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; }
- if ${ac_cv_lib_des425_des_cbc_encrypt+:} false; then :
+ if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then :
    $as_echo_n "(cached) " >&6
  else
    ac_check_lib_save_LIBS=$LIBS
@@@ -13626,22 -12263,17 +13606,22 @@@ LIBS=$ac_check_lib_save_LIB
  fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
  $as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; }
- if test "x$ac_cv_lib_des425_des_cbc_encrypt" = xyes; then :
+ if test "x$ac_cv_lib_des425_des_cbc_encrypt" = x""yes; then :
 -  cat >>confdefs.h <<_ACEOF
 -#define HAVE_LIBDES425 1
 -_ACEOF
 +  have_des425=yes
 +else
 +  have_des425=no
 +fi
  
 -  LIBS="-ldes425 $LIBS"
 +    if test $have_des425 = yes; then
 +      DESLIB=-ldes425
 +      LIBS="$DESLIB $LIBS"
  
 -else
 -  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5
 +$as_echo "#define HAVE_LIBDES425 1" >>confdefs.h
 +
 +    else
 +      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5
  $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; }
- if ${ac_cv_lib_des_des_cbc_encrypt+:} false; then :
+ if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then :
    $as_echo_n "(cached) " >&6
  else
    ac_check_lib_save_LIBS=$LIBS
@@@ -13675,23 -12307,20 +13655,23 @@@ LIBS=$ac_check_lib_save_LIB
  fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
  $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; }
- if test "x$ac_cv_lib_des_des_cbc_encrypt" = xyes; then :
+ if test "x$ac_cv_lib_des_des_cbc_encrypt" = x""yes; then :
 -  cat >>confdefs.h <<_ACEOF
 -#define HAVE_LIBDES 1
 -_ACEOF
 -
 -  LIBS="-ldes $LIBS"
 -
 +  have_des=yes
 +else
 +  have_des=no
  fi
  
 -fi
 +      if test $have_des = yes; then
 +        DESLIB=-ldes
 +        LIBS="$DESLIB $LIBS"
  
 +$as_echo "#define HAVE_LIBDES 1" >>confdefs.h
 +
 +      fi
 +    fi
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb4" >&5
  $as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; }
- if ${ac_cv_lib_krb4_krb_get_cred+:} false; then :
+ if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then :
    $as_echo_n "(cached) " >&6
  else
    ac_check_lib_save_LIBS=$LIBS
@@@ -13725,22 -12354,17 +13705,22 @@@ LIBS=$ac_check_lib_save_LIB
  fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_krb_get_cred" >&5
  $as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; }
- if test "x$ac_cv_lib_krb4_krb_get_cred" = xyes; then :
+ if test "x$ac_cv_lib_krb4_krb_get_cred" = x""yes; then :
 -  cat >>confdefs.h <<_ACEOF
 -#define HAVE_LIBKRB4 1
 -_ACEOF
 +  have_krb4=yes
 +else
 +  have_krb4=no
 +fi
  
 -  LIBS="-lkrb4 $LIBS"
 +    if test $have_krb4 = yes; then
 +      KRB4LIB=-lkrb4
 +      LIBS="$KRB4LIB $LIBS"
  
 -else
 -  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5
 +$as_echo "#define HAVE_LIBKRB4 1" >>confdefs.h
 +
 +    else
 +      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5
  $as_echo_n "checking for krb_get_cred in -lkrb... " >&6; }
- if ${ac_cv_lib_krb_krb_get_cred+:} false; then :
+ if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then :
    $as_echo_n "(cached) " >&6
  else
    ac_check_lib_save_LIBS=$LIBS
@@@ -13774,20 -12398,17 +13754,20 @@@ LIBS=$ac_check_lib_save_LIB
  fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_get_cred" >&5
  $as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; }
- if test "x$ac_cv_lib_krb_krb_get_cred" = xyes; then :
+ if test "x$ac_cv_lib_krb_krb_get_cred" = x""yes; then :
 -  cat >>confdefs.h <<_ACEOF
 -#define HAVE_LIBKRB 1
 -_ACEOF
 -
 -  LIBS="-lkrb $LIBS"
 -
 +  have_krb=yes
 +else
 +  have_krb=no
  fi
  
 -fi
 +      if test $have_krb = yes; then
 +        KRB4LIB=-lkrb
 +        LIBS="$KRB4LIB $LIBS"
  
 +$as_echo "#define HAVE_LIBKRB 1" >>confdefs.h
 +
 +      fi
 +    fi
    fi
  
    if test "${with_kerberos5}" != no; then
@@@ -15145,8 -13527,7 +15109,8 @@@ LTLIBOBJS=$ac_ltlibobj
  
  
  
- : "${CONFIG_STATUS=./config.status}"
 +
+ : ${CONFIG_STATUS=./config.status}
  ac_write_fail=0
  ac_clean_files_save=$ac_clean_files
  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
@@@ -15554,8 -13934,8 +15517,8 @@@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_wr
  # report actual input values of CONFIG_FILES etc. instead of their
  # values after options handling.
  ac_log="
 -This file was extended by emacs $as_me 23.2.90, which was
 +This file was extended by emacs $as_me 24.0.50, which was
- generated by GNU Autoconf 2.68.  Invocation command line was
+ generated by GNU Autoconf 2.67.  Invocation command line was
  
    CONFIG_FILES    = $CONFIG_FILES
    CONFIG_HEADERS  = $CONFIG_HEADERS
@@@ -15620,8 -14000,8 +15583,8 @@@ _ACEO
  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  ac_cs_version="\\
 -emacs config.status 23.2.90
 +emacs config.status 24.0.50
- configured by $0, generated by GNU Autoconf 2.68,
+ configured by $0, generated by GNU Autoconf 2.67,
    with options \\"\$ac_cs_config\\"
  
  Copyright (C) 2010 Free Software Foundation, Inc.
      "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
      "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
  
--  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
++  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
    esac
  done
  
    ac_cs_awk_cr=$ac_cr
  fi
  
- echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
+ echo 'BEGIN {' >"$tmp/subs1.awk" &&
  _ACEOF
  
-   echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
 +# Create commands to substitute file output variables.
 +{
 +  echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
++  echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
 +  echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
 +  echo "_ACAWK" &&
 +  echo "_ACEOF"
 +} >conf$$files.sh &&
 +. ./conf$$files.sh ||
 +  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 +rm -f conf$$files.sh
  
  {
    echo "cat >conf$$subs.awk <<_ACEOF" &&
@@@ -15927,10 -14277,10 +15888,10 @@@ t deli
  rm -f conf$$subs.awk
  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  _ACAWK
- cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
+ cat >>"\$tmp/subs1.awk" <<_ACAWK &&
    for (key in S) S_is_set[key] = 1
    FS = "\a"
 -
 +  \$ac_cs_awk_pipe_init
  }
  {
    line = $ 0
    esac
    case $ac_mode$ac_tag in
    :[FHL]*:*);;
--  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
++  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
    :[FH]-) ac_tag=-:-;;
    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
    esac
           [\\/$]*) false;;
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
           esac ||
--         as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
++         as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
        esac
        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
        as_fn_append ac_file_inputs " '$ac_f'"
@@@ -16167,8 -14511,8 +16128,8 @@@ $as_echo "$as_me: creating $ac_file" >&
      esac
  
      case $ac_tag in
-     *:-:* | *:-) cat >"$ac_tmp/stdin" \
-       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
+     *:-:* | *:-) cat >"$tmp/stdin" \
 -      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
++      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
      esac
      ;;
    esac
@@@ -16298,18 -14642,12 +16259,17 @@@ s&@abs_top_builddir@&$ac_abs_top_buildd
  s&@INSTALL@&$ac_INSTALL&;t t
  $ac_datarootdir_hack
  "
 -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
 +if $ac_cs_awk_getline; then
-   $AWK -f "$ac_tmp/subs.awk"
++  $AWK -f "$tmp/subs.awk"
 +else
-   $AWK -f "$ac_tmp/subs.awk" | $SHELL
- fi \
-   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
++  $AWK -f "$tmp/subs.awk" | $SHELL
++fi >$tmp/out \
+   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  
  test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
-   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
-   { ac_out=`sed -n '/^[        ]*datarootdir[  ]*:*=/p' \
-       "$ac_tmp/out"`; test -z "$ac_out"; } &&
+   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
+   { ac_out=`sed -n '/^[        ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  which seems to be undefined.  Please make sure it is defined" >&5
  $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
diff --cc configure.in
Simple merge
@@@ -1,95 -1,8 +1,100 @@@
 -2010-11-06  Eli Zaretskii  <eliz@gnu.org>
++2010-11-09  Eli Zaretskii  <eliz@gnu.org>
+       * msdog.texi (Windows HOME): Add information regarding startup
+       directory when invoking Emacs from a desktop shortcut.  (bug#7300)
 +2010-10-11  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (MAKEINFO): Add explicit -I$srcdir.
 +
 +      * Makefile.in (.texi.dvi): Remove unnecessary suffix rule.
 +      (DVIPS): New variable.
 +      (.PHONY): Add html, ps.
 +      (html, emacs.html, ps, emacs.ps, emacs-xtra.ps): New targets.
 +      (clean): Delete html, ps files.
 +
 +2010-10-09  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * makefile.w32-in (EMACSSOURCES): Add emacsver.texi.
 +
 +2010-10-09  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (VPATH): Remove.
 +      (infodir): Make it absolute.
 +      (mkinfodir, $(infodir)/emacs, infoclean): No need to cd $srcdir.
 +
 +      * Makefile.in (dist): Anchor regexps.
 +
 +      * Makefile.in (EMACSSOURCES): Put emacs.texi first.
 +      ($(infodir)/emacs, emacs.dvi, emacs.pdf, emacs-xtra.dvi)
 +      (emacs-xtra.pdf): Use $<.
 +
 +      * Makefile.in (infoclean): Remove harmless, long-standing error.
 +
 +      * Makefile.in ($(infodir)): Delete rule.
 +      (mkinfodir): New.
 +      ($(infodir)/emacs): Use $mkinfodir instead of infodir.
 +
 +      * Makefile.in (distclean): Do not delete emacsver.texi.
 +      (dist): Remove reference to emacsver.texi.in.
 +      * emacsver.texi: New file, replacing emacsver.texi.in.
 +
 +2010-10-09  Glenn Morris  <rgm@gnu.org>
 +
 +      * emacsver.texi.in: New file.
 +      * emacs.texi: Set EMACSVER by including emacsver.texi.
 +      * Makefile.in (distclean): Delete emacsver.texi.
 +      (dist): Copy emacsver.texi.
 +      (EMACSSOURCES): Add emacsver.texi.
 +
 +      * ack.texi (Acknowledgments): No more b2m.c.
 +
 +      * Makefile.in (.PHONY): Declare info, dvi, pdf, dist.
 +      (emacs): Remove rule.
 +      (dist): No need to deal with the emacs rule any more.
 +
 +2010-10-07  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (version): New, set by configure.
 +      (clean): Delete dist tar file.
 +      (dist): Use version in tar name.
 +
 +2010-10-06  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (EMACS_XTRA): Add the main source file.
 +      (emacs-xtra.dvi, emacs-xtra.pdf): Remove explicit emacs-xtra.texi.
 +      (mostlyclean): No core files, reorder other files.
 +      (clean): Delete specific dvi and pdf files.
 +      (infoclean, dist): New rules.
 +      (maintainer-clean): Use infoclean.
 +      ($(infodir)): Add parallel build workaround.
 +
 +2010-10-04  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (SHELL): Set it.
 +      (INFO_TARGETS, DVI_TARGETS): Remove variables.
 +      (info, dvi): Replace above variables with their expansions.
 +      (info): Move mkdir from here...
 +      ($(infodir)/emacs): ... to here (for parallel builds).
 +      (pdf): New target.
 +      ($(infodir)/emacs): Pass -o option to makeinfo.
 +      (.PHONY): Declare clean rules.
 +      (maintainer-clean): Delete dvi and pdf files.
 +      Guard against cd failures.  Use a more restrictive delete.
 +
 +2010-10-02  Glenn Morris  <rgm@gnu.org>
 +
 +      * misc.texi (Shell Mode): Remove reference to old function name.
 +
 +2010-09-30  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * maintaining.texi (VC Mode Line): Mention all the possible VC status
 +      indicator characters.
 +
 +2010-09-29  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (top_srcdir): Remove unused variable.
 +
  2010-09-14  Glenn Morris  <rgm@gnu.org>
  
        * cal-xtra.texi (Fancy Diary Display): Emphasize that sort should be
@@@ -1,30 -1,12 +1,34 @@@
 -2010-11-05  Michael Albinus  <michael.albinus@gmx.de>
++2010-11-09  Jay Belanger  <jay.p.belanger@gmail.com>
 -      * trampver.texi: Update release number.
++      * calc.texi: Use emacsver.texi to determine Emacs version.
 -2010-11-03  Jay Belanger  <jay.p.belanger@gmail.com>
 +2010-11-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  
 -      * calc.texi: Use emacsver.texi to determine Emacs version.
 +      * gnus.texi (Customizing the IMAP Connection): Remove nnir mention,
 +      since that works by default.
 +
 +2010-11-03  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
 +
 +      * gnus.texi (Customizing the IMAP Connection): Document
 +      `nnimap-expunge' and remove `nnimap-expunge-inbox' from example.
 +
 +2010-11-04  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      * tramp.texi (Remote shell setup): New item "Interactive shell
 +      prompt".  Reported by Christian Millour <cm@abtela.com>.
 +      (Remote shell setup, Remote processes): Use @code{} for
 +      environment variables.
 +
 +2010-11-03  Glenn Morris  <rgm@gnu.org>
  
 -2010-10-30  Glenn Morris  <rgm@gnu.org>
 +      * ediff.texi (Quick Help Commands, Miscellaneous):
 +      * gnus.texi (Agent Variables, Configuring nnmairix): Spelling fix.
 +
 +2010-10-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 +
 +      * gnus.texi (Paging the Article): Document C-u g/C-u C-u g.
 +
 +2010-10-31  Glenn Morris  <rgm@gnu.org>
  
        * mh-e.texi (Preface, From Bill Wohler): Change 23 to past tense.
  
diff --cc etc/NEWS.23
Simple merge
diff --cc lisp/ChangeLog
 -2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+ 2010-11-09  Glenn Morris  <rgm@gnu.org>
+       * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
 -2010-11-08  Richard Levitte  <richard@levitte.org>  (tiny change)
++2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * minibuffer.el (minibuffer-completion-help): Specify the end of the
+       completion field (bug#7211).
+       * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
+       Fix handling of backslash escapes.
+       (python-quote-syntax): Adjust accordingly.
 -2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
++2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
++2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny patch)
+       * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
+       (vc-mtn-workfile-branch): Adjust to new output format.
 -2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
++2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * international/mule-cmds.el (princ-list): Mark as obsolete.
 -2010-11-06  Michael Albinus  <michael.albinus@gmx.de>
++2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * emacs-lisp/smie.el: New package.
 -2010-11-06  Eli Zaretskii  <eliz@gnu.org>
++2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
+       * files.el (backup-by-copying-when-mismatch):
+       Set `permanent-local' property.
+       * net/tramp.el (tramp-handle-insert-file-contents): Do not set
+       `permanent-local' property for `backup-by-copying-when-mismatch'.
 -      (ls-lisp-classify-file): New function.
 -      (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
 -      (ls-lisp-classify): Call ls-lisp-classify-file.
 -      (insert-directory): Remove blanks from switches.
++2010-11-09  Eli Zaretskii  <eliz@gnu.org>
+       * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
 -2010-11-07  Wilson Snyder  <wsnyder@wsnyder.org>
 -2010-11-05  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/trampver.el: Update release number.
 -
 -2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 -
 -      * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
 -      beginning of the string.  Use `string-match-p'.  (Bug#6765)
 -
 -2010-11-01  Glenn Morris  <rgm@gnu.org>
++2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
+       * progmodes/verilog-mode.el (verilog-insert-one-definition)
+       (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
+       AUTOINOUT for SV style multidimensional arrays, bug294.
+       Reported by Eric Mastromarchi.
+       (verilog-preprocess): Use with-current-buffer and
+       font-lock-fontify-buffer to cleanup style issues.
 -2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
++2010-11-09  Glenn Morris  <rgm@gnu.org>
+       * locate.el (locate, locate-mode): Doc fixes.
 -2010-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
++2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
+       * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
+       user for confirmation.
+       (server-force-stop): Use it.
+       (server-start): Use server-force-stop for kill-emacs-hook, to
+       avoid user interaction while killing Emacs.
 +2010-11-09  Glenn Morris  <rgm@gnu.org>
  
 -      * vc/log-edit.el (log-edit-rewrite-fixes): New var.
 -      (log-edit-author): New dynamic var.
 -      (log-edit-changelog-ours-p, log-edit-insert-changelog-entries):
 -      Use it to return the author if different from committer.
 -      (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
 +      * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
 +      (meta-indent-line): Simplify.
 +
 +      * vc/emerge.el (emerge-line-number-in-buf):
 +      * textmodes/ispell.el (ispell-region):
 +      * textmodes/fill.el (current-fill-column):
 +      * progmodes/xscheme.el (xscheme-send-current-line):
 +      * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
 +      * progmodes/tcl.el (tcl-hairy-scan-for-comment):
 +      * progmodes/sh-script.el (sh-handle-prev-do):
 +      * progmodes/meta-mode.el (meta-indent-line):
 +      * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
 +      (idlwave-in-quote):
 +      * progmodes/idlw-shell.el (idlwave-shell-current-frame)
 +      (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
 +      * progmodes/fortran.el (fortran-looking-at-if-then):
 +      * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
 +      * progmodes/cperl-mode.el (cperl-sniff-for-indent)
 +      (cperl-find-pods-heres):
 +      * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
 +      * net/quickurl.el (quickurl-list-insert):
 +      * net/ldap.el (ldap-search-internal):
 +      * net/eudc.el (eudc-expand-inline):
 +      * mail/sendmail.el (sendmail-send-it):
 +      * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
 +      * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
 +      (viper-brac-function):
 +      * calc/calc-yank.el (calc-do-grab-region):
 +      * calc/calc-keypd.el (calc-keypad-press):
 +      * term.el (term-move-columns, term-insert-spaces):
 +      * speedbar.el (speedbar-highlight-one-tag-line):
 +      * simple.el (current-word):
 +      * mouse-drag.el (mouse-drag-should-do-col-scrolling):
 +      * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
 +      (Info-scroll-down):
 +      * hippie-exp.el (he-line-beg):
 +      * epa.el (epa--marked-keys):
 +      * dired-aux.el (dired-kill-line, dired-do-kill-lines)
 +      (dired-update-file-line, dired-add-entry, dired-remove-entry)
 +      (dired-relist-entry):
 +      * buff-menu.el (Buffer-menu-buffer):
 +      * array.el (current-line):
 +      * allout.el (allout-resolve-xref)
 +      (allout-latex-verbatim-quote-curr-line):
 +      Replace yet more uses of end-of-line etc with line-end-position, etc.
  
 -2010-10-31  Eli Zaretskii  <eliz@gnu.org>
 +2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
 +      * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
 +      (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
 +      (checkdoc-syntax-table): Initialize in the declaration.
 +      (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
 +      the mode on unconditionally.
  
 -2010-10-31  Chong Yidong  <cyd@stupidchicken.com>
 +      * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
 +      (extent-end-position, extent-start-position): Remove setf method for
 +      non-existing functions (bug#7319).
  
 -      * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
 -      (vc-root-diff, vc-print-root-log, vc-log-incoming)
 -      (vc-log-outgoing): Use it.
 -      (vc-diff-internal): Set diff-vc-backend.
 +2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * vc/diff-mode.el (diff-vc-backend): New var.
 +      * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
 +      (smie-precs->prec2): Rename from smie-precs-precedence-table.
 +      (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
 +      (smie-prec2->grammar): Rename from smie-prec2-levels.
 +      (smie-grammar): Rename from smie-op-levels.
 +      (smie-indent--hanging-p): Rename from smie-hanging-p.
 +      (smie-rule-hanging-p): New alias.
 +      (smie-indent--bolp): Rename from smie-bolp.
 +      (smie-indent--hanging-p): New alias.
 +      (smie--token): New dynamically bound variable.
 +      (smie-indent--parent): New function.
 +      (smie-rule-parent-p): Use it; rename from smie-parent-p.
 +      (smie-rule-next-p): Rename from smie-next-p.
 +      (smie-rule-prev-p): Rename from smie-prev-p.
 +      (smie-rule-sibling-p, smie-rule-parent)
 +      (smie-indent--separator-outdent, smie-rule-separator): New functions.
 +      (smie-rule-separator-outdent): New var.
 +      (smie-indent--rule): Merge with smie-indent--column.
 +      (smie-indent-forward-token, smie-indent-backward-token):
 +      Also recognize close parens.
 +      (smie-indent-keyword): Don't use smie-indent--column any more.
 +      (smie-indent-after-keyword): Ignore closers by default.
 +      (smie-indent-line): Use with-demoted-errors.
 +      * progmodes/octave-mod.el (octave-smie-grammar):
 +      Rename from octave-smie-op-levels.
 +      (octave-smie-rules): Adjust to new behavior.
 +      * progmodes/prolog.el (prolog-smie-grammar):
 +      Rename from prolog-smie-op-levels.
 +
 +2010-11-07  Glenn Morris  <rgm@gnu.org>
 +
 +      * eshell/esh-util.el (subst-char-in-string)
 +      (directory-files-and-attributes): These compatibility definitions are
 +      not needed on any version of Emacs since at least 21.4.
 +
 +      * progmodes/verilog-mode.el (verilog-get-beg-of-line)
 +      (verilog-get-end-of-line): Remove.
 +      (verilog-within-string, verilog-re-search-forward-substr)
 +      (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
 +      (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
 +      Use point-at-bol, point-at-eol.
 +      * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
 +      Remove.
 +      (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
 +      (electric-pascal-terminate-line, pascal-set-auto-comments)
 +      (pascal-indent-paramlist, pascal-indent-declaration)
 +      (pascal-get-lineup-indent, pascal-func-completion)
 +      (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
 +      Use point-at-bol, point-at-eol.
 +      * progmodes/flymake.el (flymake-line-beginning-position)
 +      (flymake-line-end-position): Remove.
 +      (flymake-highlight-line): Use point-at-bol, point-at-eol.
 +      * eshell/esh-util.el (line-end-position, line-beginning-position):
 +      Remove compat definitions.
 +
 +      * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
 +      Use end-of-line N.
 +      (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
 +      Use line-end-position.
 +
 +      * emacs-lisp/chart.el (chart-zap-chars):
 +      * play/decipher.el (decipher-set-map):
 +      * progmodes/ada-mode.el (ada-get-current-indent)
 +      (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
 +      * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
 +      * progmodes/ada-xref.el (ada-initialize-runtime-library)
 +      (ada-get-all-references):
 +      * progmodes/cperl-mode.el (cperl-electric-paren)
 +      (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
 +      (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
 +      (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
 +      (cperl-word-at-point-hard):
 +      * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
 +      (idlwave-shell-filename-string, idlwave-shell-batch-command)
 +      (idlwave-shell-display-line):
 +      * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
 +      (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
 +      * progmodes/js.el (js--re-search-forward-inner)
 +      (js--re-search-backward-inner):
 +      * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
 +      (vhdl-fix-clause, vhdl-compose-configuration-architecture):
 +      * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
 +      * textmodes/flyspell.el (flyspell-process-localwords):
 +      * textmodes/ispell.el (ispell-buffer-local-parsing)
 +      (ispell-buffer-local-dict, ispell-buffer-local-words):
 +      Use point-at-bol and point-at-eol.
 +
 +      * speedbar.el (speedbar-generic-item-info)
 +      (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
 +      (speedbar-add-indicator, speedbar-check-vc-this-line)
 +      (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
 +      (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
 +      Replace more uses of end-of-line etc with line-end-position.
 +
 +2010-11-06  Glenn Morris  <rgm@gnu.org>
 +
 +      * textmodes/texnfo-upd.el (texinfo-start-menu-description)
 +      (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
 +      (texinfo-delete-existing-pointers, texinfo-find-pointer)
 +      (texinfo-clean-up-node-line, texinfo-insert-node-lines)
 +      (texinfo-multiple-files-update):
 +      * textmodes/table.el (table--probe-cell-left-up)
 +      (table--probe-cell-right-bottom):
 +      * textmodes/picture.el (picture-tab-search):
 +      * textmodes/page-ext.el (pages-copy-header-and-position)
 +      (pages-directory-for-addresses):
 +      * progmodes/vera-mode.el (vera-get-offset):
 +      * progmodes/simula.el (simula-calculate-indent):
 +      * progmodes/python.el (python-pdbtrack-overlay-arrow):
 +      * progmodes/prolog.el (end-of-prolog-clause):
 +      * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
 +      * progmodes/icon.el (indent-icon-exp):
 +      * progmodes/etags.el (tag-re-match-p):
 +      * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
 +      * progmodes/ebnf2ps.el (ebnf-begin-file):
 +      * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
 +      (dcl-save-local-variable):
 +      * play/life.el (life-setup):
 +      * play/gametree.el (gametree-looking-at-ply):
 +      * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
 +      * mail/sendmail.el (mail-mode-auto-fill):
 +      * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
 +      * emacs-lisp/edebug.el (edebug-overlay-arrow):
 +      * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
 +      * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
 +      (woman-tab-to-tab-stop, WoMan-warn-ignored):
 +      * type-break.el (type-break-file-keystroke-count):
 +      * term.el (term-replace-by-expanded-history-before-point)
 +      (term-skip-prompt, term-extract-string):
 +      * speedbar.el (speedbar-edit-line, speedbar-expand-line)
 +      (speedbar-contract-line, speedbar-toggle-line-expansion)
 +      (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
 +      (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
 +      * sort.el (sort-skip-fields):
 +      * skeleton.el (skeleton-internal-list):
 +      * simple.el (line-move-finish, line-move-to-column):
 +      * shell.el (shell-forward-command):
 +      * misc.el (copy-from-above-command):
 +      * makesum.el (double-column):
 +      * ebuff-menu.el (electric-buffer-update-highlight):
 +      * dired.el (dired-move-to-end-of-filename):
 +      * dframe.el (dframe-popup-kludge):
 +      * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
 +      * arc-mode.el (archive-get-lineno):
 +      Use line-end-position and line-beginning-position.
 +
 +      * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
 +      (idlwave-study-twins): Prefix dynamic local `class'.
 +      (idlwave-routine-twin-compare): Update for above name change.
 +
 +      * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
 +      Use boundp tests to silence compiler.  Update for changed name of
 +      bytecomp-filename variable.
 +
 +      * emulation/viper-cmd.el (viper-read-string-with-history):
 +      Prefix dynamic local `initial'.
 +      (viper-minibuffer-standard-hook): Update for above name change.
 +
 +      * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
 +      (elint-init-form): Update for above name change.
 +
 +      * mail/mail-extr.el (mail-extract-address-components): Give dynamic
 +      local variables `cbeg' and `cend' a prefix.
 +      (mail-extr-voodoo): Update for above name change.
 +
 +      * textmodes/reftex-toc.el (reftex-toc-do-promote)
 +      (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
 +      (reftex-toc-promote-action): Doc fix.
 +
 +      * textmodes/reftex-sel.el (reftex-select-item): Give local variables
 +      `prompt', `data' a prefix.
 +      (reftex-select-post-command-hook, reftex-select-callback)
 +      (reftex-select-mouse-accept, reftex-select-read-cite):
 +      Update for above name changes.
 +
 +      * textmodes/reftex-ref.el (reftex-reference): Rename local variable
 +      `refstyle' to reftex-refstyle.
 +      (reftex-offer-label-menu): Update for above name change.
 +      * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
 +      `refstyle' name change.
 +
 +      * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
 +      with with-current-buffer.
 +      (diff, template): Give dynamic local variables a prefix.
 +      (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
 +      (emerge-line-number-in-buf): Update for above name change.
 +      (emerge-combine-versions-internal): Rename local `template' to
 +      emerge-combine-template.
 +      (emerge-combine-versions-edit): Update for above name change.
 +
 +2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
 +
 +      * textmodes/reftex-cite.el
 +      (reftex-extract-bib-entries-from-thebibliography): Match bibitem
 +      entries with whitespace after \bibitem.
 +      (reftex-create-bibtex-file): Match entries containing numbers and
 +      symbol constituents.  Make sure that entries with whitespace at
 +      various places are found.
 +
 +2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
 +
 +      * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
 +
 +2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
 +
 +      * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
 +
 +2010-11-05  Glenn Morris  <rgm@gnu.org>
 +
 +      * woman.el (woman0-roff-buffer, woman1-roff-buffer)
 +      (woman2-roff-buffer): Give local variable `request' a prefix.
 +      (woman0-macro): Rename argument `request' in the same way.
 +      (woman-request): New name for `request' dynamic variable.
 +      (woman-unquote, woman-forward-arg): Update for above name change.
 +      (woman1-roff-buffer): Give local variable `unquote' a prefix.
 +      (woman1-unquote): New name for `unquote' dynamic variable.
 +      (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
 +      (woman-translations): Rename from `translations'.  No longer global.
 +      (woman2-tr, woman-translate): Update for above name change.
 +      (woman-translate): Check for bound variable.
 +      (woman2-roff-buffer): Give local variable `translations' a prefix.
 +
 +      * play/doctor.el: Give all local variables a prefix.  Update callers.
 +      (doc$, doctor-put-meaning): Use backquote.
 +
 +      * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
 +      (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
 +
 +      * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
 +      variables bytes, ptr, op a prefix.
 +      (disassemble-offset): Update for above change.
 +
 +2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * emacs-lisp/package.el (package-unpack): Remove no-op.
 +      (package--builtins, package--dir): Doc fix.
 +      (package-activate-1, package-activate, package-install)
 +      (package-compute-transaction): Fix error message.
 +      (package-delete): Use delete-directory.  Omit system packages.
 +      (package-initialize): Set package-alist to nil first.
 +      (package-menu-mark-delete, package-menu-mark-install): Don't add
 +      symbols that are inconsistent with the package state.
 +      (package-menu-execute): Perform deletions and installations as
 +      single batch operations.
  
 -2010-10-31  Juri Linkov  <juri@jurta.org>
 +2010-11-03  Glenn Morris  <rgm@gnu.org>
  
 -      * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
 -      buffer-locally to lambda that re-runs the vc diff command.
 -      (Bug#6447)
 +      * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
 +      (props): Remove unnecessary declaration.
  
 -2010-10-31  Dan Nicolaescu  <dann@ics.uci.edu>
 +      * textmodes/ispell.el (ispell-init-process): On Emacs, always use
 +      set-process-query-on-exit-flag.
  
 -      * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
 +      * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
 +      (reftex-toc-do-promote): Remove unused local `mpos'.
 +      (reftex-toc-restore-region): Make `mpos' local to this function.
  
 -      Make 'g' (AKA revert-buffer) rerun VC log, log-incoming and
 -      log-outgoing commands.
 -      * vc/vc.el (vc-log-internal-common): Add a new argument and use it
 -      to create a buffer local revert-buffer-function variable.
 -      (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
 -      revert-buffer-function lambda.
 +      * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
  
 -      Improve VC create/retrieve tag/branch.
 -      * vc.el (vc-create-tag): Do not read the directory name for VCs
 -      with repository revision granularity.  Adjust the tag/branch
 -      prompt.  Reset VC properties.
 -      (vc-retrieve-tag): Do not read the directory name for VCs
 -      with repository revision granularity.  Reset VC properties.
 +      * play/landmark.el (lm-losing-threshold): Correct spelling.
 +      (lm-human-plays): Use new name.
 +
 +      * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
 +      (gomoku-human-plays): Use new name.
  
 -      Add optional support for resetting VC properties.
 -      * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
 -      call vc-file-clearprops when true.
 -      (vc-resynch-buffer): Add new optional argument, pass it down.
 -      (vc-resynch-buffers-in-directory): Likewise.
 +      * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
 +      (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
 +      (gomoku-score-trans-table, gomoku-winning-threshold)
 +      (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
 +
 +2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
  
 -      Improve support for special markup in the VC commit message.
 -      * vc-mtn.el (vc-mtn-checkin): Support Author: and Date: markup.
 -      * vc-hg.el (vc-hg-checkin): Add support for Date:.
 -      * vc-git.el (vc-git-checkin):
 -      * vc-bzr.el (vc-bzr-checkin): Likewise.
 +      * emacs-lisp/package.el: Don't put built-in packages in
 +      package-alist, to avoid loading inefficiencies.
 +      (package-built-in-p): Make VERSION optional, and treat it as a
 +      minimum acceptable version.
 +      (package-activate): Search separately for built-in packages.  Emit
 +      a warning if a dependency fails.
 +      (define-package): Handle most common case, where there is no
 +      obsolete package, first.
 +      (package-compute-transaction): Print required version in error.
 +      (package--initialized): New variable.
 +      (list-packages): Use it.
 +      (package-initialize): Optional arg NO-ACTIVATE.  Don't put
 +      built-in packages in packages-alist; keep it separate.  Set
 +      package--initialized.
 +      (describe-package): Avoid activating packages as a side-effect.
 +      Search separately for built-in packages.
 +      (describe-package-1): Handle the case where an elpa package is
 +      simultaneously built-in and available/installed.
 +      (package-installed-p, package--generate-package-list): Search
 +      separately for built-in packages.
 +      (package-load-descriptor): Doc fix.
  
 -      Add support for vc-log-incoming, improve vc-log-outgoing for Git.
 -      * vc-git.el (vc-git-log-view-mode): Fix font lock for
 -      incoming/outgoing logs.
 -      (vc-git-log-outgoing, vc-git-log-incoming): New functions.
 +2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * vc-git.el (vc-git-log-outgoing): Use the same format as the
 -      short log.
 -      (vc-git-log-incoming): Likewise.  Run "git fetch" before the log
 -      command
 +      * progmodes/perl-mode.el (perl-syntax-propertize-function):
 +      Handle __DATA__ and __END__.
  
 -      Add bindings for vc-log-incoming and vc-log-outgoing.
 -      * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
 -      and vc-log-outgoing.
 -      * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
 -      and vc-log-outgoing.
 +2010-11-02  Noah Friedman  <friedman@splode.com>
  
 -      Improve state updating for VC tag commands.
 -      * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
 -      to update the state of all buffers in the directory.
 +      * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
 +      nil, do not ask to recompile files that are not already compiled,
 +      and do not recompile them.
  
 -2010-05-19  Glenn Morris  <rgm@gnu.org>
 +2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
 +      * emacs-lisp/package.el (package-initialize): Ensure that
 +      obsoleted built-in packages are not in package-activated-list
 +      during activation.
 +      (describe-package-1): Make the "installed" status override
 +      "built-in".
  
 -2010-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
  
 -      * vc.el (vc-checkin, vc-modify-change-comment):
 -      Adjust to new vc-start/finish-logentry.
 -      (vc-find-conflicted-file): New command.
 -      (vc-transfer-file): Adjust to new vc-checkin.
 -      (vc-next-action): Improve scoping.
 +      * subr.el (version-separator, version-regexp-alist): Remove '*'
 +      from docstring.
 +      (version-list-<=, version<=, version=): Doc fix.
  
 -      * vc-git.el (vc-git-checkin): Use log-edit-extract-headers.
 -      (vc-git-commits-coding-system): Rename from git-commits-coding-system.
 +2010-11-01  Kenichi Handa  <handa@m17n.org>
  
 -      * vc-dispatcher.el (vc-log-edit): Shorten names for
 -      log-edit-show-files.
 +      * faces.el (glyphless-char): Inherit underline for tty.
  
 -      * vc-bzr.el (vc-bzr-checkin): Use log-edit-extract-headers.
 -      (vc-bzr-conflicted-files): New function.
 +2010-11-01  Kenichi Handa  <handa@m17n.org>
  
 -      * log-edit.el (log-edit-summary, log-edit-header)
 -      (log-edit-unknown-header): New faces.
 -      (log-edit-headers-alist): New var.
 -      (log-edit-header-contents-regexp): New const.
 -      (log-edit-match-to-eoh): New function.
 -      (log-edit-font-lock-keywords): Use them.
 -      (log-edit): Insert a "Summary:" header as default.
 -      (log-edit-mode): Mark font-lock rules as case-insensitive.
 -      (log-edit-done): Cleanup headers.
 -      (log-edit-extract-headers): New function to replace it.
 +      Implement various display methods for glyphless characters.
  
 -      * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with
 -      the windows/frames.
 +      * international/characters.el (char-acronym-table): New variable.
 +      (glyphless-char-control): New variable.
 +      (update-glyphless-char-display): New funciton.
  
 -      * vc-bzr.el (vc-bzr-shelve-apply): Don't use *vc-bzr-shelve*.
 +      * faces.el (glyphless-char): New face.
  
 -      * vc-dir.el (vc-dir-kill-line): New command.
 -      (vc-dir-mode-map): Bind it to C-k.
 -      (vc-dir-headers): Abbreviate the working dir.
 +2010-11-01  Glenn Morris  <rgm@gnu.org>
  
 -      * vc-git.el (vc-git-revision-table): Include remote branches.
 +      * calendar/holidays.el (general-holidays, oriental-holidays)
 +      (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
 +      (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
 +      the definitions of their targets.
  
 -2010-10-31  Dan Nicolaescu  <dann@ics.uci.edu>
 +      * emacs-lisp/smie.el (smie): New custom group.
 +      (smie-blink-matching-inners, smie-indent-basic): Add :group.
  
 -      New VC methods: vc-log-incoming and vc-log-outgoing.
 -      * vc.el (vc-print-log-setup-buttons, vc-log-internal-common)
 -      (vc-incoming-outgoing-internal, vc-log-incoming, vc-log-outgoing):
 -      New functions.
 -      (vc-print-log-internal): Just call vc-log-internal-common.
 -      (vc-log-view-type): New permanent local variable.
 +      * faces.el (xw-defined-colors, x-setup-function-keys):
 +      * mouse-sel.el (x-select-text):
 +      * term/w32console.el (x-setup-function-keys): Update declarations.
  
 -      * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
 +      * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
  
 -      * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
 -      of the dynamic bound vc-short-log.
 -      (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
 +      * textmodes/ispell.el (comment-add): Declare.
  
 -      * vc-git.el (vc-git-log-outgoing): New function.
 -      (vc-git-log-view-mode): Use vc-log-view-type instead
 -      of the dynamic bound vc-short-log.
 +      * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
 +      Declare.
  
 -      * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead of
 -      the dynamic bound vc-short-log.  Highlight the tag.
 -      (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
 -      (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
 -      (vc-hg-incoming-mode): Remove.
 -      (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
 +      * info.el (finder-keywords-hash, package-alist): Declare.
  
 -      Fix default-directory for vc-root-diff.
 -      * vc.el (vc-root-diff): Bind default-directory to the root
 -      directory for the diff command.
 +2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
  
 -2010-10-31  Sam Steingold  <sds@gnu.org>
 +      * finder.el (finder-compile-keywords): Don't use intern-soft,
 +      since package names may not yet exist in the obarray.
  
 -      * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
 -      `vc-hg-command' with a list of flags.
 +2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
  
 -2010-10-31  Glenn Morris  <rgm@gnu.org>
 +      * vc/vc-arch.el (vc-arch-checkin):
 +      * vc/vc-cvs.el (vc-cvs-checkin):
 +      * vc/vc-mtn.el (vc-mtn-checkin):
 +      * vc/vc-rcs.el (vc-rcs-checkin):
 +      * vc/vc-sccs.el (vc-sccs-checkin):
 +      * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
 +      since 2010-04-21 commit by Stefan Monnier.
  
 -      * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
 -      log-edit-before-checkin-process.
 +2010-11-01  Glenn Morris  <rgm@gnu.org>
  
 -      * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
 +      * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
  
 -      * vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
 +      * startup.el (package-enable-at-startup, package-initialize):
 +      Silence compiler.
  
 -      * vc-dispatcher.el (vc-start-logentry): Doc fix.
 -      (log-view-process-buffer, log-edit-extra-flags): Declare.
 +      * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
 +      Silence compiler.
  
 -2010-10-31  Dan Nicolaescu  <dann@ics.uci.edu>
 +2010-10-31  Julien Danjou  <julien@danjou.info>
  
 -      Add special markup processing for commit logs.
 -      * log-edit.el (log-edit): Add new argument MODE.  Use that mode
 -      when non-nil instead of the log-view-mode.
 +      * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
 +      (byte-recompile-directory):
 +      * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
 +      Use `byte-recompile-file'.
  
 -      * vc.el (vc-default-log-edit-mode): New function.
 +2010-10-31  Glenn Morris  <rgm@gnu.org>
  
 -      * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
 -      log-edit.
 +      * cus-start.el: Handle standard values via a keyword.
 +      Only set version property if specified.
 +      (cursor-in-non-selected-windows, menu-bar-mode)
 +      (tool-bar-mode, show-trailing-whitespace):
 +      Do not specify standard values.
 +      (transient-mark-mode, temporary-file-directory): Use :standard.
  
 -      Support for shelving snapshots and for showing shelves.
 -      * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
 -      (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
 -      New functions.
 -      (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
 -      (vc-bzr-extra-menu-map): Map them.
 +2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
  
 -2010-10-30  Michael Albinus  <michael.albinus@gmx.de>
 +      * term/x-win.el (x-get-selection-value): New function that gets
 +      PRIMARY with type as specified in x-select-request-type. (Bug#6802).
 +
 +2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
  
        * net/tramp.el (tramp-handle-insert-file-contents): For root,
        preserve owner and group when editing files.  (Bug#7289)
@@@ -180,6 -180,1289 +180,7 @@@ TAGS TAGS-LISP: $(lisptagsfiles1) $(lis
        els=`echo $(lisptagsfiles1) $(lisptagsfiles2) $(lisptagsfiles3) $(lisptagsfiles4) | sed -e "s,$(lisp)/[^ ]*loaddefs[^ ]*,," -e "s,$(lisp)/ldefs-boot[^ ]*,,"`; \
        ${ETAGS} -o $@ $$els
  
 -.PHONY: update-elclist
 -
 -## Post-bootstrap, find the list of .elc files and use sed to update
 -## ELCFILES in Makefile.in.
 -## Errors in the final sed are non-fatal, since they have no effect on
 -## building Emacs.  chmod +w is for CVSREAD=1.
 -## "echo" is non-portable with regards to backslashes, eg between zsh
 -## and bash.  Hence the use of sed on line 2 below (line 1 seems to be OK).
 -## http://lists.gnu.org/archive/html/emacs-devel/2008-05/msg01535.html
 -update-elclist:
 -      echo "/^ELCFILES/,/^$$/c\\" > temp.sed
 -      echo "ELCFILES =" | sed -e 's/$$/ \\\\\\/' >> temp.sed
 -      LC_COLLATE=C ls $(lisp)/*.elc $(lisp)/*/*.elc $(lisp)/*/*/*.elc $(lisp)/*/*/*/*.elc | sed -e "s|^$(lisp)|       \$$(lisp)|" -e 's/$$/ \\\\\\/' -e '$$ s/ \\\\//' >> temp.sed
 -      echo "" >> temp.sed
 -      -sed -f temp.sed $(lisp)/Makefile.in > temp-elcfiles || rm temp-elcfiles
 -      rm temp.sed
 -      @test -f temp-elcfiles || echo "Maintainer warning: failed to update Makefile.in.  You can ignore this if you are not an Emacs developer."
 -      if test -f temp-elcfiles; then \
 -        chmod +w $(lisp)/Makefile.in; \
 -        mv -f temp-elcfiles $(lisp)/Makefile.in; \
 -      fi
 -      -(LC_COLLATE=C ls $(lisp)/*.elc $(lisp)/*/*.elc $(lisp)/*/*/*.elc $(lisp)/*/*/*/*.elc | sed 's/elc$$/el/';  \
 -        LC_COLLATE=C ls $(lisp)/*.el $(lisp)/*/*.el $(lisp)/*/*/*.el $(lisp)/*/*/*/*.el; \
 -        LC_COLLATE=C ls $(lisp)/*.el $(lisp)/*/*.el $(lisp)/*/*/*.el $(lisp)/*/*/*/*.el) |       \
 -           sort | uniq -u | while read extra; do                         \
 -               echo "Found left over byte-compiled file: $${extra}c !!" ;\
 -           done
 -
 -## Explicitly list the .elc files, for the sake of parallel builds.
 -## http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-05/msg00016.html
 -## This can probably be done more elegantly, but needs to be portable.
 -ELCFILES = \
 -      $(lisp)/abbrev.elc \
 -      $(lisp)/abbrevlist.elc \
 -      $(lisp)/add-log.elc \
 -      $(lisp)/align.elc \
 -      $(lisp)/allout.elc \
 -      $(lisp)/ansi-color.elc \
 -      $(lisp)/apropos.elc \
 -      $(lisp)/arc-mode.elc \
 -      $(lisp)/array.elc \
 -      $(lisp)/autoarg.elc \
 -      $(lisp)/autoinsert.elc \
 -      $(lisp)/autorevert.elc \
 -      $(lisp)/avoid.elc \
 -      $(lisp)/battery.elc \
 -      $(lisp)/bindings.elc \
 -      $(lisp)/bookmark.elc \
 -      $(lisp)/bs.elc \
 -      $(lisp)/buff-menu.elc \
 -      $(lisp)/button.elc \
 -      $(lisp)/calc/calc-aent.elc \
 -      $(lisp)/calc/calc-alg.elc \
 -      $(lisp)/calc/calc-arith.elc \
 -      $(lisp)/calc/calc-bin.elc \
 -      $(lisp)/calc/calc-comb.elc \
 -      $(lisp)/calc/calc-cplx.elc \
 -      $(lisp)/calc/calc-embed.elc \
 -      $(lisp)/calc/calc-ext.elc \
 -      $(lisp)/calc/calc-fin.elc \
 -      $(lisp)/calc/calc-forms.elc \
 -      $(lisp)/calc/calc-frac.elc \
 -      $(lisp)/calc/calc-funcs.elc \
 -      $(lisp)/calc/calc-graph.elc \
 -      $(lisp)/calc/calc-help.elc \
 -      $(lisp)/calc/calc-incom.elc \
 -      $(lisp)/calc/calc-keypd.elc \
 -      $(lisp)/calc/calc-lang.elc \
 -      $(lisp)/calc/calc-macs.elc \
 -      $(lisp)/calc/calc-map.elc \
 -      $(lisp)/calc/calc-math.elc \
 -      $(lisp)/calc/calc-menu.elc \
 -      $(lisp)/calc/calc-misc.elc \
 -      $(lisp)/calc/calc-mode.elc \
 -      $(lisp)/calc/calc-mtx.elc \
 -      $(lisp)/calc/calc-nlfit.elc \
 -      $(lisp)/calc/calc-poly.elc \
 -      $(lisp)/calc/calc-prog.elc \
 -      $(lisp)/calc/calc-rewr.elc \
 -      $(lisp)/calc/calc-rules.elc \
 -      $(lisp)/calc/calc-sel.elc \
 -      $(lisp)/calc/calc-stat.elc \
 -      $(lisp)/calc/calc-store.elc \
 -      $(lisp)/calc/calc-stuff.elc \
 -      $(lisp)/calc/calc-trail.elc \
 -      $(lisp)/calc/calc-undo.elc \
 -      $(lisp)/calc/calc-units.elc \
 -      $(lisp)/calc/calc-vec.elc \
 -      $(lisp)/calc/calc-yank.elc \
 -      $(lisp)/calc/calc.elc \
 -      $(lisp)/calc/calcalg2.elc \
 -      $(lisp)/calc/calcalg3.elc \
 -      $(lisp)/calc/calccomp.elc \
 -      $(lisp)/calc/calcsel2.elc \
 -      $(lisp)/calculator.elc \
 -      $(lisp)/calendar/appt.elc \
 -      $(lisp)/calendar/cal-bahai.elc \
 -      $(lisp)/calendar/cal-china.elc \
 -      $(lisp)/calendar/cal-coptic.elc \
 -      $(lisp)/calendar/cal-dst.elc \
 -      $(lisp)/calendar/cal-french.elc \
 -      $(lisp)/calendar/cal-hebrew.elc \
 -      $(lisp)/calendar/cal-html.elc \
 -      $(lisp)/calendar/cal-islam.elc \
 -      $(lisp)/calendar/cal-iso.elc \
 -      $(lisp)/calendar/cal-julian.elc \
 -      $(lisp)/calendar/cal-mayan.elc \
 -      $(lisp)/calendar/cal-menu.elc \
 -      $(lisp)/calendar/cal-move.elc \
 -      $(lisp)/calendar/cal-persia.elc \
 -      $(lisp)/calendar/cal-tex.elc \
 -      $(lisp)/calendar/cal-x.elc \
 -      $(lisp)/calendar/calendar.elc \
 -      $(lisp)/calendar/diary-lib.elc \
 -      $(lisp)/calendar/holidays.elc \
 -      $(lisp)/calendar/icalendar.elc \
 -      $(lisp)/calendar/lunar.elc \
 -      $(lisp)/calendar/parse-time.elc \
 -      $(lisp)/calendar/solar.elc \
 -      $(lisp)/calendar/time-date.elc \
 -      $(lisp)/calendar/timeclock.elc \
 -      $(lisp)/calendar/todo-mode.elc \
 -      $(lisp)/case-table.elc \
 -      $(lisp)/cdl.elc \
 -      $(lisp)/cedet/cedet-cscope.elc \
 -      $(lisp)/cedet/cedet-files.elc \
 -      $(lisp)/cedet/cedet-global.elc \
 -      $(lisp)/cedet/cedet-idutils.elc \
 -      $(lisp)/cedet/cedet.elc \
 -      $(lisp)/cedet/data-debug.elc \
 -      $(lisp)/cedet/ede.elc \
 -      $(lisp)/cedet/ede/auto.elc \
 -      $(lisp)/cedet/ede/autoconf-edit.elc \
 -      $(lisp)/cedet/ede/base.elc \
 -      $(lisp)/cedet/ede/cpp-root.elc \
 -      $(lisp)/cedet/ede/custom.elc \
 -      $(lisp)/cedet/ede/dired.elc \
 -      $(lisp)/cedet/ede/emacs.elc \
 -      $(lisp)/cedet/ede/files.elc \
 -      $(lisp)/cedet/ede/generic.elc \
 -      $(lisp)/cedet/ede/linux.elc \
 -      $(lisp)/cedet/ede/locate.elc \
 -      $(lisp)/cedet/ede/make.elc \
 -      $(lisp)/cedet/ede/makefile-edit.elc \
 -      $(lisp)/cedet/ede/pconf.elc \
 -      $(lisp)/cedet/ede/pmake.elc \
 -      $(lisp)/cedet/ede/proj-archive.elc \
 -      $(lisp)/cedet/ede/proj-aux.elc \
 -      $(lisp)/cedet/ede/proj-comp.elc \
 -      $(lisp)/cedet/ede/proj-elisp.elc \
 -      $(lisp)/cedet/ede/proj-info.elc \
 -      $(lisp)/cedet/ede/proj-misc.elc \
 -      $(lisp)/cedet/ede/proj-obj.elc \
 -      $(lisp)/cedet/ede/proj-prog.elc \
 -      $(lisp)/cedet/ede/proj-scheme.elc \
 -      $(lisp)/cedet/ede/proj-shared.elc \
 -      $(lisp)/cedet/ede/proj.elc \
 -      $(lisp)/cedet/ede/project-am.elc \
 -      $(lisp)/cedet/ede/shell.elc \
 -      $(lisp)/cedet/ede/simple.elc \
 -      $(lisp)/cedet/ede/source.elc \
 -      $(lisp)/cedet/ede/speedbar.elc \
 -      $(lisp)/cedet/ede/srecode.elc \
 -      $(lisp)/cedet/ede/system.elc \
 -      $(lisp)/cedet/ede/util.elc \
 -      $(lisp)/cedet/inversion.elc \
 -      $(lisp)/cedet/mode-local.elc \
 -      $(lisp)/cedet/pulse.elc \
 -      $(lisp)/cedet/semantic.elc \
 -      $(lisp)/cedet/semantic/analyze.elc \
 -      $(lisp)/cedet/semantic/analyze/complete.elc \
 -      $(lisp)/cedet/semantic/analyze/debug.elc \
 -      $(lisp)/cedet/semantic/analyze/fcn.elc \
 -      $(lisp)/cedet/semantic/analyze/refs.elc \
 -      $(lisp)/cedet/semantic/bovine.elc \
 -      $(lisp)/cedet/semantic/bovine/c-by.elc \
 -      $(lisp)/cedet/semantic/bovine/c.elc \
 -      $(lisp)/cedet/semantic/bovine/debug.elc \
 -      $(lisp)/cedet/semantic/bovine/el.elc \
 -      $(lisp)/cedet/semantic/bovine/gcc.elc \
 -      $(lisp)/cedet/semantic/bovine/make-by.elc \
 -      $(lisp)/cedet/semantic/bovine/make.elc \
 -      $(lisp)/cedet/semantic/bovine/scm-by.elc \
 -      $(lisp)/cedet/semantic/bovine/scm.elc \
 -      $(lisp)/cedet/semantic/chart.elc \
 -      $(lisp)/cedet/semantic/complete.elc \
 -      $(lisp)/cedet/semantic/ctxt.elc \
 -      $(lisp)/cedet/semantic/db-debug.elc \
 -      $(lisp)/cedet/semantic/db-ebrowse.elc \
 -      $(lisp)/cedet/semantic/db-el.elc \
 -      $(lisp)/cedet/semantic/db-file.elc \
 -      $(lisp)/cedet/semantic/db-find.elc \
 -      $(lisp)/cedet/semantic/db-global.elc \
 -      $(lisp)/cedet/semantic/db-javascript.elc \
 -      $(lisp)/cedet/semantic/db-mode.elc \
 -      $(lisp)/cedet/semantic/db-ref.elc \
 -      $(lisp)/cedet/semantic/db-typecache.elc \
 -      $(lisp)/cedet/semantic/db.elc \
 -      $(lisp)/cedet/semantic/debug.elc \
 -      $(lisp)/cedet/semantic/decorate.elc \
 -      $(lisp)/cedet/semantic/decorate/include.elc \
 -      $(lisp)/cedet/semantic/decorate/mode.elc \
 -      $(lisp)/cedet/semantic/dep.elc \
 -      $(lisp)/cedet/semantic/doc.elc \
 -      $(lisp)/cedet/semantic/ede-grammar.elc \
 -      $(lisp)/cedet/semantic/edit.elc \
 -      $(lisp)/cedet/semantic/find.elc \
 -      $(lisp)/cedet/semantic/format.elc \
 -      $(lisp)/cedet/semantic/fw.elc \
 -      $(lisp)/cedet/semantic/grammar-wy.elc \
 -      $(lisp)/cedet/semantic/grammar.elc \
 -      $(lisp)/cedet/semantic/html.elc \
 -      $(lisp)/cedet/semantic/ia-sb.elc \
 -      $(lisp)/cedet/semantic/ia.elc \
 -      $(lisp)/cedet/semantic/idle.elc \
 -      $(lisp)/cedet/semantic/imenu.elc \
 -      $(lisp)/cedet/semantic/java.elc \
 -      $(lisp)/cedet/semantic/lex-spp.elc \
 -      $(lisp)/cedet/semantic/lex.elc \
 -      $(lisp)/cedet/semantic/mru-bookmark.elc \
 -      $(lisp)/cedet/semantic/sb.elc \
 -      $(lisp)/cedet/semantic/scope.elc \
 -      $(lisp)/cedet/semantic/senator.elc \
 -      $(lisp)/cedet/semantic/sort.elc \
 -      $(lisp)/cedet/semantic/symref.elc \
 -      $(lisp)/cedet/semantic/symref/cscope.elc \
 -      $(lisp)/cedet/semantic/symref/filter.elc \
 -      $(lisp)/cedet/semantic/symref/global.elc \
 -      $(lisp)/cedet/semantic/symref/grep.elc \
 -      $(lisp)/cedet/semantic/symref/idutils.elc \
 -      $(lisp)/cedet/semantic/symref/list.elc \
 -      $(lisp)/cedet/semantic/tag-file.elc \
 -      $(lisp)/cedet/semantic/tag-ls.elc \
 -      $(lisp)/cedet/semantic/tag-write.elc \
 -      $(lisp)/cedet/semantic/tag.elc \
 -      $(lisp)/cedet/semantic/texi.elc \
 -      $(lisp)/cedet/semantic/util-modes.elc \
 -      $(lisp)/cedet/semantic/util.elc \
 -      $(lisp)/cedet/semantic/wisent.elc \
 -      $(lisp)/cedet/semantic/wisent/comp.elc \
 -      $(lisp)/cedet/semantic/wisent/java-tags.elc \
 -      $(lisp)/cedet/semantic/wisent/javascript.elc \
 -      $(lisp)/cedet/semantic/wisent/javat-wy.elc \
 -      $(lisp)/cedet/semantic/wisent/js-wy.elc \
 -      $(lisp)/cedet/semantic/wisent/python-wy.elc \
 -      $(lisp)/cedet/semantic/wisent/python.elc \
 -      $(lisp)/cedet/semantic/wisent/wisent.elc \
 -      $(lisp)/cedet/srecode.elc \
 -      $(lisp)/cedet/srecode/args.elc \
 -      $(lisp)/cedet/srecode/compile.elc \
 -      $(lisp)/cedet/srecode/cpp.elc \
 -      $(lisp)/cedet/srecode/ctxt.elc \
 -      $(lisp)/cedet/srecode/dictionary.elc \
 -      $(lisp)/cedet/srecode/document.elc \
 -      $(lisp)/cedet/srecode/el.elc \
 -      $(lisp)/cedet/srecode/expandproto.elc \
 -      $(lisp)/cedet/srecode/extract.elc \
 -      $(lisp)/cedet/srecode/fields.elc \
 -      $(lisp)/cedet/srecode/filters.elc \
 -      $(lisp)/cedet/srecode/find.elc \
 -      $(lisp)/cedet/srecode/getset.elc \
 -      $(lisp)/cedet/srecode/insert.elc \
 -      $(lisp)/cedet/srecode/java.elc \
 -      $(lisp)/cedet/srecode/map.elc \
 -      $(lisp)/cedet/srecode/mode.elc \
 -      $(lisp)/cedet/srecode/semantic.elc \
 -      $(lisp)/cedet/srecode/srt-mode.elc \
 -      $(lisp)/cedet/srecode/srt-wy.elc \
 -      $(lisp)/cedet/srecode/srt.elc \
 -      $(lisp)/cedet/srecode/table.elc \
 -      $(lisp)/cedet/srecode/template.elc \
 -      $(lisp)/cedet/srecode/texi.elc \
 -      $(lisp)/chistory.elc \
 -      $(lisp)/cmuscheme.elc \
 -      $(lisp)/comint.elc \
 -      $(lisp)/compare-w.elc \
 -      $(lisp)/complete.elc \
 -      $(lisp)/completion.elc \
 -      $(lisp)/composite.elc \
 -      $(lisp)/cus-dep.elc \
 -      $(lisp)/cus-edit.elc \
 -      $(lisp)/cus-face.elc \
 -      $(lisp)/cus-start.elc \
 -      $(lisp)/cus-theme.elc \
 -      $(lisp)/custom.elc \
 -      $(lisp)/cvs-status.elc \
 -      $(lisp)/dabbrev.elc \
 -      $(lisp)/delim-col.elc \
 -      $(lisp)/delsel.elc \
 -      $(lisp)/descr-text.elc \
 -      $(lisp)/desktop.elc \
 -      $(lisp)/dframe.elc \
 -      $(lisp)/diff-mode.elc \
 -      $(lisp)/diff.elc \
 -      $(lisp)/dired-aux.elc \
 -      $(lisp)/dired-x.elc \
 -      $(lisp)/dired.elc \
 -      $(lisp)/dirtrack.elc \
 -      $(lisp)/disp-table.elc \
 -      $(lisp)/dnd.elc \
 -      $(lisp)/doc-view.elc \
 -      $(lisp)/dos-fns.elc \
 -      $(lisp)/dos-vars.elc \
 -      $(lisp)/dos-w32.elc \
 -      $(lisp)/double.elc \
 -      $(lisp)/ebuff-menu.elc \
 -      $(lisp)/echistory.elc \
 -      $(lisp)/ediff-diff.elc \
 -      $(lisp)/ediff-help.elc \
 -      $(lisp)/ediff-hook.elc \
 -      $(lisp)/ediff-init.elc \
 -      $(lisp)/ediff-merg.elc \
 -      $(lisp)/ediff-mult.elc \
 -      $(lisp)/ediff-ptch.elc \
 -      $(lisp)/ediff-util.elc \
 -      $(lisp)/ediff-vers.elc \
 -      $(lisp)/ediff-wind.elc \
 -      $(lisp)/ediff.elc \
 -      $(lisp)/edmacro.elc \
 -      $(lisp)/ehelp.elc \
 -      $(lisp)/electric.elc \
 -      $(lisp)/elide-head.elc \
 -      $(lisp)/emacs-lisp/advice.elc \
 -      $(lisp)/emacs-lisp/assoc.elc \
 -      $(lisp)/emacs-lisp/authors.elc \
 -      $(lisp)/emacs-lisp/autoload.elc \
 -      $(lisp)/emacs-lisp/avl-tree.elc \
 -      $(lisp)/emacs-lisp/backquote.elc \
 -      $(lisp)/emacs-lisp/benchmark.elc \
 -      $(lisp)/emacs-lisp/bindat.elc \
 -      $(lisp)/emacs-lisp/byte-opt.elc \
 -      $(lisp)/emacs-lisp/byte-run.elc \
 -      $(lisp)/emacs-lisp/bytecomp.elc \
 -      $(lisp)/emacs-lisp/chart.elc \
 -      $(lisp)/emacs-lisp/check-declare.elc \
 -      $(lisp)/emacs-lisp/checkdoc.elc \
 -      $(lisp)/emacs-lisp/cl-extra.elc \
 -      $(lisp)/emacs-lisp/cl-indent.elc \
 -      $(lisp)/emacs-lisp/cl-macs.elc \
 -      $(lisp)/emacs-lisp/cl-seq.elc \
 -      $(lisp)/emacs-lisp/cl.elc \
 -      $(lisp)/emacs-lisp/copyright.elc \
 -      $(lisp)/emacs-lisp/crm.elc \
 -      $(lisp)/emacs-lisp/cust-print.elc \
 -      $(lisp)/emacs-lisp/debug.elc \
 -      $(lisp)/emacs-lisp/derived.elc \
 -      $(lisp)/emacs-lisp/disass.elc \
 -      $(lisp)/emacs-lisp/easy-mmode.elc \
 -      $(lisp)/emacs-lisp/easymenu.elc \
 -      $(lisp)/emacs-lisp/edebug.elc \
 -      $(lisp)/emacs-lisp/eieio-base.elc \
 -      $(lisp)/emacs-lisp/eieio-comp.elc \
 -      $(lisp)/emacs-lisp/eieio-custom.elc \
 -      $(lisp)/emacs-lisp/eieio-datadebug.elc \
 -      $(lisp)/emacs-lisp/eieio-opt.elc \
 -      $(lisp)/emacs-lisp/eieio-speedbar.elc \
 -      $(lisp)/emacs-lisp/eieio.elc \
 -      $(lisp)/emacs-lisp/eldoc.elc \
 -      $(lisp)/emacs-lisp/elint.elc \
 -      $(lisp)/emacs-lisp/elp.elc \
 -      $(lisp)/emacs-lisp/ewoc.elc \
 -      $(lisp)/emacs-lisp/find-func.elc \
 -      $(lisp)/emacs-lisp/find-gc.elc \
 -      $(lisp)/emacs-lisp/float-sup.elc \
 -      $(lisp)/emacs-lisp/generic.elc \
 -      $(lisp)/emacs-lisp/gulp.elc \
 -      $(lisp)/emacs-lisp/helper.elc \
 -      $(lisp)/emacs-lisp/lisp-mnt.elc \
 -      $(lisp)/emacs-lisp/lisp-mode.elc \
 -      $(lisp)/emacs-lisp/lisp.elc \
 -      $(lisp)/emacs-lisp/macroexp.elc \
 -      $(lisp)/emacs-lisp/map-ynp.elc \
 -      $(lisp)/emacs-lisp/pp.elc \
 -      $(lisp)/emacs-lisp/re-builder.elc \
 -      $(lisp)/emacs-lisp/regexp-opt.elc \
 -      $(lisp)/emacs-lisp/regi.elc \
 -      $(lisp)/emacs-lisp/ring.elc \
 -      $(lisp)/emacs-lisp/rx.elc \
 -      $(lisp)/emacs-lisp/shadow.elc \
+       $(lisp)/emacs-lisp/smie.elc \
 -      $(lisp)/emacs-lisp/sregex.elc \
 -      $(lisp)/emacs-lisp/syntax.elc \
 -      $(lisp)/emacs-lisp/tcover-ses.elc \
 -      $(lisp)/emacs-lisp/tcover-unsafep.elc \
 -      $(lisp)/emacs-lisp/testcover.elc \
 -      $(lisp)/emacs-lisp/timer.elc \
 -      $(lisp)/emacs-lisp/tq.elc \
 -      $(lisp)/emacs-lisp/trace.elc \
 -      $(lisp)/emacs-lisp/unsafep.elc \
 -      $(lisp)/emacs-lisp/warnings.elc \
 -      $(lisp)/emacs-lock.elc \
 -      $(lisp)/emerge.elc \
 -      $(lisp)/emulation/crisp.elc \
 -      $(lisp)/emulation/cua-base.elc \
 -      $(lisp)/emulation/cua-gmrk.elc \
 -      $(lisp)/emulation/cua-rect.elc \
 -      $(lisp)/emulation/edt-lk201.elc \
 -      $(lisp)/emulation/edt-mapper.elc \
 -      $(lisp)/emulation/edt-pc.elc \
 -      $(lisp)/emulation/edt-vt100.elc \
 -      $(lisp)/emulation/edt.elc \
 -      $(lisp)/emulation/keypad.elc \
 -      $(lisp)/emulation/pc-mode.elc \
 -      $(lisp)/emulation/pc-select.elc \
 -      $(lisp)/emulation/tpu-edt.elc \
 -      $(lisp)/emulation/tpu-extras.elc \
 -      $(lisp)/emulation/tpu-mapper.elc \
 -      $(lisp)/emulation/vi.elc \
 -      $(lisp)/emulation/vip.elc \
 -      $(lisp)/emulation/viper-cmd.elc \
 -      $(lisp)/emulation/viper-ex.elc \
 -      $(lisp)/emulation/viper-init.elc \
 -      $(lisp)/emulation/viper-keym.elc \
 -      $(lisp)/emulation/viper-macs.elc \
 -      $(lisp)/emulation/viper-mous.elc \
 -      $(lisp)/emulation/viper-util.elc \
 -      $(lisp)/emulation/viper.elc \
 -      $(lisp)/emulation/ws-mode.elc \
 -      $(lisp)/env.elc \
 -      $(lisp)/epa-dired.elc \
 -      $(lisp)/epa-file.elc \
 -      $(lisp)/epa-hook.elc \
 -      $(lisp)/epa-mail.elc \
 -      $(lisp)/epa.elc \
 -      $(lisp)/epg-config.elc \
 -      $(lisp)/epg.elc \
 -      $(lisp)/erc/erc-autoaway.elc \
 -      $(lisp)/erc/erc-backend.elc \
 -      $(lisp)/erc/erc-button.elc \
 -      $(lisp)/erc/erc-capab.elc \
 -      $(lisp)/erc/erc-compat.elc \
 -      $(lisp)/erc/erc-dcc.elc \
 -      $(lisp)/erc/erc-ezbounce.elc \
 -      $(lisp)/erc/erc-fill.elc \
 -      $(lisp)/erc/erc-goodies.elc \
 -      $(lisp)/erc/erc-hecomplete.elc \
 -      $(lisp)/erc/erc-ibuffer.elc \
 -      $(lisp)/erc/erc-identd.elc \
 -      $(lisp)/erc/erc-imenu.elc \
 -      $(lisp)/erc/erc-join.elc \
 -      $(lisp)/erc/erc-lang.elc \
 -      $(lisp)/erc/erc-list.elc \
 -      $(lisp)/erc/erc-log.elc \
 -      $(lisp)/erc/erc-match.elc \
 -      $(lisp)/erc/erc-menu.elc \
 -      $(lisp)/erc/erc-netsplit.elc \
 -      $(lisp)/erc/erc-networks.elc \
 -      $(lisp)/erc/erc-notify.elc \
 -      $(lisp)/erc/erc-page.elc \
 -      $(lisp)/erc/erc-pcomplete.elc \
 -      $(lisp)/erc/erc-replace.elc \
 -      $(lisp)/erc/erc-ring.elc \
 -      $(lisp)/erc/erc-services.elc \
 -      $(lisp)/erc/erc-sound.elc \
 -      $(lisp)/erc/erc-speedbar.elc \
 -      $(lisp)/erc/erc-spelling.elc \
 -      $(lisp)/erc/erc-stamp.elc \
 -      $(lisp)/erc/erc-track.elc \
 -      $(lisp)/erc/erc-truncate.elc \
 -      $(lisp)/erc/erc-xdcc.elc \
 -      $(lisp)/erc/erc.elc \
 -      $(lisp)/eshell/em-alias.elc \
 -      $(lisp)/eshell/em-banner.elc \
 -      $(lisp)/eshell/em-basic.elc \
 -      $(lisp)/eshell/em-cmpl.elc \
 -      $(lisp)/eshell/em-dirs.elc \
 -      $(lisp)/eshell/em-glob.elc \
 -      $(lisp)/eshell/em-hist.elc \
 -      $(lisp)/eshell/em-ls.elc \
 -      $(lisp)/eshell/em-pred.elc \
 -      $(lisp)/eshell/em-prompt.elc \
 -      $(lisp)/eshell/em-rebind.elc \
 -      $(lisp)/eshell/em-script.elc \
 -      $(lisp)/eshell/em-smart.elc \
 -      $(lisp)/eshell/em-term.elc \
 -      $(lisp)/eshell/em-unix.elc \
 -      $(lisp)/eshell/em-xtra.elc \
 -      $(lisp)/eshell/esh-arg.elc \
 -      $(lisp)/eshell/esh-cmd.elc \
 -      $(lisp)/eshell/esh-ext.elc \
 -      $(lisp)/eshell/esh-io.elc \
 -      $(lisp)/eshell/esh-mode.elc \
 -      $(lisp)/eshell/esh-module.elc \
 -      $(lisp)/eshell/esh-opt.elc \
 -      $(lisp)/eshell/esh-proc.elc \
 -      $(lisp)/eshell/esh-test.elc \
 -      $(lisp)/eshell/esh-util.elc \
 -      $(lisp)/eshell/esh-var.elc \
 -      $(lisp)/eshell/eshell.elc \
 -      $(lisp)/expand.elc \
 -      $(lisp)/ezimage.elc \
 -      $(lisp)/face-remap.elc \
 -      $(lisp)/facemenu.elc \
 -      $(lisp)/faces.elc \
 -      $(lisp)/ffap.elc \
 -      $(lisp)/filecache.elc \
 -      $(lisp)/files-x.elc \
 -      $(lisp)/files.elc \
 -      $(lisp)/filesets.elc \
 -      $(lisp)/find-cmd.elc \
 -      $(lisp)/find-dired.elc \
 -      $(lisp)/find-file.elc \
 -      $(lisp)/find-lisp.elc \
 -      $(lisp)/finder.elc \
 -      $(lisp)/flow-ctrl.elc \
 -      $(lisp)/foldout.elc \
 -      $(lisp)/follow.elc \
 -      $(lisp)/font-core.elc \
 -      $(lisp)/font-lock.elc \
 -      $(lisp)/font-setting.elc \
 -      $(lisp)/format-spec.elc \
 -      $(lisp)/format.elc \
 -      $(lisp)/forms.elc \
 -      $(lisp)/frame.elc \
 -      $(lisp)/fringe.elc \
 -      $(lisp)/generic-x.elc \
 -      $(lisp)/gnus/auth-source.elc \
 -      $(lisp)/gnus/canlock.elc \
 -      $(lisp)/gnus/compface.elc \
 -      $(lisp)/gnus/deuglify.elc \
 -      $(lisp)/gnus/earcon.elc \
 -      $(lisp)/gnus/ecomplete.elc \
 -      $(lisp)/gnus/flow-fill.elc \
 -      $(lisp)/gnus/gmm-utils.elc \
 -      $(lisp)/gnus/gnus-agent.elc \
 -      $(lisp)/gnus/gnus-art.elc \
 -      $(lisp)/gnus/gnus-async.elc \
 -      $(lisp)/gnus/gnus-audio.elc \
 -      $(lisp)/gnus/gnus-bcklg.elc \
 -      $(lisp)/gnus/gnus-bookmark.elc \
 -      $(lisp)/gnus/gnus-cache.elc \
 -      $(lisp)/gnus/gnus-cite.elc \
 -      $(lisp)/gnus/gnus-cus.elc \
 -      $(lisp)/gnus/gnus-delay.elc \
 -      $(lisp)/gnus/gnus-demon.elc \
 -      $(lisp)/gnus/gnus-diary.elc \
 -      $(lisp)/gnus/gnus-dired.elc \
 -      $(lisp)/gnus/gnus-draft.elc \
 -      $(lisp)/gnus/gnus-dup.elc \
 -      $(lisp)/gnus/gnus-eform.elc \
 -      $(lisp)/gnus/gnus-ems.elc \
 -      $(lisp)/gnus/gnus-fun.elc \
 -      $(lisp)/gnus/gnus-group.elc \
 -      $(lisp)/gnus/gnus-int.elc \
 -      $(lisp)/gnus/gnus-kill.elc \
 -      $(lisp)/gnus/gnus-logic.elc \
 -      $(lisp)/gnus/gnus-mh.elc \
 -      $(lisp)/gnus/gnus-ml.elc \
 -      $(lisp)/gnus/gnus-mlspl.elc \
 -      $(lisp)/gnus/gnus-move.elc \
 -      $(lisp)/gnus/gnus-msg.elc \
 -      $(lisp)/gnus/gnus-nocem.elc \
 -      $(lisp)/gnus/gnus-picon.elc \
 -      $(lisp)/gnus/gnus-range.elc \
 -      $(lisp)/gnus/gnus-registry.elc \
 -      $(lisp)/gnus/gnus-salt.elc \
 -      $(lisp)/gnus/gnus-score.elc \
 -      $(lisp)/gnus/gnus-setup.elc \
 -      $(lisp)/gnus/gnus-sieve.elc \
 -      $(lisp)/gnus/gnus-soup.elc \
 -      $(lisp)/gnus/gnus-spec.elc \
 -      $(lisp)/gnus/gnus-srvr.elc \
 -      $(lisp)/gnus/gnus-start.elc \
 -      $(lisp)/gnus/gnus-sum.elc \
 -      $(lisp)/gnus/gnus-topic.elc \
 -      $(lisp)/gnus/gnus-undo.elc \
 -      $(lisp)/gnus/gnus-util.elc \
 -      $(lisp)/gnus/gnus-uu.elc \
 -      $(lisp)/gnus/gnus-vm.elc \
 -      $(lisp)/gnus/gnus-win.elc \
 -      $(lisp)/gnus/gnus.elc \
 -      $(lisp)/gnus/html2text.elc \
 -      $(lisp)/gnus/ietf-drums.elc \
 -      $(lisp)/gnus/legacy-gnus-agent.elc \
 -      $(lisp)/gnus/mail-parse.elc \
 -      $(lisp)/gnus/mail-prsvr.elc \
 -      $(lisp)/gnus/mail-source.elc \
 -      $(lisp)/gnus/mailcap.elc \
 -      $(lisp)/gnus/message.elc \
 -      $(lisp)/gnus/messcompat.elc \
 -      $(lisp)/gnus/mm-bodies.elc \
 -      $(lisp)/gnus/mm-decode.elc \
 -      $(lisp)/gnus/mm-encode.elc \
 -      $(lisp)/gnus/mm-extern.elc \
 -      $(lisp)/gnus/mm-partial.elc \
 -      $(lisp)/gnus/mm-url.elc \
 -      $(lisp)/gnus/mm-util.elc \
 -      $(lisp)/gnus/mm-uu.elc \
 -      $(lisp)/gnus/mm-view.elc \
 -      $(lisp)/gnus/mml-sec.elc \
 -      $(lisp)/gnus/mml-smime.elc \
 -      $(lisp)/gnus/mml.elc \
 -      $(lisp)/gnus/mml1991.elc \
 -      $(lisp)/gnus/mml2015.elc \
 -      $(lisp)/gnus/nnagent.elc \
 -      $(lisp)/gnus/nnbabyl.elc \
 -      $(lisp)/gnus/nndb.elc \
 -      $(lisp)/gnus/nndiary.elc \
 -      $(lisp)/gnus/nndir.elc \
 -      $(lisp)/gnus/nndoc.elc \
 -      $(lisp)/gnus/nndraft.elc \
 -      $(lisp)/gnus/nneething.elc \
 -      $(lisp)/gnus/nnfolder.elc \
 -      $(lisp)/gnus/nngateway.elc \
 -      $(lisp)/gnus/nnheader.elc \
 -      $(lisp)/gnus/nnimap.elc \
 -      $(lisp)/gnus/nnir.elc \
 -      $(lisp)/gnus/nnkiboze.elc \
 -      $(lisp)/gnus/nnlistserv.elc \
 -      $(lisp)/gnus/nnmail.elc \
 -      $(lisp)/gnus/nnmaildir.elc \
 -      $(lisp)/gnus/nnmairix.elc \
 -      $(lisp)/gnus/nnmbox.elc \
 -      $(lisp)/gnus/nnmh.elc \
 -      $(lisp)/gnus/nnml.elc \
 -      $(lisp)/gnus/nnnil.elc \
 -      $(lisp)/gnus/nnoo.elc \
 -      $(lisp)/gnus/nnrss.elc \
 -      $(lisp)/gnus/nnslashdot.elc \
 -      $(lisp)/gnus/nnsoup.elc \
 -      $(lisp)/gnus/nnspool.elc \
 -      $(lisp)/gnus/nntp.elc \
 -      $(lisp)/gnus/nnultimate.elc \
 -      $(lisp)/gnus/nnvirtual.elc \
 -      $(lisp)/gnus/nnwarchive.elc \
 -      $(lisp)/gnus/nnweb.elc \
 -      $(lisp)/gnus/nnwfm.elc \
 -      $(lisp)/gnus/pop3.elc \
 -      $(lisp)/gnus/qp.elc \
 -      $(lisp)/gnus/rfc1843.elc \
 -      $(lisp)/gnus/rfc2045.elc \
 -      $(lisp)/gnus/rfc2047.elc \
 -      $(lisp)/gnus/rfc2104.elc \
 -      $(lisp)/gnus/rfc2231.elc \
 -      $(lisp)/gnus/score-mode.elc \
 -      $(lisp)/gnus/sieve-manage.elc \
 -      $(lisp)/gnus/sieve-mode.elc \
 -      $(lisp)/gnus/sieve.elc \
 -      $(lisp)/gnus/smiley.elc \
 -      $(lisp)/gnus/smime.elc \
 -      $(lisp)/gnus/spam-report.elc \
 -      $(lisp)/gnus/spam-stat.elc \
 -      $(lisp)/gnus/spam-wash.elc \
 -      $(lisp)/gnus/spam.elc \
 -      $(lisp)/gnus/starttls.elc \
 -      $(lisp)/gnus/utf7.elc \
 -      $(lisp)/gnus/webmail.elc \
 -      $(lisp)/gnus/yenc.elc \
 -      $(lisp)/gs.elc \
 -      $(lisp)/help-at-pt.elc \
 -      $(lisp)/help-fns.elc \
 -      $(lisp)/help-macro.elc \
 -      $(lisp)/help-mode.elc \
 -      $(lisp)/help.elc \
 -      $(lisp)/hex-util.elc \
 -      $(lisp)/hexl.elc \
 -      $(lisp)/hfy-cmap.elc \
 -      $(lisp)/hi-lock.elc \
 -      $(lisp)/hilit-chg.elc \
 -      $(lisp)/hippie-exp.elc \
 -      $(lisp)/hl-line.elc \
 -      $(lisp)/htmlfontify.elc \
 -      $(lisp)/ibuf-ext.elc \
 -      $(lisp)/ibuf-macs.elc \
 -      $(lisp)/ibuffer.elc \
 -      $(lisp)/icomplete.elc \
 -      $(lisp)/ido.elc \
 -      $(lisp)/ielm.elc \
 -      $(lisp)/iimage.elc \
 -      $(lisp)/image-dired.elc \
 -      $(lisp)/image-file.elc \
 -      $(lisp)/image-mode.elc \
 -      $(lisp)/image.elc \
 -      $(lisp)/imenu.elc \
 -      $(lisp)/indent.elc \
 -      $(lisp)/info-look.elc \
 -      $(lisp)/info-xref.elc \
 -      $(lisp)/info.elc \
 -      $(lisp)/informat.elc \
 -      $(lisp)/international/ccl.elc \
 -      $(lisp)/international/characters.elc \
 -      $(lisp)/international/fontset.elc \
 -      $(lisp)/international/isearch-x.elc \
 -      $(lisp)/international/iso-ascii.elc \
 -      $(lisp)/international/iso-cvt.elc \
 -      $(lisp)/international/iso-transl.elc \
 -      $(lisp)/international/ja-dic-cnv.elc \
 -      $(lisp)/international/ja-dic-utl.elc \
 -      $(lisp)/international/kinsoku.elc \
 -      $(lisp)/international/kkc.elc \
 -      $(lisp)/international/latexenc.elc \
 -      $(lisp)/international/latin1-disp.elc \
 -      $(lisp)/international/mule-cmds.elc \
 -      $(lisp)/international/mule-conf.elc \
 -      $(lisp)/international/mule-diag.elc \
 -      $(lisp)/international/mule-util.elc \
 -      $(lisp)/international/mule.elc \
 -      $(lisp)/international/ogonek.elc \
 -      $(lisp)/international/quail.elc \
 -      $(lisp)/international/robin.elc \
 -      $(lisp)/international/titdic-cnv.elc \
 -      $(lisp)/international/ucs-normalize.elc \
 -      $(lisp)/international/utf-7.elc \
 -      $(lisp)/isearch.elc \
 -      $(lisp)/isearchb.elc \
 -      $(lisp)/iswitchb.elc \
 -      $(lisp)/jit-lock.elc \
 -      $(lisp)/jka-cmpr-hook.elc \
 -      $(lisp)/jka-compr.elc \
 -      $(lisp)/json.elc \
 -      $(lisp)/kermit.elc \
 -      $(lisp)/kmacro.elc \
 -      $(lisp)/language/china-util.elc \
 -      $(lisp)/language/chinese.elc \
 -      $(lisp)/language/cyril-util.elc \
 -      $(lisp)/language/cyrillic.elc \
 -      $(lisp)/language/ethio-util.elc \
 -      $(lisp)/language/ethiopic.elc \
 -      $(lisp)/language/european.elc \
 -      $(lisp)/language/hanja-util.elc \
 -      $(lisp)/language/ind-util.elc \
 -      $(lisp)/language/indian.elc \
 -      $(lisp)/language/japan-util.elc \
 -      $(lisp)/language/korea-util.elc \
 -      $(lisp)/language/lao-util.elc \
 -      $(lisp)/language/thai-util.elc \
 -      $(lisp)/language/thai-word.elc \
 -      $(lisp)/language/tibet-util.elc \
 -      $(lisp)/language/tibetan.elc \
 -      $(lisp)/language/tv-util.elc \
 -      $(lisp)/language/viet-util.elc \
 -      $(lisp)/language/vietnamese.elc \
 -      $(lisp)/ledit.elc \
 -      $(lisp)/linum.elc \
 -      $(lisp)/loadhist.elc \
 -      $(lisp)/locate.elc \
 -      $(lisp)/log-edit.elc \
 -      $(lisp)/log-view.elc \
 -      $(lisp)/longlines.elc \
 -      $(lisp)/lpr.elc \
 -      $(lisp)/ls-lisp.elc \
 -      $(lisp)/macros.elc \
 -      $(lisp)/mail/binhex.elc \
 -      $(lisp)/mail/emacsbug.elc \
 -      $(lisp)/mail/feedmail.elc \
 -      $(lisp)/mail/footnote.elc \
 -      $(lisp)/mail/hashcash.elc \
 -      $(lisp)/mail/mail-extr.elc \
 -      $(lisp)/mail/mail-hist.elc \
 -      $(lisp)/mail/mail-utils.elc \
 -      $(lisp)/mail/mailabbrev.elc \
 -      $(lisp)/mail/mailalias.elc \
 -      $(lisp)/mail/mailclient.elc \
 -      $(lisp)/mail/mailheader.elc \
 -      $(lisp)/mail/mailpost.elc \
 -      $(lisp)/mail/metamail.elc \
 -      $(lisp)/mail/mspools.elc \
 -      $(lisp)/mail/reporter.elc \
 -      $(lisp)/mail/rfc2368.elc \
 -      $(lisp)/mail/rfc822.elc \
 -      $(lisp)/mail/rmail-spam-filter.elc \
 -      $(lisp)/mail/rmail.elc \
 -      $(lisp)/mail/rmailedit.elc \
 -      $(lisp)/mail/rmailkwd.elc \
 -      $(lisp)/mail/rmailmm.elc \
 -      $(lisp)/mail/rmailmsc.elc \
 -      $(lisp)/mail/rmailout.elc \
 -      $(lisp)/mail/rmailsort.elc \
 -      $(lisp)/mail/rmailsum.elc \
 -      $(lisp)/mail/sendmail.elc \
 -      $(lisp)/mail/smtpmail.elc \
 -      $(lisp)/mail/supercite.elc \
 -      $(lisp)/mail/uce.elc \
 -      $(lisp)/mail/undigest.elc \
 -      $(lisp)/mail/unrmail.elc \
 -      $(lisp)/mail/uudecode.elc \
 -      $(lisp)/makesum.elc \
 -      $(lisp)/man.elc \
 -      $(lisp)/master.elc \
 -      $(lisp)/mb-depth.elc \
 -      $(lisp)/md4.elc \
 -      $(lisp)/menu-bar.elc \
 -      $(lisp)/mh-e/mh-alias.elc \
 -      $(lisp)/mh-e/mh-buffers.elc \
 -      $(lisp)/mh-e/mh-comp.elc \
 -      $(lisp)/mh-e/mh-e.elc \
 -      $(lisp)/mh-e/mh-folder.elc \
 -      $(lisp)/mh-e/mh-funcs.elc \
 -      $(lisp)/mh-e/mh-identity.elc \
 -      $(lisp)/mh-e/mh-inc.elc \
 -      $(lisp)/mh-e/mh-junk.elc \
 -      $(lisp)/mh-e/mh-letter.elc \
 -      $(lisp)/mh-e/mh-limit.elc \
 -      $(lisp)/mh-e/mh-mime.elc \
 -      $(lisp)/mh-e/mh-print.elc \
 -      $(lisp)/mh-e/mh-scan.elc \
 -      $(lisp)/mh-e/mh-search.elc \
 -      $(lisp)/mh-e/mh-seq.elc \
 -      $(lisp)/mh-e/mh-show.elc \
 -      $(lisp)/mh-e/mh-speed.elc \
 -      $(lisp)/mh-e/mh-thread.elc \
 -      $(lisp)/mh-e/mh-tool-bar.elc \
 -      $(lisp)/mh-e/mh-utils.elc \
 -      $(lisp)/mh-e/mh-xface.elc \
 -      $(lisp)/midnight.elc \
 -      $(lisp)/minibuf-eldef.elc \
 -      $(lisp)/minibuffer.elc \
 -      $(lisp)/misc.elc \
 -      $(lisp)/misearch.elc \
 -      $(lisp)/mouse-copy.elc \
 -      $(lisp)/mouse-drag.elc \
 -      $(lisp)/mouse-sel.elc \
 -      $(lisp)/mouse.elc \
 -      $(lisp)/mpc.elc \
 -      $(lisp)/msb.elc \
 -      $(lisp)/mwheel.elc \
 -      $(lisp)/net/ange-ftp.elc \
 -      $(lisp)/net/browse-url.elc \
 -      $(lisp)/net/dbus.elc \
 -      $(lisp)/net/dig.elc \
 -      $(lisp)/net/dns.elc \
 -      $(lisp)/net/eudc-bob.elc \
 -      $(lisp)/net/eudc-export.elc \
 -      $(lisp)/net/eudc-hotlist.elc \
 -      $(lisp)/net/eudc-vars.elc \
 -      $(lisp)/net/eudc.elc \
 -      $(lisp)/net/eudcb-bbdb.elc \
 -      $(lisp)/net/eudcb-ldap.elc \
 -      $(lisp)/net/eudcb-mab.elc \
 -      $(lisp)/net/eudcb-ph.elc \
 -      $(lisp)/net/goto-addr.elc \
 -      $(lisp)/net/hmac-def.elc \
 -      $(lisp)/net/hmac-md5.elc \
 -      $(lisp)/net/imap-hash.elc \
 -      $(lisp)/net/imap.elc \
 -      $(lisp)/net/ldap.elc \
 -      $(lisp)/net/mairix.elc \
 -      $(lisp)/net/net-utils.elc \
 -      $(lisp)/net/netrc.elc \
 -      $(lisp)/net/newst-backend.elc \
 -      $(lisp)/net/newst-plainview.elc \
 -      $(lisp)/net/newst-reader.elc \
 -      $(lisp)/net/newst-ticker.elc \
 -      $(lisp)/net/newst-treeview.elc \
 -      $(lisp)/net/newsticker.elc \
 -      $(lisp)/net/ntlm.elc \
 -      $(lisp)/net/quickurl.elc \
 -      $(lisp)/net/rcirc.elc \
 -      $(lisp)/net/rcompile.elc \
 -      $(lisp)/net/rlogin.elc \
 -      $(lisp)/net/sasl-cram.elc \
 -      $(lisp)/net/sasl-digest.elc \
 -      $(lisp)/net/sasl-ntlm.elc \
 -      $(lisp)/net/sasl.elc \
 -      $(lisp)/net/snmp-mode.elc \
 -      $(lisp)/net/socks.elc \
 -      $(lisp)/net/telnet.elc \
 -      $(lisp)/net/tls.elc \
 -      $(lisp)/net/tramp-cache.elc \
 -      $(lisp)/net/tramp-cmds.elc \
 -      $(lisp)/net/tramp-compat.elc \
 -      $(lisp)/net/tramp-fish.elc \
 -      $(lisp)/net/tramp-ftp.elc \
 -      $(lisp)/net/tramp-gvfs.elc \
 -      $(lisp)/net/tramp-gw.elc \
 -      $(lisp)/net/tramp-imap.elc \
 -      $(lisp)/net/tramp-smb.elc \
 -      $(lisp)/net/tramp-uu.elc \
 -      $(lisp)/net/tramp.elc \
 -      $(lisp)/net/trampver.elc \
 -      $(lisp)/net/webjump.elc \
 -      $(lisp)/net/xesam.elc \
 -      $(lisp)/net/zeroconf.elc \
 -      $(lisp)/newcomment.elc \
 -      $(lisp)/novice.elc \
 -      $(lisp)/nxml/nxml-enc.elc \
 -      $(lisp)/nxml/nxml-glyph.elc \
 -      $(lisp)/nxml/nxml-maint.elc \
 -      $(lisp)/nxml/nxml-mode.elc \
 -      $(lisp)/nxml/nxml-ns.elc \
 -      $(lisp)/nxml/nxml-outln.elc \
 -      $(lisp)/nxml/nxml-parse.elc \
 -      $(lisp)/nxml/nxml-rap.elc \
 -      $(lisp)/nxml/nxml-uchnm.elc \
 -      $(lisp)/nxml/nxml-util.elc \
 -      $(lisp)/nxml/rng-cmpct.elc \
 -      $(lisp)/nxml/rng-dt.elc \
 -      $(lisp)/nxml/rng-loc.elc \
 -      $(lisp)/nxml/rng-maint.elc \
 -      $(lisp)/nxml/rng-match.elc \
 -      $(lisp)/nxml/rng-nxml.elc \
 -      $(lisp)/nxml/rng-parse.elc \
 -      $(lisp)/nxml/rng-pttrn.elc \
 -      $(lisp)/nxml/rng-uri.elc \
 -      $(lisp)/nxml/rng-util.elc \
 -      $(lisp)/nxml/rng-valid.elc \
 -      $(lisp)/nxml/rng-xsd.elc \
 -      $(lisp)/nxml/xmltok.elc \
 -      $(lisp)/nxml/xsd-regexp.elc \
 -      $(lisp)/obsolete/awk-mode.elc \
 -      $(lisp)/obsolete/cl-compat.elc \
 -      $(lisp)/obsolete/fast-lock.elc \
 -      $(lisp)/obsolete/iso-acc.elc \
 -      $(lisp)/obsolete/iso-insert.elc \
 -      $(lisp)/obsolete/iso-swed.elc \
 -      $(lisp)/obsolete/lazy-lock.elc \
 -      $(lisp)/obsolete/levents.elc \
 -      $(lisp)/obsolete/lmenu.elc \
 -      $(lisp)/obsolete/lucid.elc \
 -      $(lisp)/obsolete/old-whitespace.elc \
 -      $(lisp)/obsolete/options.elc \
 -      $(lisp)/obsolete/resume.elc \
 -      $(lisp)/obsolete/rnews.elc \
 -      $(lisp)/obsolete/rnewspost.elc \
 -      $(lisp)/obsolete/sc.elc \
 -      $(lisp)/obsolete/scribe.elc \
 -      $(lisp)/obsolete/swedish.elc \
 -      $(lisp)/obsolete/sym-comp.elc \
 -      $(lisp)/obsolete/vc-mcvs.elc \
 -      $(lisp)/obsolete/x-menu.elc \
 -      $(lisp)/org/org-agenda.elc \
 -      $(lisp)/org/org-archive.elc \
 -      $(lisp)/org/org-ascii.elc \
 -      $(lisp)/org/org-attach.elc \
 -      $(lisp)/org/org-bbdb.elc \
 -      $(lisp)/org/org-bibtex.elc \
 -      $(lisp)/org/org-clock.elc \
 -      $(lisp)/org/org-colview.elc \
 -      $(lisp)/org/org-compat.elc \
 -      $(lisp)/org/org-crypt.elc \
 -      $(lisp)/org/org-datetree.elc \
 -      $(lisp)/org/org-docbook.elc \
 -      $(lisp)/org/org-exp-blocks.elc \
 -      $(lisp)/org/org-exp.elc \
 -      $(lisp)/org/org-faces.elc \
 -      $(lisp)/org/org-feed.elc \
 -      $(lisp)/org/org-footnote.elc \
 -      $(lisp)/org/org-freemind.elc \
 -      $(lisp)/org/org-gnus.elc \
 -      $(lisp)/org/org-habit.elc \
 -      $(lisp)/org/org-html.elc \
 -      $(lisp)/org/org-icalendar.elc \
 -      $(lisp)/org/org-id.elc \
 -      $(lisp)/org/org-indent.elc \
 -      $(lisp)/org/org-info.elc \
 -      $(lisp)/org/org-inlinetask.elc \
 -      $(lisp)/org/org-install.elc \
 -      $(lisp)/org/org-irc.elc \
 -      $(lisp)/org/org-jsinfo.elc \
 -      $(lisp)/org/org-latex.elc \
 -      $(lisp)/org/org-list.elc \
 -      $(lisp)/org/org-mac-message.elc \
 -      $(lisp)/org/org-macs.elc \
 -      $(lisp)/org/org-mew.elc \
 -      $(lisp)/org/org-mhe.elc \
 -      $(lisp)/org/org-mobile.elc \
 -      $(lisp)/org/org-mouse.elc \
 -      $(lisp)/org/org-plot.elc \
 -      $(lisp)/org/org-protocol.elc \
 -      $(lisp)/org/org-publish.elc \
 -      $(lisp)/org/org-remember.elc \
 -      $(lisp)/org/org-rmail.elc \
 -      $(lisp)/org/org-src.elc \
 -      $(lisp)/org/org-table.elc \
 -      $(lisp)/org/org-timer.elc \
 -      $(lisp)/org/org-vm.elc \
 -      $(lisp)/org/org-w3m.elc \
 -      $(lisp)/org/org-wl.elc \
 -      $(lisp)/org/org-xoxo.elc \
 -      $(lisp)/org/org.elc \
 -      $(lisp)/outline.elc \
 -      $(lisp)/paren.elc \
 -      $(lisp)/password-cache.elc \
 -      $(lisp)/pcmpl-cvs.elc \
 -      $(lisp)/pcmpl-gnu.elc \
 -      $(lisp)/pcmpl-linux.elc \
 -      $(lisp)/pcmpl-rpm.elc \
 -      $(lisp)/pcmpl-unix.elc \
 -      $(lisp)/pcomplete.elc \
 -      $(lisp)/pcvs-defs.elc \
 -      $(lisp)/pcvs-info.elc \
 -      $(lisp)/pcvs-parse.elc \
 -      $(lisp)/pcvs-util.elc \
 -      $(lisp)/pcvs.elc \
 -      $(lisp)/pgg-def.elc \
 -      $(lisp)/pgg-gpg.elc \
 -      $(lisp)/pgg-parse.elc \
 -      $(lisp)/pgg-pgp.elc \
 -      $(lisp)/pgg-pgp5.elc \
 -      $(lisp)/pgg.elc \
 -      $(lisp)/play/5x5.elc \
 -      $(lisp)/play/animate.elc \
 -      $(lisp)/play/blackbox.elc \
 -      $(lisp)/play/bubbles.elc \
 -      $(lisp)/play/cookie1.elc \
 -      $(lisp)/play/decipher.elc \
 -      $(lisp)/play/dissociate.elc \
 -      $(lisp)/play/doctor.elc \
 -      $(lisp)/play/dunnet.elc \
 -      $(lisp)/play/fortune.elc \
 -      $(lisp)/play/gamegrid.elc \
 -      $(lisp)/play/gametree.elc \
 -      $(lisp)/play/gomoku.elc \
 -      $(lisp)/play/handwrite.elc \
 -      $(lisp)/play/hanoi.elc \
 -      $(lisp)/play/landmark.elc \
 -      $(lisp)/play/life.elc \
 -      $(lisp)/play/meese.elc \
 -      $(lisp)/play/morse.elc \
 -      $(lisp)/play/mpuz.elc \
 -      $(lisp)/play/pong.elc \
 -      $(lisp)/play/snake.elc \
 -      $(lisp)/play/solitaire.elc \
 -      $(lisp)/play/spook.elc \
 -      $(lisp)/play/studly.elc \
 -      $(lisp)/play/tetris.elc \
 -      $(lisp)/play/yow.elc \
 -      $(lisp)/play/zone.elc \
 -      $(lisp)/printing.elc \
 -      $(lisp)/proced.elc \
 -      $(lisp)/progmodes/ada-mode.elc \
 -      $(lisp)/progmodes/ada-prj.elc \
 -      $(lisp)/progmodes/ada-stmt.elc \
 -      $(lisp)/progmodes/ada-xref.elc \
 -      $(lisp)/progmodes/antlr-mode.elc \
 -      $(lisp)/progmodes/asm-mode.elc \
 -      $(lisp)/progmodes/autoconf.elc \
 -      $(lisp)/progmodes/bug-reference.elc \
 -      $(lisp)/progmodes/cap-words.elc \
 -      $(lisp)/progmodes/cc-align.elc \
 -      $(lisp)/progmodes/cc-awk.elc \
 -      $(lisp)/progmodes/cc-bytecomp.elc \
 -      $(lisp)/progmodes/cc-cmds.elc \
 -      $(lisp)/progmodes/cc-compat.elc \
 -      $(lisp)/progmodes/cc-defs.elc \
 -      $(lisp)/progmodes/cc-engine.elc \
 -      $(lisp)/progmodes/cc-fonts.elc \
 -      $(lisp)/progmodes/cc-langs.elc \
 -      $(lisp)/progmodes/cc-menus.elc \
 -      $(lisp)/progmodes/cc-mode.elc \
 -      $(lisp)/progmodes/cc-styles.elc \
 -      $(lisp)/progmodes/cc-vars.elc \
 -      $(lisp)/progmodes/cfengine.elc \
 -      $(lisp)/progmodes/cmacexp.elc \
 -      $(lisp)/progmodes/compile.elc \
 -      $(lisp)/progmodes/cperl-mode.elc \
 -      $(lisp)/progmodes/cpp.elc \
 -      $(lisp)/progmodes/cwarn.elc \
 -      $(lisp)/progmodes/dcl-mode.elc \
 -      $(lisp)/progmodes/delphi.elc \
 -      $(lisp)/progmodes/ebnf-abn.elc \
 -      $(lisp)/progmodes/ebnf-bnf.elc \
 -      $(lisp)/progmodes/ebnf-dtd.elc \
 -      $(lisp)/progmodes/ebnf-ebx.elc \
 -      $(lisp)/progmodes/ebnf-iso.elc \
 -      $(lisp)/progmodes/ebnf-otz.elc \
 -      $(lisp)/progmodes/ebnf-yac.elc \
 -      $(lisp)/progmodes/ebnf2ps.elc \
 -      $(lisp)/progmodes/ebrowse.elc \
 -      $(lisp)/progmodes/etags.elc \
 -      $(lisp)/progmodes/executable.elc \
 -      $(lisp)/progmodes/f90.elc \
 -      $(lisp)/progmodes/flymake.elc \
 -      $(lisp)/progmodes/fortran.elc \
 -      $(lisp)/progmodes/gdb-ui.elc \
 -      $(lisp)/progmodes/glasses.elc \
 -      $(lisp)/progmodes/grep.elc \
 -      $(lisp)/progmodes/gud.elc \
 -      $(lisp)/progmodes/hideif.elc \
 -      $(lisp)/progmodes/hideshow.elc \
 -      $(lisp)/progmodes/icon.elc \
 -      $(lisp)/progmodes/idlw-complete-structtag.elc \
 -      $(lisp)/progmodes/idlw-help.elc \
 -      $(lisp)/progmodes/idlw-shell.elc \
 -      $(lisp)/progmodes/idlw-toolbar.elc \
 -      $(lisp)/progmodes/idlwave.elc \
 -      $(lisp)/progmodes/inf-lisp.elc \
 -      $(lisp)/progmodes/js.elc \
 -      $(lisp)/progmodes/ld-script.elc \
 -      $(lisp)/progmodes/m4-mode.elc \
 -      $(lisp)/progmodes/make-mode.elc \
 -      $(lisp)/progmodes/mantemp.elc \
 -      $(lisp)/progmodes/meta-mode.elc \
 -      $(lisp)/progmodes/mixal-mode.elc \
 -      $(lisp)/progmodes/modula2.elc \
 -      $(lisp)/progmodes/octave-inf.elc \
 -      $(lisp)/progmodes/octave-mod.elc \
 -      $(lisp)/progmodes/pascal.elc \
 -      $(lisp)/progmodes/perl-mode.elc \
 -      $(lisp)/progmodes/prolog.elc \
 -      $(lisp)/progmodes/ps-mode.elc \
 -      $(lisp)/progmodes/python.elc \
 -      $(lisp)/progmodes/ruby-mode.elc \
 -      $(lisp)/progmodes/scheme.elc \
 -      $(lisp)/progmodes/sh-script.elc \
 -      $(lisp)/progmodes/simula.elc \
 -      $(lisp)/progmodes/sql.elc \
 -      $(lisp)/progmodes/subword.elc \
 -      $(lisp)/progmodes/tcl.elc \
 -      $(lisp)/progmodes/vera-mode.elc \
 -      $(lisp)/progmodes/verilog-mode.elc \
 -      $(lisp)/progmodes/vhdl-mode.elc \
 -      $(lisp)/progmodes/which-func.elc \
 -      $(lisp)/progmodes/xscheme.elc \
 -      $(lisp)/ps-bdf.elc \
 -      $(lisp)/ps-def.elc \
 -      $(lisp)/ps-mule.elc \
 -      $(lisp)/ps-print.elc \
 -      $(lisp)/ps-samp.elc \
 -      $(lisp)/recentf.elc \
 -      $(lisp)/rect.elc \
 -      $(lisp)/register.elc \
 -      $(lisp)/repeat.elc \
 -      $(lisp)/replace.elc \
 -      $(lisp)/reposition.elc \
 -      $(lisp)/reveal.elc \
 -      $(lisp)/rfn-eshadow.elc \
 -      $(lisp)/rot13.elc \
 -      $(lisp)/ruler-mode.elc \
 -      $(lisp)/s-region.elc \
 -      $(lisp)/savehist.elc \
 -      $(lisp)/saveplace.elc \
 -      $(lisp)/sb-image.elc \
 -      $(lisp)/scroll-all.elc \
 -      $(lisp)/scroll-bar.elc \
 -      $(lisp)/scroll-lock.elc \
 -      $(lisp)/select.elc \
 -      $(lisp)/server.elc \
 -      $(lisp)/ses.elc \
 -      $(lisp)/sha1.elc \
 -      $(lisp)/shadowfile.elc \
 -      $(lisp)/shell.elc \
 -      $(lisp)/simple.elc \
 -      $(lisp)/skeleton.elc \
 -      $(lisp)/smerge-mode.elc \
 -      $(lisp)/sort.elc \
 -      $(lisp)/soundex.elc \
 -      $(lisp)/speedbar.elc \
 -      $(lisp)/startup.elc \
 -      $(lisp)/strokes.elc \
 -      $(lisp)/subr.elc \
 -      $(lisp)/t-mouse.elc \
 -      $(lisp)/tabify.elc \
 -      $(lisp)/talk.elc \
 -      $(lisp)/tar-mode.elc \
 -      $(lisp)/tempo.elc \
 -      $(lisp)/term.elc \
 -      $(lisp)/term/common-win.elc \
 -      $(lisp)/term/internal.elc \
 -      $(lisp)/term/ns-win.elc \
 -      $(lisp)/term/pc-win.elc \
 -      $(lisp)/term/rxvt.elc \
 -      $(lisp)/term/sun.elc \
 -      $(lisp)/term/sup-mouse.elc \
 -      $(lisp)/term/tty-colors.elc \
 -      $(lisp)/term/tvi970.elc \
 -      $(lisp)/term/vt100.elc \
 -      $(lisp)/term/w32-win.elc \
 -      $(lisp)/term/w32console.elc \
 -      $(lisp)/term/x-win.elc \
 -      $(lisp)/term/xterm.elc \
 -      $(lisp)/terminal.elc \
 -      $(lisp)/textmodes/artist.elc \
 -      $(lisp)/textmodes/bib-mode.elc \
 -      $(lisp)/textmodes/bibtex-style.elc \
 -      $(lisp)/textmodes/bibtex.elc \
 -      $(lisp)/textmodes/conf-mode.elc \
 -      $(lisp)/textmodes/css-mode.elc \
 -      $(lisp)/textmodes/dns-mode.elc \
 -      $(lisp)/textmodes/enriched.elc \
 -      $(lisp)/textmodes/fill.elc \
 -      $(lisp)/textmodes/flyspell.elc \
 -      $(lisp)/textmodes/ispell.elc \
 -      $(lisp)/textmodes/makeinfo.elc \
 -      $(lisp)/textmodes/nroff-mode.elc \
 -      $(lisp)/textmodes/page-ext.elc \
 -      $(lisp)/textmodes/page.elc \
 -      $(lisp)/textmodes/paragraphs.elc \
 -      $(lisp)/textmodes/picture.elc \
 -      $(lisp)/textmodes/po.elc \
 -      $(lisp)/textmodes/refbib.elc \
 -      $(lisp)/textmodes/refer.elc \
 -      $(lisp)/textmodes/refill.elc \
 -      $(lisp)/textmodes/reftex-auc.elc \
 -      $(lisp)/textmodes/reftex-cite.elc \
 -      $(lisp)/textmodes/reftex-dcr.elc \
 -      $(lisp)/textmodes/reftex-global.elc \
 -      $(lisp)/textmodes/reftex-index.elc \
 -      $(lisp)/textmodes/reftex-parse.elc \
 -      $(lisp)/textmodes/reftex-ref.elc \
 -      $(lisp)/textmodes/reftex-sel.elc \
 -      $(lisp)/textmodes/reftex-toc.elc \
 -      $(lisp)/textmodes/reftex-vars.elc \
 -      $(lisp)/textmodes/reftex.elc \
 -      $(lisp)/textmodes/remember.elc \
 -      $(lisp)/textmodes/rst.elc \
 -      $(lisp)/textmodes/sgml-mode.elc \
 -      $(lisp)/textmodes/spell.elc \
 -      $(lisp)/textmodes/table.elc \
 -      $(lisp)/textmodes/tex-mode.elc \
 -      $(lisp)/textmodes/texinfmt.elc \
 -      $(lisp)/textmodes/texinfo.elc \
 -      $(lisp)/textmodes/texnfo-upd.elc \
 -      $(lisp)/textmodes/text-mode.elc \
 -      $(lisp)/textmodes/tildify.elc \
 -      $(lisp)/textmodes/two-column.elc \
 -      $(lisp)/textmodes/underline.elc \
 -      $(lisp)/thingatpt.elc \
 -      $(lisp)/thumbs.elc \
 -      $(lisp)/time-stamp.elc \
 -      $(lisp)/time.elc \
 -      $(lisp)/timezone.elc \
 -      $(lisp)/tmm.elc \
 -      $(lisp)/tool-bar.elc \
 -      $(lisp)/tooltip.elc \
 -      $(lisp)/tree-widget.elc \
 -      $(lisp)/tutorial.elc \
 -      $(lisp)/type-break.elc \
 -      $(lisp)/uniquify.elc \
 -      $(lisp)/url/url-about.elc \
 -      $(lisp)/url/url-auth.elc \
 -      $(lisp)/url/url-cache.elc \
 -      $(lisp)/url/url-cid.elc \
 -      $(lisp)/url/url-cookie.elc \
 -      $(lisp)/url/url-dav.elc \
 -      $(lisp)/url/url-dired.elc \
 -      $(lisp)/url/url-expand.elc \
 -      $(lisp)/url/url-file.elc \
 -      $(lisp)/url/url-ftp.elc \
 -      $(lisp)/url/url-gw.elc \
 -      $(lisp)/url/url-handlers.elc \
 -      $(lisp)/url/url-history.elc \
 -      $(lisp)/url/url-http.elc \
 -      $(lisp)/url/url-imap.elc \
 -      $(lisp)/url/url-irc.elc \
 -      $(lisp)/url/url-ldap.elc \
 -      $(lisp)/url/url-mailto.elc \
 -      $(lisp)/url/url-methods.elc \
 -      $(lisp)/url/url-misc.elc \
 -      $(lisp)/url/url-news.elc \
 -      $(lisp)/url/url-nfs.elc \
 -      $(lisp)/url/url-ns.elc \
 -      $(lisp)/url/url-parse.elc \
 -      $(lisp)/url/url-privacy.elc \
 -      $(lisp)/url/url-proxy.elc \
 -      $(lisp)/url/url-util.elc \
 -      $(lisp)/url/url-vars.elc \
 -      $(lisp)/url/url.elc \
 -      $(lisp)/userlock.elc \
 -      $(lisp)/vc-annotate.elc \
 -      $(lisp)/vc-arch.elc \
 -      $(lisp)/vc-bzr.elc \
 -      $(lisp)/vc-cvs.elc \
 -      $(lisp)/vc-dav.elc \
 -      $(lisp)/vc-dir.elc \
 -      $(lisp)/vc-dispatcher.elc \
 -      $(lisp)/vc-git.elc \
 -      $(lisp)/vc-hg.elc \
 -      $(lisp)/vc-hooks.elc \
 -      $(lisp)/vc-mtn.elc \
 -      $(lisp)/vc-rcs.elc \
 -      $(lisp)/vc-sccs.elc \
 -      $(lisp)/vc-svn.elc \
 -      $(lisp)/vc.elc \
 -      $(lisp)/vcursor.elc \
 -      $(lisp)/view.elc \
 -      $(lisp)/vt-control.elc \
 -      $(lisp)/vt100-led.elc \
 -      $(lisp)/w32-fns.elc \
 -      $(lisp)/w32-vars.elc \
 -      $(lisp)/wdired.elc \
 -      $(lisp)/whitespace.elc \
 -      $(lisp)/wid-browse.elc \
 -      $(lisp)/wid-edit.elc \
 -      $(lisp)/widget.elc \
 -      $(lisp)/windmove.elc \
 -      $(lisp)/window.elc \
 -      $(lisp)/winner.elc \
 -      $(lisp)/woman.elc \
 -      $(lisp)/x-dnd.elc \
 -      $(lisp)/xml.elc \
 -      $(lisp)/xt-mouse.elc
 -
  # The src/Makefile.in has its own set of dependencies and when they decide
  # that one Lisp file needs to be re-compiled, we had better recompile it as
  # well, otherwise every subsequent make will again call us, until we finally
diff --cc lisp/dired.el
@@@ -3539,7 -3523,7 +3539,7 @@@ Ask means pop up a menu for the user t
  ;;;;;;  dired-run-shell-command dired-do-shell-command dired-do-async-shell-command
  ;;;;;;  dired-clean-directory dired-do-print dired-do-touch dired-do-chown
  ;;;;;;  dired-do-chgrp dired-do-chmod dired-compare-directories dired-backup-diff
- ;;;;;;  dired-diff) "dired-aux" "dired-aux.el" "416d272299fd4774c47c2f677ee640a4")
 -;;;;;;  dired-diff) "dired-aux" "dired-aux.el" "07676ea25af17f5d50cc5db4f53bddc0")
++;;;;;;  dired-diff) "dired-aux" "dired-aux.el" "1628b7a7d379fb4da8ae4bf29faad4b5")
  ;;; Generated autoloads from dired-aux.el
  
  (autoload 'dired-diff "dired-aux" "\
@@@ -277,12 -277,12 +277,12 @@@ Not documente
  ;;;;;;  assert check-type typep deftype cl-struct-setf-expander defstruct
  ;;;;;;  define-modify-macro callf2 callf letf* letf rotatef shiftf
  ;;;;;;  remf cl-do-pop psetf setf get-setf-method defsetf define-setf-method
 -;;;;;;  declare the locally multiple-value-setq multiple-value-bind
 -;;;;;;  lexical-let* lexical-let symbol-macrolet macrolet labels
 -;;;;;;  flet progv psetq do-all-symbols do-symbols dotimes dolist
 -;;;;;;  do* do loop return-from return block etypecase typecase ecase
 -;;;;;;  case load-time-value eval-when destructuring-bind function*
 -;;;;;;  defmacro* defun* gentemp gensym) "cl-macs" "cl-macs.el" "49b7d96626dd8ba5d39551909edbd4c7")
 +;;;;;;  declare locally multiple-value-setq multiple-value-bind lexical-let*
 +;;;;;;  lexical-let symbol-macrolet macrolet labels flet progv psetq
 +;;;;;;  do-all-symbols do-symbols dotimes dolist do* do loop return-from
 +;;;;;;  return block etypecase typecase ecase case load-time-value
 +;;;;;;  eval-when destructuring-bind function* defmacro* defun* gentemp
- ;;;;;;  gensym) "cl-macs" "cl-macs.el" "82f8370745a60dc26536a0237cba893f")
++;;;;;;  gensym) "cl-macs" "cl-macs.el" "979862b54946a5fcbbccdd90fa3f84d8")
  ;;; Generated autoloads from cl-macs.el
  
  (autoload 'gensym "cl-macs" "\
diff --cc lisp/files.el
Simple merge
Simple merge
diff --cc lisp/locate.el
@@@ -323,10 -323,9 +323,9 @@@ then `locate-post-command-hook'.
        (and filter
             (locate-filter-output filter))
  
-       (locate-do-setup search-string)
-       ))
+       (locate-do-setup search-string)))
      (and (not (string-equal (buffer-name) locate-buffer-name))
 -      (switch-to-buffer-other-window locate-buffer-name))
 +      (pop-to-buffer locate-buffer-name))
  
      (run-hooks 'dired-mode-hook)
      (dired-next-line 3)                       ;move to first matching file.
diff --cc lisp/ls-lisp.el
Simple merge
Simple merge
@@@ -2567,385 -6365,326 +2567,384 @@@ User is always nil.
       (forward-line 1)
       result))
  
 -;;; Internal Functions:
 +;;; Common file name handler functions for different backends:
  
 -(defun tramp-maybe-send-script (vec script name)
 -  "Define in remote shell function NAME implemented as SCRIPT.
 -Only send the definition if it has not already been done."
 -  (let* ((p (tramp-get-connection-process vec))
 -       (scripts (tramp-get-connection-property p "scripts" nil)))
 -    (unless (member name scripts)
 -      (with-progress-reporter vec 5 (format "Sending script `%s'" name)
 -      ;; The script could contain a call of Perl.  This is masked with `%s'.
 -      (tramp-send-command-and-check
 -       vec
 -       (format "%s () {\n%s\n}" name
 -               (format script (tramp-get-remote-perl vec))))
 -      (tramp-set-connection-property p "scripts" (cons name scripts))))))
 -
 -(defun tramp-set-auto-save ()
 -  (when (and ;; ange-ftp has its own auto-save mechanism
 -           (eq (tramp-find-foreign-file-name-handler (buffer-file-name))
 -               'tramp-sh-file-name-handler)
 -             auto-save-default)
 -    (auto-save-mode 1)))
 -(add-hook 'find-file-hooks 'tramp-set-auto-save t)
 -(add-hook 'tramp-unload-hook
 -        (lambda ()
 -          (remove-hook 'find-file-hooks 'tramp-set-auto-save)))
 +(defvar tramp-handle-file-local-copy-hook nil
 +  "Normal hook to be run at the end of `tramp-*-handle-file-local-copy'.")
 +
 +(defvar tramp-handle-write-region-hook nil
 +  "Normal hook to be run at the end of `tramp-*-handle-write-region'.")
 +
 +(defun tramp-handle-directory-file-name (directory)
 +  "Like `directory-file-name' for Tramp files."
 +  ;; If localname component of filename is "/", leave it unchanged.
 +  ;; Otherwise, remove any trailing slash from localname component.
 +  ;; Method, host, etc, are unchanged.  Does it make sense to try
 +  ;; to avoid parsing the filename?
 +  (with-parsed-tramp-file-name directory nil
 +    (if (and (not (zerop (length localname)))
 +           (eq (aref localname (1- (length localname))) ?/)
 +           (not (string= localname "/")))
 +      (substring directory 0 -1)
 +      directory)))
 +
 +(defun tramp-handle-directory-files
 +  (directory &optional full match nosort files-only)
 +  "Like `directory-files' for Tramp files."
 +  ;; FILES-ONLY is valid for XEmacs only.
 +  (when (file-directory-p directory)
 +    (setq directory (file-name-as-directory (expand-file-name directory)))
 +    (let ((temp (nreverse (file-name-all-completions "" directory)))
 +        result item)
 +
 +      (while temp
 +      (setq item (directory-file-name (pop temp)))
 +      (when (and (or (null match) (string-match match item))
 +                 (or (null files-only)
 +                     ;; Files only.
 +                     (and (equal files-only t) (file-regular-p item))
 +                     ;; Directories only.
 +                     (file-directory-p item)))
 +        (push (if full (concat directory item) item)
 +              result)))
 +      (if nosort result (sort result 'string<)))))
 +
 +(defun tramp-handle-directory-files-and-attributes
 +  (directory &optional full match nosort id-format)
 +  "Like `directory-files-and-attributes' for Tramp files."
 +  (mapcar
 +   (lambda (x)
 +     (cons x (tramp-compat-file-attributes
 +            (if full x (expand-file-name x directory)) id-format)))
 +   (directory-files directory full match nosort)))
 +
 +(defun tramp-handle-dired-uncache (dir &optional dir-p)
 +  "Like `dired-uncache' for Tramp files."
 +  ;; DIR-P is valid for XEmacs only.
 +  (with-parsed-tramp-file-name
 +      (if (or dir-p (file-directory-p dir)) dir (file-name-directory dir)) nil
 +    (tramp-flush-directory-property v localname)))
 +
 +(defun tramp-handle-file-exists-p (filename)
 +  "Like `file-exists-p' for Tramp files."
 +  (not (null (file-attributes filename))))
 +
 +(defun tramp-handle-file-modes (filename)
 +  "Like `file-modes' for Tramp files."
 +  (let ((truename (or (file-truename filename) filename)))
 +    (when (file-exists-p truename)
 +      (tramp-mode-string-to-int (nth 8 (file-attributes truename))))))
 +
 +;; Localname manipulation functions that grok Tramp localnames...
 +(defun tramp-handle-file-name-as-directory (file)
 +  "Like `file-name-as-directory' but aware of Tramp files."
 +  ;; `file-name-as-directory' would be sufficient except localname is
 +  ;; the empty string.
 +  (let ((v (tramp-dissect-file-name file t)))
 +    ;; Run the command on the localname portion only.
 +    (tramp-make-tramp-file-name
 +     (tramp-file-name-method v)
 +     (tramp-file-name-user v)
 +     (tramp-file-name-host v)
 +     (tramp-run-real-handler
 +      'file-name-as-directory (list (or (tramp-file-name-localname v) ""))))))
 +
 +(defun tramp-handle-file-name-completion
 +  (filename directory &optional predicate)
 +  "Like `file-name-completion' for Tramp files."
 +  (unless (tramp-tramp-file-p directory)
 +    (error
 +     "tramp-handle-file-name-completion invoked on non-tramp directory `%s'"
 +     directory))
 +  (try-completion
 +   filename
 +   (mapcar 'list (file-name-all-completions filename directory))
 +   (when predicate
 +     (lambda (x) (funcall predicate (expand-file-name (car x) directory))))))
 +
 +(defun tramp-handle-file-name-directory (file)
 +  "Like `file-name-directory' but aware of Tramp files."
 +  ;; Everything except the last filename thing is the directory.  We
 +  ;; cannot apply `with-parsed-tramp-file-name', because this expands
 +  ;; the remote file name parts.  This is a problem when we are in
 +  ;; file name completion.
 +  (let ((v (tramp-dissect-file-name file t)))
 +    ;; Run the command on the localname portion only.
 +    (tramp-make-tramp-file-name
 +     (tramp-file-name-method v)
 +     (tramp-file-name-user v)
 +     (tramp-file-name-host v)
 +     (tramp-run-real-handler
 +      'file-name-directory (list (or (tramp-file-name-localname v) ""))))))
 +
 +(defun tramp-handle-file-name-nondirectory (file)
 +  "Like `file-name-nondirectory' but aware of Tramp files."
 +  (with-parsed-tramp-file-name file nil
 +    (tramp-run-real-handler 'file-name-nondirectory (list localname))))
 +
 +(defun tramp-handle-file-newer-than-file-p (file1 file2)
 +  "Like `file-newer-than-file-p' for Tramp files."
 +  (cond
 +   ((not (file-exists-p file1)) nil)
 +   ((not (file-exists-p file2)) t)
 +   (t (tramp-time-less-p (nth 5 (file-attributes file2))
 +                       (nth 5 (file-attributes file1))))))
 +
 +(defun tramp-handle-file-regular-p (filename)
 +  "Like `file-regular-p' for Tramp files."
 +  (and (file-exists-p filename)
 +       (eq ?- (aref (nth 8 (file-attributes filename)) 0))))
 +
 +(defun tramp-handle-file-remote-p (filename &optional identification connected)
 +  "Like `file-remote-p' for Tramp files."
 +  (let ((tramp-verbose 3))
 +    (when (tramp-tramp-file-p filename)
 +      (let* ((v (tramp-dissect-file-name filename))
 +           (p (tramp-get-connection-process v))
 +           (c (and p (processp p) (memq (process-status p) '(run open)))))
 +      ;; We expand the file name only, if there is already a connection.
 +      (with-parsed-tramp-file-name
 +          (if c (expand-file-name filename) filename) nil
 +        (and (or (not connected) c)
 +             (cond
 +              ((eq identification 'method) method)
 +              ((eq identification 'user) user)
 +              ((eq identification 'host) host)
 +              ((eq identification 'localname) localname)
 +              (t (tramp-make-tramp-file-name method user host "")))))))))
  
 -(defun tramp-run-test (switch filename)
 -  "Run `test' on the remote system, given a SWITCH and a FILENAME.
 -Returns the exit code of the `test' program."
 +(defun tramp-handle-file-symlink-p (filename)
 +  "Like `file-symlink-p' for Tramp files."
    (with-parsed-tramp-file-name filename nil
 -    (tramp-send-command-and-check
 -     v
 -     (format
 -      "%s %s %s"
 -      (tramp-get-test-command v)
 -      switch
 -      (tramp-shell-quote-argument localname)))))
 -
 -(defun tramp-run-test2 (format-string file1 file2)
 -  "Run `test'-like program on the remote system, given FILE1, FILE2.
 -FORMAT-STRING contains the program name, switches, and place holders.
 -Returns the exit code of the `test' program.  Barfs if the methods,
 -hosts, or files, disagree."
 -  (unless (tramp-equal-remote file1 file2)
 -    (with-parsed-tramp-file-name (if (tramp-tramp-file-p file1) file1 file2) nil
 -      (tramp-error
 -       v 'file-error
 -       "tramp-run-test2 only implemented for same method, user, host")))
 -  (with-parsed-tramp-file-name file1 v1
 -    (with-parsed-tramp-file-name file1 v2
 -      (tramp-send-command-and-check
 -       v1
 -       (format format-string
 -             (tramp-shell-quote-argument v1-localname)
 -             (tramp-shell-quote-argument v2-localname))))))
 +    (let ((x (car (file-attributes filename))))
 +      (when (stringp x)
 +      ;; When Tramp is running on VMS, then `file-name-absolute-p'
 +      ;; might do weird things.
 +      (if (file-name-absolute-p x)
 +          (tramp-make-tramp-file-name method user host x)
 +        x)))))
  
 -(defun tramp-buffer-name (vec)
 -  "A name for the connection buffer VEC."
 -  ;; We must use `tramp-file-name-real-host', because for gateway
 -  ;; methods the default port will be expanded later on, which would
 -  ;; tamper the name.
 -  (let ((method (tramp-file-name-method vec))
 -      (user   (tramp-file-name-user vec))
 -      (host   (tramp-file-name-real-host vec)))
 -    (if (not (zerop (length user)))
 -      (format "*tramp/%s %s@%s*" method user host)
 -      (format "*tramp/%s %s*" method host))))
 +(defun tramp-handle-find-backup-file-name (filename)
 +  "Like `find-backup-file-name' for Tramp files."
 +  (with-parsed-tramp-file-name filename nil
 +    ;; We set both variables. It doesn't matter whether it is
 +    ;; Emacs or XEmacs.
 +    (let ((backup-directory-alist
 +         ;; Emacs case.
 +         (when (boundp 'backup-directory-alist)
 +           (if (symbol-value 'tramp-backup-directory-alist)
 +               (mapcar
 +                (lambda (x)
 +                  (cons
 +                   (car x)
 +                   (if (and (stringp (cdr x))
 +                            (file-name-absolute-p (cdr x))
 +                            (not (tramp-file-name-p (cdr x))))
 +                       (tramp-make-tramp-file-name method user host (cdr x))
 +                     (cdr x))))
 +                (symbol-value 'tramp-backup-directory-alist))
 +             (symbol-value 'backup-directory-alist))))
  
 -(defun tramp-delete-temp-file-function ()
 -  "Remove temporary files related to current buffer."
 -  (when (stringp tramp-temp-buffer-file-name)
 -    (condition-case nil
 -      (delete-file tramp-temp-buffer-file-name)
 -      (error nil))))
 +        (bkup-backup-directory-info
 +         ;; XEmacs case.
 +         (when (boundp 'bkup-backup-directory-info)
 +           (if (symbol-value 'tramp-bkup-backup-directory-info)
 +               (mapcar
 +                (lambda (x)
 +                  (nconc
 +                   (list (car x))
 +                   (list
 +                    (if (and (stringp (car (cdr x)))
 +                             (file-name-absolute-p (car (cdr x)))
 +                             (not (tramp-file-name-p (car (cdr x)))))
 +                        (tramp-make-tramp-file-name
 +                         method user host (car (cdr x)))
 +                      (car (cdr x))))
 +                   (cdr (cdr x))))
 +                (symbol-value 'tramp-bkup-backup-directory-info))
 +             (symbol-value 'bkup-backup-directory-info)))))
  
 -(add-hook 'kill-buffer-hook 'tramp-delete-temp-file-function)
 -(add-hook 'tramp-cache-unload-hook
 -        (lambda ()
 -          (remove-hook 'kill-buffer-hook
 -                       'tramp-delete-temp-file-function)))
 +      (tramp-run-real-handler 'find-backup-file-name (list filename)))))
  
 -(defun tramp-get-buffer (vec)
 -  "Get the connection buffer to be used for VEC."
 -  (or (get-buffer (tramp-buffer-name vec))
 -      (with-current-buffer (get-buffer-create (tramp-buffer-name vec))
 -      (setq buffer-undo-list t)
 -      (setq default-directory
 -            (tramp-make-tramp-file-name
 -             (tramp-file-name-method vec)
 -             (tramp-file-name-user vec)
 -             (tramp-file-name-host vec)
 -             "/"))
 -      (current-buffer))))
 +(defun tramp-handle-insert-file-contents
 +  (filename &optional visit beg end replace)
 +  "Like `insert-file-contents' for Tramp files."
 +  (barf-if-buffer-read-only)
 +  (setq filename (expand-file-name filename))
 +  (let (result local-copy remote-copy)
 +    (with-parsed-tramp-file-name filename nil
 +      (unwind-protect
 +        (if (not (file-exists-p filename))
 +            ;; We don't raise a Tramp error, because it might be
 +            ;; suppressed, like in `find-file-noselect-1'.
 +            (signal 'file-error
 +                    (list "File not found on remote host" filename))
  
 -(defun tramp-get-connection-buffer (vec)
 -  "Get the connection buffer to be used for VEC.
 -In case a second asynchronous communication has been started, it is different
 -from `tramp-get-buffer'."
 -  (or (tramp-get-connection-property vec "process-buffer" nil)
 -      (tramp-get-buffer vec)))
 +          (if (and (tramp-local-host-p v)
 +                   (let (file-name-handler-alist)
 +                     (file-readable-p localname)))
 +              ;; Short track: if we are on the local host, we can
 +              ;; run directly.
 +              (setq result
 +                    (tramp-run-real-handler
 +                     'insert-file-contents
 +                     (list localname visit beg end replace)))
 +
 +            ;; When we shall insert only a part of the file, we copy
 +            ;; this part.
 +            (when (or beg end)
 +              (setq remote-copy (tramp-make-tramp-temp-file v))
 +              ;; This is defined in tramp-sh.el.  Let's assume this
 +              ;; is loaded already.
 +              (tramp-compat-funcall 'tramp-send-command
 +               v
 +               (cond
 +                ((and beg end)
 +                 (format "tail -c +%d %s | head -c +%d >%s"
 +                         (1+ beg) (tramp-shell-quote-argument localname)
 +                         (- end beg) remote-copy))
 +                (beg
 +                 (format "tail -c +%d %s >%s"
 +                         (1+ beg) (tramp-shell-quote-argument localname)
 +                         remote-copy))
 +                (end
 +                 (format "head -c +%d %s >%s"
 +                         (1+ end) (tramp-shell-quote-argument localname)
 +                         remote-copy)))))
  
 -(defun tramp-get-connection-process (vec)
 -  "Get the connection process to be used for VEC.
 -In case a second asynchronous communication has been started, it is different
 -from the default one."
 -  (get-process
 -   (or (tramp-get-connection-property vec "process-name" nil)
 -       (tramp-buffer-name vec))))
 +            ;; `insert-file-contents-literally' takes care to avoid
 +            ;; calling jka-compr.  By let-binding
 +            ;; `inhibit-file-name-operation', we propagate that care
 +            ;; to the `file-local-copy' operation.
 +            (setq local-copy
 +                  (let ((inhibit-file-name-operation
 +                         (when (eq inhibit-file-name-operation
 +                                   'insert-file-contents)
 +                           'file-local-copy)))
 +                    (cond
 +                     ((stringp remote-copy)
 +                      (file-local-copy
 +                       (tramp-make-tramp-file-name
 +                        method user host remote-copy)))
 +                     ((stringp tramp-temp-buffer-file-name)
 +                      (copy-file filename tramp-temp-buffer-file-name 'ok)
 +                      tramp-temp-buffer-file-name)
 +                     (t (file-local-copy filename)))))
  
 -(defun tramp-debug-buffer-name (vec)
 -  "A name for the debug buffer for VEC."
 -  ;; We must use `tramp-file-name-real-host', because for gateway
 -  ;; methods the default port will be expanded later on, which would
 -  ;; tamper the name.
 -  (let ((method (tramp-file-name-method vec))
 -      (user   (tramp-file-name-user vec))
 -      (host   (tramp-file-name-real-host vec)))
 -    (if (not (zerop (length user)))
 -      (format "*debug tramp/%s %s@%s*" method user host)
 -      (format "*debug tramp/%s %s*" method host))))
 +            ;; When the file is not readable for the owner, it
 +            ;; cannot be inserted, even it is redable for the group
 +            ;; or for everybody.
 +            (set-file-modes local-copy (tramp-compat-octal-to-decimal "0600"))
  
 -(defconst tramp-debug-outline-regexp
 -  "[0-9]+:[0-9]+:[0-9]+\\.[0-9]+ [a-z0-9-]+ (\\([0-9]+\\)) #")
 +            (when (and (null remote-copy)
 +                       (tramp-get-method-parameter
 +                        method 'tramp-copy-keep-tmpfile))
 +              ;; We keep the local file for performance reasons,
 +              ;; useful for "rsync".
 +              (setq tramp-temp-buffer-file-name local-copy)
 +              (put 'tramp-temp-buffer-file-name 'permanent-local t))
  
 -(defun tramp-get-debug-buffer (vec)
 -  "Get the debug buffer for VEC."
 -  (with-current-buffer
 -      (get-buffer-create (tramp-debug-buffer-name vec))
 -    (when (bobp)
 -      (setq buffer-undo-list t)
 -      ;; Activate `outline-mode'.  This runs `text-mode-hook' and
 -      ;; `outline-mode-hook'.  We must prevent that local processes
 -      ;; die.  Yes: I've seen `flyspell-mode', which starts "ispell".
 -      ;; Furthermore, `outline-regexp' must have the correct value
 -      ;; already, because it is used by `font-lock-compile-keywords'.
 -      (let ((default-directory (tramp-compat-temporary-file-directory))
 -          (outline-regexp tramp-debug-outline-regexp))
 -      (outline-mode))
 -      (set (make-local-variable 'outline-regexp) tramp-debug-outline-regexp)
 -      (set (make-local-variable 'outline-level) 'tramp-outline-level))
 -    (current-buffer)))
 +            (with-progress-reporter
 +                v 3 (format "Inserting local temp file `%s'" local-copy)
 +              ;; We must ensure that `file-coding-system-alist'
 +              ;; matches `local-copy'.
 +              (let ((file-coding-system-alist
 +                     (tramp-find-file-name-coding-system-alist
 +                      filename local-copy)))
 +                (setq result
 +                      (insert-file-contents
 +                       local-copy nil nil nil replace))))))
  
 -(defun tramp-outline-level ()
 -  "Return the depth to which a statement is nested in the outline.
 -Point must be at the beginning of a header line.
 +      ;; Save exit.
 +      (progn
 +        (when visit
 +          (setq buffer-file-name filename)
 +          (setq buffer-read-only (not (file-writable-p filename)))
 +          (set-visited-file-modtime)
 +          (set-buffer-modified-p nil)
 +          ;; For root, preserve owner and group when editing files.
 +          (when (string-equal (file-remote-p filename 'user) "root")
-             (set (make-local-variable 'backup-by-copying-when-mismatch) t)
-             (put 'backup-by-copying-when-mismatch 'permanent-local t)))
++            (set (make-local-variable 'backup-by-copying-when-mismatch) t)))
 +        (when (and (stringp local-copy)
 +                   (or remote-copy (null tramp-temp-buffer-file-name)))
 +          (delete-file local-copy))
 +        (when (stringp remote-copy)
 +          (delete-file
 +           (tramp-make-tramp-file-name method user host remote-copy))))))
  
 -The outline level is equal to the verbosity of the Tramp message."
 -  (1+ (string-to-number (match-string 1))))
 +    ;; Result.
 +    (list (expand-file-name filename)
 +        (cadr result))))
  
 -(defun tramp-find-executable
 -  (vec progname dirlist &optional ignore-tilde ignore-path)
 -  "Searches for PROGNAME in $PATH and all directories mentioned in DIRLIST.
 -First arg VEC specifies the connection, PROGNAME is the program
 -to search for, and DIRLIST gives the list of directories to
 -search.  If IGNORE-TILDE is non-nil, directory names starting
 -with `~' will be ignored. If IGNORE-PATH is non-nil, searches
 -only in DIRLIST.
 +(defun tramp-handle-load (file &optional noerror nomessage nosuffix must-suffix)
 +  "Like `load' for Tramp files."
 +  (with-parsed-tramp-file-name (expand-file-name file) nil
 +    (unless nosuffix
 +      (cond ((file-exists-p (concat file ".elc"))
 +           (setq file (concat file ".elc")))
 +          ((file-exists-p (concat file ".el"))
 +           (setq file (concat file ".el")))))
 +    (when must-suffix
 +      ;; The first condition is always true for absolute file names.
 +      ;; Included for safety's sake.
 +      (unless (or (file-name-directory file)
 +                (string-match "\\.elc?\\'" file))
 +      (tramp-error
 +       v 'file-error
 +       "File `%s' does not include a `.el' or `.elc' suffix" file)))
 +    (unless noerror
 +      (when (not (file-exists-p file))
 +      (tramp-error v 'file-error "Cannot load nonexistent file `%s'" file)))
 +    (if (not (file-exists-p file))
 +      nil
 +      (let ((tramp-message-show-message (not nomessage)))
 +      (with-progress-reporter v 0 (format "Loading %s" file)
 +        (let ((local-copy (file-local-copy file)))
 +          ;; MUST-SUFFIX doesn't exist on XEmacs, so let it default to nil.
 +          (unwind-protect
 +              (load local-copy noerror t t)
 +            (delete-file local-copy)))))
 +      t)))
  
 -Returns the absolute file name of PROGNAME, if found, and nil otherwise.
 +(defun tramp-handle-substitute-in-file-name (filename)
 +  "Like `substitute-in-file-name' for Tramp files.
 +\"//\" and \"/~\" substitute only in the local filename part.
 +If the URL Tramp syntax is chosen, \"//\" as method delimeter and \"/~\" at
 +beginning of local filename are not substituted."
 +  ;; First, we must replace environment variables.
 +  (setq filename (tramp-replace-environment-variables filename))
 +  (with-parsed-tramp-file-name filename nil
 +    (if (equal tramp-syntax 'url)
 +      ;; We need to check localname only.  The other parts cannot contain
 +      ;; "//" or "/~".
 +      (if (and (> (length localname) 1)
 +               (or (string-match "//" localname)
 +                   (string-match "/~" localname 1)))
 +          (tramp-run-real-handler 'substitute-in-file-name (list filename))
 +        (tramp-make-tramp-file-name
 +         (when method (substitute-in-file-name method))
 +         (when user (substitute-in-file-name user))
 +         (when host (substitute-in-file-name host))
 +         (when localname
 +           (tramp-run-real-handler
 +            'substitute-in-file-name (list localname)))))
 +      ;; Ignore in LOCALNAME everything before "//" or "/~".
 +      (when (and (stringp localname) (string-match ".+?/\\(/\\|~\\)" localname))
 +      (setq filename
 +            (concat (file-remote-p filename)
 +                    (replace-match "\\1" nil nil localname)))
 +      ;; "/m:h:~" does not work for completion.  We use "/m:h:~/".
 +      (when (string-match "~$" filename)
 +        (setq filename (concat filename "/"))))
 +      (tramp-run-real-handler 'substitute-in-file-name (list filename)))))
  
 -This function expects to be in the right *tramp* buffer."
 -  (with-current-buffer (tramp-get-connection-buffer vec)
 -    (let (result)
 -      ;; Check whether the executable is in $PATH. "which(1)" does not
 -      ;; report always a correct error code; therefore we check the
 -      ;; number of words it returns.
 -      (unless ignore-path
 -      (tramp-send-command vec (format "which \\%s | wc -w" progname))
 -      (goto-char (point-min))
 -      (if (looking-at "^\\s-*1$")
 -          (setq result (concat "\\" progname))))
 -      (unless result
 -      (when ignore-tilde
 -        ;; Remove all ~/foo directories from dirlist.  In XEmacs,
 -        ;; `remove' is in CL, and we want to avoid CL dependencies.
 -        (let (newdl d)
 -          (while dirlist
 -            (setq d (car dirlist))
 -            (setq dirlist (cdr dirlist))
 -            (unless (char-equal ?~ (aref d 0))
 -              (setq newdl (cons d newdl))))
 -          (setq dirlist (nreverse newdl))))
 -      (tramp-send-command
 -       vec
 -       (format (concat "while read d; "
 -                       "do if test -x $d/%s -a -f $d/%s; "
 -                       "then echo tramp_executable $d/%s; "
 -                       "break; fi; done <<'EOF'\n"
 -                       "%s\nEOF")
 -               progname progname progname (mapconcat 'identity dirlist "\n")))
 -      (goto-char (point-max))
 -      (when (search-backward "tramp_executable " nil t)
 -        (skip-chars-forward "^ ")
 -        (skip-chars-forward " ")
 -        (setq result (buffer-substring
 -                      (point) (tramp-compat-line-end-position)))))
 -    result)))
 -
 -(defun tramp-set-remote-path (vec)
 -  "Sets the remote environment PATH to existing directories.
 -I.e., for each directory in `tramp-remote-path', it is tested
 -whether it exists and if so, it is added to the environment
 -variable PATH."
 -  (tramp-message vec 5 (format "Setting $PATH environment variable"))
 -  (tramp-send-command
 -   vec (format "PATH=%s; export PATH"
 -             (mapconcat 'identity (tramp-get-remote-path vec) ":"))))
 -
 -;; ------------------------------------------------------------
 -;; -- Communication with external shell --
 -;; ------------------------------------------------------------
 -
 -(defun tramp-find-file-exists-command (vec)
 -  "Find a command on the remote host for checking if a file exists.
 -Here, we are looking for a command which has zero exit status if the
 -file exists and nonzero exit status otherwise."
 -  (let ((existing "/")
 -        (nonexisting
 -       (tramp-shell-quote-argument "/ this file does not exist "))
 -      result)
 -    ;; The algorithm is as follows: we try a list of several commands.
 -    ;; For each command, we first run `$cmd /' -- this should return
 -    ;; true, as the root directory always exists.  And then we run
 -    ;; `$cmd /this\ file\ does\ not\ exist ', hoping that the file indeed
 -    ;; does not exist.  This should return false.  We use the first
 -    ;; command we find that seems to work.
 -    ;; The list of commands to try is as follows:
 -    ;; `ls -d'            This works on most systems, but NetBSD 1.4
 -    ;;                    has a bug: `ls' always returns zero exit
 -    ;;                    status, even for files which don't exist.
 -    ;; `test -e'          Some Bourne shells have a `test' builtin
 -    ;;                    which does not know the `-e' option.
 -    ;; `/bin/test -e'     For those, the `test' binary on disk normally
 -    ;;                    provides the option.  Alas, the binary
 -    ;;                    is sometimes `/bin/test' and sometimes it's
 -    ;;                    `/usr/bin/test'.
 -    ;; `/usr/bin/test -e' In case `/bin/test' does not exist.
 -    (unless (or
 -             (and (setq result (format "%s -e" (tramp-get-test-command vec)))
 -                (zerop (tramp-send-command-and-check
 -                        vec (format "%s %s" result existing)))
 -                  (not (zerop (tramp-send-command-and-check
 -                             vec (format "%s %s" result nonexisting)))))
 -             (and (setq result "/bin/test -e")
 -                (zerop (tramp-send-command-and-check
 -                        vec (format "%s %s" result existing)))
 -                  (not (zerop (tramp-send-command-and-check
 -                             vec (format "%s %s" result nonexisting)))))
 -             (and (setq result "/usr/bin/test -e")
 -                (zerop (tramp-send-command-and-check
 -                        vec (format "%s %s" result existing)))
 -                  (not (zerop (tramp-send-command-and-check
 -                             vec (format "%s %s" result nonexisting)))))
 -             (and (setq result (format "%s -d" (tramp-get-ls-command vec)))
 -                (zerop (tramp-send-command-and-check
 -                        vec (format "%s %s" result existing)))
 -                  (not (zerop (tramp-send-command-and-check
 -                             vec (format "%s %s" result nonexisting))))))
 -      (tramp-error
 -       vec 'file-error "Couldn't find command to check if file exists"))
 -    result))
 +(defun tramp-handle-unhandled-file-name-directory (filename)
 +  "Like `unhandled-file-name-directory' for Tramp files."
 +  ;; With Emacs 23, we could simply return `nil'.  But we must keep it
 +  ;; for backward compatibility.
 +  (expand-file-name "~/"))
  
 -(defun tramp-open-shell (vec shell)
 -  "Opens shell SHELL."
 -  (with-progress-reporter vec 5 (format "Opening remote shell `%s'" shell)
 -    ;; Find arguments for this shell.
 -    (let ((tramp-end-of-output tramp-initial-end-of-output)
 -        (alist tramp-sh-extra-args)
 -        item extra-args)
 -      (while (and alist (null extra-args))
 -      (setq item (pop alist))
 -      (when (string-match (car item) shell)
 -        (setq extra-args (cdr item))))
 -      (when extra-args (setq shell (concat shell " " extra-args)))
 -      (tramp-send-command
 -       vec (format "exec env ENV='' PROMPT_COMMAND='' PS1=%s PS2='' PS3='' %s"
 -                 (shell-quote-argument tramp-end-of-output) shell)
 -       t))
 -    ;; Setting prompts.
 -    (tramp-send-command
 -     vec (format "PS1=%s" (shell-quote-argument tramp-end-of-output)) t)
 -    (tramp-send-command vec "PS2=''" t)
 -    (tramp-send-command vec "PS3=''" t)
 -    (tramp-send-command vec "PROMPT_COMMAND=''" t)))
 -
 -(defun tramp-find-shell (vec)
 -  "Opens a shell on the remote host which groks tilde expansion."
 -  (unless (tramp-get-connection-property vec "remote-shell" nil)
 -    (let (shell)
 -      (with-current-buffer (tramp-get-buffer vec)
 -      (tramp-send-command vec "echo ~root" t)
 -      (cond
 -       ((or (string-match "^~root$" (buffer-string))
 -            ;; The default shell (ksh93) of OpenSolaris is buggy.
 -            (string-equal (tramp-get-connection-property vec "uname" "")
 -                          "SunOS 5.11"))
 -        (setq shell
 -              (or (tramp-find-executable
 -                   vec "bash" (tramp-get-remote-path vec) t t)
 -                  (tramp-find-executable
 -                   vec "ksh" (tramp-get-remote-path vec) t t)))
 -        (unless shell
 -          (tramp-error
 -           vec 'file-error
 -           "Couldn't find a shell which groks tilde expansion"))
 -        (tramp-message
 -         vec 5 "Starting remote shell `%s' for tilde expansion" shell)
 -        (tramp-open-shell vec shell))
 -
 -       (t (tramp-message
 -           vec 5 "Remote `%s' groks tilde expansion, good"
 -           (tramp-set-connection-property
 -            vec "remote-shell"
 -            (tramp-get-method-parameter
 -             (tramp-file-name-method vec) 'tramp-remote-sh)))))))))
 -
 -;; ------------------------------------------------------------
 -;; -- Functions for establishing connection --
 -;; ------------------------------------------------------------
 +;;; Functions for establishing connection:
  
  ;; The following functions are actions to be taken when seeing certain
  ;; prompts from the remote host.  See the variable
    ;; Make outer chars of matching triple-quote sequences into generic
    ;; string delimiters.  Fixme: Is there a better way?
    ;; First avoid a sequence preceded by an odd number of backslashes.
 -  `((,(concat "\\(?:\\([RUru]\\)[Rr]?\\|^\\|[^\\]\\(?:\\\\.\\)*\\)" ;Prefix.
 +  (syntax-propertize-rules
-    (;; (rx (not (any ?\\))
-     ;;     ?\\ (* (and ?\\ ?\\))
-     ;;     (group (syntax string-quote))
-     ;;     (backref 1)
-     ;;     (group (backref 1)))
-     ;; ¡Backrefs don't work in syntax-propertize-rules!
-     "[^\\]\\\\\\(\\\\\\\\\\)*\\(?:''\\('\\)\\|\"\"\\(?2:\"\\)\\)"
-     (2 "\""))                           ; dummy
-    (;; (rx (optional (group (any "uUrR"))) ; prefix gets syntax property
-     ;;     (optional (any "rR"))           ; possible second prefix
-     ;;     (group (syntax string-quote))   ; maybe gets property
-     ;;     (backref 2)                     ; per first quote
-     ;;     (group (backref 2)))            ; maybe gets property
-     ;; ¡Backrefs don't work in syntax-propertize-rules!
-     "\\([RUru]\\)?[Rr]?\\(?:\\('\\)'\\('\\)\\|\\(?2:\"\\)\"\\(?3:\"\\)\\)"
++   (;; ¡Backrefs don't work in syntax-propertize-rules!
++    (concat "\\(?:\\([RUru]\\)[Rr]?\\|^\\|[^\\]\\(?:\\\\.\\)*\\)" ;Prefix.
+               "\\(?:\\('\\)'\\('\\)\\|\\(?2:\"\\)\"\\(?3:\"\\)\\)")
 -     (1 (python-quote-syntax 1) nil lax)
 -     (2 (python-quote-syntax 2))
 -     (3 (python-quote-syntax 3)))
 -    ;; This doesn't really help.
 -;;;     (,(rx (and ?\\ (group ?\n))) (1 " "))
 -    ))
 -
 -(defun python-quote-syntax (n)
 +    (3 (ignore (python-quote-syntax))))
 +   ;; This doesn't really help.
 +   ;;((rx (and ?\\ (group ?\n))) (1 " "))
 +   ))
 +
 +(defun python-quote-syntax ()
    "Put `syntax-table' property correctly on triple quote.
  Used for syntactic keywords.  N is the match number (1, 2 or 3)."
    ;; Given a triple quote, we have to check the context to know
@@@ -1201,14 -1196,11 +1197,10 @@@ semicolon, opening brace, or opening br
    "Determine if point is in a comment.
  Returns a list of the form `(FLAG . STATE)'.  STATE can be used
  as input to future invocations.  FLAG is nil if not in comment,
- t otherwise.  If in comment, leaves point at beginning of comment.
- This function does not work in Emacs 18.
- See also `tcl-simple-scan-for-comment', a
- simpler version that is often right, and works in Emacs 18."
+ t otherwise.  If in comment, leaves point at beginning of comment."
    (let ((bol (save-excursion
               (goto-char end)
 -             (beginning-of-line)
 -             (point)))
 +             (line-beginning-position)))
        real-comment
        last-cstart)
      (while (and (not last-cstart) (< (point) end))
Simple merge
diff --cc lisp/server.el
@@@ -598,9 -588,14 +603,14 @@@ server or call `M-x server-force-delete
                (setq buffer-file-coding-system 'no-conversion)
                (insert (format-network-address
                         (process-contact server-process :local))
 -                      " " (int-to-string (emacs-pid))
 +                      " " (number-to-string (emacs-pid)) ; Kept for compatibility
                        "\n" auth-key)))))))))
  
+ (defun server-force-stop ()
+   "Kill all connections to the current server.
+ This function is meant to be called from `kill-emacs-hook'."
+   (server-start nil t))
  ;;;###autoload
  (defun server-force-delete (&optional name)
    "Unconditionally delete connection file for server NAME.
Simple merge
@@@ -1,48 -1,9 +1,54 @@@
 -2010-11-01  Elias Pipping  <pipping.elias@googlemail.com>  (tiny change)
++2010-11-09  Elias Pipping  <pipping.elias@googlemail.com>  (tiny change)
+       Make Emacs compile with clang (bug#7309).
+       * XMakeAssoc.c (XMakeAssoc):
+       * XDelAssoc.c (XDeleteAssoc): Declare the return type.
 +2010-07-12  Dan Nicolaescu  <dann@ics.uci.edu>
 +
 +      * XMenu.h: Include <stdlib.h>.
 +
 +2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
 +
 +      * Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS): Set from
 +      substitution.
 +      (ALL_CFLAGS): Add ${C_WARNINGS_SWITCH} and ${PROFILING_CFLAGS}.
 +
 +2010-07-04  Dan Nicolaescu  <dann@ics.uci.edu>
 +
 +      * Activate.c: Convert function definitions to standard C.
 +      * AddPane.c:
 +      * AddSel.c:
 +      * ChgPane.c:
 +      * ChgSel.c:
 +      * Create.c:
 +      * DelPane.c:
 +      * DelSel.c:
 +      * Destroy.c:
 +      * Error.c:
 +      * EvHand.c:
 +      * FindPane.c:
 +      * FindSel.c:
 +      * InsPane.c:
 +      * InsSel.c:
 +      * Internal.c:
 +      * Locate.c:
 +      * Post.c:
 +      * Recomp.c:
 +      * SetAEQ.c:
 +      * SetFrz.c:
 +      * SetPane.c:
 +      * SetSel.c:
 +      * X10.h:
 +      * XCrAssoc.c:
 +      * XDelAssoc.c:
 +      * XDestAssoc.c:
 +      * XLookAssoc.c:
 +      * XMakeAssoc.c:
 +      * XMenu.h:
 +      * XMenuInt.h:
 +      * insque.c: Likewise.
 +
  2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
  
        * Version 23.2 released.
@@@ -17,7 -17,11 +17,8 @@@ void emacs_remque(struct qelem*)
   * an XId.  An association may be removed only once.  Redundant
   * deletes are meaningless (but cause no problems).
   */
 -XDeleteAssoc(dpy, table, x_id)
 -        register Display *dpy;
 -      register XAssocTable *table;
 -      register XID x_id;
+ void
 +XDeleteAssoc(register Display *dpy, register XAssocTable *table, register XID x_id)
  {
        int hash;
        register XAssoc *bucket;
@@@ -26,7 -27,12 +26,8 @@@ void emacs_insque (struct qelem *elem, 
   * meaningless (but cause no problems).  The queue in each association
   * bucket is sorted (lowest XId to highest XId).
   */
 -XMakeAssoc(dpy, table, x_id, data)
 -      register Display *dpy;
 -      register XAssocTable *table;
 -      register XID x_id;
 -      register caddr_t data;
+ void
 +XMakeAssoc(register Display *dpy, register XAssocTable *table, register XID x_id, register caddr_t data)
  {
        int hash;
        register XAssoc *bucket;
diff --cc src/ChangeLog
 -2010-11-05  Chong Yidong  <cyd@stupidchicken.com>
+ 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
+       * xfns.c (x_real_positions): Fix declaration-after-statement
+       problem.
 -2010-11-04  Chong Yidong  <cyd@stupidchicken.com>
++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).
 -      * process.c (Fmake_network_process): Don't apply Bug#5173 fix for
 -      Windows.
++2010-11-09  Jan Djärv  <jan.h.d@swipnet.se>
 -2010-11-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
++      * xfns.c (x_real_positions): Only use _NET_FRAME_EXTENTS if our
++      parent is the root window.  Check this after traversing window tree.
 -      * process.c (Fmake_network_process): Don't call turn_on_atimers around
 -      `connect' (Bug#5723).
++      * xterm.c (x_term_init): Initialize Xatom_net_frame_extents.
 -2010-11-04  Helmut Eller  <eller.helmut@gmail.com>
++      * xterm.h (struct x_display_info): Xatom_net_frame_extents is new.
 -      * process.c (Fmake_network_process): Call `select' for interrupted
 -      `connect' rather than creating new socket (Bug#5173).
++      * xfns.c (x_real_positions): Try to get _NET_FRAME_EXTENTS first
++      before traversing window tree (Bug#5721).
 +2010-11-07  Jan Djärv  <jan.h.d@swipnet.se>
  
 -2010-11-04  Kenichi Handa  <handa@m17n.org>
 +      * xfns.c (set_machine_and_pid_properties): Let X set WM_CLIENT_MACHINE.
  
 -      * 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.
 +      * xdisp.c (note_mode_line_or_margin_highlight): Initialize
 +      Cursor to No_Cursor for HAVE_WINDOW_SYSTEM also.
  
 -2010-11-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 +2010-11-06  Eli Zaretskii  <eliz@gnu.org>
  
 -      * dispextern.h (TRY_WINDOW_CHECK_MARGINS)
 -      (TRY_WINDOW_IGNORE_FONTS_CHANGE): New defines.
 +      * xfns.c (Fx_show_tip): If any of the tool-tip text lines is R2L,
 +      adjust width of tool-tip frame to the width of text, excluding the
 +      stretch glyph at the beginning of R2L glyph rows.
  
 -      * 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.
 +      * w32fns.c (Fx_show_tip): Likewise.
  
 -      * xfns.c (Fx_show_tip): Undo last change.  Call try_window with
 -      TRY_WINDOW_IGNORE_FONTS_CHANGE (Bug#2423).
 +2010-11-06  Jan Djärv  <jan.h.d@swipnet.se>
  
 -2010-11-04  Jan Djärv  <jan.h.d@swipnet.se>
 +      * nsfont.m: Include termchar for new mouse-highlight.
 +      (nsfont_draw): Use MOUSE_HL_INFO.
  
 -      * xfns.c (x_real_positions): Only use _NET_FRAME_EXTENTS if our
 -      parent is the root window.  Check this after traversing window tree.
 +2010-11-05  Eli Zaretskii  <eliz@gnu.org>
  
 -      * xterm.c (x_term_init): Initialize Xatom_net_frame_extents.
 +      Unify mouse-highlight code for all GUI and TTY sessions.
  
 -      * xterm.h (struct x_display_info): Xatom_net_frame_extents is new.
 +      * term.c: Remove static mouse_face_* variables.  All users
 +      changed.
 +      (term_show_mouse_face, term_clear_mouse_face)
 +      (fast_find_position, term_mouse_highlight): Functions deleted.
 +      (tty_draw_row_with_mouse_face): New function.
 +      (term_mouse_movement): Call note_mouse_highlight instead of
 +      term_mouse_highlight.
 +
 +      * nsterm.m (ns_update_window_begin, ns_update_window_end)
 +      (ns_update_end, x_destroy_window, ns_frame_up_to_date)
 +      (ns_dumpglyphs_box_or_relief, ns_maybe_dumpglyphs_background)
 +      (ns_dumpglyphs_image, ns_dumpglyphs_stretch)
 +      (ns_initialize_display_info, keyDown, mouseMoved, mouseExited):
 +      Replace Display_Info with Mouse_HLInfo everywhere where
 +      mouse_face_* members were accessed for mouse highlight purposes.
 +
 +      * xterm.c (x_update_window_begin, x_update_window_end)
 +      (x_update_end, XTframe_up_to_date, x_set_mouse_face_gc)
 +      (handle_one_xevent, x_free_frame_resources, x_term_init): Replace
 +      Display_Info with Mouse_HLInfo everywhere where mouse_face_*
 +      members were accessed for mouse highlight purposes.
 +
 +      * w32term.c (x_update_window_begin, x_update_window_end)
 +      (x_update_end, w32_read_socket, x_free_frame_resources)
 +      (w32_initialize_display_info): Replace Display_Info with
 +      Mouse_HLInfo everywhere where mouse_face_* members were accessed
 +      for mouse highlight purposes.
 +
 +      * xdisp.c (show_mouse_face, note_mode_line_or_margin_highlight)
 +      (note_mouse_highlight) [HAVE_WINDOW_SYSTEM]: Don't run GUI code
 +      unless the frame is on a window-system.
 +      (get_tool_bar_item, handle_tool_bar_click)
 +      (note_tool_bar_highlight, draw_glyphs, erase_phys_cursor)
 +      (show_mouse_face, clear_mouse_face, coords_in_mouse_face_p)
 +      (note_mode_line_or_margin_highlight, note_mouse_highlight)
 +      (x_clear_window_mouse_face, cancel_mouse_face, expose_frame):
 +      Replace Display_Info with Mouse_HLInfo everywhere where
 +      mouse_face_* members were accessed for mouse highlight purposes.
 +      (coords_in_mouse_face_p): Move prototype out of the
 +      HAVE_WINDOW_SYSTEM conditional.
 +      (x_y_to_hpos_vpos, frame_to_window_pixel_xy): Move out of the
 +      HAVE_WINDOW_SYSTEM block.
 +      (try_window_id) [HAVE_GPM || MSDOS]: Call
 +      x_clear_window_mouse_face.
 +      (draw_row_with_mouse_face): Implementation for HAVE_WINDOW_SYSTEM
 +      systems.  Call tty_draw_row_with_mouse_face for TTY systems.
 +      (show_mouse_face): Call draw_row_with_mouse_face, instead of
 +      calling draw_glyphs directly.
 +      (show_mouse_face, clear_mouse_face, coords_in_mouse_face_p)
 +      (cursor_in_mouse_face_p, rows_from_pos_range)
 +      (mouse_face_from_buffer_pos, mouse_face_from_string_pos)
 +      (note_mode_line_or_margin_highlight, note_mouse_highlight)
 +      (x_clear_window_mouse_face, cancel_mouse_face): Move out of the
 +      HAVE_WINDOW_SYSTEM block.  Ifdef away window-system specific
 +      fragments.
 +      (note_mouse_highlight): Call popup_activated for MSDOS as well.
 +      Clear mouse highlight if pointer is over glyphs whose OBJECT is an
 +      integer.
 +      (mouse_face_from_buffer_pos): Add parentheses around && within ||.
 +      (x_consider_frame_title, tool_bar_lines_needed): Move
 +      prototypes to HAVE_WINDOW_SYSTEM-only part.
 +      (get_window_cursor_type): Move inside a HAVE_WINDOW_SYSTEM-only
 +      part.  Remove "#ifdef HAVE_WINDOW_SYSTEM" from body of function.
 +      (null_glyph_slice): Move declaration into HAVE_WINDOW_SYSTEM-only
 +      part.
 +
 +      * dispnew.c (mirror_make_current): Set Y coordinate of the
 +      mode-line and header-line rows.
 +      (init_display): Setup initial frame's output_data for text
 +      terminal frames.
 +
 +      * xmenu.c (popup_activated): Don't define on MSDOS, which now has
 +      its own definition on msdos.c.
 +
 +      * msdos.c (show_mouse_face, clear_mouse_face)
 +      (fast_find_position, IT_note_mode_line_highlight)
 +      (IT_note_mouse_highlight): Functions deleted.
 +      (IT_frame_up_to_date, dos_rawgetc): Call note_mouse_highlight
 +      instead of IT_note_mouse_highlight.
 +      (draw_row_with_mouse_face, popup_activated): New functions.
 +      (dos_set_window_size, draw_row_with_mouse_face, IT_update_begin)
 +      (IT_update_end, IT_frame_up_to_date, internal_terminal_init)
 +      (dos_rawgetc): Replace Display_Info with Mouse_HLInfo everywhere
 +      where mouse_face_* members were accessed for mouse highlight
 +      purposes.
 +
 +      * msdos.h (initialize_msdos_display): Add prototype.
 +
 +      * frame.h (MOUSE_HL_INFO): New macro.
 +
 +      * lisp.h (Mouse_HLInfo): New data type.
 +
 +      * xterm.h (struct x_display_info):
 +      * w32term.h (struct w32_display_info):
 +      * nsterm.h (struct ns_display_info):
 +      * termchar.h (struct tty_display_info): Use it instead of
 +      mouse_face_* members.
 +
 +      * dispextern.h (show_mouse_face, clear_mouse_face): Update type of
 +      1st argument.
 +      (frame_to_window_pixel_xy, note_mouse_highlight)
 +      (x_clear_window_mouse_face, cancel_mouse_face, clear_mouse_face)
 +      (show_mouse_face, cursor_in_mouse_face_p): Move prototypes out of
 +      HAVE_WINDOW_SYSTEM conditional.
 +      (draw_row_with_mouse_face): Declare prototype.
 +      (tty_draw_row_with_mouse_face): Declare prototype.
 +
 +2010-11-05  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * term.c (append_glyphless_glyph, produce_glyphless_glyph): Remove
 +      unused variables.
 +
 +2010-11-05  Adrian Robert  <Adrian.B.Robert@gmail.com>
 +
 +      * nsterm.m (EmacsView-mouseExited:): Correct error in conditional
 +      logic pointed out by Eli Zaretskii.
 +
 +2010-11-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 +
 +      * coding.c (coding-category-list): Refer to set-coding-system-priority
 +      instead of the obsolete set-coding-priority in the doc string.
 +
 +
 +2010-11-04  Adrian Robert  <Adrian.B.Robert@gmail.com>
 +
 +      * nsfont.m (nsfont_draw):  Correct previous patch to return
 +      correct value.
 +      * nsimage.m (EmacsImage-setXBMColor:): Correct previous patch:
 +      don't change the method signature, change the return.
 +
 +2010-11-04  Ismail Donmez  <ismail@namtrac.org>  (tiny change)
 +
 +      * nsfont.m (nsfont_draw)
 +      * nsimage.m (EmacsImage-setXBMColor:)
 +      * nsterm.m (EmacsView-performDragOperation:): Correct empty return.
 +
 +2010-11-03  Julien Danjou  <julien@danjou.info>
 +
 +      * image.c (gif_load): Add support for transparency and specified
 +      :background.
 +
 +2010-11-01  Kenichi Handa  <handa@m17n.org>
 +
 +      * dispextern.h (lookup_glyphless_char_display): Extern it.
 +
 +      * termhooks.h (struct terminal): New member charset_list.
 +
 +      * coding.c (Fset_terminal_coding_system_internal): Set the
 +      `charset_list' member of struct terminal.
  
 -      * xfns.c (x_real_positions): Try to get _NET_FRAME_EXTENTS first
 -      before traversing window tree (Bug#5721).
 +      * term.c (produce_glyphs): Handle the case it->what == IT_GLYPHLESS.
 +      (append_glyphless_glyph, produce_glyphless_glyph): New functions.
  
 -2010-11-03  Glenn Morris  <rgm@gnu.org>
 +      * xdisp.c (lookup_glyphless_char_display): Make it non-static.
 +      (lookup_glyphless_char_display): Set it->what at the end.
 +      (last_glyphless_glyph_frame, last_glyphless_glyph_face_id)
 +      (last_glyphless_glyph_merged_face_id): Make them non-static.
  
 -      * Makefile.in (CRT_DIR): New variable, set by configure.
 -      * m/amdx86-64.h, m/ibms390x.h (START_FILES, LIB_STANDARD):
 -      Use $CRT_DIR rather than HAVE_LIB64_DIR.  (Bug#5655)
 +      * w32term.c (x_draw_glyphless_glyph_string_foreground):
 +      Fix the arg with_background for font->driver->draw.
  
 -2010-11-01  Jan Djärv  <jan.h.d@swipnet.se>
 +2010-11-01  Kenichi Handa  <handa@m17n.org>
  
 -      * process.c (kbd_is_on_hold): New variable.
 -      (hold_keyboard_input, unhold_keyboard_input, kbd_on_hold_p):
 -      New functions.
 -      (wait_reading_process_output): If kbd_on_hold_p returns non-zero,
 -      select on empty input mask.
 -      (init_process): Initialize kbd_is_on_hold to 0.
 +      * w32gui.h (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2):
 +      Surround chp by parentheses.
  
 -      * process.h (hold_keyboard_input, unhold_keyboard_input)
 -      (kbd_on_hold_p): Declare.
 +2010-11-01  Kenichi Handa  <handa@m17n.org>
  
 -      * keyboard.c (input_available_signal): Declare.
 -      (kbd_buffer_nr_stored): New function.
 -      (kbd_buffer_store_event_hold): If kbd_buffer_nr_stored returns
 -      more than KBD_BUFFER_SIZE/2, stop reding input (Bug#6571).
 -      (kbd_buffer_get_event): If input is suspended and kbd_buffer_nr_stored
 -      returns less than KBD_BUFFER_SIZE/4, resume reding input (Bug#6571).
 -      (tty_read_avail_input): If input is on hold, return.
 -      Don't read more that free slots in kbd_buffer (Bug#6571).
 +      Implement various display methods for glyphless characters.
 +
 +      * xdisp.c (Qglyphless_char, Vglyphless_char_display)
 +      (Qglyphless_char_display, Qhexa_code, Qempty_box, Qthin_space)
 +      (Qzero_width): New variables.
 +      (THIN_SPACE_WIDTH): New macro.
 +      (lookup_glyphless_char_display): New funciton.
 +      (last_glyphless_glyph_frame, last_glyphless_glyph_face_id)
 +      (last_glyphless_glyph_merged_face_id): New variables.
 +      (get_next_display_element): Check glyphless characters.
 +      (redisplay_internal): Initialize last_glyphless_glyph_frame and
 +      last_glyphless_glyph_face_id.
 +      (fill_glyphless_glyph_string): New function.
 +      (BUILD_GLYPHLESS_GLYPH_STRING): New macro.
 +      (BUILD_GLYPH_STRINGS): Handle the case GLYPHLESS_GLYPH.
 +      (append_glyphless_glyph, produce_glyphless_glyph): New functions.
 +      (x_produce_glyphs): If a suitable font is not found, produce a
 +      glyphless glyph.  Handle the case it->what == IT_GLYPHLESS.
 +      (syms_of_xdisp): Intern and staticpro Qglyphless_char,
 +      Qglyphless_char_display, Qhexa_code, Qempty_box, Qthin_space, and
 +      Qzero_width.
 +      (Vglyphless_char_display): Declare it as a Lisp variable.
 +
 +      * dispextern.h (enum glyph_type): Add GLYPHLESS_GLYPH.
 +      (struct glyph): Change the size of the member "type" to 3.
 +      Add glyphless to the union slice and u.
 +      (enum display_element_type): Add IT_GLYPHLESS.
 +      (enum glyphless_display_method): New enum.
 +      (struct it): New member glyphless_method.
 +      (Vglyphless_char_display): Extern it.
 +
 +      * xterm.c (x_draw_glyphless_glyph_string_foreground): New function.
 +      (x_draw_glyph_string): Handle the case GLYPHLESS_GLYPH.
 +
 +      * w32term.c (x_draw_glyphless_glyph_string_foreground): New function.
 +      (x_draw_glyph_string): Handle the case GLYPHLESS_GLYPH.
 +
 +      * nsterm.m (ns_draw_glyph_string): Handle the case
 +      GLYPHLESS_GLYPH (the detail is not yet implemented).
 +
 +2010-10-31  Glenn Morris  <rgm@gnu.org>
 +
 +      * xterm.c (x_connection_closed) [USE_X_TOOLKIT]: Fix merge, maybe.
 +
 +      * frame.c (syms_of_frame) <tool-bar-mode>:
 +      Default to nil if !HAVE_WINDOW_SYSTEM.  (Bug#7299)
  
  2010-10-31  Chong Yidong  <cyd@stupidchicken.com>
  
diff --cc src/config.in
Simple merge
diff --cc src/image.c
Simple merge
diff --cc src/xfns.c
Simple merge
diff --cc src/xterm.c
@@@ -10274,10 -10522,9 +10274,12 @@@ x_term_init (Lisp_Object display_name, 
      = XInternAtom (dpyinfo->display, "_NET_WM_WINDOW_TYPE", False);
    dpyinfo->Xatom_net_window_type_tooltip
      = XInternAtom (dpyinfo->display, "_NET_WM_WINDOW_TYPE_TOOLTIP", False);
 -  dpyinfo->cut_buffers_initialized = 0;
 +  dpyinfo->Xatom_net_wm_icon_name
 +    = XInternAtom (dpyinfo->display, "_NET_WM_ICON_NAME", False);
 +  dpyinfo->Xatom_net_wm_name
 +    = XInternAtom (dpyinfo->display, "_NET_WM_NAME", False);
+   dpyinfo->Xatom_net_frame_extents  
+     = XInternAtom (dpyinfo->display, "_NET_FRAME_EXTENTS", False);
  
    dpyinfo->x_dnd_atoms_size = 8;
    dpyinfo->x_dnd_atoms_length = 0;
diff --cc src/xterm.h
Simple merge