# HG changeset patch # User cvs # Date 1186991146 -7200 # Node ID 85ec5026744027ba3444cac6296462ab451b4d21 # Parent 7a77eb660975020a274b5766051670015dd5e5ef Import from CVS: tag r20-3b10 diff -r 7a77eb660975 -r 85ec50267440 CHANGES-beta --- a/CHANGES-beta Mon Aug 13 09:44:44 2007 +0200 +++ b/CHANGES-beta Mon Aug 13 09:45:46 2007 +0200 @@ -1,4 +1,23 @@ -*- indented-text -*- +to 20.3 beta10 "Athens" +-- Linuxdoc-sgml.el courtesy of Arun Sharma. +-- rewritten abbreviations from Hrvoje Niksic +-- Gnus-5.4.60 +-- New file image-mode.el (Major mode for displaying image files) +-- Miscellaneous Mule patches from MORIOKA Tomohiko +-- Miscellaneous Hrvoje Niksic patches +-- Configure/tree-x patches from Martin Buchholz +-- Restore Show Message Log in Edit menu. +-- `make autoloads' updated and should now work without Mule [untested]. +-- New boolean variable `x-seppuku-on-epipe' to handle case of X Server going + away and XEmacs not exiting. Set to `t' to force immediate exit. +-- custom-1.9940 +-- gnuserv.el-3.6 +-- speedbar-0.5 courtesy of Eric Ludlam +-- Internals change -- Use fork() instead of vfork() for invoking + subprocesses +-- Miscellaneous bug fixes + to 20.3 beta9 "Sofia". -- cc-mode-5.11 -- custom-1.9937 diff -r 7a77eb660975 -r 85ec50267440 ChangeLog --- a/ChangeLog Mon Aug 13 09:44:44 2007 +0200 +++ b/ChangeLog Mon Aug 13 09:45:46 2007 +0200 @@ -1,3 +1,65 @@ +1997-06-29 Steven L Baur + + * XEmacs 20.3-beta10 is released. + +1997-06-29 MORIOKA Tomohiko + + * lisp/language/chinese.el: Add chinese-isoir165 (CCITT Extended + GB). + + * lisp/language/chinese.el: Modify charset DOC-strings for CNS + 11643 to be more detailed. + + * lisp/language/arabic.el: Rename `arabic-0', `arabic-1' and + `arabic-2' to `arabic-digit', `arabic-1-column' and + `arabic-2-column' to sync with Emacs/mule-19.34.94-zeta. + + * src/mule-charset.c: Modify charset DOC-strings to be more + detailed. + + Use BOX DRAWINGS characters of JIS X0208. + +1997-06-28 MORIOKA Tomohiko + + * lisp/apel/richtext.el: Add autoload comments for + `richtext-encode' and `richtext-decode'. + + * lisp/prim/format.el (format-alist): Add `text/richtext'. + + * lisp/tl/chartblxmas.el: New file. + + * lisp/x11/x-menubar.el (default-menubar): Add "Show character + table" for MULE menu. + + * lisp/apel/emu.el: Check richtext.el is bundled. + + * lisp/tl/char-table.el (view-charset): New command. + + * lisp/tl/char-table.el: Rename some functions. + + * lisp/packages/hexl.el (hexl-mode-exit): Run + `hexl-mode-exit-hook'. + + * lisp/x11/x-menubar.el (default-menubar): Fix "Describe language + support" and "Set language environment" of mule menu. + + * lisp/apel/file-detect.el: Add autoload comments for function + `add-path', `add-latest-path', `get-latest-path', + `file-installed-p', `exec-installed-p', `module-installed-p' and + variable `exec-suffix-list'. + + * lisp/prim/format.el (format-alist): Add image/jpeg, image/gif, + image/png and image/x-xpm. + + * lisp/modes/image-mode.el: New file. + +1997-06-27 MORIOKA Tomohiko + + * lisp/tm/tm-ew-e.el (tm-eword::encode-string-1): avoid infinite + loop caused by long non-encoded-word element. (cf. [tm-en:1356]) + + (mime/field-encoding-method-alist): Add "Message-ID" as ignored. + 1997-06-25 Steven L Baur * XEmacs 20.3-beta9 is released. diff -r 7a77eb660975 -r 85ec50267440 Makefile.in --- a/Makefile.in Mon Aug 13 09:44:44 2007 +0200 +++ b/Makefile.in Mon Aug 13 09:45:46 2007 +0200 @@ -208,6 +208,9 @@ ## The makefiles of the directories in ${MAKE_SUBDIR}. SUBDIR_MAKEFILES = @SUBDIR_MAKEFILES@ +## Subdirectories to `make install-arch-dep' recursively +INSTALL_ARCH_DEP_SUBDIR = @INSTALL_ARCH_DEP_SUBDIR@ + ## Subdirectories to install, and where they'll go. ## lib-src's makefile knows how to install it, so we don't do that here. ## When installing the info files, we need to do special things to @@ -299,10 +302,11 @@ echo "#define PURESIZE_ADJUSTMENT 0") > $@ src: @SRC_SUBDIR_DEPS@ FRC.src +pkg-src/tree-x: pkg-src/FRC.tree-x lib-src: FRC.lib-src lwlib: FRC.lwlib dynodump: FRC.dynodump -FRC.src FRC.lib-src FRC.lwlib FRC.dynodump: +FRC.src FRC.lib-src FRC.lwlib FRC.dynodump pkg-src/FRC.tree-x: .RECURSIVE: ${SUBDIR} @@ -322,10 +326,13 @@ lwlib/Makefile: ${srcdir}/lwlib/Makefile.in.in config.status ./config.status -lwlib/config.h: ${srcdir}/lwlib/config.h.in +pkg-src/tree-x/Makefile: ${srcdir}/pkg-src/tree-x/Makefile.in.in config.status + ./config.status + +src/config.h: ${srcdir}/src/config.h.in ./config.status && touch $@ -src/config.h: ${srcdir}/src/config.h.in +lwlib/config.h: ${srcdir}/lwlib/config.h.in ./config.status && touch $@ ## ==================== Installation ==================== @@ -358,21 +365,18 @@ install: all install-arch-dep install-arch-indep; install-arch-dep: mkdir - cd lib-src && \ - $(MAKE) install $(MFLAGS) prefix=${prefix} \ + for subdir in ${INSTALL_ARCH_DEP_SUBDIR}; do \ + ( cd $${subdir} && $(MAKE) install $(MFLAGS) prefix=${prefix} \ exec_prefix=${exec_prefix} bindir=${bindir} libdir=${libdir} \ - archlibdir=${archlibdir} - if [ `(cd ${archlibdir} && $(pwd))` != `(cd ./lib-src && $(pwd))` ]; \ - then \ + archlibdir=${archlibdir} ) ; done + if test `(cd ${archlibdir} && $(pwd))` != `(cd lib-src && $(pwd))`; then \ ${INSTALL_DATA} lib-src/DOC ${archlibdir}/DOC ; \ - for subdir in `find ${archlibdir} -type d ! -name RCS ! -name SCCS ! -name CVS -print` ; do \ - (cd $${subdir} && $(RM) -r RCS CVS SCCS \#* *~) ; \ - done ; \ + for subdir in `find ${archlibdir} -type d ! -name RCS ! -name SCCS ! -name CVS -print` ; \ + do (cd $${subdir} && $(RM) -r RCS CVS SCCS \#* *~) ; done ; \ else true; fi ${INSTALL_PROGRAM} src/xemacs ${bindir}/xemacs-${version} -chmod 0755 ${bindir}/xemacs-${version} - $(RM) ${bindir}/xemacs - cd ${bindir} && ${LN_S} xemacs-${version} ./xemacs + cd ${bindir} && $(RM) ./xemacs && ${LN_S} xemacs-${version} ./xemacs install-arch-indep: mkdir -@set ${COPYDESTS} ; \ diff -r 7a77eb660975 -r 85ec50267440 configure --- a/configure Mon Aug 13 09:44:44 2007 +0200 +++ b/configure Mon Aug 13 09:45:46 2007 +0200 @@ -209,6 +209,7 @@ MAKE_SUBDIR="$MAKE_SUBDIR lib-src" && if test "$extra_verbose" = "yes"; then echo " Appending \"lib-src\" to \$MAKE_SUBDIR"; fi +INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR lib-src" && if test "$extra_verbose" = "yes"; then echo " Appending \"lib-src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi prefix='/usr/local' exec_prefix='${prefix}' @@ -830,7 +831,7 @@ esac echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 -echo "configure:834: checking whether ln -s works" >&5 +echo "configure:835: checking whether ln -s works" >&5 rm -f conftestdata if ln -s X conftestdata 2>/dev/null @@ -886,7 +887,7 @@ echo "checking "the configuration name"" 1>&6 -echo "configure:890: checking "the configuration name"" >&5 +echo "configure:891: checking "the configuration name"" >&5 internal_configuration=`echo $configuration | sed 's/-\(energize\|workshop\)//'` if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else exit $? @@ -1313,7 +1314,7 @@ # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1317: checking for $ac_word" >&5 +echo "configure:1318: checking for $ac_word" >&5 if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. @@ -1339,7 +1340,7 @@ # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1343: checking for $ac_word" >&5 +echo "configure:1344: checking for $ac_word" >&5 if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. @@ -1384,7 +1385,7 @@ fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:1388: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:1389: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' @@ -1396,11 +1397,11 @@ cross_compiling=no cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -1420,19 +1421,19 @@ { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:1424: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:1425: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:1429: checking whether we are using GNU C" >&5 +echo "configure:1430: checking whether we are using GNU C" >&5 cat > conftest.c <&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1437: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@ -1446,7 +1447,7 @@ ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:1450: checking whether ${CC-cc} accepts -g" >&5 +echo "configure:1451: checking whether ${CC-cc} accepts -g" >&5 echo 'void f(){}' > conftest.c if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then @@ -1476,7 +1477,7 @@ # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1480: checking for $ac_word" >&5 +echo "configure:1481: checking for $ac_word" >&5 if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. @@ -1502,7 +1503,7 @@ # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1506: checking for $ac_word" >&5 +echo "configure:1507: checking for $ac_word" >&5 if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. @@ -1547,7 +1548,7 @@ fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:1551: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:1552: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' @@ -1559,11 +1560,11 @@ cross_compiling=no cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -1583,19 +1584,19 @@ { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:1587: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:1588: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:1592: checking whether we are using GNU C" >&5 +echo "configure:1593: checking whether we are using GNU C" >&5 cat > conftest.c <&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@ -1609,7 +1610,7 @@ ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:1613: checking whether ${CC-cc} accepts -g" >&5 +echo "configure:1614: checking whether ${CC-cc} accepts -g" >&5 echo 'void f(){}' > conftest.c if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then @@ -1638,7 +1639,7 @@ # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1642: checking for $ac_word" >&5 +echo "configure:1643: checking for $ac_word" >&5 if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. @@ -1664,7 +1665,7 @@ # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1668: checking for $ac_word" >&5 +echo "configure:1669: checking for $ac_word" >&5 if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. @@ -1709,7 +1710,7 @@ fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:1713: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:1714: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' @@ -1721,11 +1722,11 @@ cross_compiling=no cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -1745,19 +1746,19 @@ { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:1749: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:1750: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:1754: checking whether we are using GNU C" >&5 +echo "configure:1755: checking whether we are using GNU C" >&5 cat > conftest.c <&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1762: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@ -1771,7 +1772,7 @@ ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:1775: checking whether ${CC-cc} accepts -g" >&5 +echo "configure:1776: checking whether ${CC-cc} accepts -g" >&5 echo 'void f(){}' > conftest.c if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then @@ -1802,7 +1803,7 @@ test -n "$NON_GNU_CPP" -a "$with_gcc" = "no" -a -z "$CPP" && CPP="$NON_GNU_CPP" echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:1806: checking how to run the C preprocessor" >&5 +echo "configure:1807: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= @@ -1815,13 +1816,13 @@ # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : @@ -1832,13 +1833,13 @@ rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : @@ -1861,9 +1862,9 @@ echo $ac_n "checking for AIX""... $ac_c" 1>&6 -echo "configure:1865: checking for AIX" >&5 -cat > conftest.$ac_ext <&5 +cat > conftest.$ac_ext <&6 -echo "configure:1894: checking whether we are using SunPro C" >&5 -cat > conftest.$ac_ext <&5 +cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* __sunpro_c=yes else @@ -2187,7 +2189,7 @@ fi echo $ac_n "checking for dynodump""... $ac_c" 1>&6 -echo "configure:2191: checking for dynodump" >&5 +echo "configure:2193: checking for dynodump" >&5 if test "$unexec" != "unexsol2.o"; then echo "$ac_t""no" 1>&6 else @@ -2258,19 +2260,19 @@ if test "$add_runtime_path" = "yes"; then echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 -echo "configure:2262: checking "for runtime libraries flag"" >&5 +echo "configure:2264: checking "for runtime libraries flag"" >&5 dash_r="" for try_dash_r in "-R" "-R " "-rpath "; do xe_check_libs="${try_dash_r}/no/such/file-or-directory" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* dash_r="$try_dash_r" else @@ -2364,7 +2366,7 @@ # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2368: checking for $ac_word" >&5 +echo "configure:2370: checking for $ac_word" >&5 if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. @@ -2417,7 +2419,7 @@ # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:2421: checking for a BSD compatible install" >&5 +echo "configure:2423: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" @@ -2468,7 +2470,7 @@ # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2472: checking for $ac_word" >&5 +echo "configure:2474: checking for $ac_word" >&5 if test -n "$YACC"; then ac_cv_prog_YACC="$YACC" # Let the user override the test. @@ -2499,15 +2501,15 @@ do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:2503: checking for $ac_hdr" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2511: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -2540,15 +2542,15 @@ do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:2544: checking for $ac_hdr" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -2581,15 +2583,15 @@ do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:2585: checking for $ac_hdr" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -2619,10 +2621,10 @@ done echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 -echo "configure:2623: checking for sys/wait.h that is POSIX.1 compatible" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < #include @@ -2638,7 +2640,7 @@ s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } EOF -if { (eval echo configure:2642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_sys_wait_h=yes else @@ -2662,10 +2664,10 @@ fi echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:2666: checking for ANSI C header files" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < #include @@ -2673,7 +2675,7 @@ #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2677: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -2690,7 +2692,7 @@ if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -2708,7 +2710,7 @@ if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -2726,7 +2728,7 @@ if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') @@ -2737,7 +2739,7 @@ exit (0); } EOF -if { (eval echo configure:2741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 +if { (eval echo configure:2743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 then : else @@ -2762,10 +2764,10 @@ fi echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 -echo "configure:2766: checking whether time.h and sys/time.h may both be included" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < #include @@ -2774,7 +2776,7 @@ struct tm *tp; ; return 0; } EOF -if { (eval echo configure:2778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_time=yes else @@ -2798,10 +2800,10 @@ fi echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 -echo "configure:2802: checking for sys_siglist declaration in signal.h or unistd.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < #include @@ -2813,7 +2815,7 @@ char *msg = *(sys_siglist + 1); ; return 0; } EOF -if { (eval echo configure:2817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_decl_sys_siglist=yes else @@ -2838,9 +2840,9 @@ echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 -echo "configure:2842: checking for struct utimbuf" >&5 -cat > conftest.$ac_ext <&5 +cat > conftest.$ac_ext < @@ -2859,7 +2861,7 @@ static struct utimbuf x; x.actime = x.modtime; ; return 0; } EOF -if { (eval echo configure:2863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* echo "$ac_t""yes" 1>&6 { test "$extra_verbose" = "yes" && cat << \EOF @@ -2879,10 +2881,10 @@ rm -f conftest* echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 -echo "configure:2883: checking return type of signal handlers" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < #include @@ -2899,7 +2901,7 @@ int i; ; return 0; } EOF -if { (eval echo configure:2903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void else @@ -2921,10 +2923,10 @@ echo $ac_n "checking for size_t""... $ac_c" 1>&6 -echo "configure:2925: checking for size_t" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < #if STDC_HEADERS @@ -2955,10 +2957,10 @@ fi echo $ac_n "checking for pid_t""... $ac_c" 1>&6 -echo "configure:2959: checking for pid_t" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < #if STDC_HEADERS @@ -2989,10 +2991,10 @@ fi echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 -echo "configure:2993: checking for uid_t in sys/types.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF @@ -3028,10 +3030,10 @@ fi echo $ac_n "checking for mode_t""... $ac_c" 1>&6 -echo "configure:3032: checking for mode_t" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < #if STDC_HEADERS @@ -3062,10 +3064,10 @@ fi echo $ac_n "checking for off_t""... $ac_c" 1>&6 -echo "configure:3066: checking for off_t" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < #if STDC_HEADERS @@ -3097,9 +3099,9 @@ echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 -echo "configure:3101: checking for struct timeval" >&5 -cat > conftest.$ac_ext <&5 +cat > conftest.$ac_ext < @@ -3115,7 +3117,7 @@ static struct timeval x; x.tv_sec = x.tv_usec; ; return 0; } EOF -if { (eval echo configure:3119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* echo "$ac_t""yes" 1>&6 HAVE_TIMEVAL=yes @@ -3137,10 +3139,10 @@ rm -f conftest* echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 -echo "configure:3141: checking whether struct tm is in sys/time.h or time.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < #include @@ -3148,7 +3150,7 @@ struct tm *tp; tp->tm_sec; ; return 0; } EOF -if { (eval echo configure:3152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_tm=time.h else @@ -3172,10 +3174,10 @@ fi echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 -echo "configure:3176: checking for tm_zone in struct tm" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < #include <$ac_cv_struct_tm> @@ -3183,7 +3185,7 @@ struct tm tm; tm.tm_zone; ; return 0; } EOF -if { (eval echo configure:3187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_tm_zone=yes else @@ -3206,10 +3208,10 @@ else echo $ac_n "checking for tzname""... $ac_c" 1>&6 -echo "configure:3210: checking for tzname" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < #ifndef tzname /* For SGI. */ @@ -3219,7 +3221,7 @@ atoi(*tzname); ; return 0; } EOF -if { (eval echo configure:3223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_cv_var_tzname=yes else @@ -3245,10 +3247,10 @@ echo $ac_n "checking for working const""... $ac_c" 1>&6 -echo "configure:3249: checking for working const" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else @@ -3322,7 +3324,7 @@ echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:3326: checking whether ${MAKE-make} sets \${MAKE}" >&5 +echo "configure:3328: checking whether ${MAKE-make} sets \${MAKE}" >&5 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` cat > conftestmake <<\EOF @@ -3347,12 +3349,12 @@ echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 -echo "configure:3351: checking whether byte ordering is bigendian" >&5 +echo "configure:3353: checking whether byte ordering is bigendian" >&5 ac_cv_c_bigendian=unknown # See if sys/param.h defines the BYTE_ORDER macro. cat > conftest.$ac_ext < #include @@ -3363,11 +3365,11 @@ #endif ; return 0; } EOF -if { (eval echo configure:3367: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* # It does; now see whether it defined to BIG_ENDIAN or not. cat > conftest.$ac_ext < #include @@ -3378,7 +3380,7 @@ #endif ; return 0; } EOF -if { (eval echo configure:3382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_bigendian=yes else @@ -3395,7 +3397,7 @@ rm -f conftest* if test $ac_cv_c_bigendian = unknown; then cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 +if { (eval echo configure:3414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 then ac_cv_c_bigendian=no else @@ -3434,10 +3436,10 @@ echo $ac_n "checking size of short""... $ac_c" 1>&6 -echo "configure:3438: checking size of short" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < main() @@ -3448,7 +3450,7 @@ exit(0); } EOF -if { (eval echo configure:3452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 +if { (eval echo configure:3454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 then ac_cv_sizeof_short=`cat conftestval` else @@ -3475,10 +3477,10 @@ exit 1 fi echo $ac_n "checking size of int""... $ac_c" 1>&6 -echo "configure:3479: checking size of int" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < main() @@ -3489,7 +3491,7 @@ exit(0); } EOF -if { (eval echo configure:3493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 +if { (eval echo configure:3495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 then ac_cv_sizeof_int=`cat conftestval` else @@ -3510,10 +3512,10 @@ echo $ac_n "checking size of long""... $ac_c" 1>&6 -echo "configure:3514: checking size of long" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < main() @@ -3524,7 +3526,7 @@ exit(0); } EOF -if { (eval echo configure:3528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 +if { (eval echo configure:3530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 then ac_cv_sizeof_long=`cat conftestval` else @@ -3545,10 +3547,10 @@ echo $ac_n "checking size of long long""... $ac_c" 1>&6 -echo "configure:3549: checking size of long long" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < main() @@ -3559,7 +3561,7 @@ exit(0); } EOF -if { (eval echo configure:3563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 +if { (eval echo configure:3565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 then ac_cv_sizeof_long_long=`cat conftestval` else @@ -3580,10 +3582,10 @@ echo $ac_n "checking size of void *""... $ac_c" 1>&6 -echo "configure:3584: checking size of void *" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < main() @@ -3594,7 +3596,7 @@ exit(0); } EOF -if { (eval echo configure:3598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 +if { (eval echo configure:3600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 then ac_cv_sizeof_void_p=`cat conftestval` else @@ -3616,7 +3618,7 @@ echo $ac_n "checking for long file names""... $ac_c" 1>&6 -echo "configure:3620: checking for long file names" >&5 +echo "configure:3622: checking for long file names" >&5 ac_cv_sys_long_file_names=yes # Test for long file names in all the places we know might matter: @@ -3663,12 +3665,12 @@ echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 -echo "configure:3667: checking for sqrt in -lm" >&5 +echo "configure:3669: checking for sqrt in -lm" >&5 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` xe_check_libs=" -lm " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3722,7 +3724,7 @@ echo "checking type of mail spool file locking" 1>&6 -echo "configure:3726: checking type of mail spool file locking" >&5 +echo "configure:3728: checking type of mail spool file locking" >&5 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF @@ -3746,12 +3748,12 @@ echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 -echo "configure:3750: checking for kstat_open in -lkstat" >&5 +echo "configure:3752: checking for kstat_open in -lkstat" >&5 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` xe_check_libs=" -lkstat " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3796,12 +3798,12 @@ echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 -echo "configure:3800: checking for kvm_read in -lkvm" >&5 +echo "configure:3802: checking for kvm_read in -lkvm" >&5 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` xe_check_libs=" -lkvm " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3846,12 +3848,12 @@ echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 -echo "configure:3850: checking for cma_open in -lpthreads" >&5 +echo "configure:3852: checking for cma_open in -lpthreads" >&5 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` xe_check_libs=" -lpthreads " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3898,7 +3900,7 @@ fi echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 -echo "configure:3902: checking whether the -xildoff compiler flag is required" >&5 +echo "configure:3904: checking whether the -xildoff compiler flag is required" >&5 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then echo "$ac_t""no" 1>&6; @@ -3909,7 +3911,7 @@ if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 -echo "configure:3913: checking for \"-z ignore\" linker flag" >&5 +echo "configure:3915: checking for \"-z ignore\" linker flag" >&5 case "`ld -h 2>&1`" in *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; @@ -3919,7 +3921,7 @@ echo "checking "for specified window system"" 1>&6 -echo "configure:3923: checking "for specified window system"" >&5 +echo "configure:3925: checking "for specified window system"" >&5 if test "$x_includes $x_libraries" = "NONE NONE"; then if test -n "$OPENWINHOME" \ @@ -3940,7 +3942,7 @@ # Uses ac_ vars as temps to allow command line to override cache and checks. # --without-x overrides everything else, but does not touch the cache. echo $ac_n "checking for X""... $ac_c" 1>&6 -echo "configure:3944: checking for X" >&5 +echo "configure:3946: checking for X" >&5 # Check whether --with-x or --without-x was given. if test "${with_x+set}" = set; then @@ -4000,12 +4002,12 @@ # First, try using that file with no special directory specified. cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4011: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -4074,14 +4076,14 @@ ac_save_LIBS="$LIBS" LIBS="-l$x_direct_test_library $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* LIBS="$ac_save_LIBS" # We can link X programs with no special library path. @@ -4190,17 +4192,17 @@ case "`(uname -sr) 2>/dev/null`" in "SunOS 5"*) echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 -echo "configure:4194: checking whether -R must be followed by a space" >&5 +echo "configure:4196: checking whether -R must be followed by a space" >&5 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_R_nospace=yes else @@ -4216,14 +4218,14 @@ else LIBS="$ac_xsave_LIBS -R $x_libraries" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_R_space=yes else @@ -4259,12 +4261,12 @@ else echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 -echo "configure:4263: checking for dnet_ntoa in -ldnet" >&5 +echo "configure:4265: checking for dnet_ntoa in -ldnet" >&5 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` xe_check_libs=" -ldnet " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4299,12 +4301,12 @@ if test $ac_cv_lib_dnet_dnet_ntoa = no; then echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 -echo "configure:4303: checking for dnet_ntoa in -ldnet_stub" >&5 +echo "configure:4305: checking for dnet_ntoa in -ldnet_stub" >&5 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` xe_check_libs=" -ldnet_stub " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4344,10 +4346,10 @@ # The nsl library prevents programs from opening the X display # on Irix 5.2, according to dickey@clark.net. echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 -echo "configure:4348: checking for gethostbyname" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_gethostbyname=yes" else @@ -4391,12 +4393,12 @@ if test $ac_cv_func_gethostbyname = no; then echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 -echo "configure:4395: checking for gethostbyname in -lnsl" >&5 +echo "configure:4397: checking for gethostbyname in -lnsl" >&5 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` xe_check_libs=" -lnsl " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4437,10 +4439,10 @@ # -lsocket must be given before -lnsl if both are needed. # We assume that if connect needs -lnsl, so does gethostbyname. echo $ac_n "checking for connect""... $ac_c" 1>&6 -echo "configure:4441: checking for connect" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_connect=yes" else @@ -4486,12 +4488,12 @@ xe_msg_checking="for connect in -lsocket" test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 -echo "configure:4490: checking "$xe_msg_checking"" >&5 +echo "configure:4492: checking "$xe_msg_checking"" >&5 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` xe_check_libs=" -lsocket $X_EXTRA_LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4526,10 +4528,10 @@ # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. echo $ac_n "checking for remove""... $ac_c" 1>&6 -echo "configure:4530: checking for remove" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_remove=yes" else @@ -4573,12 +4575,12 @@ if test $ac_cv_func_remove = no; then echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 -echo "configure:4577: checking for remove in -lposix" >&5 +echo "configure:4579: checking for remove in -lposix" >&5 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` xe_check_libs=" -lposix " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4613,10 +4615,10 @@ # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. echo $ac_n "checking for shmat""... $ac_c" 1>&6 -echo "configure:4617: checking for shmat" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_shmat=yes" else @@ -4660,12 +4662,12 @@ if test $ac_cv_func_shmat = no; then echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 -echo "configure:4664: checking for shmat in -lipc" >&5 +echo "configure:4666: checking for shmat in -lipc" >&5 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` xe_check_libs=" -lipc " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4710,12 +4712,12 @@ # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 -echo "configure:4714: checking for IceConnectionNumber in -lICE" >&5 +echo "configure:4716: checking for IceConnectionNumber in -lICE" >&5 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` xe_check_libs=" -lICE " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4858,7 +4860,7 @@ fi echo "checking for X defines extracted by xmkmf" 1>&6 -echo "configure:4862: checking for X defines extracted by xmkmf" >&5 +echo "configure:4864: checking for X defines extracted by xmkmf" >&5 rm -fr conftestdir if mkdir conftestdir; then cd conftestdir @@ -4890,15 +4892,15 @@ ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 -echo "configure:4894: checking for X11/Intrinsic.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -4922,12 +4924,12 @@ echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 -echo "configure:4926: checking for XOpenDisplay in -lX11" >&5 +echo "configure:4928: checking for XOpenDisplay in -lX11" >&5 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` xe_check_libs=" -lX11 " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4963,12 +4965,12 @@ xe_msg_checking="for XGetFontProperty in -lX11" test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 -echo "configure:4967: checking "$xe_msg_checking"" >&5 +echo "configure:4969: checking "$xe_msg_checking"" >&5 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` xe_check_libs=" -lX11 -b i486-linuxaout" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -5006,12 +5008,12 @@ echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 -echo "configure:5010: checking for XShapeSelectInput in -lXext" >&5 +echo "configure:5012: checking for XShapeSelectInput in -lXext" >&5 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` xe_check_libs=" -lXext " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -5046,12 +5048,12 @@ case "$opsys" in sunos4* ) libs_x="-u _XtToolkitInitialize -lXt $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-u _XtToolkitInitialize -lXt\" to \$libs_x"; fi ;; * ) echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 -echo "configure:5050: checking for XtOpenDisplay in -lXt" >&5 +echo "configure:5052: checking for XtOpenDisplay in -lXt" >&5 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` xe_check_libs=" -lXt " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -5086,14 +5088,14 @@ esac echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 -echo "configure:5090: checking the version of X11 being used" >&5 +echo "configure:5092: checking the version of X11 being used" >&5 cat > conftest.$ac_ext < main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } EOF -if { (eval echo configure:5097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 +if { (eval echo configure:5099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 then ./conftest foobar; x11_release=$? else @@ -5117,15 +5119,15 @@ do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:5121: checking for $ac_hdr" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:5129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:5131: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -5156,7 +5158,7 @@ echo $ac_n "checking for XFree86""... $ac_c" 1>&6 -echo "configure:5160: checking for XFree86" >&5 +echo "configure:5162: checking for XFree86" >&5 if test -d "/usr/X386/include" -o \ -f "/etc/XF86Config" -o \ -f "/etc/X11/XF86Config" -o \ @@ -5178,12 +5180,12 @@ * ) if test -z "$with_xmu"; then echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 -echo "configure:5182: checking for XmuConvertStandardSelection in -lXmu" >&5 +echo "configure:5184: checking for XmuConvertStandardSelection in -lXmu" >&5 ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` xe_check_libs=" -lXmu " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -5227,19 +5229,19 @@ echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 -echo "configure:5231: checking for main in -lXbsd" >&5 +echo "configure:5233: checking for main in -lXbsd" >&5 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` xe_check_libs=" -lXbsd " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -5262,12 +5264,12 @@ echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 -echo "configure:5266: checking for XawScrollbarSetThumb in -lXaw" >&5 +echo "configure:5268: checking for XawScrollbarSetThumb in -lXaw" >&5 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` xe_check_libs=" -lXaw " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -5299,6 +5301,40 @@ fi + if test "$have_xaw" = "yes"; then + ac_safe=`echo "X11/Xaw/Reports.h" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for X11/Xaw/Reports.h""... $ac_c" 1>&6 +echo "configure:5308: checking for X11/Xaw/Reports.h" >&5 + +cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:5316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + echo "$ac_t""yes" 1>&6 + + MAKE_SUBDIR="$MAKE_SUBDIR pkg-src/tree-x" && if test "$extra_verbose" = "yes"; then echo " Appending \"pkg-src/tree-x\" to \$MAKE_SUBDIR"; fi + INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR pkg-src/tree-x" && if test "$extra_verbose" = "yes"; then echo " Appending \"pkg-src/tree-x\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi +else + echo "$ac_t""no" 1>&6 +fi + + fi fi test -z "$window_system" && window_system="none" @@ -5335,15 +5371,15 @@ test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 -echo "configure:5339: checking for X11/Xauth.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:5347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:5383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -5366,12 +5402,12 @@ } test -z "$with_xauth" && { echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 -echo "configure:5370: checking for XauGetAuthByAddr in -lXau" >&5 +echo "configure:5406: checking for XauGetAuthByAddr in -lXau" >&5 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` xe_check_libs=" -lXau " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -5423,15 +5459,15 @@ test -z "$with_offix" && { ac_safe=`echo "OffiX/DragAndDrop.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for OffiX/DragAndDrop.h""... $ac_c" 1>&6 -echo "configure:5427: checking for OffiX/DragAndDrop.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:5435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:5471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -5454,12 +5490,12 @@ } test -z "$with_offix" && { echo $ac_n "checking for DndInitialize in -lDnd""... $ac_c" 1>&6 -echo "configure:5458: checking for DndInitialize in -lDnd" >&5 +echo "configure:5494: checking for DndInitialize in -lDnd" >&5 ac_lib_var=`echo Dnd'_'DndInitialize | sed 'y%./+-%__p_%'` xe_check_libs=" -lDnd " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -5509,15 +5545,15 @@ for dir in "" "Tt/" "desktop/" ; do ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 -echo "configure:5513: checking for ${dir}tt_c.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:5521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:5557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -5546,12 +5582,12 @@ xe_msg_checking="for tt_message_create in -ltt" test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 -echo "configure:5550: checking "$xe_msg_checking"" >&5 +echo "configure:5586: checking "$xe_msg_checking"" >&5 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` xe_check_libs=" -ltt $extra_libs" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -5611,15 +5647,15 @@ test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 -echo "configure:5615: checking for Dt/Dt.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:5623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:5659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -5642,12 +5678,12 @@ } test -z "$with_cde" && { echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 -echo "configure:5646: checking for DtDndDragStart in -lDtSvc" >&5 +echo "configure:5682: checking for DtDndDragStart in -lDtSvc" >&5 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` xe_check_libs=" -lDtSvc " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -5691,7 +5727,7 @@ libs_x="-lDtSvc $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lDtSvc\" to \$libs_x"; fi with_tooltalk=yes # CDE requires Tooltalk - with_motif=yes # CDE requires Motif + need_motif=yes # CDE requires Motif fi if test "$with_energize" = "yes" ; then @@ -5705,19 +5741,19 @@ echo $ac_n "checking for main in -lenergize""... $ac_c" 1>&6 -echo "configure:5709: checking for main in -lenergize" >&5 +echo "configure:5745: checking for main in -lenergize" >&5 ac_lib_var=`echo energize'_'main | sed 'y%./+-%__p_%'` xe_check_libs=" -lenergize " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -5749,19 +5785,19 @@ if test -z "$energize_version"; then echo $ac_n "checking for main in -lconn""... $ac_c" 1>&6 -echo "configure:5753: checking for main in -lconn" >&5 +echo "configure:5789: checking for main in -lconn" >&5 ac_lib_var=`echo conn'_'main | sed 'y%./+-%__p_%'` xe_check_libs=" -lconn " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -5794,15 +5830,15 @@ fi ac_safe=`echo "editorconn.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for editorconn.h""... $ac_c" 1>&6 -echo "configure:5798: checking for editorconn.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:5806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:5842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -5844,7 +5880,7 @@ echo "checking for graphics libraries" 1>&6 -echo "configure:5848: checking for graphics libraries" >&5 +echo "configure:5884: checking for graphics libraries" >&5 test -z "$with_gif" && with_gif=yes; if test "$with_gif" = "yes"; then { test "$extra_verbose" = "yes" && cat << \EOF @@ -5861,10 +5897,10 @@ fi echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 -echo "configure:5865: checking for Xpm - no older than 3.4f" >&5 +echo "configure:5901: checking for Xpm - no older than 3.4f" >&5 xe_check_libs=-lXpm test -z "$with_xpm" && { cat > conftest.$ac_ext < int main(int c, char **v) { @@ -5874,7 +5910,7 @@ 0 ; } EOF -if { (eval echo configure:5878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 +if { (eval echo configure:5914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 then ./conftest foobar; xpm_status=$?; if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; @@ -5912,15 +5948,15 @@ test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for compface.h""... $ac_c" 1>&6 -echo "configure:5916: checking for compface.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:5924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:5960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -5943,12 +5979,12 @@ } test -z "$with_xface" && { echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 -echo "configure:5947: checking for UnGenFace in -lcompface" >&5 +echo "configure:5983: checking for UnGenFace in -lcompface" >&5 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` xe_check_libs=" -lcompface " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -5995,15 +6031,15 @@ test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 -echo "configure:5999: checking for jpeglib.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:6007: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:6043: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -6026,12 +6062,12 @@ } test -z "$with_jpeg" && { echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 -echo "configure:6030: checking for jpeg_destroy_decompress in -ljpeg" >&5 +echo "configure:6066: checking for jpeg_destroy_decompress in -ljpeg" >&5 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` xe_check_libs=" -ljpeg " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -6078,15 +6114,15 @@ test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for png.h""... $ac_c" 1>&6 -echo "configure:6082: checking for png.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:6090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:6126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -6108,10 +6144,10 @@ fi } test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 -echo "configure:6112: checking for pow" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_pow=yes" else @@ -6159,12 +6195,12 @@ xe_msg_checking="for png_read_image in -lpng" test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 -echo "configure:6163: checking "$xe_msg_checking"" >&5 +echo "configure:6199: checking "$xe_msg_checking"" >&5 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` xe_check_libs=" -lpng $extra_libs" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -6225,15 +6261,15 @@ ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 -echo "configure:6229: checking for Xm/Xm.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:6237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:6273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -6250,12 +6286,12 @@ echo "$ac_t""yes" 1>&6 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 -echo "configure:6254: checking for XmStringFree in -lXm" >&5 +echo "configure:6290: checking for XmStringFree in -lXm" >&5 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` xe_check_libs=" -lXm " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -6514,7 +6550,7 @@ if test "$with_mule" = "yes" ; then echo "checking for Mule-related features" 1>&6 -echo "configure:6518: checking for Mule-related features" >&5 +echo "configure:6554: checking for Mule-related features" >&5 { test "$extra_verbose" = "yes" && cat << \EOF Defining MULE EOF @@ -6531,15 +6567,15 @@ do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:6535: checking for $ac_hdr" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:6543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:6579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -6570,12 +6606,12 @@ echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 -echo "configure:6574: checking for strerror in -lintl" >&5 +echo "configure:6610: checking for strerror in -lintl" >&5 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` xe_check_libs=" -lintl " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -6619,19 +6655,19 @@ echo "checking for Mule input methods" 1>&6 -echo "configure:6623: checking for Mule input methods" >&5 +echo "configure:6659: checking for Mule input methods" >&5 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no case "$with_xim" in "" | "yes" ) echo "checking for XIM" 1>&6 -echo "configure:6627: checking for XIM" >&5 +echo "configure:6663: checking for XIM" >&5 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 -echo "configure:6630: checking for XmImMbLookupString in -lXm" >&5 +echo "configure:6666: checking for XmImMbLookupString in -lXm" >&5 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` xe_check_libs=" -lXm " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -6704,15 +6740,15 @@ test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 -echo "configure:6708: checking for wnn/jllib.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:6716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:6752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -6733,14 +6769,121 @@ with_wnn=no fi } - test -z "$with_wnn" && { + if test "$with_wnn" != "no"; then + for ac_func in crypt +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:6777: checking for $ac_func" >&5 + +cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { (eval echo configure:6803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + { test "$extra_verbose" = "yes" && cat << EOF + Defining $ac_tr_func +EOF +cat >> confdefs.h <&6 +fi +done + + test "$ac_cv_func_crypt" != "yes" && { +echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 +echo "configure:6832: checking for crypt in -lcrypt" >&5 +ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` + +xe_check_libs=" -lcrypt " +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +xe_check_libs="" + +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then + echo "$ac_t""yes" 1>&6 + ac_tr_lib=HAVE_LIB`echo crypt | sed -e 's/[^a-zA-Z0-9_]/_/g' \ + -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` + { test "$extra_verbose" = "yes" && cat << EOF + Defining $ac_tr_lib +EOF +cat >> confdefs.h <&6 +fi + + } + fi + test -z "$with_wnn" && { echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 -echo "configure:6739: checking for jl_dic_list_e in -lwnn" >&5 +echo "configure:6882: checking for jl_dic_list_e in -lwnn" >&5 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` xe_check_libs=" -lwnn " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -6788,12 +6931,12 @@ fi echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 -echo "configure:6792: checking for jl_fi_dic_list in -lwnn" >&5 +echo "configure:6935: checking for jl_fi_dic_list in -lwnn" >&5 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` xe_check_libs=" -lwnn " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -6836,15 +6979,15 @@ test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 -echo "configure:6840: checking for canna/RK.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:6848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:6991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -6867,12 +7010,12 @@ } test -z "$with_canna" && { echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 -echo "configure:6871: checking for RkBgnBun in -lRKC" >&5 +echo "configure:7014: checking for RkBgnBun in -lRKC" >&5 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` xe_check_libs=" -lRKC " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:7030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -6906,12 +7049,12 @@ } test -z "$with_canna" && { echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 -echo "configure:6910: checking for jrKanjiControl in -lcanna" >&5 +echo "configure:7053: checking for jrKanjiControl in -lcanna" >&5 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` xe_check_libs=" -lcanna " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:7069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -7019,13 +7162,13 @@ fi -for ac_func in acosh asinh atanh cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask strcasecmp strerror tzset utimes waitpid +for ac_func in acosh asinh atanh cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask strcasecmp strerror tzset usleep utimes waitpid do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7026: checking for $ac_func" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:7195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -7085,10 +7228,10 @@ for ac_func in realpath do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7089: checking for $ac_func" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:7258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -7144,16 +7287,16 @@ esac echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 -echo "configure:7148: checking whether netdb declares h_errno" >&5 -cat > conftest.$ac_ext <&5 +cat > conftest.$ac_ext < int main() { return h_errno; ; return 0; } EOF -if { (eval echo configure:7157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:7300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* echo "$ac_t""yes" 1>&6 { test "$extra_verbose" = "yes" && cat << \EOF @@ -7173,16 +7316,16 @@ rm -f conftest* echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 -echo "configure:7177: checking for sigsetjmp" >&5 -cat > conftest.$ac_ext <&5 +cat > conftest.$ac_ext < int main() { sigjmp_buf bar; sigsetjmp (bar, 0); ; return 0; } EOF -if { (eval echo configure:7186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7329: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* echo "$ac_t""yes" 1>&6 { test "$extra_verbose" = "yes" && cat << \EOF @@ -7202,11 +7345,11 @@ rm -f conftest* echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 -echo "configure:7206: checking whether localtime caches TZ" >&5 +echo "configure:7349: checking whether localtime caches TZ" >&5 if test "$ac_cv_func_tzset" = "yes"; then cat > conftest.$ac_ext < #if STDC_HEADERS @@ -7241,7 +7384,7 @@ exit (0); } EOF -if { (eval echo configure:7245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 +if { (eval echo configure:7388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 then emacs_cv_localtime_cache=no else @@ -7270,9 +7413,9 @@ if test "$HAVE_TIMEVAL" = "yes"; then echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 -echo "configure:7274: checking whether gettimeofday cannot accept two arguments" >&5 -cat > conftest.$ac_ext <&5 +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:7441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* echo "$ac_t""no" 1>&6 else @@ -7316,19 +7459,19 @@ echo $ac_n "checking for inline""... $ac_c" 1>&6 -echo "configure:7320: checking for inline" >&5 +echo "configure:7463: checking for inline" >&5 ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_inline=$ac_kw; break else @@ -7378,17 +7521,17 @@ # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 -echo "configure:7382: checking for working alloca.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < int main() { char *p = alloca(2 * sizeof(int)); ; return 0; } EOF -if { (eval echo configure:7392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:7535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_cv_header_alloca_h=yes else @@ -7412,10 +7555,10 @@ fi echo $ac_n "checking for alloca""... $ac_c" 1>&6 -echo "configure:7416: checking for alloca" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:7585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_cv_func_alloca_works=yes else @@ -7477,10 +7620,10 @@ echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 -echo "configure:7481: checking whether alloca needs Cray hooks" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext <&6 -echo "configure:7508: checking for $ac_func" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:7677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -7560,10 +7703,10 @@ fi echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 -echo "configure:7564: checking stack direction for C alloca" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 +if { (eval echo configure:7729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 then ac_cv_c_stack_direction=1 else @@ -7610,15 +7753,15 @@ ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 -echo "configure:7614: checking for vfork.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:7622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:7765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -7646,10 +7789,10 @@ fi echo $ac_n "checking for working vfork""... $ac_c" 1>&6 -echo "configure:7650: checking for working vfork" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < @@ -7744,7 +7887,7 @@ } } EOF -if { (eval echo configure:7748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 +if { (eval echo configure:7891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 then ac_cv_func_vfork_works=yes else @@ -7769,10 +7912,10 @@ echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 -echo "configure:7773: checking for working strcoll" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < main () @@ -7782,7 +7925,7 @@ strcoll ("123", "456") >= 0); } EOF -if { (eval echo configure:7786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 +if { (eval echo configure:7929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 then ac_cv_func_strcoll_works=yes else @@ -7809,10 +7952,10 @@ for ac_func in getpgrp do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7813: checking for $ac_func" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:7982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -7863,10 +8006,10 @@ done echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 -echo "configure:7867: checking whether getpgrp takes no argument" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 +if { (eval echo configure:8068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 then ac_cv_func_getpgrp_void=yes else @@ -7947,10 +8090,10 @@ echo $ac_n "checking for working mmap""... $ac_c" 1>&6 -echo "configure:7951: checking for working mmap" >&5 +echo "configure:8094: checking for working mmap" >&5 case "$opsys" in ultrix* ) have_mmap=no ;; *) cat > conftest.$ac_ext < #include @@ -7983,7 +8126,7 @@ return 1; } EOF -if { (eval echo configure:7987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 +if { (eval echo configure:8130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 then have_mmap=yes else @@ -8016,10 +8159,10 @@ echo $ac_n "checking for socket""... $ac_c" 1>&6 -echo "configure:8020: checking for socket" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:8189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_socket=yes" else @@ -8057,15 +8200,15 @@ echo "$ac_t""yes" 1>&6 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 -echo "configure:8061: checking for netinet/in.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:8069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:8212: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -8082,15 +8225,15 @@ echo "$ac_t""yes" 1>&6 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 -echo "configure:8086: checking for arpa/inet.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:8094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:8237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -8115,9 +8258,9 @@ } echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 -echo "configure:8119: checking "for sun_len member in struct sockaddr_un"" >&5 +echo "configure:8262: checking "for sun_len member in struct sockaddr_un"" >&5 cat > conftest.$ac_ext < @@ -8128,7 +8271,7 @@ static struct sockaddr_un x; x.sun_len = 1; ; return 0; } EOF -if { (eval echo configure:8132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:8275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF Defining HAVE_SOCKADDR_SUN_LEN @@ -8159,10 +8302,10 @@ echo $ac_n "checking for msgget""... $ac_c" 1>&6 -echo "configure:8163: checking for msgget" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:8332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_msgget=yes" else @@ -8200,15 +8343,15 @@ echo "$ac_t""yes" 1>&6 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 -echo "configure:8204: checking for sys/ipc.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:8212: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:8355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -8225,15 +8368,15 @@ echo "$ac_t""yes" 1>&6 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 -echo "configure:8229: checking for sys/msg.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:8237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:8380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -8271,15 +8414,15 @@ ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 -echo "configure:8275: checking for dirent.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:8283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:8426: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -8306,15 +8449,15 @@ echo "$ac_t""no" 1>&6 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 -echo "configure:8310: checking for sys/dir.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:8318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:8461: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -8347,15 +8490,15 @@ ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 -echo "configure:8351: checking for nlist.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:8359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:8502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -8459,7 +8602,7 @@ echo "checking "for sound support"" 1>&6 -echo "configure:8463: checking "for sound support"" >&5 +echo "configure:8606: checking "for sound support"" >&5 case "$with_sound" in native | both ) with_native_sound=yes;; nas | no ) with_native_sound=no;; @@ -8470,15 +8613,15 @@ if test -n "$native_sound_lib"; then ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 -echo "configure:8474: checking for multimedia/audio_device.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:8482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:8625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -8526,12 +8669,12 @@ if test -z "$native_sound_lib"; then echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 -echo "configure:8530: checking for ALopenport in -laudio" >&5 +echo "configure:8673: checking for ALopenport in -laudio" >&5 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` xe_check_libs=" -laudio " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:8689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -8573,12 +8716,12 @@ if test -z "$native_sound_lib"; then echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 -echo "configure:8577: checking for AOpenAudio in -lAlib" >&5 +echo "configure:8720: checking for AOpenAudio in -lAlib" >&5 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` xe_check_libs=" -lAlib " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:8736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -8627,15 +8770,15 @@ for dir in "machine" "sys" "linux"; do ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 -echo "configure:8631: checking for ${dir}/soundcard.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:8639: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:8782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -8705,7 +8848,7 @@ fi LIBS="-laudio $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$LIBS"; fi cat > conftest.$ac_ext < EOF @@ -8732,7 +8875,7 @@ if test "$with_tty" = "yes" ; then echo "checking for TTY-related features" 1>&6 -echo "configure:8736: checking for TTY-related features" >&5 +echo "configure:8879: checking for TTY-related features" >&5 { test "$extra_verbose" = "yes" && cat << \EOF Defining HAVE_TTY EOF @@ -8747,15 +8890,15 @@ ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for termios.h""... $ac_c" 1>&6 -echo "configure:8751: checking for termios.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:8759: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:8902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -8782,15 +8925,15 @@ echo "$ac_t""no" 1>&6 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for termio.h""... $ac_c" 1>&6 -echo "configure:8786: checking for termio.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:8794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:8937: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -8823,12 +8966,12 @@ if test -z "$with_ncurses"; then echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 -echo "configure:8827: checking for tgetent in -lncurses" >&5 +echo "configure:8970: checking for tgetent in -lncurses" >&5 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` xe_check_libs=" -lncurses " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:8986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -8872,15 +9015,15 @@ ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 -echo "configure:8876: checking for ncurses/curses.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:8884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:9027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -8902,15 +9045,15 @@ ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 -echo "configure:8906: checking for ncurses/term.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:8914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:9057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -8940,15 +9083,15 @@ c_switch_site="$c_switch_site -I/usr/include/ncurses" ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 -echo "configure:8944: checking for ncurses/curses.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:8952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:9095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -8983,12 +9126,12 @@ for lib in curses termlib termcap; do echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 -echo "configure:8987: checking for tgetent in -l$lib" >&5 +echo "configure:9130: checking for tgetent in -l$lib" >&5 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` xe_check_libs=" -l$lib " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:9146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -9030,12 +9173,12 @@ else echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 -echo "configure:9034: checking for tgetent in -lcurses" >&5 +echo "configure:9177: checking for tgetent in -lcurses" >&5 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` xe_check_libs=" -lcurses " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:9193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -9064,12 +9207,12 @@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 -echo "configure:9068: checking for tgetent in -ltermcap" >&5 +echo "configure:9211: checking for tgetent in -ltermcap" >&5 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` xe_check_libs=" -ltermcap " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:9227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -9128,15 +9271,15 @@ test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 -echo "configure:9132: checking for gpm.h" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:9140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:9283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -9159,12 +9302,12 @@ } test -z "$with_gpm" && { echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 -echo "configure:9163: checking for Gpm_Open in -lgpm" >&5 +echo "configure:9306: checking for Gpm_Open in -lgpm" >&5 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` xe_check_libs=" -lgpm " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:9322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -9224,17 +9367,17 @@ echo "checking for database support" 1>&6 -echo "configure:9228: checking for database support" >&5 +echo "configure:9371: checking for database support" >&5 if test "$with_database_gnudbm" != "no"; then echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 -echo "configure:9233: checking for dbm_open in -lgdbm" >&5 +echo "configure:9376: checking for dbm_open in -lgdbm" >&5 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` xe_check_libs=" -lgdbm " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:9392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -9267,10 +9410,10 @@ if test "$with_database_gnudbm" != "yes"; then echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 -echo "configure:9271: checking for dbm_open" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:9440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_dbm_open=yes" else @@ -9329,10 +9472,10 @@ if test "$with_database_dbm" != "no"; then echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 -echo "configure:9333: checking for dbm_open" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:9502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_dbm_open=yes" else @@ -9376,12 +9519,12 @@ if test "$need_libdbm" != "no"; then echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 -echo "configure:9380: checking for dbm_open in -ldbm" >&5 +echo "configure:9523: checking for dbm_open in -ldbm" >&5 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` xe_check_libs=" -ldbm " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:9539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -9429,10 +9572,10 @@ if test "$with_database_berkdb" != "no"; then echo $ac_n "checking for dbopen""... $ac_c" 1>&6 -echo "configure:9433: checking for dbopen" >&5 - -cat > conftest.$ac_ext <&5 + +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:9602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_dbopen=yes" else @@ -9476,12 +9619,12 @@ if test "$need_libdb" != "no"; then echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 -echo "configure:9480: checking for dbopen in -ldb" >&5 +echo "configure:9623: checking for dbopen in -ldb" >&5 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` xe_check_libs=" -ldb " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:9639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -9516,7 +9659,7 @@ if test "$with_database_berkdb" = "yes"; then for path in "db/db.h" "db.h"; do cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* db_h_path="$path"; break else @@ -9586,12 +9729,12 @@ if test "$with_socks" = "yes"; then echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 -echo "configure:9590: checking for SOCKSinit in -lsocks" >&5 +echo "configure:9733: checking for SOCKSinit in -lsocks" >&5 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` xe_check_libs=" -lsocks " cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:9749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -9714,7 +9857,11 @@ SUBDIR_MAKEFILES='' test -d lock || mkdir lock for dir in $MAKE_SUBDIR; do - test -d "$dir" || mkdir "$dir" + case "$dir" in */* ) ( for d in `echo $dir | sed 's:/: :g'` ; do + test -d "$d" || mkdir "$d"; cd "$d" + done ) ;; + * ) test -d "$dir" || mkdir "$dir" ;; + esac T="" for W in $SUBDIR_MAKEFILES $dir/Makefile; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done @@ -9729,6 +9876,7 @@ + for dir in src/s src/m; do if test ! -d "$dir" ; then echo Making symbolic link to "$srcdir/$dir" @@ -9902,14 +10050,6 @@ } fi -test "$with_motif" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF - Defining LWLIB_USES_MOTIF -EOF -cat >> confdefs.h <<\EOF -#define LWLIB_USES_MOTIF 1 -EOF -} - test "$with_i18n3" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF Defining I18N3 EOF @@ -10318,6 +10458,7 @@ s%@lwlib_objs@%$lwlib_objs%g s%@ALLOCA@%$ALLOCA%g s%@SRC_SUBDIR_DEPS@%$SRC_SUBDIR_DEPS%g +s%@INSTALL_ARCH_DEP_SUBDIR@%$INSTALL_ARCH_DEP_SUBDIR%g s%@MAKE_SUBDIR@%$MAKE_SUBDIR%g s%@SUBDIR_MAKEFILES@%$SUBDIR_MAKEFILES%g s%@version@%$version%g diff -r 7a77eb660975 -r 85ec50267440 configure.in --- a/configure.in Mon Aug 13 09:44:44 2007 +0200 +++ b/configure.in Mon Aug 13 09:45:46 2007 +0200 @@ -313,6 +313,7 @@ dnl ----------------------------- XE_APPEND(lib-src, MAKE_SUBDIR) +XE_APPEND(lib-src, INSTALL_ARCH_DEP_SUBDIR) dnl run_in_place='no' prefix='/usr/local' @@ -1613,6 +1614,7 @@ AC_MSG_CHECKING(whether we are using SunPro C) AC_TRY_COMPILE([],[#ifndef __SUNPRO_C #error Not a SunPro compiler :-( +******* ======= ******** &&&&&&&& #endif ], __sunpro_c=yes, __sunpro_c=no) AC_MSG_RESULT($__sunpro_c) @@ -2311,6 +2313,11 @@ dnl Autodetect -lXaw AC_CHECK_LIB(Xaw, XawScrollbarSetThumb, have_xaw=yes, have_xaw=no) + if test "$have_xaw" = "yes"; then + AC_CHECK_HEADER(X11/Xaw/Reports.h, [ + XE_APPEND(pkg-src/tree-x, MAKE_SUBDIR) + XE_APPEND(pkg-src/tree-x, INSTALL_ARCH_DEP_SUBDIR)]) + fi fi dnl $with_x11 = yes @@ -2399,7 +2406,7 @@ AC_DEFINE(HAVE_CDE) XE_PREPEND(-lDtSvc, libs_x) with_tooltalk=yes # CDE requires Tooltalk - with_motif=yes # CDE requires Motif + need_motif=yes # CDE requires Motif fi dnl if Energize specified, make sure we can find its need libraries/headers @@ -2620,7 +2627,13 @@ dnl Autodetect WNN test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support - test -z "$with_wnn" && { AC_CHECK_HEADER(wnn/jllib.h, ,with_wnn=no) } + test -z "$with_wnn" && { AC_CHECK_HEADER(wnn/jllib.h, ,with_wnn=no) } + dnl Detour to find crypt + if test "$with_wnn" != "no"; then + AC_CHECK_FUNCS(crypt) + test "$ac_cv_func_crypt" != "yes" && { AC_CHECK_LIB(crypt, crypt) } + fi + dnl Back to our regularly scheduled wnn hunting test -z "$with_wnn" && { AC_CHECK_LIB(wnn,jl_dic_list_e,[:],with_wnn=no) } test -z "$with_wnn" && with_wnn=yes if test "$with_wnn" = "yes"; then @@ -2658,7 +2671,7 @@ XE_COMPUTE_RUNPATH() fi -AC_CHECK_FUNCS(acosh asinh atanh cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask strcasecmp strerror tzset utimes waitpid) +AC_CHECK_FUNCS(acosh asinh atanh cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask strcasecmp strerror tzset usleep utimes waitpid) dnl realpath is buggy on linux, decosf and aix4 @@ -3177,10 +3190,16 @@ SUBDIR_MAKEFILES='' test -d lock || mkdir lock for dir in $MAKE_SUBDIR; do - test -d "$dir" || mkdir "$dir" + case "$dir" in */* ) dnl Implement mkdir -p + ( for d in `echo $dir | sed 's:/: :g'` ; do + test -d "$d" || mkdir "$d"; cd "$d" + done ) ;; + * ) test -d "$dir" || mkdir "$dir" ;; + esac XE_SPACE(SUBDIR_MAKEFILES, $SUBDIR_MAKEFILES $dir/Makefile) XE_SPACE(internal_makefile_list, $internal_makefile_list $dir/Makefile.in) done +AC_SUBST(INSTALL_ARCH_DEP_SUBDIR) AC_SUBST(MAKE_SUBDIR) AC_SUBST(SUBDIR_MAKEFILES) @@ -3303,7 +3322,6 @@ if test "$GNU_MALLOC" = "yes"; then AC_DEFINE(GNU_MALLOC) elif test "$use_system_malloc" = "yes"; then AC_DEFINE(USE_SYSTEM_MALLOC) fi -test "$with_motif" = "yes" && AC_DEFINE(LWLIB_USES_MOTIF) test "$with_i18n3" = "yes" && AC_DEFINE(I18N3) test "$with_gcc" = "yes" && AC_DEFINE(USE_GCC) test "$with_term" = "yes" && AC_DEFINE(HAVE_TERM) diff -r 7a77eb660975 -r 85ec50267440 etc/HELLO --- a/etc/HELLO Mon Aug 13 09:44:44 2007 +0200 +++ b/etc/HELLO Mon Aug 13 09:45:46 2007 +0200 @@ -20,7 +20,7 @@ Maltese Ciao Nederlands, Vlaams Hallo, Dag Norwegian (Norsk) Hei, God dag -Polish Dzien Dobry, Hej +Polish Cze,B6f(B! Russian (,L@caaZXY(B) ,L7T`PRabRcYbU(B! Spanish (Espa,Aq(Bol) ,A!(BHola! Swedish (Svenska) Hej, Goddag diff -r 7a77eb660975 -r 85ec50267440 etc/NEWS --- a/etc/NEWS Mon Aug 13 09:44:44 2007 +0200 +++ b/etc/NEWS Mon Aug 13 09:45:46 2007 +0200 @@ -138,6 +138,13 @@ creating a new frame with `C-x 5 2' also raises and selects that frame. The behavior of window system frames is unchanged. +** Abbreviations can now contain non-word characters. + +This means that it is finally possible to do such simple things as +define `#if' to expand to `#include' in C mode, `s-c-b' to +`save-current-buffer' in Lisp mode, `call/cc' to +`call-with-current-continuation' in Scheme mode, etc. + ** `C-x n d' now runs the new command `narrow-to-defun', which narrows the accessible parts of the buffer to just the current defun. @@ -149,9 +156,10 @@ ** arc-mode has a new function called `archive-quit' bound to q, which quits archive mode in the same fashion dired-quit works. -** The feature to teach the key bindings of extended commands after -the command finishes. The message suggesting key bindings appears -temporarily in the echo area. The previous echo area contents come +** The feature to teach the key bindings of extended commands now +prints the message after the command finishes. After some time, the +previous echo area contents is restored (in case the command prints +something useful.) ** XEmacs can now save the minibuffer histories from various minibuffers. To use this feature, add the line: diff -r 7a77eb660975 -r 85ec50267440 lib-src/ChangeLog --- a/lib-src/ChangeLog Mon Aug 13 09:44:44 2007 +0200 +++ b/lib-src/ChangeLog Mon Aug 13 09:45:46 2007 +0200 @@ -1,3 +1,13 @@ +1997-06-27 Steven L Baur + + * update-autoloads.sh: Major rework. Avoid looking at MULE + directories if not running XEmacs/Mule. + - Look into all Mule directories for building autoloads. + + * update-elc.sh (make_special_commands): Fix handling of + bytecompilation of AUCTeX to avoid looking at tex-jp.el if not + running MULE. + 1997-06-24 Steven L Baur * gnuattach: Needed executable bit set. diff -r 7a77eb660975 -r 85ec50267440 lib-src/Makefile.in.in --- a/lib-src/Makefile.in.in Mon Aug 13 09:44:44 2007 +0200 +++ b/lib-src/Makefile.in.in Mon Aug 13 09:45:46 2007 +0200 @@ -128,10 +128,6 @@ ld_libs_window_system=@ld_libs_window_system@ ld_libs_all=@ld_libs_all@ -LOADLIBES=$(ld_switch_general) $(ld_libs_general) -LOAD_X_LIBES=$(ld_switch_window_system) -C_SWITCH_X=$(c_switch_window_system) - ## We need to #define emacs to get the right versions of some files. lib_src_cppflags = -Demacs -I../src -I${srcdir} -I${srcdir}/../src $(CPPFLAGS) diff -r 7a77eb660975 -r 85ec50267440 lib-src/gnuclient.c --- a/lib-src/gnuclient.c Mon Aug 13 09:44:44 2007 +0200 +++ b/lib-src/gnuclient.c Mon Aug 13 09:45:46 2007 +0200 @@ -78,7 +78,7 @@ void initialize_signals (void); -void +static void tell_emacs_to_resume (int sig) { char buffer[GSERV_BUFSZ+1]; @@ -104,7 +104,7 @@ #endif /* !SYSV_IPC */ } -void +static void pass_signal_to_emacs (int sig) { if (kill (emacs_pid, sig) == -1) @@ -196,7 +196,7 @@ /* Encase the string in quotes, escape all the backslashes and quotes in string. */ -char * +static char * clean_string (CONST char *s) { int i = 0; diff -r 7a77eb660975 -r 85ec50267440 lib-src/update-autoloads.sh --- a/lib-src/update-autoloads.sh Mon Aug 13 09:44:44 2007 +0200 +++ b/lib-src/update-autoloads.sh Mon Aug 13 09:45:46 2007 +0200 @@ -1,6 +1,16 @@ #!/bin/sh ### update-autoloads.sh --- update auto-autoloads.el as necessary +# Author: Jamie Zawinski, Ben Wing, Martin Buchholz, Steve Baur +# Maintainer: Steve Baur +# Keywords: internal + +### This file is part of XEmacs + +### Commentary: + +### Code: + set -eu # This means we're running in a Sun workspace @@ -9,8 +19,8 @@ # get to the right directory test ! -d ./lisp -a -d ../lisp && cd .. if test ! -d ./lisp ; then - echo $0: neither ./lisp/ nor ../lisp/ exist - exit 1 + echo $0: neither ./lisp/ nor ../lisp/ exist + exit 1 fi EMACS="./src/xemacs" @@ -20,27 +30,50 @@ REAL=`cd \`dirname $EMACS\` ; pwd | sed 's|^/tmp_mnt||'`/`basename $EMACS` -echo "Recompiling in `pwd|sed 's|^/tmp_mnt||'`" +echo "Rebuilding autoloads/custom-loads in `pwd|sed 's|^/tmp_mnt||'`" echo " with $REAL..." +if [ "`uname -r | sed 's/\(.\).*/\1/'`" -gt 4 ]; then + echon() + { + /bin/echo $* '\c' + } +else + echon() + { + echo -n $* + } +fi + +# Compute patterns to ignore when searching for files +ignore_dirs="" + +# Only use Mule XEmacs to build Mule-specific autoloads & custom-loads. +echon "Checking for Mule support..." +lisp_prog='(princ (featurep (quote mule)))' +mule_p="`$EMACS -batch -no-site-file -eval \"$lisp_prog\"`" +if test "$mule_p" = nil ; then + echo No + ignore_dirs="$ignore_dirs its egg mule leim" +else + echo Yes +fi + dirs= for dir in lisp/*; do - if test -d $dir \ - -a $dir != lisp/CVS \ - -a $dir != lisp/SCCS \ - -a $dir != lisp/egg \ - -a $dir != lisp/its \ - -a $dir != lisp/language \ - -a $dir != lisp/leim; then - dirs="$dirs $dir" - fi + if test -d $dir \ + -a $dir != lisp/CVS \ + -a $dir != lisp/SCCS \ + -a $dir != lisp/language; then + for ignore in $ignore_dirs; do + if test $dir = lisp/$ignore; then + continue 2 + fi + done + dirs="$dirs $dir" + fi done -# cat > lisp/prim/auto-autoloads.el << EOF -# ;;; Do NOT edit this file! -# ;;; It is automatically generated using "make autoloads" -# ;;; See update-autoloads.sh and autoload.el for more details. -# -# EOF + set -x for dir in $dirs; do $EMACS -batch -q -l autoload -f batch-update-directory $dir diff -r 7a77eb660975 -r 85ec50267440 lib-src/update-elc.sh --- a/lib-src/update-elc.sh Mon Aug 13 09:44:44 2007 +0200 +++ b/lib-src/update-elc.sh Mon Aug 13 09:45:46 2007 +0200 @@ -108,7 +108,11 @@ #make_special vm #make_special ediff elc #make_special viper elc -make_special auctex some +if test "$mule_p" = nil ; then + make_special auctex some +else + make_special auctex some MULE_ELC=tex-jp.elc +fi make_special cc-mode all make_special efs x20 make_special eos -k # not strictly necessary... diff -r 7a77eb660975 -r 85ec50267440 lisp/ChangeLog --- a/lisp/ChangeLog Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/ChangeLog Mon Aug 13 09:45:46 2007 +0200 @@ -1,3 +1,181 @@ +1997-06-29 Hrvoje Niksic + + * modes/abbrev.el (define-mode-abbrev): Would ignore EXPANSION. + +1997-06-28 Hrvoje Niksic + + * modes/abbrev.el (define-abbrev): If NAME contains a non-word + character, intern a ` ' symbol in the obarray. + +1997-06-29 Steven L Baur + + * prim/files.el (auto-mode-alist): Set image-mode for various + image file names (JPEG, GIF, PNG, and xpm). + +Sun Jun 29 03:02:10 1997 Kyle Jones + + * src/undo.c (record_extent): + If the extent's object is a string, just return. We + can't record undo information for strings, and it is + very bad to reference through a string pointer as if it + were a buffer pointer. + +1997-06-28 Steven L Baur + + * utils/delbs.el: Removed as obsolete. + Suggested by Gary D. Foster + + * packages/hyper-apropos.el (hyper-apropos-documentation): Remove + obsolete alias. + (hyper-apropos-hyperlink): Ditto. + (hyper-apropos-major-heading): Ditto. + (hyper-apropos-section-heading): Ditto. + (hyper-apropos-heading): Ditto. + (hyper-apropos-warning): Ditto. + From Hrvoje Niksic + + * prim/simple.el (show-message-log): Restore an oldie-but + prematurely-retired-goodie. + + * x11/x-menubar.el (default-menubar): Restore Show Message Log + command in Edit menu. + + * mule/mule-util.el: Change defsubst to defun for + string-to-sequence, string-to-list, string-to-vector, + nested-alist-p to shut up build time diagnostics. + + * prim/loadup.el (Top level): Added instrumentation to diagnose + where the 0 property list is getting added at dump. Naturally, I + cannot reproduce the problem now. + + * modes/abbrev.el (define-abbrev): Trap nil tables (which might + cause bogus plists to get put into obarray). + Fix docstring. + +1997-06-27 Hrvoje Niksic + + * modes/auto-show.el: Customized. + +1997-06-27 Steven L Baur + + * prim/make-docfile.el: [oops] Check auto-autoloads.elc for + out-of-dated-ness too. + + * utils/autoload.el (batch-update-directory): Kill command line + args when done. + (autoload-save-customization): Print a warning message with the + offending symbol when we run across the elusive malformed property + list ((0 0)). + +1997-06-26 Hrvoje Niksic + + * prim/profile.el (profile-key-sequence): New function. + (pretty-print-profiling-info): Allow interactive calls. + + * prim/overlay.el: Make more FSF compatible. + +1997-06-27 Steven L Baur + + * prim/loaddefs.el (debug-ignored-errors): Fix regexps. + From Hrvoje Niksic + + * hyperbole/wrolo-menu.el (TopLevel): Fix tests so that W3's + id-menubar simulation doesn't bollux up feature tests. + + * prim/about.el (about-xemacs): Adjust planned release date. + +1997-06-26 Steven L Baur + + * prim/cus-load.el: Use correct load name. + - Silence the load messages. + + * mule/mule-util.el (string-to-sequence): Spelling correction. + + * prim/make-docfile.el: Don't overwrite DOC file when it is + up-to-date. + +1997-06-29 MORIOKA Tomohiko + + * language/chinese.el: Add chinese-isoir165 (CCITT Extended GB). + + * language/chinese.el: Modify charset DOC-strings for CNS 11643 to + be more detailed. + + * language/arabic.el: (require 'language/arabic-util) instead + of (require 'arabic) for Arabic environment. + + * language/arabic-util.el: Provide `language/arabic-util' instead + of `arabic'. + + * language/arabic.el: Rename `arabic-0', `arabic-1' and `arabic-2' + to `arabic-digit', `arabic-1-column' and `arabic-2-column' to sync + with Emacs/mule-19.34.94-zeta. + + * tl/char-table.el (char-position-to-string): Use `defsubst'. + (char-table-1): New implementation. + + Use BOX DRAWINGS characters of JIS X0208. + +1997-06-28 MORIOKA Tomohiko + + * apel/richtext.el: Add autoload comments for `richtext-encode' + and `richtext-decode'. + + * prim/format.el (format-alist): Add `text/richtext'. + + * modes/image-mode.el (image-decode): Display description for some + commands when XEmacs cannot decodes current buffer as inline + image. + + * tl/chartblxmas.el: New file. + + * tl/char-table.el (view-charset): Use `view-buffer'. + + * x11/x-menubar.el (default-menubar): Add "Show character table" + for MULE menu. + + * apel/emu.el: Check richtext.el is bundled. + + * tl/char-table.el: Use `charset-doc-string' directly. + + * tl/char-table.el (view-charset): New command. + + * tl/char-table.el: `show-char-table' -> `insert-charset-table'. + + * tl/char-table.el: `show-96x96-table' -> + `insert-96x96-charset-table'. + + * tl/char-table.el: `show-94x94-table' -> + `insert-94x94-charset-table'. + + * tl/char-table.el: `show-96-table' -> `insert-96-charset-table'. + + * tl/char-table.el: `show-94-table' -> `insert-94-charset-table'. + + * tl/char-table.el: Use `insert'. + + * packages/hexl.el (hexl-mode-exit): Run `hexl-mode-exit-hook'. + + * x11/x-menubar.el (default-menubar): Fix "Describe language + support" and "Set language environment" of mule menu. + + * apel/file-detect.el: Add autoload comments for function + `add-path', `add-latest-path', `get-latest-path', + `file-installed-p', `exec-installed-p', `module-installed-p' and + variable `exec-suffix-list'. + + * prim/format.el (format-alist): Add image/jpeg, image/gif, + image/png and image/x-xpm. + + * modes/image-mode.el: New file. + +1997-06-27 MORIOKA Tomohiko + + * tm/tm-ew-e.el (tm-eword::encode-string-1): avoid infinite loop + caused by long non-encoded-word element. (cf. [tm-en:1356]) + + (mime/field-encoding-method-alist): Add "Message-ID" as ignored. + 1997-06-25 Steven L Baur * x11/x-menubar.el(default-menubar): Comment out changes to the diff -r 7a77eb660975 -r 85ec50267440 lisp/apel/auto-autoloads.el --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lisp/apel/auto-autoloads.el Mon Aug 13 09:45:46 2007 +0200 @@ -0,0 +1,63 @@ +;;; DO NOT MODIFY THIS FILE +(if (not (featurep 'apel-autoloads)) + (progn + +(provide 'apel-autoloads) +)) + +;;;### (autoloads (module-installed-p exec-installed-p file-installed-p get-latest-path add-latest-path add-path) "file-detect" "apel/file-detect.el") + +(autoload 'add-path "file-detect" "\ +Add PATH to `load-path' if it exists under `default-load-path' +directories and it does not exist in `load-path'. + +You can use following PATH styles: + load-path relative: \"PATH/\" + (it is searched from `defaul-load-path') + home directory relative: \"~/PATH/\" \"~USER/PATH/\" + absolute path: \"/HOO/BAR/BAZ/\" + +You can specify following OPTIONS: + 'all-paths search from `load-path' + instead of `default-load-path' + 'append add PATH to the last of `load-path'" nil nil) + +(autoload 'add-latest-path "file-detect" "\ +Add latest path matched by PATTERN to `load-path' +if it exists under `default-load-path' directories +and it does not exist in `load-path'. + +If optional argument ALL-PATHS is specified, it is searched from all +of load-path instead of default-load-path. [file-detect.el]" nil nil) + +(autoload 'get-latest-path "file-detect" "\ +Return latest directory in default-load-path +which is matched to regexp PATTERN. +If optional argument ALL-PATHS is specified, +it is searched from all of load-path instead of default-load-path." nil nil) + +(autoload 'file-installed-p "file-detect" "\ +Return absolute-path of FILE if FILE exists in PATHS. +If PATHS is omitted, `load-path' is used." nil nil) + +(defvar exec-suffix-list '("") "\ +*List of suffixes for executable.") + +(autoload 'exec-installed-p "file-detect" "\ +Return absolute-path of FILE if FILE exists in PATHS. +If PATHS is omitted, `exec-path' is used. +If suffixes is omitted, `exec-suffix-list' is used." nil nil) + +(autoload 'module-installed-p "file-detect" "\ +Return t if module is provided or exists in PATHS. +If PATHS is omitted, `load-path' is used." nil nil) + +;;;*** + +;;;### (autoloads (richtext-decode richtext-encode) "richtext" "apel/richtext.el") + +(autoload 'richtext-encode "richtext" nil nil nil) + +(autoload 'richtext-decode "richtext" nil nil nil) + +;;;*** diff -r 7a77eb660975 -r 85ec50267440 lisp/apel/custom-load.el --- a/lisp/apel/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/apel/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,5 +1,7 @@ +(put 'extensions 'custom-loads '()) (put 'copyright 'custom-loads '()) (put 'eldoc 'custom-loads '()) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '()) (put 'mail-abbrevs 'custom-loads '()) diff -r 7a77eb660975 -r 85ec50267440 lisp/apel/emu.el --- a/lisp/apel/emu.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/apel/emu.el Mon Aug 13 09:45:46 2007 +0200 @@ -3,7 +3,7 @@ ;; Copyright (C) 1995,1996,1997 Free Software Foundation, Inc. ;; Author: MORIOKA Tomohiko -;; Version: $Id: emu.el,v 1.1 1997/06/03 04:18:35 steve Exp $ +;; Version: $Id: emu.el,v 1.2 1997/06/29 23:12:06 steve Exp $ ;; Keywords: emulation, compatibility, NEmacs, MULE, Emacs/mule, XEmacs ;; This file is part of emu. @@ -291,7 +291,10 @@ ;;; @ for text/richtext and text/enriched ;;; -(cond ((or running-emacs-19_29-or-later running-xemacs-19_14-or-later) +(cond ((fboundp 'richtext-decode) + ;; have richtext.el + ) + ((or running-emacs-19_29-or-later running-xemacs-19_14-or-later) ;; have enriched.el (autoload 'richtext-decode "richtext") (or (assq 'text/richtext format-alist) diff -r 7a77eb660975 -r 85ec50267440 lisp/apel/file-detect.el --- a/lisp/apel/file-detect.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/apel/file-detect.el Mon Aug 13 09:45:46 2007 +0200 @@ -4,7 +4,7 @@ ;; Author: MORIOKA Tomohiko ;; Version: -;; $Id: file-detect.el,v 1.1 1997/06/03 04:18:35 steve Exp $ +;; $Id: file-detect.el,v 1.2 1997/06/29 23:12:06 steve Exp $ ;; Keywords: install, module ;; This file is part of APEL (A Portable Emacs Library). @@ -28,6 +28,7 @@ (defvar default-load-path load-path) +;;;###autoload (defun add-path (path &rest options) "Add PATH to `load-path' if it exists under `default-load-path' directories and it does not exist in `load-path'. @@ -63,6 +64,7 @@ )) ))) +;;;###autoload (defun add-latest-path (pattern &optional all-paths) "Add latest path matched by PATTERN to `load-path' if it exists under `default-load-path' directories @@ -75,6 +77,7 @@ (add-to-list 'load-path path) ))) +;;;###autoload (defun get-latest-path (pattern &optional all-paths) "Return latest directory in default-load-path which is matched to regexp PATTERN. @@ -101,6 +104,7 @@ (setq paths (cdr paths)) )))) +;;;###autoload (defun file-installed-p (file &optional paths) "Return absolute-path of FILE if FILE exists in PATHS. If PATHS is omitted, `load-path' is used." @@ -117,9 +121,11 @@ (setq paths (cdr paths)) )))) +;;;###autoload (defvar exec-suffix-list '("") "*List of suffixes for executable.") +;;;###autoload (defun exec-installed-p (file &optional paths suffixes) "Return absolute-path of FILE if FILE exists in PATHS. If PATHS is omitted, `exec-path' is used. @@ -145,6 +151,7 @@ (setq paths (cdr paths)) ))) +;;;###autoload (defun module-installed-p (module &optional paths) "Return t if module is provided or exists in PATHS. If PATHS is omitted, `load-path' is used." diff -r 7a77eb660975 -r 85ec50267440 lisp/apel/richtext.el --- a/lisp/apel/richtext.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/apel/richtext.el Mon Aug 13 09:45:46 2007 +0200 @@ -4,7 +4,7 @@ ;; Author: MORIOKA Tomohiko ;; Created: 1995/7/15 -;; Version: $Id: richtext.el,v 1.1 1997/06/03 04:18:36 steve Exp $ +;; Version: $Id: richtext.el,v 1.2 1997/06/29 23:12:06 steve Exp $ ;; Keywords: wp, faces, MIME, multimedia ;; This file is not part of GNU Emacs yet. @@ -76,6 +76,7 @@ ;;; @ encoder ;;; +;;;###autoload (defun richtext-encode (from to) (if enriched-verbose (message "Richtext: encoding document...")) (save-restriction @@ -136,6 +137,7 @@ )) )))) +;;;###autoload (defun richtext-decode (from to) (if enriched-verbose (message "Richtext: decoding document...")) (save-excursion diff -r 7a77eb660975 -r 85ec50267440 lisp/auctex/ChangeLog --- a/lisp/auctex/ChangeLog Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/auctex/ChangeLog Mon Aug 13 09:45:46 2007 +0200 @@ -1,3 +1,9 @@ +1997-06-27 Steven L Baur + + * Makefile (CONTRIBELC): Remove hardcoded dependency on + tex-jp.el -- only bytecompile if running XEmacs/Mule. + - Add byte-compilation of custom-load.el. + Sat Apr 5 09:40:23 1997 Steven L Baur * Makefile (STYLESRC): Move style/*.el files to etc/auctex/style. diff -r 7a77eb660975 -r 85ec50267440 lisp/auctex/Makefile --- a/lisp/auctex/Makefile Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/auctex/Makefile Mon Aug 13 09:45:46 2007 +0200 @@ -71,8 +71,9 @@ MINMAPSRC = auc-menu.el maniac.el outln-18.el all.el multi-prompt.el -CONTRIB = bib-cite.el tex-jp.el font-latex.el -CONTRIBELC = bib-cite.elc tex-jp.elc font-latex.elc +## MULE_ELC is set by update-elc.sh if bytecompiling for XEmacs/Mule +CONTRIB = bib-cite.el font-latex.el custom-load.el +CONTRIBELC = bib-cite.elc $(MULE_ELC) font-latex.elc custom-load.elc AUCSRC = auc-old.el tex.el tex-buf.el latex.el tex-info.el multi-prompt.el AUCELC = auc-old.elc tex.elc tex-buf.elc latex.elc tex-info.elc \ diff -r 7a77eb660975 -r 85ec50267440 lisp/auctex/custom-load.el --- a/lisp/auctex/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/auctex/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,5 +1,7 @@ +(put 'extensions 'custom-loads '()) (put 'copyright 'custom-loads '()) (put 'eldoc 'custom-loads '()) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '()) (put 'mail-abbrevs 'custom-loads '()) diff -r 7a77eb660975 -r 85ec50267440 lisp/bytecomp/custom-load.el --- a/lisp/bytecomp/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/bytecomp/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,5 +1,7 @@ +(put 'extensions 'custom-loads '()) (put 'copyright 'custom-loads '()) (put 'eldoc 'custom-loads '()) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '()) (put 'mail-abbrevs 'custom-loads '()) diff -r 7a77eb660975 -r 85ec50267440 lisp/calendar/custom-load.el --- a/lisp/calendar/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/calendar/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,5 +1,7 @@ +(put 'extensions 'custom-loads '()) (put 'copyright 'custom-loads '()) (put 'eldoc 'custom-loads '()) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '()) (put 'mail-abbrevs 'custom-loads '()) diff -r 7a77eb660975 -r 85ec50267440 lisp/cc-mode/auto-autoloads.el --- a/lisp/cc-mode/auto-autoloads.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/cc-mode/auto-autoloads.el Mon Aug 13 09:45:46 2007 +0200 @@ -2,6 +2,13 @@ (if (not (featurep 'cc-mode-autoloads)) (progn +;;;### (autoloads nil "cc-langs" "cc-mode/cc-langs.el") + +(defvar c-mode-syntax-table nil "\ +Syntax table used in c-mode buffers.") + +;;;*** + ;;;### (autoloads (java-mode objc-mode c++-mode c-mode) "cc-mode" "cc-mode/cc-mode.el") (autoload 'c-mode "cc-mode" "\ diff -r 7a77eb660975 -r 85ec50267440 lisp/cc-mode/cc-langs.el --- a/lisp/cc-mode/cc-langs.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/cc-mode/cc-langs.el Mon Aug 13 09:45:46 2007 +0200 @@ -383,6 +383,7 @@ ;; add bindings which are only useful for C ) +;;;###autoload (defvar c-mode-syntax-table nil "Syntax table used in c-mode buffers.") (if c-mode-syntax-table diff -r 7a77eb660975 -r 85ec50267440 lisp/cc-mode/cc-styles.el --- a/lisp/cc-mode/cc-styles.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/cc-mode/cc-styles.el Mon Aug 13 09:45:46 2007 +0200 @@ -30,6 +30,9 @@ (eval-when-compile (load-file "./cc-align.el")) +(require 'cc-vars) +(require 'cc-align) + (defconst c-style-alist '(("gnu" diff -r 7a77eb660975 -r 85ec50267440 lisp/cc-mode/custom-load.el --- a/lisp/cc-mode/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/cc-mode/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,5 +1,7 @@ +(put 'extensions 'custom-loads '()) (put 'copyright 'custom-loads '()) (put 'eldoc 'custom-loads '()) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '()) (put 'mail-abbrevs 'custom-loads '()) diff -r 7a77eb660975 -r 85ec50267440 lisp/cl/custom-load.el --- a/lisp/cl/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/cl/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,5 +1,7 @@ +(put 'extensions 'custom-loads '()) (put 'copyright 'custom-loads '()) (put 'eldoc 'custom-loads '()) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '()) (put 'mail-abbrevs 'custom-loads '()) diff -r 7a77eb660975 -r 85ec50267440 lisp/comint/custom-load.el --- a/lisp/comint/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/comint/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,5 +1,7 @@ +(put 'extensions 'custom-loads '()) (put 'copyright 'custom-loads '()) (put 'eldoc 'custom-loads '()) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '()) (put 'mail-abbrevs 'custom-loads '()) diff -r 7a77eb660975 -r 85ec50267440 lisp/custom/ChangeLog --- a/lisp/custom/ChangeLog Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/custom/ChangeLog Mon Aug 13 09:45:46 2007 +0200 @@ -1,5 +1,62 @@ +1997-06-28 Steven L Baur + + * cus-edit.el (customize-customized): Trap errors. + (customize-saved): Ditto. + (custom-add-parent-links): Ditto. + (custom-save-variables): Ditto. + (custom-save-faces): Ditto. + (customize-save-customized): Ditto. + +Thu Jun 26 16:49:32 1997 Per Abrahamsen + + * Version 1.9940 released. + +Thu Jun 26 15:19:27 1997 Per Abrahamsen + + * wid-edit.el (widget-field-value-create): Add comment explaining + why `:field-overlay' contains two markers. + + * cus-edit.el (custom-browse-visibility, + custom-browse-visibility-action, custom-browse-group-tag, + custom-browse-group-tag-action, custom-browse-variable-tag-action, + custom-browse-face-tag, custom-browse-face-tag-action, + custom-browse-face-tag-action, custom-browse-alist): Changed + prefix from `custom-tree' to `custom-browse'. + (custom-variable-value-create, custom-face-value-create, + custom-group-value-create): Updated caller. + + * cus-edit.el (custom-browse-only-groups): New option. + (custom-group-value-create): Use it. Omit non-groups if non-nil. + Patch by Simon Marshall . + + * cus-edit.el (custom-help-menu): Renamed "Variable" to "Option". + Remove "..." from non-prompting entries. + Patch by Simon Marshall . + + * Version 1.9939 released. + +Thu Jun 26 15:16:15 1997 Per Abrahamsen + + * wid-edit.el (widget-single-line-field-face): New face. + (widget-single-line-display-table): New variable. + (regexp, file): Use `widget-single-line-field-face'. + Patch by Hrvoje Niksic . + +Wed Jun 25 20:23:52 1997 Per Abrahamsen + + * Version 1.9938 released. + Wed Jun 25 17:46:18 1997 Per Abrahamsen + * cus-edit.el (custom-unloaded-symbol-p): New function. + (custom-unloaded-widget-p): New function. + (custom-group-value-create): Use it. + (customize-browse): Mention [?]. + + * cus-edit.el (custom-toggle-hide): Load dependencies here. + + * wid-edit.el (functionp): New function. + * Version 1.9937 released. Wed Jun 25 17:29:08 1997 Per Abrahamsen diff -r 7a77eb660975 -r 85ec50267440 lisp/custom/cus-edit.el --- a/lisp/custom/cus-edit.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/custom/cus-edit.el Mon Aug 13 09:45:46 2007 +0200 @@ -4,7 +4,7 @@ ;; ;; Author: Per Abrahamsen ;; Keywords: help, faces -;; Version: 1.9937 +;; Version: 1.9940 ;; X-URL: http://www.dina.kvl.dk/~abraham/custom/ ;; This file is part of GNU Emacs. @@ -568,6 +568,11 @@ (const :tag "none" nil)) :group 'custom-browse) +(defcustom custom-browse-only-groups nil + "If non-nil, show group members only within each customization group." + :type 'boolean + :group 'custom-browse) + (defcustom custom-buffer-sort-alphabetically nil "If non-nil, sort members of each customization group alphabetically." :type 'boolean @@ -874,7 +879,12 @@ (interactive) (let ((found nil)) (mapatoms (lambda (symbol) - (and (get symbol 'customized-face) + (and (condition-case nil + (get symbol 'customized-face) + (t (progn + (message "Bad plist in %s" + (symbol-name symbol)) + nil))) (custom-facep symbol) (push (list symbol 'custom-face) found)) (and (get symbol 'customized-value) @@ -891,7 +901,12 @@ (interactive) (let ((found nil)) (mapatoms (lambda (symbol) - (and (get symbol 'saved-face) + (and (condition-case nil + (get symbol 'saved-face) + (t (progn + (message "Bad plist in %s" + (symbol-name symbol)) + nil))) (custom-facep symbol) (push (list symbol 'custom-face) found)) (and (get symbol 'saved-value) @@ -1116,7 +1131,7 @@ (switch-to-buffer (get-buffer-create name))) (custom-mode) (widget-insert "\ -Invoke [+] below to expand items, and [-] to collapse items. +Invoke [+] or [?] below to expand items, and [-] to collapse items. Invoke the [Group], [Face], and [Option] buttons below to edit that item in another window.\n\n") (let ((custom-buffer-style 'tree)) @@ -1127,52 +1142,52 @@ :value group)) (goto-char (point-min))) -(define-widget 'custom-tree-visibility 'item +(define-widget 'custom-browse-visibility 'item "Control visibility of of items in the customize tree browser." :format "%[[%t]%]" - :action 'custom-tree-visibility-action) - -(defun custom-tree-visibility-action (widget &rest ignore) + :action 'custom-browse-visibility-action) + +(defun custom-browse-visibility-action (widget &rest ignore) (let ((custom-buffer-style 'tree)) (custom-toggle-parent widget))) -(define-widget 'custom-tree-group-tag 'push-button +(define-widget 'custom-browse-group-tag 'push-button "Show parent in other window when activated." :tag "Group" :tag-glyph "folder" - :action 'custom-tree-group-tag-action) - -(defun custom-tree-group-tag-action (widget &rest ignore) + :action 'custom-browse-group-tag-action) + +(defun custom-browse-group-tag-action (widget &rest ignore) (let ((parent (widget-get widget :parent))) (customize-group-other-window (widget-value parent)))) -(define-widget 'custom-tree-variable-tag 'push-button +(define-widget 'custom-browse-variable-tag 'push-button "Show parent in other window when activated." :tag "Option" :tag-glyph "option" - :action 'custom-tree-variable-tag-action) - -(defun custom-tree-variable-tag-action (widget &rest ignore) + :action 'custom-browse-variable-tag-action) + +(defun custom-browse-variable-tag-action (widget &rest ignore) (let ((parent (widget-get widget :parent))) (customize-variable-other-window (widget-value parent)))) -(define-widget 'custom-tree-face-tag 'push-button +(define-widget 'custom-browse-face-tag 'push-button "Show parent in other window when activated." :tag "Face" :tag-glyph "face" - :action 'custom-tree-face-tag-action) - -(defun custom-tree-face-tag-action (widget &rest ignore) + :action 'custom-browse-face-tag-action) + +(defun custom-browse-face-tag-action (widget &rest ignore) (let ((parent (widget-get widget :parent))) (customize-face-other-window (widget-value parent)))) -(defconst custom-tree-alist '((" " "space") +(defconst custom-browse-alist '((" " "space") (" | " "vertical") ("-\\ " "top") (" |-" "middle") (" `-" "bottom"))) -(defun custom-tree-insert-prefix (prefix) +(defun custom-browse-insert-prefix (prefix) "Insert PREFIX. On XEmacs convert it to line graphics." (if nil ; (string-match "XEmacs" emacs-version) (progn @@ -1181,7 +1196,7 @@ (let ((entry (substring prefix 0 3))) (setq prefix (substring prefix 3)) (let ((overlay (make-overlay (1- (point)) (point) nil t nil)) - (name (nth 1 (assoc entry custom-tree-alist)))) + (name (nth 1 (assoc entry custom-browse-alist)))) (overlay-put overlay 'end-glyph (widget-glyph-find name entry)) (overlay-put overlay 'start-open t) (overlay-put overlay 'end-open t))))) @@ -1565,8 +1580,31 @@ "Load all dependencies for WIDGET." (custom-load-symbol (widget-value widget))) +(defun custom-unloaded-symbol-p (symbol) + "Return non-nil if the dependencies of SYMBOL has not yet been loaded." + (let ((found nil) + (loads (get symbol 'custom-loads)) + load) + (while loads + (setq load (car loads) + loads (cdr loads)) + (cond ((symbolp load) + (unless (featurep load) + (setq found t))) + ((assoc load load-history)) + ((assoc (locate-library load) load-history) + (message nil)) + (t + (setq found t)))) + found)) + +(defun custom-unloaded-widget-p (widget) + "Return non-nil if the dependencies of WIDGET has not yet been loaded." + (custom-unloaded-symbol-p (widget-value widget))) + (defun custom-toggle-hide (widget) "Toggle visibility of WIDGET." + (custom-load-widget widget) (let ((state (widget-get widget :custom-state))) (cond ((memq state '(invalid modified)) (error "There are unset changes")) @@ -1621,7 +1659,13 @@ found) (insert (or initial-string "Parent groups:")) (mapatoms (lambda (symbol) - (let ((entry (assq name (get symbol 'custom-group)))) + (let ((entry (assq name + (condition-case nil + (get symbol 'custom-group) + (t (progn + (message "Bad plist in %s" + (symbol-name symbol)) + nil)))))) (when (eq (nth 1 entry) type) (insert " ") (push (widget-create-child-and-convert @@ -1717,7 +1761,7 @@ (cond ((eq custom-buffer-style 'tree) (insert prefix (if last " `--- " " |--- ")) (push (widget-create-child-and-convert - widget 'custom-tree-variable-tag) + widget 'custom-browse-variable-tag) buttons) (insert " " tag "\n") (widget-put widget :buttons buttons)) @@ -2151,7 +2195,7 @@ (cond ((eq custom-buffer-style 'tree) (insert prefix (if is-last " `--- " " |--- ")) (push (widget-create-child-and-convert - widget 'custom-tree-face-tag) + widget 'custom-browse-face-tag) buttons) (insert " " tag "\n") (widget-put widget :buttons buttons)) @@ -2504,54 +2548,56 @@ (tag (widget-get widget :tag)) (symbol (widget-value widget))) (cond ((and (eq custom-buffer-style 'tree) - (eq state 'hidden)) - (custom-tree-insert-prefix prefix) + (eq state 'hidden) + (or (get symbol 'custom-group) + (custom-unloaded-widget-p widget))) + (custom-browse-insert-prefix prefix) (push (widget-create-child-and-convert - widget 'custom-tree-visibility + widget 'custom-browse-visibility ;; :tag-glyph "plus" - :tag "+") + :tag (if (custom-unloaded-widget-p widget) "?" "+")) buttons) (insert "-- ") ;; (widget-glyph-insert nil "-- " "horizontal") (push (widget-create-child-and-convert - widget 'custom-tree-group-tag) + widget 'custom-browse-group-tag) buttons) (insert " " tag "\n") (widget-put widget :buttons buttons)) ((and (eq custom-buffer-style 'tree) (zerop (length (get symbol 'custom-group)))) - (custom-tree-insert-prefix prefix) + (custom-browse-insert-prefix prefix) (insert "[ ]-- ") ;; (widget-glyph-insert nil "[ ]" "empty") ;; (widget-glyph-insert nil "-- " "horizontal") (push (widget-create-child-and-convert - widget 'custom-tree-group-tag) + widget 'custom-browse-group-tag) buttons) (insert " " tag "\n") (widget-put widget :buttons buttons)) ((eq custom-buffer-style 'tree) - (custom-tree-insert-prefix prefix) + (custom-browse-insert-prefix prefix) (custom-load-widget widget) (if (zerop (length (get symbol 'custom-group))) (progn - (custom-tree-insert-prefix prefix) + (custom-browse-insert-prefix prefix) (insert "[ ]-- ") ;; (widget-glyph-insert nil "[ ]" "empty") ;; (widget-glyph-insert nil "-- " "horizontal") (push (widget-create-child-and-convert - widget 'custom-tree-group-tag) + widget 'custom-browse-group-tag) buttons) (insert " " tag "\n") (widget-put widget :buttons buttons)) (push (widget-create-child-and-convert - widget 'custom-tree-visibility + widget 'custom-browse-visibility ;; :tag-glyph "minus" :tag "-") buttons) (insert "-\\ ") ;; (widget-glyph-insert nil "-\\ " "top") (push (widget-create-child-and-convert - widget 'custom-tree-group-tag) + widget 'custom-browse-group-tag) buttons) (insert " " tag "\n") (widget-put widget :buttons buttons) @@ -2561,7 +2607,6 @@ custom-browse-order-groups)) (prefixes (widget-get widget :custom-prefixes)) (custom-prefix-list (custom-prefix-add symbol prefixes)) - (length (length members)) (extra-prefix (if (widget-get widget :custom-last) " " " | ")) @@ -2570,17 +2615,18 @@ (while members (setq entry (car members) members (cdr members)) - (push (widget-create-child-and-convert - widget (nth 1 entry) - :group widget - :tag (custom-unlispify-tag-name - (nth 0 entry)) - :custom-prefixes custom-prefix-list - :custom-level (1+ level) - :custom-last (null members) - :value (nth 0 entry) - :custom-prefix prefix) - children)) + (when (or (not custom-browse-only-groups) + (eq (nth 1 entry) 'custom-group)) + (push (widget-create-child-and-convert + widget (nth 1 entry) + :group widget + :tag (custom-unlispify-tag-name (nth 0 entry)) + :custom-prefixes custom-prefix-list + :custom-level (1+ level) + :custom-last (null members) + :value (nth 0 entry) + :custom-prefix prefix) + children))) (widget-put widget :children (reverse children))) (message "Creating group...done"))) ;; Nested style. @@ -2849,7 +2895,12 @@ (princ "\n")) (princ "(custom-set-variables") (mapatoms (lambda (symbol) - (let ((value (get symbol 'saved-value)) + (let ((value (condition-case nil + (get symbol 'saved-value) + (t (progn + (message "Bad plist in %s" + (symbol-name symbol)) + nil)))) (requests (get symbol 'custom-requests)) (now (not (or (get symbol 'standard-value) (and (not (boundp symbol)) @@ -2892,7 +2943,12 @@ (princ ")") (princ " t)")))) (mapatoms (lambda (symbol) - (let ((value (get symbol 'saved-face))) + (let ((value (condition-case nil + (get symbol 'saved-face) + (t (progn + (message "Bad plist in %s" + (symbol-name symbol))) + nil)))) (when (and (not (eq symbol 'default)) ;; Don't print default face here. value) @@ -2914,14 +2970,17 @@ "Save all user options which have been set in this session." (interactive) (mapatoms (lambda (symbol) - (let ((face (get symbol 'customized-face)) - (value (get symbol 'customized-value))) - (when face - (put symbol 'saved-face face) - (put symbol 'customized-face nil)) - (when value - (put symbol 'saved-value value) - (put symbol 'customized-value nil))))) + (condition-case nil + (let ((face (get symbol 'customized-face)) + (value (get symbol 'customized-value))) + (when face + (put symbol 'saved-face face) + (put symbol 'customized-face nil)) + (when value + (put symbol 'saved-value value) + (put symbol 'customized-value nil))) + (t (message "Bad plist in %s" + (symbol-name symbol)))))) ;; We really should update all custom buffers here. (custom-save-all)) @@ -2941,17 +3000,17 @@ (unless (string-match "XEmacs" emacs-version) (defconst custom-help-menu '("Customize" - ["Update menu..." Custom-menu-update t] - ["Browse..." (customize-browse 'emacs) t] + ["Update menu" Custom-menu-update t] + ["Browse" (customize-browse 'emacs) t] ["Group..." customize-group t] - ["Variable..." customize-variable t] + ["Option..." customize-option t] ["Face..." customize-face t] ["Saved..." customize-saved t] ["Set..." customize-customized t] - ["--" custom-menu-sep t] + "--" ["Apropos..." customize-apropos t] ["Group apropos..." customize-apropos-groups t] - ["Variable apropos..." customize-apropos-options t] + ["Option apropos..." customize-apropos-options t] ["Face apropos..." customize-apropos-faces t]) ;; This menu should be identical to the one defined in `menu-bar.el'. "Customize menu") diff -r 7a77eb660975 -r 85ec50267440 lisp/custom/cus-face.el --- a/lisp/custom/cus-face.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/custom/cus-face.el Mon Aug 13 09:45:46 2007 +0200 @@ -4,7 +4,7 @@ ;; ;; Author: Per Abrahamsen ;; Keywords: help, faces -;; Version: 1.9937 +;; Version: 1.9940 ;; X-URL: http://www.dina.kvl.dk/~abraham/custom/ ;;; Commentary: diff -r 7a77eb660975 -r 85ec50267440 lisp/custom/custom-load.el --- a/lisp/custom/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/custom/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -3,6 +3,7 @@ (put 'custom-buffer 'custom-loads '("cus-edit")) (put 'eldoc 'custom-loads '()) (put 'custom-faces 'custom-loads '("cus-edit")) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '()) (put 'mail-abbrevs 'custom-loads '()) diff -r 7a77eb660975 -r 85ec50267440 lisp/custom/custom.el --- a/lisp/custom/custom.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/custom/custom.el Mon Aug 13 09:45:46 2007 +0200 @@ -4,7 +4,7 @@ ;; ;; Author: Per Abrahamsen ;; Keywords: help, faces -;; Version: 1.9937 +;; Version: 1.9940 ;; X-URL: http://www.dina.kvl.dk/~abraham/custom/ ;; This file is part of GNU Emacs. diff -r 7a77eb660975 -r 85ec50267440 lisp/custom/wid-browse.el --- a/lisp/custom/wid-browse.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/custom/wid-browse.el Mon Aug 13 09:45:46 2007 +0200 @@ -4,7 +4,7 @@ ;; ;; Author: Per Abrahamsen ;; Keywords: extensions -;; Version: 1.9937 +;; Version: 1.9940 ;; X-URL: http://www.dina.kvl.dk/~abraham/custom/ ;; This file is part of GNU Emacs. diff -r 7a77eb660975 -r 85ec50267440 lisp/custom/wid-edit.el --- a/lisp/custom/wid-edit.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/custom/wid-edit.el Mon Aug 13 09:45:46 2007 +0200 @@ -4,7 +4,7 @@ ;; ;; Author: Per Abrahamsen ;; Keywords: extensions -;; Version: 1.9937 +;; Version: 1.9940 ;; X-URL: http://www.dina.kvl.dk/~abraham/custom/ ;; This file is part of GNU Emacs. @@ -54,7 +54,7 @@ "Character position of the end of event if that exists, or nil." (posn-point (event-end event)))) -(defalias 'widget-read-event (if (string-match "XEmacs" emacs-version) + (defalias 'widget-read-event (if (string-match "XEmacs" emacs-version) 'next-event 'read-event)) @@ -84,6 +84,14 @@ (or (memq 'click (event-modifiers event)) (memq 'drag (event-modifiers event)))))) + (unless (fboundp 'functionp) + ;; Missing from Emacs 19.34 and earlier. + (defun functionp (object) + "Non-nil of OBJECT is a type of object that can be called as a function." + (or (subrp object) (byte-code-function-p object) + (eq (car-safe object) 'lambda) + (and (symbolp object) (fboundp object))))) + (unless (fboundp 'error-message-string) ;; Emacs function missing in XEmacs. (defun error-message-string (obj) @@ -169,6 +177,28 @@ "Face used for editable fields." :group 'widget-faces) +(defface widget-single-line-field-face '((((class grayscale color) + (background light)) + (:background "gray85")) + (((class grayscale color) + (background dark)) + (:background "dim gray")) + (t + (:italic t))) + "Face used for editable fields spanning only a single line." + :group 'widget-faces) + +(defvar widget-single-line-display-table + (let ((table (make-display-table))) + (aset table 9 "^I") + (aset table 10 "^J") + table) + "Display table used for single-line editable fields.") + +(when (fboundp 'set-face-display-table) + (set-face-display-table 'widget-single-line-field-face + widget-single-line-display-table)) + ;;; Utility functions. ;; ;; These are not really widget specific. @@ -1813,6 +1843,9 @@ (let ((size (widget-get widget :size)) (value (widget-get widget :value)) (from (point)) + ;; This is changed to a real overlay in `widget-setup'. We + ;; need the end points to behave differently until + ;; `widget-setup' is called. (overlay (cons (make-marker) (make-marker)))) (widget-put widget :field-overlay overlay) (insert value) @@ -2870,6 +2903,7 @@ "A regular expression." :match 'widget-regexp-match :validate 'widget-regexp-validate + :value-face 'widget-single-line-field-face :tag "Regexp") (defun widget-regexp-match (widget value) @@ -2895,6 +2929,7 @@ :complete-function 'widget-file-complete :prompt-value 'widget-file-prompt-value :format "%{%t%}: %v" + :value-face 'widget-single-line-field-face :tag "File") (defun widget-file-complete () diff -r 7a77eb660975 -r 85ec50267440 lisp/custom/widget-example.el --- a/lisp/custom/widget-example.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/custom/widget-example.el Mon Aug 13 09:45:46 2007 +0200 @@ -4,7 +4,7 @@ ;; ;; Author: Per Abrahamsen ;; Keywords: help, extensions, faces, hypermedia -;; Version: 1.9937 +;; Version: 1.9940 ;; X-URL: http://www.dina.kvl.dk/~abraham/custom/ (require 'widget) diff -r 7a77eb660975 -r 85ec50267440 lisp/custom/widget.el --- a/lisp/custom/widget.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/custom/widget.el Mon Aug 13 09:45:46 2007 +0200 @@ -4,7 +4,7 @@ ;; ;; Author: Per Abrahamsen ;; Keywords: help, extensions, faces, hypermedia -;; Version: 1.9937 +;; Version: 1.9940 ;; X-URL: http://www.dina.kvl.dk/~abraham/custom/ ;; This file is part of GNU Emacs. diff -r 7a77eb660975 -r 85ec50267440 lisp/edebug/custom-load.el --- a/lisp/edebug/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/edebug/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,5 +1,7 @@ +(put 'extensions 'custom-loads '()) (put 'copyright 'custom-loads '()) (put 'eldoc 'custom-loads '()) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '()) (put 'mail-abbrevs 'custom-loads '()) diff -r 7a77eb660975 -r 85ec50267440 lisp/ediff/custom-load.el --- a/lisp/ediff/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/ediff/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,5 +1,7 @@ +(put 'extensions 'custom-loads '()) (put 'copyright 'custom-loads '()) (put 'eldoc 'custom-loads '()) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '()) (put 'mail-abbrevs 'custom-loads '()) diff -r 7a77eb660975 -r 85ec50267440 lisp/efs/custom-load.el --- a/lisp/efs/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/efs/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,5 +1,7 @@ +(put 'extensions 'custom-loads '()) (put 'copyright 'custom-loads '()) (put 'eldoc 'custom-loads '()) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '()) (put 'mail-abbrevs 'custom-loads '()) diff -r 7a77eb660975 -r 85ec50267440 lisp/egg/custom-load.el --- a/lisp/egg/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/egg/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,5 +1,7 @@ +(put 'extensions 'custom-loads '()) (put 'copyright 'custom-loads '()) (put 'eldoc 'custom-loads '()) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '()) (put 'mail-abbrevs 'custom-loads '()) @@ -19,6 +21,7 @@ (put 'calendar 'custom-loads '()) (put 'help-appearance 'custom-loads '()) (put 'display-time 'custom-loads '()) +(put 'lisp 'custom-loads '()) (put 'diff 'custom-loads '()) (put 'paren-matching 'custom-loads '()) (put 'help 'custom-loads '()) @@ -28,14 +31,19 @@ (put 'message-sending 'custom-loads '()) (put 'data 'custom-loads '()) (put 'ps-print 'custom-loads '()) +(put 'backup 'custom-loads '()) (put 'frames 'custom-loads '()) +(put 'customize 'custom-loads '()) (put 'abbrev 'custom-loads '()) (put 'toolbar 'custom-loads '()) (put 'compilation 'custom-loads '()) +(put 'dired 'custom-loads '()) (put 'killing 'custom-loads '()) (put 'paren-blinking 'custom-loads '()) +(put 'find-file 'custom-loads '()) (put 'gnuserv 'custom-loads '()) (put 'maint 'custom-loads '()) +(put 'fill-comments 'custom-loads '()) (put 'message-mail 'custom-loads '()) (put 'windows 'custom-loads '()) (put 'message-various 'custom-loads '()) @@ -46,7 +54,7 @@ (put 'diary 'custom-loads '()) (put 'browse-url 'custom-loads '()) (put 'message-insertion 'custom-loads '()) -(put 'hyper-apropos 'custom-loads '()) +(put 'vc 'custom-loads '()) (put 'alloc 'custom-loads '()) (put 'isearch 'custom-loads '()) (put 'modeline 'custom-loads '()) @@ -54,4 +62,5 @@ (put 'editing 'custom-loads '()) (put 'matching 'custom-loads '()) (put 'ps-print-color 'custom-loads '()) +(put 'undo 'custom-loads '()) (put 'x 'custom-loads '()) diff -r 7a77eb660975 -r 85ec50267440 lisp/electric/custom-load.el --- a/lisp/electric/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/electric/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,5 +1,7 @@ +(put 'extensions 'custom-loads '()) (put 'copyright 'custom-loads '()) (put 'eldoc 'custom-loads '()) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '()) (put 'mail-abbrevs 'custom-loads '()) diff -r 7a77eb660975 -r 85ec50267440 lisp/emulators/custom-load.el --- a/lisp/emulators/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/emulators/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,5 +1,7 @@ +(put 'extensions 'custom-loads '()) (put 'copyright 'custom-loads '()) (put 'eldoc 'custom-loads '()) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '()) (put 'mail-abbrevs 'custom-loads '()) diff -r 7a77eb660975 -r 85ec50267440 lisp/eos/custom-load.el --- a/lisp/eos/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/eos/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,5 +1,7 @@ +(put 'extensions 'custom-loads '()) (put 'copyright 'custom-loads '()) (put 'eldoc 'custom-loads '()) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '()) (put 'mail-abbrevs 'custom-loads '()) diff -r 7a77eb660975 -r 85ec50267440 lisp/eterm/custom-load.el --- a/lisp/eterm/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/eterm/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,5 +1,7 @@ +(put 'extensions 'custom-loads '()) (put 'copyright 'custom-loads '()) (put 'eldoc 'custom-loads '()) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '()) (put 'mail-abbrevs 'custom-loads '()) diff -r 7a77eb660975 -r 85ec50267440 lisp/games/custom-load.el --- a/lisp/games/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/games/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,5 +1,7 @@ +(put 'extensions 'custom-loads '()) (put 'copyright 'custom-loads '()) (put 'eldoc 'custom-loads '()) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '()) (put 'mail-abbrevs 'custom-loads '()) diff -r 7a77eb660975 -r 85ec50267440 lisp/gnats/custom-load.el --- a/lisp/gnats/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/gnats/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,5 +1,7 @@ +(put 'extensions 'custom-loads '()) (put 'copyright 'custom-loads '()) (put 'eldoc 'custom-loads '()) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '()) (put 'mail-abbrevs 'custom-loads '()) diff -r 7a77eb660975 -r 85ec50267440 lisp/gnus/ChangeLog --- a/lisp/gnus/ChangeLog Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/gnus/ChangeLog Mon Aug 13 09:45:46 2007 +0200 @@ -1,3 +1,59 @@ +Sun Jun 29 21:32:13 1997 Lars Magne Ingebrigtsen + + * gnus.el: Gnus v5.4.60 is released. + +Sun Jun 29 21:14:27 1997 Hrvoje Niksic + + * gnus-salt.el: Customized. + +1997-06-27 Hrvoje Niksic + + * gnus-salt.el (gnus-tree-show-summary): New function. + (gnus-tree-mode-map): Use it. + +Sun Jun 29 20:19:27 1997 Lars Magne Ingebrigtsen + + * gnus-salt.el (gnus-generate-horizontal-tree): Protect against + nil threads. + + * gnus-sum.el (gnus-adjust-marked-articles): Change. + +Sun Jun 29 20:19:03 1997 Scott Byer + + * gnus-sum.el (gnus-adjust-marked-articles): Improper lists. + +1997-06-24 Hrvoje Niksic + + * gnus-sum.el (gnus-summary-search-article): Inhibit updating tree + buffer. + +Sun Jun 29 19:36:48 1997 Lars Magne Ingebrigtsen + + * gnus-start.el (gnus-activate-group): Ignore zero returns. + + * gnus-salt.el (gnus-generate-vertical-tree): Use a safer + line-drawing algorithm. + + * nnml.el (nnml-generate-nov-file): Articles with null bodies are + legal. + +Sun Jun 22 15:44:02 1997 Lars Magne Ingebrigtsen + + * gnus-art.el (article-hide-pgp): Only run hook when hiding pgp. + + * nnfolder.el (nnfolder-save-buffer): Make sure the directory + exists. + + * gnus-uu.el (gnus-uu-post-news-inews): Didn't work when posting + threaded. + (gnus-uu-post-encoded): Include sequence numbers in threaded + posts. + +Sat Jun 21 00:17:16 1997 Lars Magne Ingebrigtsen + + * message.el (message-set-auto-save-file-name): Translate / in + buffer names. + Wed Jun 18 17:26:35 1997 Lars Magne Ingebrigtsen * gnus.el: Gnus v5.4.59 is released. diff -r 7a77eb660975 -r 85ec50267440 lisp/gnus/custom-load.el --- a/lisp/gnus/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/gnus/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,9 +1,11 @@ (put 'gnus-start 'custom-loads '("gnus-group" "gnus-int" "gnus-start" "gnus-util" "gnus")) +(put 'extensions 'custom-loads '()) (put 'message 'custom-loads '("message")) (put 'copyright 'custom-loads '()) (put 'gnus-score-expire 'custom-loads '("gnus-kill" "gnus-score")) (put 'gnus-score-kill 'custom-loads '("gnus-kill")) (put 'eldoc 'custom-loads '()) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'gnus-message 'custom-loads '("message")) (put 'mouse 'custom-loads '()) @@ -55,6 +57,7 @@ (put 'gnus-summary-maneuvering 'custom-loads '("gnus-sum")) (put 'gnus-extract 'custom-loads '("gnus" "gnus-uu")) (put 'help 'custom-loads '()) +(put 'gnus-summary-tree 'custom-loads '("gnus-salt")) (put 'local 'custom-loads '()) (put 'nnmail-split 'custom-loads '("nnmail")) (put 'keyboard 'custom-loads '()) @@ -96,6 +99,7 @@ (put 'find-file 'custom-loads '()) (put 'gnus-edit-form 'custom-loads '("gnus-eform")) (put 'gnus-files 'custom-loads '("gnus" "nnmail")) +(put 'gnus-summary-pick 'custom-loads '("gnus-salt")) (put 'gnus-cite 'custom-loads '("gnus-cite")) (put 'gnus-demon 'custom-loads '("gnus-demon")) (put 'gnus-summary-choose 'custom-loads '("gnus-sum")) diff -r 7a77eb660975 -r 85ec50267440 lisp/gnus/gnus-art.el --- a/lisp/gnus/gnus-art.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/gnus/gnus-art.el Mon Aug 13 09:45:46 2007 +0200 @@ -981,8 +981,8 @@ (while (re-search-forward "^- " nil t) (gnus-article-hide-text-type (match-beginning 0) (match-end 0) 'pgp)) - (widen))) - (run-hooks 'gnus-article-hide-pgp-hook))))) + (widen)) + (run-hooks 'gnus-article-hide-pgp-hook)))))) (defun article-hide-pem (&optional arg) "Toggle hiding of any PEM headers and signatures in the current article. @@ -1750,7 +1750,6 @@ (gnus-define-keys gnus-article-mode-map " " gnus-article-goto-next-page "\177" gnus-article-goto-prev-page - [backspace] gnus-article-goto-prev-page [delete] gnus-article-goto-prev-page "\C-c^" gnus-article-refer-article "h" gnus-article-show-summary diff -r 7a77eb660975 -r 85ec50267440 lisp/gnus/gnus-group.el --- a/lisp/gnus/gnus-group.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/gnus/gnus-group.el Mon Aug 13 09:45:46 2007 +0200 @@ -423,7 +423,6 @@ "n" gnus-group-next-unread-group "p" gnus-group-prev-unread-group "\177" gnus-group-prev-unread-group - [backspace] gnus-group-prev-unread-group [delete] gnus-group-prev-unread-group "N" gnus-group-next-group "P" gnus-group-prev-group @@ -506,7 +505,6 @@ "r" gnus-group-rename-group "c" gnus-group-customize "\177" gnus-group-delete-group - [backspace] gnus-group-delete-group [delete] gnus-group-delete-group) (gnus-define-keys (gnus-group-soup-map "s" gnus-group-group-map) diff -r 7a77eb660975 -r 85ec50267440 lisp/gnus/gnus-salt.el --- a/lisp/gnus/gnus-salt.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/gnus/gnus-salt.el Mon Aug 13 09:45:46 2007 +0200 @@ -34,22 +34,32 @@ (defvar gnus-pick-mode nil "Minor mode for providing a pick-and-read interface in Gnus summary buffers.") -(defvar gnus-pick-display-summary nil - "*Display summary while reading.") +(defcustom gnus-pick-display-summary nil + "*Display summary while reading." + :type 'boolean + :group 'gnus-summary-pick) -(defvar gnus-pick-mode-hook nil - "Hook run in summary pick mode buffers.") +(defcustom gnus-pick-mode-hook nil + "Hook run in summary pick mode buffers." + :type 'hook + :group 'gnus-summary-pick) -(defvar gnus-mark-unpicked-articles-as-read nil - "*If non-nil, mark all unpicked articles as read.") +(defcustom gnus-mark-unpicked-articles-as-read nil + "*If non-nil, mark all unpicked articles as read." + :type 'boolean + :group 'gnus-summary-pick) -(defvar gnus-pick-elegant-flow t - "If non-nil, gnus-pick-start-reading will run gnus-summary-next-group when no articles have been picked.") +(defcustom gnus-pick-elegant-flow t + "If non-nil, gnus-pick-start-reading will run gnus-summary-next-group when no articles have been picked." + :type 'boolean + :group 'gnus-summary-pick) -(defvar gnus-summary-pick-line-format +(defcustom gnus-summary-pick-line-format "%-5P %U\%R\%z\%I\%(%[%4L: %-20,20n%]%) %s\n" "*The format specification of the lines in pick buffers. -It accepts the same format specs that `gnus-summary-line-format' does.") +It accepts the same format specs that `gnus-summary-line-format' does." + :type 'string + :group 'gnus-summary-pick) ;;; Internal variables. @@ -350,16 +360,22 @@ ;;; gnus-tree-mode ;;; -(defvar gnus-tree-line-format "%(%[%3,3n%]%)" - "Format of tree elements.") +(defcustom gnus-tree-line-format "%(%[%3,3n%]%)" + "Format of tree elements." + :type 'string + :group 'gnus-summary-tree) -(defvar gnus-tree-minimize-window t +(defcustom gnus-tree-minimize-window t "If non-nil, minimize the tree buffer window. If a number, never let the tree buffer grow taller than that number of -lines.") +lines." + :type 'boolean + :group 'gnus-summary-tree) -(defvar gnus-selected-tree-face 'modeline - "*Face used for highlighting selected articles in the thread tree.") +(defcustom gnus-selected-tree-face 'modeline + "*Face used for highlighting selected articles in the thread tree." + :type 'face + :group 'gnus-summary-tree) (defvar gnus-tree-brackets '((?\[ . ?\]) (?\( . ?\)) (?\{ . ?\}) (?< . ?>)) @@ -368,16 +384,24 @@ (defvar gnus-tree-parent-child-edges '(?- ?\\ ?|) "Characters used to connect parents with children.") -(defvar gnus-tree-mode-line-format "Gnus: %%b %S %Z" - "*The format specification for the tree mode line.") +(defcustom gnus-tree-mode-line-format "Gnus: %%b %S %Z" + "*The format specification for the tree mode line." + :type 'string + :group 'gnus-summary-tree) -(defvar gnus-generate-tree-function 'gnus-generate-vertical-tree +(defcustom gnus-generate-tree-function 'gnus-generate-vertical-tree "*Function for generating a thread tree. Two predefined functions are available: -`gnus-generate-horizontal-tree' and `gnus-generate-vertical-tree'.") +`gnus-generate-horizontal-tree' and `gnus-generate-vertical-tree'." + :type '(radio (function-item gnus-generate-vertical-tree) + (function-item gnus-generate-horizontal-tree) + (function :tag "Other" nil)) + :group 'gnus-summary-tree) -(defvar gnus-tree-mode-hook nil - "*Hook run in tree mode buffers.") +(defcustom gnus-tree-mode-hook nil + "*Hook run in tree mode buffers." + :type 'hook + :group 'gnus-summary-tree) ;;; Internal variables. @@ -410,6 +434,7 @@ "\r" gnus-tree-select-article gnus-mouse-2 gnus-tree-pick-article "\C-?" gnus-tree-read-summary-keys + "h" gnus-tree-show-summary "\C-c\C-i" gnus-info-find-node) @@ -460,6 +485,14 @@ (goto-char (or (gnus-overlay-end gnus-selected-tree-overlay) 1))) (gnus-tree-minimize)))) +(defun gnus-tree-show-summary () + "Reconfigure windows to show summary buffer." + (interactive) + (if (not (gnus-buffer-live-p gnus-summary-buffer)) + (error "There is no summary buffer for this tree buffer") + (gnus-configure-windows 'article) + (gnus-summary-goto-subject gnus-current-article))) + (defun gnus-tree-select-article (article) "Select the article under point, if any." (interactive (list (gnus-tree-article-number))) @@ -646,7 +679,9 @@ "Generate a horizontal tree." (let* ((dummy (stringp (car thread))) (do (or dummy - (memq (mail-header-number (car thread)) gnus-tmp-limit))) + (and (car thread) + (memq (mail-header-number (car thread)) + gnus-tmp-limit)))) col beg) (if (not do) ;; We don't want this article. @@ -718,13 +753,12 @@ (delete-char -1) (insert (cadr gnus-tree-parent-child-edges)) (setq beg (point)) + (forward-char -1) ;; Draw "-" lines leftwards. - (while (progn - (unless (bolp) - (forward-char -2)) - (= (following-char) ? )) - (delete-char 1) - (insert (car gnus-tree-parent-child-edges))) + (while (= (char-after (1- (point))) ? ) + (delete-char -1) + (insert (car gnus-tree-parent-child-edges)) + (forward-char -1)) (goto-char beg) (gnus-tree-forward-line 1))) (setq dummyp nil) diff -r 7a77eb660975 -r 85ec50267440 lisp/gnus/gnus-srvr.el --- a/lisp/gnus/gnus-srvr.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/gnus/gnus-srvr.el Mon Aug 13 09:45:46 2007 +0200 @@ -503,8 +503,6 @@ "n" gnus-browse-next-group "p" gnus-browse-prev-group "\177" gnus-browse-prev-group - [backspace] gnus-browse-prev-group - [delete] gnus-browse-prev-group "N" gnus-browse-next-group "P" gnus-browse-prev-group "\M-n" gnus-browse-next-group diff -r 7a77eb660975 -r 85ec50267440 lisp/gnus/gnus-start.el --- a/lisp/gnus/gnus-start.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/gnus/gnus-start.el Mon Aug 13 09:45:46 2007 +0200 @@ -1284,12 +1284,11 @@ "Alter the ACTIVE info for GROUP to reflect the articles in the cache." (when gnus-cache-active-hashtb (let ((cache-active (gnus-gethash group gnus-cache-active-hashtb))) - (and cache-active - (< (car cache-active) (car active)) - (setcar active (car cache-active))) - (and cache-active - (> (cdr cache-active) (cdr active)) - (setcdr active (cdr cache-active))))))) + (when cache-active + (when (< (car cache-active) (car active)) + (setcar active (car cache-active))) + (when (> (cdr cache-active) (cdr active)) + (setcdr active (cdr cache-active)))))))) (defun gnus-activate-group (group &optional scan dont-check method) ;; Check whether a group has been activated or not. @@ -1309,7 +1308,15 @@ (inline (gnus-request-group group dont-check method)) (error nil) (quit nil)) - (gnus-set-active group (setq active (gnus-parse-active))) + (setq active (gnus-parse-active)) + ;; If there are no articles in the group, the GROUP + ;; command may have responded with the `(0 . 0)'. We + ;; ignore this if we already have an active entry + ;; for the group. + (unless (and (zerop (car active)) + (zerop (cdr active)) + (gnus-active group)) + (gnus-set-active group active)) ;; Return the new active info. active))) diff -r 7a77eb660975 -r 85ec50267440 lisp/gnus/gnus-sum.el --- a/lisp/gnus/gnus-sum.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/gnus/gnus-sum.el Mon Aug 13 09:45:46 2007 +0200 @@ -1036,7 +1036,6 @@ (gnus-define-keys gnus-summary-mode-map " " gnus-summary-next-page "\177" gnus-summary-prev-page - [backspace] gnus-summary-prev-page [delete] gnus-summary-prev-page "\r" gnus-summary-scroll-up "n" gnus-summary-next-unread-article @@ -1236,7 +1235,6 @@ " " gnus-summary-next-page "n" gnus-summary-next-page "\177" gnus-summary-prev-page - [backspace] gnus-summary-prev-page [delete] gnus-summary-prev-page "p" gnus-summary-prev-page "\r" gnus-summary-scroll-up @@ -1309,7 +1307,6 @@ "e" gnus-summary-expire-articles "\M-\C-e" gnus-summary-expire-articles-now "\177" gnus-summary-delete-article - [backspace] gnus-summary-delete-article [delete] gnus-summary-delete-article "m" gnus-summary-move-article "r" gnus-summary-respool-article @@ -3829,6 +3826,10 @@ (set var (delq article (symbol-value var)))))) ;; Adjust assocs. ((memq mark uncompressed) + (when (not (listp (car (symbol-value var))))) + (set var (list (symbol-value var))) + (when (not (listp (cdr articles))) + (setq articles (list articles))) (while articles (when (or (not (consp (setq article (pop articles)))) (< (car article) min) @@ -5000,7 +5001,7 @@ (suppress-keymap gnus-dead-summary-mode-map) (substitute-key-definition 'undefined 'gnus-summary-wake-up-the-dead gnus-dead-summary-mode-map) - (let ((keys '("\C-d" "\r" "\177" [backspace] [delete]))) + (let ((keys '("\C-d" "\r" "\177"))) (while keys (define-key gnus-dead-summary-mode-map (pop keys) 'gnus-summary-wake-up-the-dead)))) @@ -6344,6 +6345,7 @@ (gnus-mark-article-hook nil) ;Inhibit marking as read. (gnus-use-article-prefetch nil) (gnus-xmas-force-redisplay nil) ;Inhibit XEmacs redisplay. + (gnus-use-trees nil) ;Inhibit updating tree buffer. (sum (current-buffer)) (found nil) point) diff -r 7a77eb660975 -r 85ec50267440 lisp/gnus/gnus-topic.el --- a/lisp/gnus/gnus-topic.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/gnus/gnus-topic.el Mon Aug 13 09:45:46 2007 +0200 @@ -894,8 +894,6 @@ [tab] gnus-topic-indent "r" gnus-topic-rename "\177" gnus-topic-delete - [backpace] gnus-topic-delete - [delete] gnus-topic-delete "h" gnus-topic-toggle-display-empty-topics) (gnus-define-keys (gnus-topic-sort-map "S" gnus-group-topic-map) diff -r 7a77eb660975 -r 85ec50267440 lisp/gnus/gnus-uu.el --- a/lisp/gnus/gnus-uu.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/gnus/gnus-uu.el Mon Aug 13 09:45:46 2007 +0200 @@ -1777,7 +1777,7 @@ This may not be smart, as no other decoder I have seen are able to follow threads when collecting uuencoded articles. (Well, I have seen one package that does that - gnus-uu, but somehow, I don't think that -counts...) Default is nil." +counts...) The default is nil." :group 'gnus-extract-post :type 'boolean) @@ -1876,28 +1876,7 @@ (setq file-name gnus-uu-post-inserted-file-name) (setq file-name (gnus-uu-post-insert-binary))) - (if gnus-uu-post-threaded - (let ((message-required-news-headers - (if (memq 'Message-ID message-required-news-headers) - message-required-news-headers - (cons 'Message-ID message-required-news-headers))) - gnus-inews-article-hook) - - (setq gnus-inews-article-hook (if (listp gnus-inews-article-hook) - gnus-inews-article-hook - (list gnus-inews-article-hook))) - (push - '(lambda () - (save-excursion - (goto-char (point-min)) - (if (re-search-forward "^Message-ID: \\(.*\\)$" nil t) - (setq gnus-uu-post-message-id - (buffer-substring - (match-beginning 1) (match-end 1))) - (setq gnus-uu-post-message-id nil)))) - gnus-inews-article-hook) - (gnus-uu-post-encoded file-name t)) - (gnus-uu-post-encoded file-name nil))) + (gnus-uu-post-encoded file-name gnus-uu-post-threaded)) (setq gnus-uu-post-inserted-file-name nil) (when gnus-uu-winconf-post-news (set-window-configuration gnus-uu-winconf-post-news))) @@ -1964,12 +1943,12 @@ (goto-char (point-min)) (setq length (count-lines 1 (point-max))) (setq parts (/ length gnus-uu-post-length)) - (when (not (< (% length gnus-uu-post-length) 4)) - (setq parts (1+ parts)))) + (unless (< (% length gnus-uu-post-length) 4) + (incf parts))) (when gnus-uu-post-separate-description (forward-line -1)) - (kill-region (point) (point-max)) + (delete-region (point) (point-max)) (goto-char (point-min)) (re-search-forward @@ -1978,12 +1957,13 @@ (setq header (buffer-substring 1 (point))) (goto-char (point-min)) - (if (not gnus-uu-post-separate-description) - () - (when (and (not threaded) (re-search-forward "^Subject: " nil t)) + (when gnus-uu-post-separate-description + (when (re-search-forward "^Subject: " nil t) (end-of-line) (insert (format " (0/%d)" parts))) - (message-send)) + (save-excursion + (message-send)) + (setq gnus-uu-post-message-id (message-fetch-field "message-id"))) (save-excursion (setq i 1) @@ -1993,7 +1973,7 @@ (erase-buffer) (insert header) (when (and threaded gnus-uu-post-message-id) - (insert (format "References: %s\n" gnus-uu-post-message-id))) + (insert "References: " gnus-uu-post-message-id "\n")) (insert separator) (setq whole-len (- 62 (length (format top-string "" file-name i parts "")))) @@ -2008,15 +1988,9 @@ (if (= 0 (% whole-len 2)) (1- minlen) minlen) ?-))) (goto-char (point-min)) - (if (not (re-search-forward "^Subject: " nil t)) - () - (if (not threaded) - (progn - (end-of-line) - (insert (format " (%d/%d)" i parts))) - (when (or (and (= i 2) gnus-uu-post-separate-description) - (and (= i 1) (not gnus-uu-post-separate-description))) - (replace-match "Subject: Re: ")))) + (when (re-search-forward "^Subject: " nil t) + (end-of-line) + (insert (format " (%d/%d)" i parts))) (goto-char (point-max)) (save-excursion @@ -2029,10 +2003,9 @@ (forward-line -4)) (setq end (point))) (insert-buffer-substring uubuf beg end) - (insert beg-line) - (insert "\n") + (insert beg-line "\n") (setq beg end) - (setq i (1+ i)) + (incf i) (goto-char (point-min)) (re-search-forward (concat "^" (regexp-quote mail-header-separator) "$") nil t) @@ -2046,12 +2019,14 @@ (insert beg-line) (insert "\n") (let (message-sent-message-via) - (message-send)))) + (save-excursion + (message-send)) + (setq gnus-uu-post-message-id + (concat (message-fetch-field "references") " " + (message-fetch-field "message-id")))))) - (when (setq buf (get-buffer send-buffer-name)) - (kill-buffer buf)) - (when (setq buf (get-buffer encoded-buffer-name)) - (kill-buffer buf)) + (gnus-kill-buffer send-buffer-name) + (gnus-kill-buffer encoded-buffer-name) (when (not gnus-uu-post-separate-description) (set-buffer-modified-p nil) diff -r 7a77eb660975 -r 85ec50267440 lisp/gnus/gnus.el --- a/lisp/gnus/gnus.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/gnus/gnus.el Mon Aug 13 09:45:46 2007 +0200 @@ -143,6 +143,18 @@ :link '(custom-manual "(gnus)Various Summary Stuff") :group 'gnus-summary) +(defgroup gnus-summary-pick nil + "Pick mode in the summary buffer." + :link '(custom-manual "(gnus)Pick and Read") + :prefix "gnus-pick-" + :group 'gnus-summary) + +(defgroup gnus-summary-tree nil + "Tree display of threads in the summary buffer." + :link '(custom-manual "(gnus)Tree Display") + :prefix "gnus-tree-" + :group 'gnus-summary) + ;; Belongs to gnus-uu.el (defgroup gnus-extract-view nil "Viewing extracted files." @@ -226,7 +238,7 @@ :link '(custom-manual "(gnus)Exiting Gnus") :group 'gnus) -(defconst gnus-version-number "5.4.59" +(defconst gnus-version-number "5.4.60" "Version number for this version of Gnus.") (defconst gnus-version (format "Gnus v%s" gnus-version-number) diff -r 7a77eb660975 -r 85ec50267440 lisp/gnus/message.el --- a/lisp/gnus/message.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/gnus/message.el Mon Aug 13 09:45:46 2007 +0200 @@ -2972,7 +2972,9 @@ (concat (file-name-as-directory message-autosave-directory) "msg." (nnheader-replace-chars-in-string - (buffer-name) ?* ?.)))))) + (nnheader-replace-chars-in-string + (buffer-name) ?* ?.) + ?/ ?-)))))) (setq buffer-auto-save-file-name (save-excursion (prog1 diff -r 7a77eb660975 -r 85ec50267440 lisp/gnus/nnfolder.el --- a/lisp/gnus/nnfolder.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/gnus/nnfolder.el Mon Aug 13 09:45:46 2007 +0200 @@ -763,6 +763,7 @@ "Save the buffer." (when (buffer-modified-p) (run-hooks 'nnfolder-save-buffer-hook) + (gnus-make-directory (file-name-directory (buffer-file-name))) (save-buffer))) (provide 'nnfolder) diff -r 7a77eb660975 -r 85ec50267440 lisp/gnus/nnml.el --- a/lisp/gnus/nnml.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/gnus/nnml.el Mon Aug 13 09:45:46 2007 +0200 @@ -759,8 +759,7 @@ (search-forward "\n\n" nil t) (setq chars (- (point-max) (point))) (max 1 (1- (point))))) - (when (and (not (= 0 chars)) ; none of them empty files... - (not (= (point-min) (point-max)))) + (unless (zerop (buffer-size)) (goto-char (point-min)) (setq headers (nnml-parse-head chars (caar files))) (save-excursion diff -r 7a77eb660975 -r 85ec50267440 lisp/hm--html-menus/custom-load.el --- a/lisp/hm--html-menus/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/hm--html-menus/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,5 +1,7 @@ +(put 'extensions 'custom-loads '()) (put 'copyright 'custom-loads '()) (put 'eldoc 'custom-loads '()) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '()) (put 'mail-abbrevs 'custom-loads '()) diff -r 7a77eb660975 -r 85ec50267440 lisp/hyperbole/ChangeLog --- a/lisp/hyperbole/ChangeLog Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/hyperbole/ChangeLog Mon Aug 13 09:45:46 2007 +0200 @@ -1,3 +1,8 @@ +1997-06-27 Steven L Baur + + * wrolo-menu.el (TopLevel): Fix tests so that W3's id-menubar + simulation doesn't bollux up feature tests. + Thu Mar 13 22:01:52 1997 Bob Weiner * wrolo.el (rolo-toggle-datestamps): Added. diff -r 7a77eb660975 -r 85ec50267440 lisp/hyperbole/custom-load.el --- a/lisp/hyperbole/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/hyperbole/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,5 +1,7 @@ +(put 'extensions 'custom-loads '()) (put 'copyright 'custom-loads '()) (put 'eldoc 'custom-loads '()) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '()) (put 'mail-abbrevs 'custom-loads '()) diff -r 7a77eb660975 -r 85ec50267440 lisp/hyperbole/wrolo-menu.el --- a/lisp/hyperbole/wrolo-menu.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/hyperbole/wrolo-menu.el Mon Aug 13 09:45:46 2007 +0200 @@ -150,7 +150,7 @@ (popup-menu id-popup-wrolo-menu))) (cond ((null hyperb:window-system)) - ((fboundp 'id-menubar-set) + ((and (featurep 'infodock) (fboundp 'id-menubar-set)) ;; InfoDock under a window system (require 'id-menubars) (id-menubar-set 'wrolo-mode 'id-menubar-wrolo)) diff -r 7a77eb660975 -r 85ec50267440 lisp/ilisp/custom-load.el --- a/lisp/ilisp/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/ilisp/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,5 +1,7 @@ +(put 'extensions 'custom-loads '()) (put 'copyright 'custom-loads '()) (put 'eldoc 'custom-loads '()) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '()) (put 'mail-abbrevs 'custom-loads '()) diff -r 7a77eb660975 -r 85ec50267440 lisp/iso/custom-load.el --- a/lisp/iso/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/iso/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,5 +1,7 @@ +(put 'extensions 'custom-loads '()) (put 'copyright 'custom-loads '()) (put 'eldoc 'custom-loads '()) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '()) (put 'mail-abbrevs 'custom-loads '()) diff -r 7a77eb660975 -r 85ec50267440 lisp/its/custom-load.el --- a/lisp/its/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/its/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,5 +1,7 @@ +(put 'extensions 'custom-loads '()) (put 'copyright 'custom-loads '()) (put 'eldoc 'custom-loads '()) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '()) (put 'mail-abbrevs 'custom-loads '()) @@ -19,6 +21,7 @@ (put 'calendar 'custom-loads '()) (put 'help-appearance 'custom-loads '()) (put 'display-time 'custom-loads '()) +(put 'lisp 'custom-loads '()) (put 'diff 'custom-loads '()) (put 'paren-matching 'custom-loads '()) (put 'help 'custom-loads '()) @@ -28,14 +31,19 @@ (put 'message-sending 'custom-loads '()) (put 'data 'custom-loads '()) (put 'ps-print 'custom-loads '()) +(put 'backup 'custom-loads '()) (put 'frames 'custom-loads '()) +(put 'customize 'custom-loads '()) (put 'abbrev 'custom-loads '()) (put 'toolbar 'custom-loads '()) (put 'compilation 'custom-loads '()) +(put 'dired 'custom-loads '()) (put 'killing 'custom-loads '()) (put 'paren-blinking 'custom-loads '()) +(put 'find-file 'custom-loads '()) (put 'gnuserv 'custom-loads '()) (put 'maint 'custom-loads '()) +(put 'fill-comments 'custom-loads '()) (put 'message-mail 'custom-loads '()) (put 'windows 'custom-loads '()) (put 'message-various 'custom-loads '()) @@ -46,7 +54,7 @@ (put 'diary 'custom-loads '()) (put 'browse-url 'custom-loads '()) (put 'message-insertion 'custom-loads '()) -(put 'hyper-apropos 'custom-loads '()) +(put 'vc 'custom-loads '()) (put 'alloc 'custom-loads '()) (put 'isearch 'custom-loads '()) (put 'modeline 'custom-loads '()) @@ -54,4 +62,5 @@ (put 'editing 'custom-loads '()) (put 'matching 'custom-loads '()) (put 'ps-print-color 'custom-loads '()) +(put 'undo 'custom-loads '()) (put 'x 'custom-loads '()) diff -r 7a77eb660975 -r 85ec50267440 lisp/language/arabic-util.el --- a/lisp/language/arabic-util.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/language/arabic-util.el Mon Aug 13 09:45:46 2007 +0200 @@ -31,9 +31,9 @@ (require 'visual-mode) -(defvar arabic-mode-indicator " [2](3=a:GJ[0](B" +(defvar arabic-mode-indicator " ›2](3=a:GJ›0](B" "String displayed in mode-line. -\" Arabic\" for Arabic keyboard input, \" [2](3=a:GJ[0](B\".") +\" Arabic\" for Arabic keyboard input, \" ›2](3=a:GJ›0](B\".") (make-variable-buffer-local 'arabic-mode-indicator) @@ -63,26 +63,26 @@ (defvar arabic-translate-table (cond ((eq arabic-input-keymap 'arabic-keymap-0) - [?[2](3![0](B ?[2](3"[0](B ?[2](3-[0](B nil nil nil nil ?' ?[2](3#[0](B ?[2](3$[0](B nil nil ?[2](3%[0](B nil ?[2](3&[0](B ?[2](49[0](B - ?(2![0](B ?(2"[0](B ?(2#[0](B ?(2$[0](B ?(2%[0](B ?(2&[0](B ?(2'[0](B ?(2([0](B ?(2)[0](B ?(2*[0](B ?[2](3'[0](B ?[2](3([0](B ?[2](3*[0](B nil ?[2](3+[0](B ?[2](3)[0](B - nil ?[2](4][0](B nil ?[2](4g[0](B ?[2](4A[0](B nil nil ?[2](4O[0](B ?[2](4-[0](B nil nil ?[2](41[0](B nil nil nil nil - nil nil nil ?[2](4=[0](B ?[2](4E[0](B nil nil nil ?[2](3h[0](B nil ?[2](4I[0](B nil nil nil nil nil - ?[2](4M[0](B ?[2](38[0](B ?[2](4#[0](B ?[2](4'[0](B ?[2](3B[0](B nil ?[2](4Q[0](B ?[2](4k[0](B ?[2](3Z[0](B nil ?[2](4)[0](B ?[2](4U[0](B ?[2](4Y[0](B ?[2](3T[0](B ?[2](4[[0](B ?[2](3<[0](B - ?[2](4e[0](B ?[2](4S[0](B ?[2](3F[0](B ?[2](45[0](B ?[2](4%[0](B nil nil ?[2](3^[0](B ?[2](3D[0](B ?[2](4_[0](B ?[2](3H[0](B nil ?| nil nil]) + [?›2](3!›0](B ?›2](3"›0](B ?›2](3-›0](B nil nil nil nil ?' ?›2](3#›0](B ?›2](3$›0](B nil nil ?›2](3%›0](B nil ?›2](3&›0](B ?›2](49›0](B + ?(2!(B ?(2"(B ?(2#(B ?(2$(B ?(2%(B ?(2&(B ?(2'(B ?(2((B ?(2)(B ?(2*(B ?›2](3'›0](B ?›2](3(›0](B ?›2](3*›0](B nil ?›2](3+›0](B ?›2](3)›0](B + nil ?›2](4]›0](B nil ?›2](4g›0](B ?›2](4A›0](B nil nil ?›2](4O›0](B ?›2](4-›0](B nil nil ?›2](41›0](B nil nil nil nil + nil nil nil ?›2](4=›0](B ?›2](4E›0](B nil nil nil ?›2](3h›0](B nil ?›2](4I›0](B nil nil nil nil nil + ?›2](4M›0](B ?›2](38›0](B ?›2](4#›0](B ?›2](4'›0](B ?›2](3B›0](B nil ?›2](4Q›0](B ?›2](4k›0](B ?›2](3Z›0](B nil ?›2](4)›0](B ?›2](4U›0](B ?›2](4Y›0](B ?›2](3T›0](B ?›2](4[›0](B ?›2](3<›0](B + ?›2](4e›0](B ?›2](4S›0](B ?›2](3F›0](B ?›2](45›0](B ?›2](4%›0](B nil nil ?›2](3^›0](B ?›2](3D›0](B ?›2](4_›0](B ?›2](3H›0](B nil ?| nil nil]) ((eq arabic-input-keymap 'arabic-keymap-1) - [?[2](3![0](B ?[2](3"[0](B nil nil nil nil nil nil ?[2](3#[0](B ?[2](3$[0](B nil nil ?[2](3%[0](B nil ?[2](3&[0](B nil - ?(2![0](B ?(2"[0](B ?(2#[0](B ?(2$[0](B ?(2%[0](B ?(2&[0](B ?(2'[0](B ?(2([0](B ?(2)[0](B ?(2*[0](B ?[2](3'[0](B ?[2](4U[0](B ?[2](3*[0](B nil ?[2](3+[0](B ?[2](3)[0](B - nil nil ?[2](3h[0](B nil nil nil ?[2](4e[0](B ?[2](3.[0](B nil nil nil nil nil nil nil nil - nil nil nil nil nil nil ?[2](30[0](B nil nil nil nil ?[2](4)[0](B nil ?[2](4g[0](B nil nil - nli ?[2](49[0](B ?[2](3H[0](B ?[2](3D[0](B ?[2](4_[0](B ?[2](4S[0](B ?[2](4#[0](B ?[2](38[0](B ?[2](4%[0](B nil ?[2](4Y[0](B ?[2](4[[0](B ?[2](3T[0](B ?[2](3^[0](B ?[2](3F[0](B ?[2](41[0](B - ?[2](4-[0](B ?[2](4A[0](B ?[2](4Q[0](B ?[2](45[0](B ?[2](4O[0](B ?[2](3Z[0](B ?[2](3B[0](B ?[2](4=[0](B ?[2](4E[0](B ?[2](4M[0](B ?[2](4I[0](B nil nli nil nil ]) + [?›2](3!›0](B ?›2](3"›0](B nil nil nil nil nil nil ?›2](3#›0](B ?›2](3$›0](B nil nil ?›2](3%›0](B nil ?›2](3&›0](B nil + ?(2!(B ?(2"(B ?(2#(B ?(2$(B ?(2%(B ?(2&(B ?(2'(B ?(2((B ?(2)(B ?(2*(B ?›2](3'›0](B ?›2](4U›0](B ?›2](3*›0](B nil ?›2](3+›0](B ?›2](3)›0](B + nil nil ?›2](3h›0](B nil nil nil ?›2](4e›0](B ?›2](3.›0](B nil nil nil nil nil nil nil nil + nil nil nil nil nil nil ?›2](30›0](B nil nil nil nil ?›2](4)›0](B nil ?›2](4g›0](B nil nil + nli ?›2](49›0](B ?›2](3H›0](B ?›2](3D›0](B ?›2](4_›0](B ?›2](4S›0](B ?›2](4#›0](B ?›2](38›0](B ?›2](4%›0](B nil ?›2](4Y›0](B ?›2](4[›0](B ?›2](3T›0](B ?›2](3^›0](B ?›2](3F›0](B ?›2](41›0](B + ?›2](4-›0](B ?›2](4A›0](B ?›2](4Q›0](B ?›2](45›0](B ?›2](4O›0](B ?›2](3Z›0](B ?›2](3B›0](B ?›2](4=›0](B ?›2](4E›0](B ?›2](4M›0](B ?›2](4I›0](B nil nli nil nil ]) (t - [?[2](3![0](B ?[2](3"[0](B ?\" ?# ?$ ?% ?& ?' ?[2](3#[0](B ?[2](3$[0](B ?* ?+ ?[2](3^[0](B ?- ?[2](3H[0](B ?[2](4I[0](B - ?(2![0](B ?(2"[0](B ?(2#[0](B ?(2$[0](B ?(2%[0](B ?(2&[0](B ?(2'[0](B ?(2([0](B ?(2)[0](B ?(2*[0](B ?[2](3'[0](B ?[2](4U[0](B ?, ?= ?. ?[2](3)[0](B - ?@ nil ?[2](3b[0](B ?{ ?[ nil ?] ?[2](3c[0](B ?[2](30[0](B nil nil ?[2](3%[0](B ?/ ?` ?[2](3.[0](B nil - ?[2](3([0](B nil nil nil ?[2](3d[0](B ?' ?} nil nil ?[2](34[0](B ?~ ?[2](4)[0](B ?\\ ?[2](3B[0](B ?^ ?_ - ?[2](3D[0](B ?[2](49[0](B ?[2](3e[0](B ?[2](32[0](B ?[2](4_[0](B ?[2](4'[0](B ?[2](4#[0](B ?[2](4Y[0](B ?[2](38[0](B ?[2](3Z[0](B ?[2](4%[0](B ?[2](4[[0](B ?[2](3T[0](B ?[2](3<[0](B ?[2](4][0](B ?[2](41[0](B - ?[2](4-[0](B ?[2](4A[0](B ?[2](4S[0](B ?[2](45[0](B ?[2](4Q[0](B ?[2](4M[0](B ?[2](3F[0](B ?[2](4=[0](B ?[2](3-[0](B ?[2](4O[0](B ?[2](4![0](B ?< ?| ?> nil ]))) + [?›2](3!›0](B ?›2](3"›0](B ?\" ?# ?$ ?% ?& ?' ?›2](3#›0](B ?›2](3$›0](B ?* ?+ ?›2](3^›0](B ?- ?›2](3H›0](B ?›2](4I›0](B + ?(2!(B ?(2"(B ?(2#(B ?(2$(B ?(2%(B ?(2&(B ?(2'(B ?(2((B ?(2)(B ?(2*(B ?›2](3'›0](B ?›2](4U›0](B ?, ?= ?. ?›2](3)›0](B + ?@ nil ?›2](3b›0](B ?{ ?[ nil ?] ?›2](3c›0](B ?›2](30›0](B nil nil ?›2](3%›0](B ?/ ?` ?›2](3.›0](B nil + ?›2](3(›0](B nil nil nil ?›2](3d›0](B ?' ?} nil nil ?›2](34›0](B ?~ ?›2](4)›0](B ?\\ ?›2](3B›0](B ?^ ?_ + ?›2](3D›0](B ?›2](49›0](B ?›2](3e›0](B ?›2](32›0](B ?›2](4_›0](B ?›2](4'›0](B ?›2](4#›0](B ?›2](4Y›0](B ?›2](38›0](B ?›2](3Z›0](B ?›2](4%›0](B ?›2](4[›0](B ?›2](3T›0](B ?›2](3<›0](B ?›2](4]›0](B ?›2](41›0](B + ?›2](4-›0](B ?›2](4A›0](B ?›2](4S›0](B ?›2](45›0](B ?›2](4Q›0](B ?›2](4M›0](B ?›2](3F›0](B ?›2](4=›0](B ?›2](3-›0](B ?›2](4O›0](B ?›2](4!›0](B ?< ?| ?> nil ]))) (defvar arabic-mode-map (let ((map (make-keymap))) @@ -168,17 +168,17 @@ Keymap in Arabic-mode +----------------------------------------------------------------+ - |! [2](3"[0](B |@ |# |$ |% |^ |& |* |( [2](3#[0](B |) [2](3$[0](B |_ |+ |~ | - |1 (2"[0](B |2 (2#[0](B |3 (2$[0](B |4 (2%[0](B |5 (2&[0](B |6 (2'[0](B |7 (2([0](B |8 (2)[0](B |9 (2*[0](B |0 (2![0](B |- |= |` [2](4M[0](B| + |! ›2](3"›0](B |@ |# |$ |% |^ |& |* |( ›2](3#›0](B |) ›2](3$›0](B |_ |+ |~ | + |1 (2"(B |2 (2#(B |3 (2$(B |4 (2%(B |5 (2&(B |6 (2'(B |7 (2((B |8 (2)(B |9 (2*(B |0 (2!(B |- |= |` ›2](4M›0](B| +----------------------------------------------------------------+ - |Q |W |E |R |T [2](4E[0](B|Y |U |I |O |P | - |q [2](4S[0](B|w [2](3^[0](B |e |r [2](3F[0](B |t [2](4%[0](B|y [2](4_[0](B|u |i |o [2](3<[0](B |p [2](4e[0](B| + |Q |W |E |R |T ›2](4E›0](B|Y |U |I |O |P | + |q ›2](4S›0](B|w ›2](3^›0](B |e |r ›2](3F›0](B |t ›2](4%›0](B|y ›2](4_›0](B|u |i |o ›2](3<›0](B |p ›2](4e›0](B| +--------------------------------------------------------+ - |A [2](4][0](B|S [2](4=[0](B|D [2](4A[0](B|F |G [2](4O[0](B|H [2](4-[0](B|J |K [2](41[0](B|L |: [2](3'[0](B |\" [2](3-[0](B | - |a [2](38[0](B |s [2](45[0](B|d [2](3B[0](B |f [2](4Q[0](B|g [2](4k[0](B|h [2](3Z[0](B |j [2](4)[0](B|k [2](4U[0](B|l [2](4Y[0](B|; [2](3([0](B |' | + |A ›2](4]›0](B|S ›2](4=›0](B|D ›2](4A›0](B|F |G ›2](4O›0](B|H ›2](4-›0](B|J |K ›2](41›0](B|L |: ›2](3'›0](B |\" ›2](3-›0](B | + |a ›2](38›0](B |s ›2](45›0](B|d ›2](3B›0](B |f ›2](4Q›0](B|g ›2](4k›0](B|h ›2](3Z›0](B |j ›2](4)›0](B|k ›2](4U›0](B|l ›2](4Y›0](B|; ›2](3(›0](B |' | +------------------------------------------------------+ - |Z [2](4I[0](B|X [2](3h[0](B |C [2](4g[0](B|V |B |N |M |< [2](3*[0](B |> [2](3+[0](B |? [2](3)[0](B | - |z [2](3H[0](B |x [2](3D[0](B |c [2](4'[0](B|v |b [2](4#[0](B|n [2](4[[0](B|m [2](3T[0](B |, [2](3%[0](B |. [2](3&[0](B |/ [2](49[0](B| + |Z ›2](4I›0](B|X ›2](3h›0](B |C ›2](4g›0](B|V |B |N |M |< ›2](3*›0](B |> ›2](3+›0](B |? ›2](3)›0](B | + |z ›2](3H›0](B |x ›2](3D›0](B |c ›2](4'›0](B|v |b ›2](4#›0](B|n ›2](4[›0](B|m ›2](3T›0](B |, ›2](3%›0](B |. ›2](3&›0](B |/ ›2](49›0](B| +-------------------------------------------------+") ((eq arabic-input-keymap 'arabic-keymap-1) @@ -186,17 +186,17 @@ Keymap in Arabic-mode +--------------+ | ALT SHIFT| +-------------------------------------------------+ |ASCII ARABIC| -| [2](3"[0](B | | | | | | | | [2](3#[0](B | [2](3$[0](B | +--------------+ -|1 (2"[0](B |2 (2#[0](B |3 (2$[0](B |4 (2%[0](B |5 (2&[0](B |6 (2'[0](B |7 (2([0](B |8 (2)[0](B |9 (2*[0](B |0 (2![0](B | +| ›2](3"›0](B | | | | | | | | ›2](3#›0](B | ›2](3$›0](B | +--------------+ +|1 (2"(B |2 (2#(B |3 (2$(B |4 (2%(B |5 (2&(B |6 (2'(B |7 (2((B |8 (2)(B |9 (2*(B |0 (2!(B | +-------------------------------------------------------------+ | | | | | | | | | | | | | - |q [2](4A[0](B|w [2](4=[0](B|e [2](4S[0](B|r [2](4Q[0](B|t [2](4O[0](B|y [2](4M[0](B|u [2](3Z[0](B |i |o [2](41[0](B|p [2](4-[0](B|[ [2](4)[0](B|] [2](4g[0](B| + |q ›2](4A›0](B|w ›2](4=›0](B|e ›2](4S›0](B|r ›2](4Q›0](B|t ›2](4O›0](B|y ›2](4M›0](B|u ›2](3Z›0](B |i |o ›2](41›0](B|p ›2](4-›0](B|[ ›2](4)›0](B|] ›2](4g›0](B| +-----------------------------------------------------------+ - | | | | [2](4e[0](B| [2](3.[0](B | | | | |[2](4k[0](B [2](3'[0](B| - |a [2](49[0](B|s [2](45[0](B|d [2](4_[0](B|f [2](4#[0](B|g [2](38[0](B |h [2](4%[0](B|j [2](4Y[0](B|k [2](4[[0](B|l [2](3T[0](B |; [2](4U[0](B| + | | | | ›2](4e›0](B| ›2](3.›0](B | | | | |›2](4k›0](B ›2](3'›0](B| + |a ›2](49›0](B|s ›2](45›0](B|d ›2](4_›0](B|f ›2](4#›0](B|g ›2](38›0](B |h ›2](4%›0](B|j ›2](4Y›0](B|k ›2](4[›0](B|l ›2](3T›0](B |; ›2](4U›0](B| +---------------------------------------------------+ - | | | |[2](3-[0](B [2](30[0](B | [2](3h[0](B | | | [2](3*[0](B | [2](3+[0](B | [2](3)[0](B | - |z [2](4I[0](B|x [2](4E[0](B|c [2](3D[0](B |v [2](3B[0](B |b [2](3H[0](B |n [2](3F[0](B |m [2](3^[0](B |, [2](3%[0](B |. [2](3&[0](B |/ | + | | | |›2](3-›0](B ›2](30›0](B | ›2](3h›0](B | | | ›2](3*›0](B | ›2](3+›0](B | ›2](3)›0](B | + |z ›2](4I›0](B|x ›2](4E›0](B|c ›2](3D›0](B |v ›2](3B›0](B |b ›2](3H›0](B |n ›2](3F›0](B |m ›2](3^›0](B |, ›2](3%›0](B |. ›2](3&›0](B |/ | +-------------------------------------------------+") (t @@ -207,17 +207,17 @@ +-----------------+ || || |\\ \\| +-----------------------------------------------------------+ -|! [2](3"[0](B|@ @|# #|$ $|% %|^ ^|& &|* *|( [2](3#[0](B|) [2](3$[0](B|_ _|+ +| -|1 (2"[0](B|2 (2#[0](B|3 (2$[0](B|4 (2%[0](B|5 (2&[0](B|6 (2'[0](B|7 (2([0](B|8 (2)[0](B|9 (2*[0](B|0 (2![0](B|- -|= =| +|! ›2](3"›0](B|@ @|# #|$ $|% %|^ ^|& &|* *|( ›2](3#›0](B|) ›2](3$›0](B|_ _|+ +| +|1 (2"(B|2 (2#(B|3 (2$(B|4 (2%(B|5 (2&(B|6 (2'(B|7 (2((B|8 (2)(B|9 (2*(B|0 (2!(B|- -|= =| +-------------------------------------------------------------+ - |Q |W |E |R |T [2](3d[0](B|Y [2](34[0](B|U '|I |O |P [2](3([0](B|{ <|} >| - | [2](4A[0](B| [2](4=[0](B| [2](4'[0](B| [2](4S[0](B| [2](4Q[0](B| [2](4O[0](B| [2](4M[0](B| [2](3Z[0](B| [2](41[0](B| [2](4-[0](B|[ [2](4)[0](B|] [2](3B[0](B| + |Q |W |E |R |T ›2](3d›0](B|Y ›2](34›0](B|U '|I |O |P ›2](3(›0](B|{ <|} >| + | ›2](4A›0](B| ›2](4=›0](B| ›2](4'›0](B| ›2](4S›0](B| ›2](4Q›0](B| ›2](4O›0](B| ›2](4M›0](B| ›2](3Z›0](B| ›2](41›0](B| ›2](4-›0](B|[ ›2](4)›0](B|] ›2](3B›0](B| +-------------------------------------------------------------+ - |A |S |D [|F ]|G [2](3c[0](B|H [2](30[0](B|J |K [2](3%[0](B|L /|: [2](3'[0](B|\" \" |~[2](3,[0](B | - | [2](49[0](B| [2](45[0](B| [2](4_[0](B| [2](4#[0](B| [2](4Y[0](B| [2](38[0](B| [2](4%[0](B| [2](4[[0](B| [2](3T[0](B|\; [2](4U[0](B|' [2](4E[0](B|` [2](3D[0](B| + |A |S |D [|F ]|G ›2](3c›0](B|H ›2](30›0](B|J |K ›2](3%›0](B|L /|: ›2](3'›0](B|\" \" |~›2](3,›0](B | + | ›2](49›0](B| ›2](45›0](B| ›2](4_›0](B| ›2](4#›0](B| ›2](4Y›0](B| ›2](38›0](B| ›2](4%›0](B| ›2](4[›0](B| ›2](3T›0](B|\; ›2](4U›0](B|' ›2](4E›0](B|` ›2](3D›0](B| +-----------------------------------------------------------+ - |Z ~|X |C {|V }|B [2](3b[0](B|N [2](3.[0](B|M `|< ,|> [2](3&[0](B|? [2](3)[0](B| - | [2](4![0](B| [2](3-[0](B| [2](32[0](B| [2](3F[0](B| [2](3e[0](B| [2](4][0](B| [2](3<[0](B|, [2](3^[0](B|. [2](3H[0](B|/ [2](4I[0](B| + |Z ~|X |C {|V }|B ›2](3b›0](B|N ›2](3.›0](B|M `|< ,|> ›2](3&›0](B|? ›2](3)›0](B| + | ›2](4!›0](B| ›2](3-›0](B| ›2](32›0](B| ›2](3F›0](B| ›2](3e›0](B| ›2](4]›0](B| ›2](3<›0](B|, ›2](3^›0](B|. ›2](3H›0](B|/ ›2](4I›0](B| +-------------------------------------------------+")) "Document shown by arabic-help (M-z).") @@ -239,7 +239,7 @@ (progn (setq arabic-mode t arabic-input-arabic-char t - arabic-mode-indicator " [2](3=a:GJ[0](B") + arabic-mode-indicator " ›2](3=a:GJ›0](B") (redraw-modeline t) (message "M-z to display arabic keymap.") (run-hooks 'arabic-mode-hooks)))) @@ -253,150 +253,150 @@ (redraw-modeline t)))) (defconst *arabic-adding-connection-to-right* - '((?[2](3.[0](B . ?[2](3/[0](B ) (?[2](3/[0](B . ?[2](3/[0](B ) - (?[2](30[0](B . ?[2](31[0](B ) (?[2](31[0](B . ?[2](31[0](B ) - (?[2](32[0](B . ?[2](33[0](B ) (?[2](33[0](B . ?[2](33[0](B ) - (?[2](34[0](B . ?[2](35[0](B ) (?[2](35[0](B . ?[2](35[0](B ) - (?[2](4![0](B . ?[2](4"[0](B) (?[2](36[0](B . ?[2](37[0](B ) (?[2](37[0](B . ?[2](37[0](B ) (?[2](4"[0](B . ?[2](4"[0](B) - (?[2](36[0](B . ?[2](37[0](B ) (?[2](37[0](B . ?[2](37[0](B ) - (?[2](38[0](B . ?[2](39[0](B ) (?[2](39[0](B . ?[2](39[0](B ) - (?[2](4#[0](B . ?[2](4$[0](B) (?[2](3:[0](B . ?[2](3;[0](B ) (?[2](3;[0](B . ?[2](3;[0](B ) (?[2](4$[0](B . ?[2](4$[0](B) - (?[2](3<[0](B . ?[2](3=[0](B ) (?[2](3=[0](B . ?[2](3=[0](B ) - (?[2](4%[0](B . ?[2](4&[0](B) (?[2](3>[0](B . ?[2](3?[0](B ) (?[2](3?[0](B . ?[2](3?[0](B ) (?[2](4&[0](B . ?[2](4&[0](B) - (?[2](4'[0](B . ?[2](4([0](B) (?[2](3@[0](B . ?[2](3A[0](B ) (?[2](3A[0](B . ?[2](3A[0](B ) (?[2](4([0](B . ?[2](4([0](B) - (?[2](4)[0](B . ?[2](4,[0](B) (?[2](4*[0](B . ?[2](4+[0](B) (?[2](4+[0](B . ?[2](4+[0](B) (?[2](4,[0](B . ?[2](4,[0](B) - (?[2](4-[0](B . ?[2](40[0](B) (?[2](4.[0](B . ?[2](4/[0](B) (?[2](4/[0](B . ?[2](4/[0](B) (?[2](40[0](B . ?[2](40[0](B) - (?[2](41[0](B . ?[2](44[0](B) (?[2](42[0](B . ?[2](43[0](B) (?[2](43[0](B . ?[2](43[0](B) (?[2](44[0](B . ?[2](44[0](B) - (?[2](3B[0](B . ?[2](3C[0](B ) (?[2](3C[0](B . ?[2](3C[0](B ) - (?[2](3D[0](B . ?[2](3E[0](B ) (?[2](3E[0](B . ?[2](3E[0](B ) - (?[2](3F[0](B . ?[2](3G[0](B ) (?[2](3G[0](B . ?[2](3G[0](B ) - (?[2](3H[0](B . ?[2](3I[0](B ) (?[2](3I[0](B . ?[2](3I[0](B ) - (?[2](45[0](B . ?[2](48[0](B) (?[2](46[0](B . ?[2](47[0](B) (?[2](47[0](B . ?[2](47[0](B) (?[2](48[0](B . ?[2](48[0](B) - (?[2](49[0](B . ?[2](4<[0](B) (?[2](4:[0](B . ?[2](4;[0](B) (?[2](4;[0](B . ?[2](4;[0](B) (?[2](4<[0](B . ?[2](4<[0](B) - (?[2](4=[0](B . ?[2](4@[0](B) (?[2](4>[0](B . ?[2](4?[0](B) (?[2](4?[0](B . ?[2](4?[0](B) (?[2](4@[0](B . ?[2](4@[0](B) - (?[2](4A[0](B . ?[2](4D[0](B) (?[2](4B[0](B . ?[2](4C[0](B) (?[2](4C[0](B . ?[2](4C[0](B) (?[2](4D[0](B . ?[2](4D[0](B) - (?[2](4E[0](B . ?[2](4H[0](B) (?[2](4F[0](B . ?[2](4G[0](B) (?[2](4G[0](B . ?[2](4G[0](B) (?[2](4H[0](B . ?[2](4H[0](B) - (?[2](4I[0](B . ?[2](4L[0](B) (?[2](4J[0](B . ?[2](4K[0](B) (?[2](4K[0](B . ?[2](4K[0](B) (?[2](4L[0](B . ?[2](4L[0](B) - (?[2](4M[0](B . ?[2](4N[0](B) (?[2](3J[0](B . ?[2](3K[0](B ) (?[2](3K[0](B . ?[2](3K[0](B ) (?[2](4N[0](B . ?[2](4N[0](B) - (?[2](4O[0](B . ?[2](4P[0](B) (?[2](3L[0](B . ?[2](3M[0](B ) (?[2](3M[0](B . ?[2](3M[0](B ) (?[2](4P[0](B . ?[2](4P[0](B) - (?[2](4Q[0](B . ?[2](4R[0](B) (?[2](3N[0](B . ?[2](3O[0](B ) (?[2](3O[0](B . ?[2](3O[0](B ) (?[2](4R[0](B . ?[2](4R[0](B) - (?[2](4S[0](B . ?[2](4T[0](B) (?[2](3P[0](B . ?[2](3Q[0](B ) (?[2](3Q[0](B . ?[2](3Q[0](B ) (?[2](4T[0](B . ?[2](4T[0](B) - (?[2](4U[0](B . ?[2](4X[0](B) (?[2](4V[0](B . ?[2](4W[0](B) (?[2](4W[0](B . ?[2](4W[0](B) (?[2](4X[0](B . ?[2](4X[0](B) - (?[2](4Y[0](B . ?[2](4Z[0](B) (?[2](3R[0](B . ?[2](3S[0](B ) (?[2](3S[0](B . ?[2](3S[0](B ) (?[2](4Z[0](B . ?[2](4Z[0](B) - (?[2](3T[0](B . ?[2](3W[0](B ) (?[2](3U[0](B . ?[2](3V[0](B ) (?[2](3V[0](B . ?[2](3V[0](B ) (?[2](3W[0](B . ?[2](3W[0](B ) - (?[2](4[[0](B . ?[2](4\[0](B) (?[2](3X[0](B . ?[2](3Y[0](B ) (?[2](3Y[0](B . ?[2](3Y[0](B ) (?[2](4\[0](B . ?[2](4\[0](B) - (?[2](3Z[0](B . ?[2](3][0](B ) (?[2](3[[0](B . ?[2](3\[0](B ) (?[2](3\[0](B . ?[2](3\[0](B ) (?[2](3][0](B . ?[2](3][0](B ) - (?[2](3^[0](B . ?[2](3_[0](B ) (?[2](3_[0](B . ?[2](3_[0](B ) - (?[2](4][0](B . ?[2](4^[0](B) (?[2](4^[0](B . ?[2](4^[0](B) - (?[2](4_[0](B . ?[2](4`[0](B) (?[2](3`[0](B . ?[2](3a[0](B ) (?[2](3a[0](B . ?[2](3a[0](B ) (?[2](4`[0](B . ?[2](4`[0](B) - (?[2](3b[0](B . ?[2](4a[0](B) (?[2](4a[0](B . ?[2](4a[0](B) - (?[2](3c[0](B . ?[2](4b[0](B) (?[2](4b[0](B . ?[2](4b[0](B) - (?[2](3d[0](B . ?[2](4c[0](B) (?[2](4c[0](B . ?[2](4c[0](B) - (?[2](3e[0](B . ?[2](4d[0](B) (?[2](4d[0](B . ?[2](4d[0](B) - (?[2](4e[0](B . ?[2](4f[0](B) (?[2](3f[0](B . ?[2](3g[0](B ) (?[2](3g[0](B . ?[2](3g[0](B ) (?[2](4f[0](B . ?[2](4f[0](B) - (?[2](4g[0](B . ?[2](4j[0](B) (?[2](4h[0](B . ?[2](4i[0](B) (?[2](4i[0](B . ?[2](4i[0](B) (?[2](4j[0](B . ?[2](4j[0](B) - (?[2](3h[0](B . ?[2](3i[0](B ) (?[2](3i[0](B . ?[2](3i[0](B ) - (?[2](4k[0](B . ?[2](4n[0](B) (?[2](4l[0](B . ?[2](4m[0](B) (?[2](4m[0](B . ?[2](4m[0](B) (?[2](4n[0](B . ?[2](4n[0](B))) + '((?›2](3.›0](B . ?›2](3/›0](B ) (?›2](3/›0](B . ?›2](3/›0](B ) + (?›2](30›0](B . ?›2](31›0](B ) (?›2](31›0](B . ?›2](31›0](B ) + (?›2](32›0](B . ?›2](33›0](B ) (?›2](33›0](B . ?›2](33›0](B ) + (?›2](34›0](B . ?›2](35›0](B ) (?›2](35›0](B . ?›2](35›0](B ) + (?›2](4!›0](B . ?›2](4"›0](B) (?›2](36›0](B . ?›2](37›0](B ) (?›2](37›0](B . ?›2](37›0](B ) (?›2](4"›0](B . ?›2](4"›0](B) + (?›2](36›0](B . ?›2](37›0](B ) (?›2](37›0](B . ?›2](37›0](B ) + (?›2](38›0](B . ?›2](39›0](B ) (?›2](39›0](B . ?›2](39›0](B ) + (?›2](4#›0](B . ?›2](4$›0](B) (?›2](3:›0](B . ?›2](3;›0](B ) (?›2](3;›0](B . ?›2](3;›0](B ) (?›2](4$›0](B . ?›2](4$›0](B) + (?›2](3<›0](B . ?›2](3=›0](B ) (?›2](3=›0](B . ?›2](3=›0](B ) + (?›2](4%›0](B . ?›2](4&›0](B) (?›2](3>›0](B . ?›2](3?›0](B ) (?›2](3?›0](B . ?›2](3?›0](B ) (?›2](4&›0](B . ?›2](4&›0](B) + (?›2](4'›0](B . ?›2](4(›0](B) (?›2](3@›0](B . ?›2](3A›0](B ) (?›2](3A›0](B . ?›2](3A›0](B ) (?›2](4(›0](B . ?›2](4(›0](B) + (?›2](4)›0](B . ?›2](4,›0](B) (?›2](4*›0](B . ?›2](4+›0](B) (?›2](4+›0](B . ?›2](4+›0](B) (?›2](4,›0](B . ?›2](4,›0](B) + (?›2](4-›0](B . ?›2](40›0](B) (?›2](4.›0](B . ?›2](4/›0](B) (?›2](4/›0](B . ?›2](4/›0](B) (?›2](40›0](B . ?›2](40›0](B) + (?›2](41›0](B . ?›2](44›0](B) (?›2](42›0](B . ?›2](43›0](B) (?›2](43›0](B . ?›2](43›0](B) (?›2](44›0](B . ?›2](44›0](B) + (?›2](3B›0](B . ?›2](3C›0](B ) (?›2](3C›0](B . ?›2](3C›0](B ) + (?›2](3D›0](B . ?›2](3E›0](B ) (?›2](3E›0](B . ?›2](3E›0](B ) + (?›2](3F›0](B . ?›2](3G›0](B ) (?›2](3G›0](B . ?›2](3G›0](B ) + (?›2](3H›0](B . ?›2](3I›0](B ) (?›2](3I›0](B . ?›2](3I›0](B ) + (?›2](45›0](B . ?›2](48›0](B) (?›2](46›0](B . ?›2](47›0](B) (?›2](47›0](B . ?›2](47›0](B) (?›2](48›0](B . ?›2](48›0](B) + (?›2](49›0](B . ?›2](4<›0](B) (?›2](4:›0](B . ?›2](4;›0](B) (?›2](4;›0](B . ?›2](4;›0](B) (?›2](4<›0](B . ?›2](4<›0](B) + (?›2](4=›0](B . ?›2](4@›0](B) (?›2](4>›0](B . ?›2](4?›0](B) (?›2](4?›0](B . ?›2](4?›0](B) (?›2](4@›0](B . ?›2](4@›0](B) + (?›2](4A›0](B . ?›2](4D›0](B) (?›2](4B›0](B . ?›2](4C›0](B) (?›2](4C›0](B . ?›2](4C›0](B) (?›2](4D›0](B . ?›2](4D›0](B) + (?›2](4E›0](B . ?›2](4H›0](B) (?›2](4F›0](B . ?›2](4G›0](B) (?›2](4G›0](B . ?›2](4G›0](B) (?›2](4H›0](B . ?›2](4H›0](B) + (?›2](4I›0](B . ?›2](4L›0](B) (?›2](4J›0](B . ?›2](4K›0](B) (?›2](4K›0](B . ?›2](4K›0](B) (?›2](4L›0](B . ?›2](4L›0](B) + (?›2](4M›0](B . ?›2](4N›0](B) (?›2](3J›0](B . ?›2](3K›0](B ) (?›2](3K›0](B . ?›2](3K›0](B ) (?›2](4N›0](B . ?›2](4N›0](B) + (?›2](4O›0](B . ?›2](4P›0](B) (?›2](3L›0](B . ?›2](3M›0](B ) (?›2](3M›0](B . ?›2](3M›0](B ) (?›2](4P›0](B . ?›2](4P›0](B) + (?›2](4Q›0](B . ?›2](4R›0](B) (?›2](3N›0](B . ?›2](3O›0](B ) (?›2](3O›0](B . ?›2](3O›0](B ) (?›2](4R›0](B . ?›2](4R›0](B) + (?›2](4S›0](B . ?›2](4T›0](B) (?›2](3P›0](B . ?›2](3Q›0](B ) (?›2](3Q›0](B . ?›2](3Q›0](B ) (?›2](4T›0](B . ?›2](4T›0](B) + (?›2](4U›0](B . ?›2](4X›0](B) (?›2](4V›0](B . ?›2](4W›0](B) (?›2](4W›0](B . ?›2](4W›0](B) (?›2](4X›0](B . ?›2](4X›0](B) + (?›2](4Y›0](B . ?›2](4Z›0](B) (?›2](3R›0](B . ?›2](3S›0](B ) (?›2](3S›0](B . ?›2](3S›0](B ) (?›2](4Z›0](B . ?›2](4Z›0](B) + (?›2](3T›0](B . ?›2](3W›0](B ) (?›2](3U›0](B . ?›2](3V›0](B ) (?›2](3V›0](B . ?›2](3V›0](B ) (?›2](3W›0](B . ?›2](3W›0](B ) + (?›2](4[›0](B . ?›2](4\›0](B) (?›2](3X›0](B . ?›2](3Y›0](B ) (?›2](3Y›0](B . ?›2](3Y›0](B ) (?›2](4\›0](B . ?›2](4\›0](B) + (?›2](3Z›0](B . ?›2](3]›0](B ) (?›2](3[›0](B . ?›2](3\›0](B ) (?›2](3\›0](B . ?›2](3\›0](B ) (?›2](3]›0](B . ?›2](3]›0](B ) + (?›2](3^›0](B . ?›2](3_›0](B ) (?›2](3_›0](B . ?›2](3_›0](B ) + (?›2](4]›0](B . ?›2](4^›0](B) (?›2](4^›0](B . ?›2](4^›0](B) + (?›2](4_›0](B . ?›2](4`›0](B) (?›2](3`›0](B . ?›2](3a›0](B ) (?›2](3a›0](B . ?›2](3a›0](B ) (?›2](4`›0](B . ?›2](4`›0](B) + (?›2](3b›0](B . ?›2](4a›0](B) (?›2](4a›0](B . ?›2](4a›0](B) + (?›2](3c›0](B . ?›2](4b›0](B) (?›2](4b›0](B . ?›2](4b›0](B) + (?›2](3d›0](B . ?›2](4c›0](B) (?›2](4c›0](B . ?›2](4c›0](B) + (?›2](3e›0](B . ?›2](4d›0](B) (?›2](4d›0](B . ?›2](4d›0](B) + (?›2](4e›0](B . ?›2](4f›0](B) (?›2](3f›0](B . ?›2](3g›0](B ) (?›2](3g›0](B . ?›2](3g›0](B ) (?›2](4f›0](B . ?›2](4f›0](B) + (?›2](4g›0](B . ?›2](4j›0](B) (?›2](4h›0](B . ?›2](4i›0](B) (?›2](4i›0](B . ?›2](4i›0](B) (?›2](4j›0](B . ?›2](4j›0](B) + (?›2](3h›0](B . ?›2](3i›0](B ) (?›2](3i›0](B . ?›2](3i›0](B ) + (?›2](4k›0](B . ?›2](4n›0](B) (?›2](4l›0](B . ?›2](4m›0](B) (?›2](4m›0](B . ?›2](4m›0](B) (?›2](4n›0](B . ?›2](4n›0](B))) (defconst *arabic-adding-connection-to-left* - '((?[2](4![0](B . ?[2](36[0](B ) (?[2](36[0](B . ?[2](36[0](B ) (?[2](37[0](B . ?[2](37[0](B ) (?[2](4"[0](B . ?[2](37[0](B) - (?[2](4#[0](B . ?[2](3:[0](B ) (?[2](3:[0](B . ?[2](3:[0](B ) (?[2](3;[0](B . ?[2](3;[0](B ) (?[2](4$[0](B . ?[2](3;[0](B ) - (?[2](4%[0](B . ?[2](3>[0](B ) (?[2](3>[0](B . ?[2](3>[0](B ) (?[2](3?[0](B . ?[2](3?[0](B ) (?[2](4&[0](B . ?[2](3?[0](B ) - (?[2](4'[0](B . ?[2](3@[0](B ) (?[2](3@[0](B . ?[2](3@[0](B ) (?[2](3A[0](B . ?[2](3A[0](B ) (?[2](4([0](B . ?[2](3A[0](B ) - (?[2](4)[0](B . ?[2](4*[0](B) (?[2](4*[0](B . ?[2](4*[0](B) (?[2](4+[0](B . ?[2](4+[0](B) (?[2](4,[0](B . ?[2](4+[0](B) - (?[2](4-[0](B . ?[2](4.[0](B) (?[2](4.[0](B . ?[2](4.[0](B) (?[2](4/[0](B . ?[2](4/[0](B) (?[2](40[0](B . ?[2](4/[0](B) - (?[2](41[0](B . ?[2](42[0](B) (?[2](42[0](B . ?[2](42[0](B) (?[2](43[0](B . ?[2](43[0](B) (?[2](44[0](B . ?[2](43[0](B) - (?[2](45[0](B . ?[2](46[0](B) (?[2](46[0](B . ?[2](46[0](B) (?[2](47[0](B . ?[2](47[0](B) (?[2](48[0](B . ?[2](47[0](B) - (?[2](49[0](B . ?[2](4:[0](B) (?[2](4:[0](B . ?[2](4:[0](B) (?[2](4;[0](B . ?[2](4;[0](B) (?[2](4<[0](B . ?[2](4;[0](B) - (?[2](4=[0](B . ?[2](4>[0](B) (?[2](4>[0](B . ?[2](4>[0](B) (?[2](4?[0](B . ?[2](4?[0](B) (?[2](4@[0](B . ?[2](4?[0](B) - (?[2](4A[0](B . ?[2](4B[0](B) (?[2](4B[0](B . ?[2](4B[0](B) (?[2](4C[0](B . ?[2](4C[0](B) (?[2](4D[0](B . ?[2](4C[0](B) - (?[2](4E[0](B . ?[2](4F[0](B) (?[2](4F[0](B . ?[2](4F[0](B) (?[2](4G[0](B . ?[2](4G[0](B) (?[2](4H[0](B . ?[2](4G[0](B) - (?[2](4I[0](B . ?[2](4J[0](B) (?[2](4J[0](B . ?[2](4J[0](B) (?[2](4K[0](B . ?[2](4K[0](B) (?[2](4L[0](B . ?[2](4K[0](B) - (?[2](4M[0](B . ?[2](3J[0](B ) (?[2](3J[0](B . ?[2](3J[0](B ) (?[2](3K[0](B . ?[2](3K[0](B ) (?[2](4N[0](B . ?[2](3K[0](B ) - (?[2](4O[0](B . ?[2](3L[0](B ) (?[2](3L[0](B . ?[2](3L[0](B ) (?[2](3M[0](B . ?[2](3M[0](B ) (?[2](4P[0](B . ?[2](3M[0](B ) - (?[2](4Q[0](B . ?[2](3N[0](B ) (?[2](3N[0](B . ?[2](3N[0](B ) (?[2](3O[0](B . ?[2](3O[0](B ) (?[2](4R[0](B . ?[2](3O[0](B ) - (?[2](4S[0](B . ?[2](3P[0](B ) (?[2](3P[0](B . ?[2](3P[0](B ) (?[2](3Q[0](B . ?[2](3Q[0](B ) (?[2](4T[0](B . ?[2](3Q[0](B ) - (?[2](4U[0](B . ?[2](4V[0](B) (?[2](4V[0](B . ?[2](4V[0](B) (?[2](4W[0](B . ?[2](4W[0](B) (?[2](4X[0](B . ?[2](4W[0](B) - (?[2](4Y[0](B . ?[2](3R[0](B ) (?[2](3R[0](B . ?[2](3R[0](B ) (?[2](3S[0](B . ?[2](3S[0](B ) (?[2](4Z[0](B . ?[2](3S[0](B ) - (?[2](3T[0](B . ?[2](3U[0](B ) (?[2](3U[0](B . ?[2](3U[0](B ) (?[2](3V[0](B . ?[2](3V[0](B ) (?[2](3W[0](B . ?[2](3V[0](B ) - (?[2](4[[0](B . ?[2](3X[0](B ) (?[2](3X[0](B . ?[2](3X[0](B ) (?[2](3Y[0](B . ?[2](3Y[0](B ) (?[2](4\[0](B . ?[2](3Y[0](B ) - (?[2](3Z[0](B . ?[2](3[[0](B ) (?[2](3[[0](B . ?[2](3[[0](B ) (?[2](3\[0](B . ?[2](3\[0](B ) (?[2](3][0](B . ?[2](3\[0](B ) - (?[2](4_[0](B . ?[2](3`[0](B ) (?[2](3`[0](B . ?[2](3`[0](B ) (?[2](3a[0](B . ?[2](3a[0](B ) (?[2](4`[0](B . ?[2](3a[0](B ) - (?[2](4e[0](B . ?[2](3f[0](B ) (?[2](3f[0](B . ?[2](3f[0](B ) (?[2](3g[0](B . ?[2](3g[0](B ) (?[2](4f[0](B . ?[2](3g[0](B) - (?[2](4g[0](B . ?[2](4h[0](B) (?[2](4h[0](B . ?[2](4h[0](B) (?[2](4i[0](B . ?[2](4i[0](B) (?[2](4j[0](B . ?[2](4i[0](B) - (?[2](4k[0](B . ?[2](4l[0](B) (?[2](4l[0](B . ?[2](4l[0](B) (?[2](4m[0](B . ?[2](4m[0](B) (?[2](4n[0](B . ?[2](4m[0](B))) + '((?›2](4!›0](B . ?›2](36›0](B ) (?›2](36›0](B . ?›2](36›0](B ) (?›2](37›0](B . ?›2](37›0](B ) (?›2](4"›0](B . ?›2](37›0](B) + (?›2](4#›0](B . ?›2](3:›0](B ) (?›2](3:›0](B . ?›2](3:›0](B ) (?›2](3;›0](B . ?›2](3;›0](B ) (?›2](4$›0](B . ?›2](3;›0](B ) + (?›2](4%›0](B . ?›2](3>›0](B ) (?›2](3>›0](B . ?›2](3>›0](B ) (?›2](3?›0](B . ?›2](3?›0](B ) (?›2](4&›0](B . ?›2](3?›0](B ) + (?›2](4'›0](B . ?›2](3@›0](B ) (?›2](3@›0](B . ?›2](3@›0](B ) (?›2](3A›0](B . ?›2](3A›0](B ) (?›2](4(›0](B . ?›2](3A›0](B ) + (?›2](4)›0](B . ?›2](4*›0](B) (?›2](4*›0](B . ?›2](4*›0](B) (?›2](4+›0](B . ?›2](4+›0](B) (?›2](4,›0](B . ?›2](4+›0](B) + (?›2](4-›0](B . ?›2](4.›0](B) (?›2](4.›0](B . ?›2](4.›0](B) (?›2](4/›0](B . ?›2](4/›0](B) (?›2](40›0](B . ?›2](4/›0](B) + (?›2](41›0](B . ?›2](42›0](B) (?›2](42›0](B . ?›2](42›0](B) (?›2](43›0](B . ?›2](43›0](B) (?›2](44›0](B . ?›2](43›0](B) + (?›2](45›0](B . ?›2](46›0](B) (?›2](46›0](B . ?›2](46›0](B) (?›2](47›0](B . ?›2](47›0](B) (?›2](48›0](B . ?›2](47›0](B) + (?›2](49›0](B . ?›2](4:›0](B) (?›2](4:›0](B . ?›2](4:›0](B) (?›2](4;›0](B . ?›2](4;›0](B) (?›2](4<›0](B . ?›2](4;›0](B) + (?›2](4=›0](B . ?›2](4>›0](B) (?›2](4>›0](B . ?›2](4>›0](B) (?›2](4?›0](B . ?›2](4?›0](B) (?›2](4@›0](B . ?›2](4?›0](B) + (?›2](4A›0](B . ?›2](4B›0](B) (?›2](4B›0](B . ?›2](4B›0](B) (?›2](4C›0](B . ?›2](4C›0](B) (?›2](4D›0](B . ?›2](4C›0](B) + (?›2](4E›0](B . ?›2](4F›0](B) (?›2](4F›0](B . ?›2](4F›0](B) (?›2](4G›0](B . ?›2](4G›0](B) (?›2](4H›0](B . ?›2](4G›0](B) + (?›2](4I›0](B . ?›2](4J›0](B) (?›2](4J›0](B . ?›2](4J›0](B) (?›2](4K›0](B . ?›2](4K›0](B) (?›2](4L›0](B . ?›2](4K›0](B) + (?›2](4M›0](B . ?›2](3J›0](B ) (?›2](3J›0](B . ?›2](3J›0](B ) (?›2](3K›0](B . ?›2](3K›0](B ) (?›2](4N›0](B . ?›2](3K›0](B ) + (?›2](4O›0](B . ?›2](3L›0](B ) (?›2](3L›0](B . ?›2](3L›0](B ) (?›2](3M›0](B . ?›2](3M›0](B ) (?›2](4P›0](B . ?›2](3M›0](B ) + (?›2](4Q›0](B . ?›2](3N›0](B ) (?›2](3N›0](B . ?›2](3N›0](B ) (?›2](3O›0](B . ?›2](3O›0](B ) (?›2](4R›0](B . ?›2](3O›0](B ) + (?›2](4S›0](B . ?›2](3P›0](B ) (?›2](3P›0](B . ?›2](3P›0](B ) (?›2](3Q›0](B . ?›2](3Q›0](B ) (?›2](4T›0](B . ?›2](3Q›0](B ) + (?›2](4U›0](B . ?›2](4V›0](B) (?›2](4V›0](B . ?›2](4V›0](B) (?›2](4W›0](B . ?›2](4W›0](B) (?›2](4X›0](B . ?›2](4W›0](B) + (?›2](4Y›0](B . ?›2](3R›0](B ) (?›2](3R›0](B . ?›2](3R›0](B ) (?›2](3S›0](B . ?›2](3S›0](B ) (?›2](4Z›0](B . ?›2](3S›0](B ) + (?›2](3T›0](B . ?›2](3U›0](B ) (?›2](3U›0](B . ?›2](3U›0](B ) (?›2](3V›0](B . ?›2](3V›0](B ) (?›2](3W›0](B . ?›2](3V›0](B ) + (?›2](4[›0](B . ?›2](3X›0](B ) (?›2](3X›0](B . ?›2](3X›0](B ) (?›2](3Y›0](B . ?›2](3Y›0](B ) (?›2](4\›0](B . ?›2](3Y›0](B ) + (?›2](3Z›0](B . ?›2](3[›0](B ) (?›2](3[›0](B . ?›2](3[›0](B ) (?›2](3\›0](B . ?›2](3\›0](B ) (?›2](3]›0](B . ?›2](3\›0](B ) + (?›2](4_›0](B . ?›2](3`›0](B ) (?›2](3`›0](B . ?›2](3`›0](B ) (?›2](3a›0](B . ?›2](3a›0](B ) (?›2](4`›0](B . ?›2](3a›0](B ) + (?›2](4e›0](B . ?›2](3f›0](B ) (?›2](3f›0](B . ?›2](3f›0](B ) (?›2](3g›0](B . ?›2](3g›0](B ) (?›2](4f›0](B . ?›2](3g›0](B) + (?›2](4g›0](B . ?›2](4h›0](B) (?›2](4h›0](B . ?›2](4h›0](B) (?›2](4i›0](B . ?›2](4i›0](B) (?›2](4j›0](B . ?›2](4i›0](B) + (?›2](4k›0](B . ?›2](4l›0](B) (?›2](4l›0](B . ?›2](4l›0](B) (?›2](4m›0](B . ?›2](4m›0](B) (?›2](4n›0](B . ?›2](4m›0](B))) (defconst *arabic-removing-connection-from-right* - '((?[2](3/[0](B . ?[2](3.[0](B ) - (?[2](31[0](B . ?[2](30[0](B ) - (?[2](33[0](B . ?[2](32[0](B ) - (?[2](35[0](B . ?[2](34[0](B ) - (?[2](4"[0](B . ?[2](4![0](B) (?[2](37[0](B . ?[2](36[0](B ) - (?[2](39[0](B . ?[2](38[0](B ) - (?[2](4$[0](B . ?[2](4#[0](B) (?[2](3;[0](B . ?[2](3:[0](B ) - (?[2](3=[0](B . ?[2](3<[0](B ) - (?[2](4&[0](B . ?[2](4%[0](B) (?[2](3?[0](B . ?[2](3>[0](B ) - (?[2](4([0](B . ?[2](4'[0](B) (?[2](3A[0](B . ?[2](3@[0](B ) - (?[2](4,[0](B . ?[2](4)[0](B) (?[2](4+[0](B . ?[2](4*[0](B) - (?[2](40[0](B . ?[2](4-[0](B) (?[2](4/[0](B . ?[2](4.[0](B) - (?[2](44[0](B . ?[2](41[0](B) (?[2](43[0](B . ?[2](42[0](B) - (?[2](3C[0](B . ?[2](3B[0](B ) - (?[2](3E[0](B . ?[2](3D[0](B ) - (?[2](3G[0](B . ?[2](3F[0](B ) - (?[2](3I[0](B . ?[2](3H[0](B ) - (?[2](48[0](B . ?[2](45[0](B) (?[2](47[0](B . ?[2](46[0](B) - (?[2](4<[0](B . ?[2](49[0](B) (?[2](4;[0](B . ?[2](4:[0](B) - (?[2](4@[0](B . ?[2](4=[0](B) (?[2](4?[0](B . ?[2](4>[0](B) - (?[2](4D[0](B . ?[2](4A[0](B) (?[2](4C[0](B . ?[2](4B[0](B) - (?[2](4H[0](B . ?[2](4E[0](B) (?[2](4G[0](B . ?[2](4F[0](B) - (?[2](4L[0](B . ?[2](4I[0](B) (?[2](4K[0](B . ?[2](4J[0](B) - (?[2](4N[0](B . ?[2](4M[0](B) (?[2](3K[0](B . ?[2](3J[0](B ) - (?[2](4P[0](B . ?[2](4O[0](B) (?[2](3M[0](B . ?[2](3L[0](B ) - (?[2](4R[0](B . ?[2](4Q[0](B) (?[2](3O[0](B . ?[2](3N[0](B ) - (?[2](4T[0](B . ?[2](4S[0](B) (?[2](3Q[0](B . ?[2](3P[0](B ) - (?[2](4X[0](B . ?[2](4U[0](B) (?[2](4W[0](B . ?[2](4V[0](B) - (?[2](4Z[0](B . ?[2](4Y[0](B) (?[2](3S[0](B . ?[2](3R[0](B ) - (?[2](3W[0](B . ?[2](3T[0](B ) (?[2](3V[0](B . ?[2](3U[0](B ) - (?[2](4\[0](B . ?[2](4[[0](B) (?[2](3Y[0](B . ?[2](3X[0](B ) - (?[2](3][0](B . ?[2](3Z[0](B ) (?[2](3\[0](B . ?[2](3[[0](B ) - (?[2](3_[0](B . ?[2](3^[0](B ) - (?[2](4^[0](B . ?[2](4][0](B) - (?[2](4`[0](B . ?[2](4_[0](B) (?[2](3a[0](B . ?[2](3`[0](B ) - (?[2](4a[0](B . ?[2](3b[0](B ) - (?[2](4b[0](B . ?[2](3c[0](B ) - (?[2](4c[0](B . ?[2](3d[0](B ) - (?[2](4d[0](B . ?[2](3e[0](B ) - (?[2](4f[0](B . ?[2](4e[0](B) (?[2](3g[0](B . ?[2](3f[0](B ) - (?[2](4j[0](B . ?[2](4g[0](B) (?[2](4i[0](B . ?[2](4h[0](B) - (?[2](3i[0](B . ?[2](3h[0](B) - (?[2](4n[0](B . ?[2](4k[0](B) (?[2](4m[0](B . ?[2](4l[0](B))) + '((?›2](3/›0](B . ?›2](3.›0](B ) + (?›2](31›0](B . ?›2](30›0](B ) + (?›2](33›0](B . ?›2](32›0](B ) + (?›2](35›0](B . ?›2](34›0](B ) + (?›2](4"›0](B . ?›2](4!›0](B) (?›2](37›0](B . ?›2](36›0](B ) + (?›2](39›0](B . ?›2](38›0](B ) + (?›2](4$›0](B . ?›2](4#›0](B) (?›2](3;›0](B . ?›2](3:›0](B ) + (?›2](3=›0](B . ?›2](3<›0](B ) + (?›2](4&›0](B . ?›2](4%›0](B) (?›2](3?›0](B . ?›2](3>›0](B ) + (?›2](4(›0](B . ?›2](4'›0](B) (?›2](3A›0](B . ?›2](3@›0](B ) + (?›2](4,›0](B . ?›2](4)›0](B) (?›2](4+›0](B . ?›2](4*›0](B) + (?›2](40›0](B . ?›2](4-›0](B) (?›2](4/›0](B . ?›2](4.›0](B) + (?›2](44›0](B . ?›2](41›0](B) (?›2](43›0](B . ?›2](42›0](B) + (?›2](3C›0](B . ?›2](3B›0](B ) + (?›2](3E›0](B . ?›2](3D›0](B ) + (?›2](3G›0](B . ?›2](3F›0](B ) + (?›2](3I›0](B . ?›2](3H›0](B ) + (?›2](48›0](B . ?›2](45›0](B) (?›2](47›0](B . ?›2](46›0](B) + (?›2](4<›0](B . ?›2](49›0](B) (?›2](4;›0](B . ?›2](4:›0](B) + (?›2](4@›0](B . ?›2](4=›0](B) (?›2](4?›0](B . ?›2](4>›0](B) + (?›2](4D›0](B . ?›2](4A›0](B) (?›2](4C›0](B . ?›2](4B›0](B) + (?›2](4H›0](B . ?›2](4E›0](B) (?›2](4G›0](B . ?›2](4F›0](B) + (?›2](4L›0](B . ?›2](4I›0](B) (?›2](4K›0](B . ?›2](4J›0](B) + (?›2](4N›0](B . ?›2](4M›0](B) (?›2](3K›0](B . ?›2](3J›0](B ) + (?›2](4P›0](B . ?›2](4O›0](B) (?›2](3M›0](B . ?›2](3L›0](B ) + (?›2](4R›0](B . ?›2](4Q›0](B) (?›2](3O›0](B . ?›2](3N›0](B ) + (?›2](4T›0](B . ?›2](4S›0](B) (?›2](3Q›0](B . ?›2](3P›0](B ) + (?›2](4X›0](B . ?›2](4U›0](B) (?›2](4W›0](B . ?›2](4V›0](B) + (?›2](4Z›0](B . ?›2](4Y›0](B) (?›2](3S›0](B . ?›2](3R›0](B ) + (?›2](3W›0](B . ?›2](3T›0](B ) (?›2](3V›0](B . ?›2](3U›0](B ) + (?›2](4\›0](B . ?›2](4[›0](B) (?›2](3Y›0](B . ?›2](3X›0](B ) + (?›2](3]›0](B . ?›2](3Z›0](B ) (?›2](3\›0](B . ?›2](3[›0](B ) + (?›2](3_›0](B . ?›2](3^›0](B ) + (?›2](4^›0](B . ?›2](4]›0](B) + (?›2](4`›0](B . ?›2](4_›0](B) (?›2](3a›0](B . ?›2](3`›0](B ) + (?›2](4a›0](B . ?›2](3b›0](B ) + (?›2](4b›0](B . ?›2](3c›0](B ) + (?›2](4c›0](B . ?›2](3d›0](B ) + (?›2](4d›0](B . ?›2](3e›0](B ) + (?›2](4f›0](B . ?›2](4e›0](B) (?›2](3g›0](B . ?›2](3f›0](B ) + (?›2](4j›0](B . ?›2](4g›0](B) (?›2](4i›0](B . ?›2](4h›0](B) + (?›2](3i›0](B . ?›2](3h›0](B) + (?›2](4n›0](B . ?›2](4k›0](B) (?›2](4m›0](B . ?›2](4l›0](B))) (defconst *arabic-removing-connection-from-left* - '((?[2](36[0](B . ?[2](4![0](B) (?[2](37[0](B . ?[2](4"[0](B) - (?[2](3:[0](B . ?[2](4#[0](B) (?[2](3;[0](B . ?[2](4$[0](B) - (?[2](3>[0](B . ?[2](4%[0](B) (?[2](3?[0](B . ?[2](4&[0](B) - (?[2](3@[0](B . ?[2](4'[0](B) (?[2](3A[0](B . ?[2](4([0](B) - (?[2](4*[0](B . ?[2](4)[0](B) (?[2](4+[0](B . ?[2](4,[0](B) - (?[2](4.[0](B . ?[2](4-[0](B) (?[2](4/[0](B . ?[2](40[0](B) - (?[2](42[0](B . ?[2](41[0](B) (?[2](43[0](B . ?[2](44[0](B) - (?[2](46[0](B . ?[2](45[0](B) (?[2](47[0](B . ?[2](48[0](B) - (?[2](4:[0](B . ?[2](49[0](B) (?[2](4;[0](B . ?[2](4<[0](B) - (?[2](4>[0](B . ?[2](4=[0](B) (?[2](4?[0](B . ?[2](4@[0](B) - (?[2](4D[0](B . ?[2](4A[0](B) (?[2](4C[0](B . ?[2](4A[0](B) - (?[2](4F[0](B . ?[2](4E[0](B) (?[2](4G[0](B . ?[2](4H[0](B) - (?[2](4J[0](B . ?[2](4I[0](B) (?[2](4K[0](B . ?[2](4L[0](B) - (?[2](3J[0](B . ?[2](4M[0](B) (?[2](3K[0](B . ?[2](4N[0](B) - (?[2](3L[0](B . ?[2](4O[0](B) (?[2](3M[0](B . ?[2](4P[0](B) - (?[2](3N[0](B . ?[2](4Q[0](B) (?[2](3O[0](B . ?[2](4R[0](B) - (?[2](3P[0](B . ?[2](4S[0](B) (?[2](3Q[0](B . ?[2](4T[0](B) - (?[2](4V[0](B . ?[2](4U[0](B) (?[2](4W[0](B . ?[2](4X[0](B) - (?[2](3R[0](B . ?[2](4Y[0](B) (?[2](3S[0](B . ?[2](4Z[0](B) - (?[2](3U[0](B . ?[2](3T[0](B ) (?[2](3V[0](B . ?[2](3W[0](B ) - (?[2](3X[0](B . ?[2](4[[0](B) (?[2](3Y[0](B . ?[2](4\[0](B) - (?[2](3[[0](B . ?[2](3Z[0](B ) (?[2](3\[0](B . ?[2](3][0](B ) - (?[2](3`[0](B . ?[2](4_[0](B) (?[2](3a[0](B . ?[2](4`[0](B) - (?[2](4h[0](B . ?[2](4g[0](B) (?[2](4i[0](B . ?[2](4j[0](B) - (?[2](4l[0](B . ?[2](4k[0](B) (?[2](4m[0](B . ?[2](4n[0](B))) + '((?›2](36›0](B . ?›2](4!›0](B) (?›2](37›0](B . ?›2](4"›0](B) + (?›2](3:›0](B . ?›2](4#›0](B) (?›2](3;›0](B . ?›2](4$›0](B) + (?›2](3>›0](B . ?›2](4%›0](B) (?›2](3?›0](B . ?›2](4&›0](B) + (?›2](3@›0](B . ?›2](4'›0](B) (?›2](3A›0](B . ?›2](4(›0](B) + (?›2](4*›0](B . ?›2](4)›0](B) (?›2](4+›0](B . ?›2](4,›0](B) + (?›2](4.›0](B . ?›2](4-›0](B) (?›2](4/›0](B . ?›2](40›0](B) + (?›2](42›0](B . ?›2](41›0](B) (?›2](43›0](B . ?›2](44›0](B) + (?›2](46›0](B . ?›2](45›0](B) (?›2](47›0](B . ?›2](48›0](B) + (?›2](4:›0](B . ?›2](49›0](B) (?›2](4;›0](B . ?›2](4<›0](B) + (?›2](4>›0](B . ?›2](4=›0](B) (?›2](4?›0](B . ?›2](4@›0](B) + (?›2](4D›0](B . ?›2](4A›0](B) (?›2](4C›0](B . ?›2](4A›0](B) + (?›2](4F›0](B . ?›2](4E›0](B) (?›2](4G›0](B . ?›2](4H›0](B) + (?›2](4J›0](B . ?›2](4I›0](B) (?›2](4K›0](B . ?›2](4L›0](B) + (?›2](3J›0](B . ?›2](4M›0](B) (?›2](3K›0](B . ?›2](4N›0](B) + (?›2](3L›0](B . ?›2](4O›0](B) (?›2](3M›0](B . ?›2](4P›0](B) + (?›2](3N›0](B . ?›2](4Q›0](B) (?›2](3O›0](B . ?›2](4R›0](B) + (?›2](3P›0](B . ?›2](4S›0](B) (?›2](3Q›0](B . ?›2](4T›0](B) + (?›2](4V›0](B . ?›2](4U›0](B) (?›2](4W›0](B . ?›2](4X›0](B) + (?›2](3R›0](B . ?›2](4Y›0](B) (?›2](3S›0](B . ?›2](4Z›0](B) + (?›2](3U›0](B . ?›2](3T›0](B ) (?›2](3V›0](B . ?›2](3W›0](B ) + (?›2](3X›0](B . ?›2](4[›0](B) (?›2](3Y›0](B . ?›2](4\›0](B) + (?›2](3[›0](B . ?›2](3Z›0](B ) (?›2](3\›0](B . ?›2](3]›0](B ) + (?›2](3`›0](B . ?›2](4_›0](B) (?›2](3a›0](B . ?›2](4`›0](B) + (?›2](4h›0](B . ?›2](4g›0](B) (?›2](4i›0](B . ?›2](4j›0](B) + (?›2](4l›0](B . ?›2](4k›0](B) (?›2](4m›0](B . ?›2](4n›0](B))) (defun arabic-make-connection nil "If possible, tie the two characters around the cursor." @@ -471,14 +471,14 @@ "Insert gaaf as if it were typed from keyboard." (interactive "*p") (while (> arg 0) - (arabic-keyboard-insert-1-char ?[2](4k[0](B) + (arabic-keyboard-insert-1-char ?›2](4k›0](B) (setq arg (1- arg)))) (defun arabic-insert-isolated-hamza (arg) "Insert an isolated hamza as if it were typed from keyboard." (interactive "*p") (while (> arg 0) - (arabic-keyboard-insert-1-char ?[2](3-[0](B) + (arabic-keyboard-insert-1-char ?›2](3-›0](B) (setq arg (1- arg)))) (defun arabic-insert-madda nil @@ -486,10 +486,10 @@ (interactive) (let ((rch (visual-char-right))) (cond - ((eq rch ?[2](38[0](B ) (visual-replace-right-1-char ?[2](3.[0](B )) - ((eq rch ?[2](39[0](B ) (visual-replace-right-1-char ?[2](3/[0](B )) - ((eq rch ?[2](3e[0](B ) (visual-replace-right-1-char ?[2](3b[0](B )) - ((eq rch ?[2](4d[0](B) (visual-replace-right-1-char ?[2](4a[0](B)) + ((eq rch ?›2](38›0](B ) (visual-replace-right-1-char ?›2](3.›0](B )) + ((eq rch ?›2](39›0](B ) (visual-replace-right-1-char ?›2](3/›0](B )) + ((eq rch ?›2](3e›0](B ) (visual-replace-right-1-char ?›2](3b›0](B )) + ((eq rch ?›2](4d›0](B) (visual-replace-right-1-char ?›2](4a›0](B)) (t (beep))))) (defun arabic-insert-alif (arg) @@ -501,13 +501,13 @@ (setq rch (visual-char-right)) (cond ((eq last-command 'arabic-cut-connection) - (visual-insert-right-1-char ?[2](38[0](B)) - ((or (eq rch ?[2](4Y[0](B) (eq rch ?[2](3R[0](B )) - (visual-replace-right-1-char ?[2](3e[0](B )) - ((or (eq rch ?[2](3S[0](B ) (eq rch ?[2](4Z[0](B)) - (visual-replace-right-1-char ?[2](4d[0](B)) + (visual-insert-right-1-char ?›2](38›0](B)) + ((or (eq rch ?›2](4Y›0](B) (eq rch ?›2](3R›0](B )) + (visual-replace-right-1-char ?›2](3e›0](B )) + ((or (eq rch ?›2](3S›0](B ) (eq rch ?›2](4Z›0](B)) + (visual-replace-right-1-char ?›2](4d›0](B)) (t - (visual-insert-left-1-char ?[2](38[0](B ) + (visual-insert-left-1-char ?›2](38›0](B ) (arabic-make-connection) (visual-move-to-left-1-char))) (setq arg (1- arg))) @@ -522,25 +522,25 @@ (setq rch (visual-char-right)) (cond ((eq last-command 'arabic-cut-connection) - (visual-insert-right-1-char ?[2](3-[0](B)) - ((eq rch ?[2](38[0](B ) (visual-replace-right-1-char ?[2](30[0](B )) - ((eq rch ?[2](39[0](B ) (visual-replace-right-1-char ?[2](31[0](B )) - ((eq rch ?[2](30[0](B ) (visual-replace-right-1-char ?[2](34[0](B )) - ((eq rch ?[2](31[0](B ) (visual-replace-right-1-char ?[2](35[0](B )) - ((eq rch ?[2](3^[0](B ) (visual-replace-right-1-char ?[2](32[0](B )) - ((eq rch ?[2](3_[0](B ) (visual-replace-right-1-char ?[2](33[0](B )) - ((eq rch ?[2](4_[0](B) (visual-replace-right-1-char ?[2](4![0](B)) - ((eq rch ?[2](3`[0](B ) (visual-replace-right-1-char ?[2](36[0](B )) - ((eq rch ?[2](3a[0](B ) (visual-replace-right-1-char ?[2](37[0](B )) - ((eq rch ?[2](4`[0](B) (visual-replace-right-1-char ?[2](4"[0](B)) - ((eq rch ?[2](4][0](B) (visual-replace-right-1-char ?[2](4![0](B)) - ((eq rch ?[2](4^[0](B) (visual-replace-right-1-char ?[2](4"[0](B)) - ((eq rch ?[2](3e[0](B ) (visual-replace-right-1-char ?[2](3c[0](B )) - ((eq rch ?[2](4d[0](B) (visual-replace-right-1-char ?[2](4b[0](B)) - ((eq rch ?[2](3c[0](B ) (visual-replace-right-1-char ?[2](3d[0](B )) - ((eq rch ?[2](4b[0](B) (visual-replace-right-1-char ?[2](4c[0](B)) + (visual-insert-right-1-char ?›2](3-›0](B)) + ((eq rch ?›2](38›0](B ) (visual-replace-right-1-char ?›2](30›0](B )) + ((eq rch ?›2](39›0](B ) (visual-replace-right-1-char ?›2](31›0](B )) + ((eq rch ?›2](30›0](B ) (visual-replace-right-1-char ?›2](34›0](B )) + ((eq rch ?›2](31›0](B ) (visual-replace-right-1-char ?›2](35›0](B )) + ((eq rch ?›2](3^›0](B ) (visual-replace-right-1-char ?›2](32›0](B )) + ((eq rch ?›2](3_›0](B ) (visual-replace-right-1-char ?›2](33›0](B )) + ((eq rch ?›2](4_›0](B) (visual-replace-right-1-char ?›2](4!›0](B)) + ((eq rch ?›2](3`›0](B ) (visual-replace-right-1-char ?›2](36›0](B )) + ((eq rch ?›2](3a›0](B ) (visual-replace-right-1-char ?›2](37›0](B )) + ((eq rch ?›2](4`›0](B) (visual-replace-right-1-char ?›2](4"›0](B)) + ((eq rch ?›2](4]›0](B) (visual-replace-right-1-char ?›2](4!›0](B)) + ((eq rch ?›2](4^›0](B) (visual-replace-right-1-char ?›2](4"›0](B)) + ((eq rch ?›2](3e›0](B ) (visual-replace-right-1-char ?›2](3c›0](B )) + ((eq rch ?›2](4d›0](B) (visual-replace-right-1-char ?›2](4b›0](B)) + ((eq rch ?›2](3c›0](B ) (visual-replace-right-1-char ?›2](3d›0](B )) + ((eq rch ?›2](4b›0](B) (visual-replace-right-1-char ?›2](4c›0](B)) (t (arabic-cut-connection) - (visual-insert-right-1-char ?[2](3-[0](B))) + (visual-insert-right-1-char ?›2](3-›0](B))) (setq arg (1- arg))))) (defun arabic-toggle-input-char nil @@ -550,7 +550,7 @@ (setq arabic-input-arabic-char nil arabic-mode-indicator " Arabic") (setq arabic-input-arabic-char t - arabic-mode-indicator " [2](3=a:GJ[0](B")) + arabic-mode-indicator " ›2](3=a:GJ›0](B")) (redraw-modeline t)) (defun arabic-newline (arg) @@ -671,5 +671,6 @@ (arabic-kill-word arg))) ;;; -(provide 'arabic) +(provide 'language/arabic-util) + ;;; arabic-util.el ends here diff -r 7a77eb660975 -r 85ec50267440 lisp/language/arabic.el --- a/lisp/language/arabic.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/language/arabic.el Mon Aug 13 09:45:46 2007 +0200 @@ -28,7 +28,7 @@ ;;; Code: ;; Three character sets for Arabic -(make-charset 'arabic-0 "Arabic digits" +(make-charset 'arabic-digit "Arabic digits" '(registry "MuleArabic-0" dimension 1 chars 94 @@ -37,7 +37,7 @@ direction l2r )) -(make-charset 'arabic-1 "one-column Arabic" +(make-charset 'arabic-1-column "Arabic 1-column" '(registry "MuleArabic-1" dimension 1 chars 94 @@ -46,7 +46,7 @@ direction r2l )) -(make-charset 'arabic-2 "two-column Arabic" +(make-charset 'arabic-2-column "Arabic 2-column" '(registry "MuleArabic-2" dimension 1 chars 94 diff -r 7a77eb660975 -r 85ec50267440 lisp/language/chinese.el --- a/lisp/language/chinese.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/language/chinese.el Mon Aug 13 09:45:46 2007 +0200 @@ -54,7 +54,7 @@ ((make-chinese-cns11643-charset (name plane final) (make-charset - name (concat "Chinese CNS Plane " plane) + name (concat "CNS 11643 Plane " plane " (Chinese traditional)") `(registry ,(concat "CNS11643[.-]\\(.*[.-]\\)?" plane "$") dimension 2 @@ -71,6 +71,18 @@ (make-chinese-cns11643-charset 'chinese-cns11643-7 "7" ?M) ) +;; ISO-IR-165 (CCITT Extended GB) +;; It is based on CCITT Recommendation T.101, includes GB 2312-80 + +;; GB 8565-88 table A4 + 293 characters. +(make-charset + 'chinese-isoir165 + "ISO-IR-165 (CCITT Extended GB; Chinese simplified)" + `(registry "isoir165" + dimension 2 + chars 94 + final ?E + graphic 0)) + ;; PinYin-ZhuYin (make-charset 'sisheng "PinYin-ZhuYin" '(registry "sisheng_cwnn\\|OMRON_UDC_ZH" diff -r 7a77eb660975 -r 85ec50267440 lisp/leim/auto-autoloads.el --- a/lisp/leim/auto-autoloads.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/leim/auto-autoloads.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,3 +1,9 @@ +;;; DO NOT MODIFY THIS FILE +(if (not (featurep 'leim-autoloads)) + (progn + +(provide 'leim-autoloads) +)) ;;;### (autoloads (quail-use-package) "quail" "leim/quail.el") diff -r 7a77eb660975 -r 85ec50267440 lisp/leim/custom-load.el --- a/lisp/leim/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/leim/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,5 +1,7 @@ +(put 'extensions 'custom-loads '()) (put 'copyright 'custom-loads '()) (put 'eldoc 'custom-loads '()) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '()) (put 'mail-abbrevs 'custom-loads '()) @@ -19,6 +21,7 @@ (put 'calendar 'custom-loads '()) (put 'help-appearance 'custom-loads '()) (put 'display-time 'custom-loads '()) +(put 'lisp 'custom-loads '()) (put 'diff 'custom-loads '()) (put 'paren-matching 'custom-loads '()) (put 'help 'custom-loads '()) @@ -28,14 +31,19 @@ (put 'message-sending 'custom-loads '()) (put 'data 'custom-loads '()) (put 'ps-print 'custom-loads '()) +(put 'backup 'custom-loads '()) (put 'frames 'custom-loads '()) +(put 'customize 'custom-loads '()) (put 'abbrev 'custom-loads '()) (put 'toolbar 'custom-loads '()) (put 'compilation 'custom-loads '()) +(put 'dired 'custom-loads '()) (put 'killing 'custom-loads '()) (put 'paren-blinking 'custom-loads '()) +(put 'find-file 'custom-loads '()) (put 'gnuserv 'custom-loads '()) (put 'maint 'custom-loads '()) +(put 'fill-comments 'custom-loads '()) (put 'message-mail 'custom-loads '()) (put 'windows 'custom-loads '()) (put 'message-various 'custom-loads '()) @@ -46,7 +54,7 @@ (put 'diary 'custom-loads '()) (put 'browse-url 'custom-loads '()) (put 'message-insertion 'custom-loads '()) -(put 'hyper-apropos 'custom-loads '()) +(put 'vc 'custom-loads '()) (put 'alloc 'custom-loads '()) (put 'isearch 'custom-loads '()) (put 'modeline 'custom-loads '()) @@ -54,4 +62,5 @@ (put 'editing 'custom-loads '()) (put 'matching 'custom-loads '()) (put 'ps-print-color 'custom-loads '()) +(put 'undo 'custom-loads '()) (put 'x 'custom-loads '()) diff -r 7a77eb660975 -r 85ec50267440 lisp/locale/custom-load.el --- a/lisp/locale/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/locale/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,5 +1,7 @@ +(put 'extensions 'custom-loads '()) (put 'copyright 'custom-loads '()) (put 'eldoc 'custom-loads '()) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '()) (put 'mail-abbrevs 'custom-loads '()) diff -r 7a77eb660975 -r 85ec50267440 lisp/mailcrypt/custom-load.el --- a/lisp/mailcrypt/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/mailcrypt/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,5 +1,7 @@ +(put 'extensions 'custom-loads '()) (put 'copyright 'custom-loads '()) (put 'eldoc 'custom-loads '()) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '()) (put 'mail-abbrevs 'custom-loads '()) diff -r 7a77eb660975 -r 85ec50267440 lisp/mel/custom-load.el --- a/lisp/mel/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/mel/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,5 +1,7 @@ +(put 'extensions 'custom-loads '()) (put 'copyright 'custom-loads '()) (put 'eldoc 'custom-loads '()) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '()) (put 'mail-abbrevs 'custom-loads '()) diff -r 7a77eb660975 -r 85ec50267440 lisp/mh-e/custom-load.el --- a/lisp/mh-e/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/mh-e/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,5 +1,7 @@ +(put 'extensions 'custom-loads '()) (put 'copyright 'custom-loads '()) (put 'eldoc 'custom-loads '()) +(put 'auto-show 'custom-loads '()) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '()) (put 'mail-abbrevs 'custom-loads '()) diff -r 7a77eb660975 -r 85ec50267440 lisp/modes/abbrev.el --- a/lisp/modes/abbrev.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/modes/abbrev.el Mon Aug 13 09:45:46 2007 +0200 @@ -30,9 +30,11 @@ ;;; Code: ;jwz: this is preloaded so don't ;;;###autoload -(defconst only-global-abbrevs nil "\ -*t means user plans to use global abbrevs only. -Makes the commands to define mode-specific abbrevs define global ones instead.") +(defcustom only-global-abbrevs nil "\ +*Non-nil means user plans to use global abbrevs only. +Makes the commands to define mode-specific abbrevs define global ones instead." + :type 'boolean + :group 'abbrev) ;;; XEmacs: the following block of code is not in FSF (defvar abbrev-table-name-list '() @@ -73,7 +75,7 @@ (defun define-abbrev (table name &optional expansion hook count) "Define an abbrev in TABLE named NAME, to expand to EXPANSION or call HOOK. NAME and EXPANSION are strings. Hook is a function or `nil'. -To undefine an abbrev, define with the an expansion of `nil'." +To undefine an abbrev, define it with an expansion of `nil'." (or (not expansion) (stringp expansion) (setq expansion (signal 'wrong-type-argument @@ -82,14 +84,20 @@ (integerp count) (setq count (signal 'wrong-type-argument (list 'fixnump count)))) + (or (vectorp table) + (setq table (signal 'wrong-type-argument + (list 'vectorp table)))) (let* ((sym (intern name table)) (oexp (and (boundp sym) (symbol-value sym))) (ohook (and (fboundp sym) (symbol-function sym)))) - (if (not (and (equal ohook hook) - (stringp oexp) - (stringp expansion) - (string-equal oexp expansion))) - (setq abbrevs-changed t)) + (unless (and (equal ohook hook) + (stringp oexp) + (stringp expansion) + (string-equal oexp expansion)) + (setq abbrevs-changed t) + ;; If there is a non-word character in the string, set the flag. + (if (string-match "\\W" name) + (set (intern " " table) nil))) (set sym expansion) (fset sym hook) (setplist sym (or count 0)) @@ -132,7 +140,7 @@ (interactive "sDefine mode abbrev: \nsExpansion for %s: ") (define-abbrev (or local-abbrev-table (error "Major mode has no abbrev table")) - (downcase name) nil 0)) + (downcase name) expansion 0)) (defun abbrev-symbol (abbrev &optional table) "Return the symbol representing abbrev named ABBREV. diff -r 7a77eb660975 -r 85ec50267440 lisp/modes/auto-autoloads.el --- a/lisp/modes/auto-autoloads.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/modes/auto-autoloads.el Mon Aug 13 09:45:46 2007 +0200 @@ -615,6 +615,25 @@ ;;;*** +;;;### (autoloads (image-decode-xpm image-decode-png image-decode-gif image-decode-jpeg image-mode) "image-mode" "modes/image-mode.el") + +(autoload 'image-mode "image-mode" "\ +\\{image-mode-map}" t nil) + +(autoload 'image-decode-jpeg "image-mode" "\ +Decode JPEG image between START and END." nil nil) + +(autoload 'image-decode-gif "image-mode" "\ +Decode GIF image between START and END." nil nil) + +(autoload 'image-decode-png "image-mode" "\ +Decode PNG image between START and END." nil nil) + +(autoload 'image-decode-xpm "image-mode" "\ +Decode XPM image between START and END." nil nil) + +;;;*** + ;;;### (autoloads (imenu imenu-add-to-menubar) "imenu" "modes/imenu.el") (defvar imenu-generic-expression nil "\ @@ -661,7 +680,7 @@ ;;;### (autoloads (ksh-mode) "ksh-mode" "modes/ksh-mode.el") (autoload 'ksh-mode "ksh-mode" "\ -ksh-mode $Revision: 1.2 $ - Major mode for editing (Bourne, Korn or Bourne again) +ksh-mode $Revision: 1.3 $ - Major mode for editing (Bourne, Korn or Bourne again) shell scripts. Special key bindings and commands: \\{ksh-mode-map} @@ -772,6 +791,15 @@ ;;;*** +;;;### (autoloads (linuxdoc-sgml-mode) "linuxdoc-sgml" "modes/linuxdoc-sgml.el") + +(autoload 'linuxdoc-sgml-mode "linuxdoc-sgml" "\ +Major mode based on SGML mode for editing linuxdoc-sgml documents. +See the documentation on sgml-mode for more info. This mode +understands the linuxdoc-sgml tags." t nil) + +;;;*** + ;;;### (autoloads (define-mail-alias build-mail-aliases mail-aliases-setup) "mail-abbrevs" "modes/mail-abbrevs.el") (defcustom mail-abbrev-mailrc-file nil "Name of file with mail aliases. If nil, ~/.mailrc is used." :type '(choice (const :tag "Default" nil) file) :group 'mail-abbrevs) @@ -1584,6 +1612,10 @@ ;;;*** +;;;### (autoloads nil "sgml-mode" "modes/sgml-mode.el") + +;;;*** + ;;;### (autoloads (sh-mode) "sh-script" "modes/sh-script.el") (put 'sh-mode 'mode-class 'special) @@ -2005,7 +2037,7 @@ (autoload 'vhdl-mode "vhdl-mode" "\ Major mode for editing VHDL code. -vhdl-mode $Revision: 1.2 $ +vhdl-mode $Revision: 1.3 $ To submit a problem report, enter `\\[vhdl-submit-bug-report]' from a vhdl-mode buffer. This automatically sets up a mail buffer with version information already added. You just need to add a description of the diff -r 7a77eb660975 -r 85ec50267440 lisp/modes/auto-show.el --- a/lisp/modes/auto-show.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/modes/auto-show.el Mon Aug 13 09:45:46 2007 +0200 @@ -58,23 +58,35 @@ ;;; Code: -(defvar auto-show-mode t +(defgroup auto-show nil + "Perform automatic horizontal scrolling as point moves." + :group 'display + :group 'extensions) + +;; This is preloaded, so we don't need special :set, :require, etc. +(defcustom auto-show-mode t "*Non-nil enables automatic horizontal scrolling, when lines are truncated. The default value is t. To change the default, do this: (set-default 'auto-show-mode nil) See also command `auto-show-mode'. This variable has no effect when lines are not being truncated. -This variable is automatically local in each buffer where it is set.") +This variable is automatically local in each buffer where it is set." + :type 'boolean + :group 'auto-show) (make-variable-buffer-local 'auto-show-mode) -(defvar auto-show-shift-amount 8 - "*Extra columns to scroll. for automatic horizontal scrolling.") +(defcustom auto-show-shift-amount 8 + "*Extra columns to scroll. for automatic horizontal scrolling." + :type 'integer + :group 'auto-show) -(defvar auto-show-show-left-margin-threshold 50 +(defcustom auto-show-show-left-margin-threshold 50 "*Threshold column for automatic horizontal scrolling to the right. If point is before this column, we try to scroll to make the left margin -visible. Setting this to 0 disables this feature.") +visible. Setting this to 0 disables this feature." + :type 'number + :group 'auto-show) (defun auto-show-truncationp () "True if line truncation is enabled for the selected window." @@ -165,13 +177,7 @@ (and (= col right-col) (not (eolp)))) (scroll-left (+ auto-show-shift-amount - (- col (+ scroll w-width)))) - ) - ) - ) - ) - ) - ) + (- col (+ scroll w-width)))))))))) ;; XEmacs change: ;; #### instead of this, we kludgily call it from the C code, to make sure diff -r 7a77eb660975 -r 85ec50267440 lisp/modes/cperl-mode.el --- a/lisp/modes/cperl-mode.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/modes/cperl-mode.el Mon Aug 13 09:45:46 2007 +0200 @@ -31,8 +31,10 @@ ;;; Corrections made by Ilya Zakharevich ilya@math.mps.ohio-state.edu ;;; XEmacs changes by Peter Arius arius@informatik.uni-erlangen.de - -;; $Id: cperl-mode.el,v 1.11 1997/06/14 20:31:09 steve Exp $ +;;; XEmacs 'delete key behavior handling added for XEmacs 20.x by +;;; Gary D. Foster + +;; $Id: cperl-mode.el,v 1.12 1997/06/29 23:12:54 steve Exp $ ;;; To use this mode put the following into your .emacs file: @@ -1563,8 +1565,13 @@ (delete-region (point) p)) (backward-delete-char-untabify arg))) +;; helper function for deletion, which honors the desired delete direction +;; behavior. Added by Gary D. Foster, and bound +;; to the 'delete keysym by default. + (defun cperl-electric-delete (arg) - "Backspace-untabify, or remove the whitespace inserted by an electric key." + "Delete, or remove the whitespace inserted by an electric key. +Delete direction is controlled by the setting of `delete-key-deletes-forward'." (interactive "*p") (if (and cperl-auto-newline (memq last-command '(cperl-electric-semi diff -r 7a77eb660975 -r 85ec50267440 lisp/modes/custom-load.el --- a/lisp/modes/custom-load.el Mon Aug 13 09:44:44 2007 +0200 +++ b/lisp/modes/custom-load.el Mon Aug 13 09:45:46 2007 +0200 @@ -1,7 +1,9 @@ +(put 'extensions 'custom-loads '("auto-show")) (put 'message 'custom-loads '("sendmail")) (put 'copyright 'custom-loads '()) (put 'eldoc 'custom-loads '()) (put 'prolog 'custom-loads '("prolog")) +(put 'auto-show 'custom-loads '("auto-show")) (put 'execute 'custom-loads '()) (put 'mouse 'custom-loads '("outl-mouse" "strokes")) (put 'reftex-defining-label-environments 'custom-loads '()) @@ -54,7 +56,7 @@ (put 'frames 'custom-loads '("rsz-minibuf")) (put 'customize 'custom-loads '()) (put 'verilog 'custom-loads '("verilog-mode")) -(put 'abbrev 'custom-loads '()) +(put 'abbrev 'custom-loads '("abbrev")) (put 'f90-indent 'custom-loads '("f90")) (put 'strokes 'custom-loads '("strokes")) (put 'toolbar 'custom-loads '()) @@ -76,7 +78,7 @@ (put 'languages 'custom-loads '("asm-mode" "fortran" "icon" "pascal" "prolog" "rexx-mode" "sh-script" "tcl" "verilog-mode" "vrml-mode" "winmgr-mode" "xrdb-mode")) (put 'fill 'custom-loads '()) (put 'debug 'custom-loads '()) -(put 'display 'custom-loads '()) +(put 'display 'custom-loads '("auto-show")) (put 'diary 'custom-loads '()) (put 'browse-url 'custom-loads '()) (put 'enriched 'custom-loads '("enriched")) diff -r 7a77eb660975 -r 85ec50267440 lisp/modes/image-mode.el --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lisp/modes/image-mode.el Mon Aug 13 09:45:46 2007 +0200 @@ -0,0 +1,165 @@ +;;; image-mode.el --- Major mode for navigate images + +;; Copyright (C) 1997 MORIOKA Tomohiko + +;; Author: MORIOKA Tomohiko +;; Created: 1997/6/27 +;; Version: $Id: image-mode.el,v 1.1 1997/06/29 23:12:55 steve Exp $ +;; Keywords: image, graphics + +;; This file is part of XEmacs. + +;; XEmacs is free software; you can redistribute it and/or modify it +;; under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 2, or (at your option) +;; any later version. + +;; XEmacs is distributed in the hope that it will be useful, but +;; WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +;; General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with XEmacs; see the file COPYING. If not, write to the Free +;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +;; 02111-1307, USA. + +;;; Code: + +(defvar buffer-image-format nil) +(make-variable-buffer-local 'buffer-image-format) + +(defsubst image-decode (start end type) + "Decode the image between START and END which is encoded in TYPE." + (save-excursion + (let ((image (make-image-instance + (vector type :data (buffer-string)) nil nil 'no-error))) + (delete-region start end) + (if image + (let ((glyph (make-glyph image))) + (set-extent-begin-glyph (make-extent start start) glyph) + (setq buffer-read-only t) + ) + (insert (format "%s is not supported!\n" type)) + (let ((overriding-local-map image-mode-map)) + (insert + (substitute-command-keys + " +Please type `\\[image-toggle-decoding]' if you would like to display +raw data. +Please type `\\[image-enter-hexl-mode]' if you would like to edit hex +data. +Please type `\\[image-start-external-viewer]' if you would like to +display contents of this buffer by external viewer.\n"))) + (call-interactively 'fill-paragraph) + ) + start))) + +(defvar image-mode-map (make-keymap)) +(suppress-keymap image-mode-map) +(define-key image-mode-map "v" 'image-start-external-viewer) +(define-key image-mode-map "t" 'image-toggle-decoding) +(define-key image-mode-map "h" 'image-enter-hexl-mode) +(define-key image-mode-map "q" 'image-mode-quit) + +(defvar image-external-viewer + (cond ((exec-installed-p "display") "display") ; ImageMagic + ((exec-installed-p "xv") "xv") ; xv + ) + "*External viewer for image-mode.") + +(defun image-start-external-viewer () + "Start external image viewer for current-buffer. +It uses `image-external-viewer' as external image viewer." + (interactive) + (start-process "external image viewer" nil + image-external-viewer buffer-file-name) + ) + +(defun image-toggle-decoding () + "Toggle image display mode in current buffer." + (interactive) + (if buffer-file-format + (progn + (setq buffer-read-only nil) + (erase-buffer) + (map-extents (function + (lambda (extent maparg) + (delete-extent extent) + )) nil (point-min)(point-min)) + (setq buffer-file-format nil) + (insert-file-contents-literally buffer-file-name) + (set-buffer-modified-p nil) + ) + (format-decode-buffer buffer-image-format) + )) + +(defun image-exit-hexl-mode-function () + (format-decode-buffer) + (remove-hook 'hexl-mode-exit-hook 'image-exit-hexl-mode-function) + ) + +(defun image-enter-hexl-mode () + "Enter to hexl-mode." + (interactive) + (when buffer-file-format + (setq buffer-read-only nil) + (erase-buffer) + (map-extents (function + (lambda (extent maparg) + (delete-extent extent) + )) nil (point-min)(point-min)) + (setq buffer-file-format nil) + (insert-file-contents-literally buffer-file-name) + (set-buffer-modified-p nil) + (add-hook 'hexl-mode-exit-hook 'image-exit-hexl-mode-function) + ) + (hexl-mode) + ) + +(defun image-mode-quit () + "Exit image-mode." + (interactive) + (kill-buffer (current-buffer)) + ) + +;;;###autoload +(defun image-mode (&optional arg) + "\\{image-mode-map}" + (interactive) + (setq major-mode 'image-mode) + (setq mode-name "Image") + (use-local-map image-mode-map) + ) + +;;;###autoload +(defun image-decode-jpeg (start end) + "Decode JPEG image between START and END." + (setq buffer-image-format 'image/jpeg) + (image-decode start end 'jpeg) + ) + +;;;###autoload +(defun image-decode-gif (start end) + "Decode GIF image between START and END." + (setq buffer-image-format 'image/gif) + (image-decode start end 'gif) + ) + +;;;###autoload +(defun image-decode-png (start end) + "Decode PNG image between START and END." + (setq buffer-image-format 'image/png) + (image-decode start end 'png) + ) + +;;;###autoload +(defun image-decode-xpm (start end) + "Decode XPM image between START and END." + (setq buffer-image-format 'image/x-xpm) + (image-decode start end 'xpm) + ) + +(provide 'image-mode) + +;;; image-mode.el ends here diff -r 7a77eb660975 -r 85ec50267440 lisp/modes/linuxdoc-sgml.el --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lisp/modes/linuxdoc-sgml.el Mon Aug 13 09:45:46 2007 +0200 @@ -0,0 +1,176 @@ +;;; linuxdoc-sgml.el --- sgml-mode enhancements for linuxdoc + +;; Copyright (C) 1996 by Free Software Foundation, Inc. + +;; Author: Arun Sharma +;; Keywords: docs, languages + +;; This file is part of GNU Emacs. + +;; GNU Emacs is free software; you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 2, or (at your option) +;; any later version. + +;; GNU Emacs is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with GNU Emacs; see the file COPYING. If not, write to +;; the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. + +;;; Commentary: + +;; Installation: +;; Make sure that this file is in your load-path and put this line +;; in your .emacs. +;; (autoload 'linuxdoc-sgml-mode "linuxdoc-sgml" t t) +;; (setq auto-mode-alist (cons '("\\.sgml$" . linuxdoc-sgml-mode) +;; auto-mode-alist)) +;; +;; Optionally: +;; (add-hook 'linuxdoc-sgml-mode-hook 'turn-on-font-lock) +;; +;; Caveat: I've had problems getting sgml/html code to work with +;; lazy-lock. Currently under investigation. +;;; Code: + +(require 'sgml-mode) + +(defvar linuxdoc-sgml-tag-alist + (let* ((htmlurl '(("ftp:") ("file:") ("finger:") + ("gopher:") ("http:") ("mailto:") ("news:") + ("rlogin:") ("telnet:") ("tn3270:") ("wais:") + ("/cgi-bin/"))) + (name '(str)) + (id '(str))) + `(("abstract" \n) + ("article" \n) + ("author" t) + ("bf") + ("date" t) + ("descrip" \n) + ("enum" \n) + ("footnote") + ("htmlurl" t ("url" ,@htmlurl) ("name" ,@name)) + ("item" t) + ("itemize" \n) + ("label" ("id" ,@id)) + ("p" t) + ("quote" \n) + ("ref" t ("id") ("name" ,@name)) + ("sect" (t (setq str (read-input "Sect: ")) "\n

\n")) + ("sect1" (t (setq str (read-input "Sect1: ")) "\n

\n")) + ("sect2" (t (setq str (read-input "Sect2: ")) "\n

\n")) + ("sect3" (t (setq str (read-input "Sect3: ")) "\n

\n")) + ("sect4" (t (setq str (read-input "Sect4: ")) "\n

\n")) + ("tag //" t) + ("title" (t (setq str (read-input "Title: ")) "\n")) + ("toc" t) + ("tscreen") + ("tt" (nil (setq str (read-input "Text: ")))) + ("url" t ("url" ,@htmlurl) ("name" ,@name)) + ("verb" \n))) + "Linuxdoc specific tags") + +(defvar linuxdoc-sgml-tag-help + '(("abstract" . "Abstract of the document") + ("article" . "Beginning of the article") + ("author" . "Name of the Author") + ("bf" . "Bold font") + ("date" . "Date") + ("descrip" . "Description environment") + ("enum" . "Enumerated items") + ("footnote" . "Footnotes") + ("htmlurl" . "Insert a URL that shows up only in the HTML version") + ("item" . "An enumerated or unordered item") + ("itemize" . "Unordered list") + ("label" . "A label for cross reference") + ("p" . "Marks the end of the sect* tag") + ("quote" . "Quote a piece of text") + ("ref" . "Cross reference") + ("sect" . "Main section heading") + ("sect1" . "Level 1 section heading") + ("sect2" . "Level 2 section heading") + ("sect3" . "Level 3 section heading") + ("sect4" . "Level 4 section heading") + ("tag //" . "A description tag") + ("title" . "Title of the document") + ("toc" . "The table of contents") + ("tscreen" . "Indents the text and uses tt font") + ("tt" . "Uses the tt font") + ("url" . "Insert a URL") + ("verb" . "The text will be typed verbatim")) + "Help for linuxdoc specific tags") + +(defvar linuxdoc-sgml-tag-face-alist + '(("abstract" . underline) + ("article" . italic) + ("author" . italic) + ("bf" . bold) + ("date" . italic) + ("descrip" . font-lock-reference-face) + ("enum" . font-lock-type-face) + ("footnote" . font-lock-keyword-face) + ("htmlurl" . font-lock-string-face) + ("item" . font-lock-function-name-face) + ("itemize" . font-lock-type-face) + ("label" . font-lock-comment-face) + ("p" . default) + ("quote" . underline) + ("ref" . font-lock-comment-face) + ("sect" . underline) + ("sect1" . underline) + ("sect2" . underline) + ("sect3" . underline) + ("sect4" . underline) + ("tag" . font-lock-function-name-face) + ("title" . underline) + ("toc" . default) + ("tscreen" . underline) + ("tt" . underline) + ("url" . font-lock-string-face) + ("verb" . underline)) + "Value of `sgml-tag-face-alist' for linuxdoc-sgml mode.") + +(defvar linuxdoc-sgml-font-lock-keywords + '(("<\\([^>]*\\)>" . font-lock-comment-face)) + "Patterns to highlight in LD-SGML buffers.") + +;;;###autoload +(defun linuxdoc-sgml-mode () + "Major mode based on SGML mode for editing linuxdoc-sgml documents. +See the documentation on sgml-mode for more info. This mode +understands the linuxdoc-sgml tags." + (interactive) + (sgml-mode-common linuxdoc-sgml-tag-face-alist nil) + (use-local-map sgml-mode-map) + (make-local-variable 'sgml-tag-alist) + (make-local-variable 'sgml-face-tag-alist) + (make-local-variable 'sgml-tag-help) + (make-local-variable 'outline-regexp) + (make-local-variable 'outline-heading-end-regexp) + (make-local-variable 'outline-level) + (make-local-variable 'sgml-font-lock-keywords) + (setq mode-name "LD-SGML" + major-mode 'linuxdoc-sgml-mode + sgml-tag-alist linuxdoc-sgml-tag-alist + sgml-face-tag-alist linuxdoc-sgml-tag-face-alist + sgml-tag-help linuxdoc-sgml-tag-help + outline-regexp "^.*" + outline-heading-end-regexp "

" + sgml-font-lock-keywords-1 (append sgml-font-lock-keywords-1 + linuxdoc-sgml-font-lock-keywords + sgml-font-lock-keywords) + + outline-level (lambda () + (char-after (1- (match-end 0))))) + (run-hooks 'linuxdoc-sgml-mode-hook)) + + +(provide 'linuxdoc-sgml) + +;;; linuxdoc-sgml.el ends here diff -r 7a77eb660975 -r 85ec50267440 lisp/modes/sgml-mode.el --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lisp/modes/sgml-mode.el Mon Aug 13 09:45:46 2007 +0200 @@ -0,0 +1,1272 @@ +;;; sgml-mode.el --- SGML- and HTML-editing modes + +;; Copyright (C) 1992, 1995, 1996 Free Software Foundation, Inc. + +;; Author: James Clark +;; Adapted-By: ESR; Daniel.Pfeiffer@Informatik.START.dbp.de +;; Keywords: wp, hypermedia, comm, languages + +;; This file is part of GNU Emacs. + +;; GNU Emacs is free software; you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 2, or (at your option) +;; any later version. + +;; GNU Emacs is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. + +;;; Commentary: + +;; Configurable major mode for editing document in the SGML standard general +;; markup language. As an example contains a mode for editing the derived +;; HTML hypertext markup language. + +;;; Code: + +;; As long as Emacs' syntax can't be complemented with predicates to context +;; sensitively confirm the syntax of characters, we have to live with this +;; kludgy kind of tradeoff. +(defvar sgml-specials '(?\") + "List of characters that have a special meaning for sgml-mode. +This list is used when first loading the sgml-mode library. +The supported characters and potential disadvantages are: + + ?\\\" Makes \" in text start a string. + ?' Makes ' in text start a string. + ?- Makes -- in text start a comment. + +When only one of ?\\\" or ?' are included, \"'\" or '\"' as it can be found in +DTDs, start a string. To partially avoid this problem this also makes these +self insert as named entities depending on `sgml-quick-keys'. + +Including ?- has the problem of affecting dashes that have nothing to do +with comments, so we normally turn it off.") + +(defvar sgml-quick-keys nil + "Use <, >, &, SPC and `sgml-specials' keys ``electrically'' when non-nil. +This takes effect when first loading the library.") + + +(defvar sgml-mode-map + (let (;;(map (list 'keymap (make-vector 256 nil))) + (map (make-keymap)) + (menu-map (make-sparse-keymap "SGML"))) + (define-key map "\t" 'indent-relative-maybe) + (define-key map "\C-c\C-i" 'sgml-tags-invisible) + (define-key map "/" 'sgml-slash) + (define-key map "\C-c\C-n" 'sgml-name-char) + (define-key map "\C-c\C-t" 'sgml-tag) + (define-key map "\C-c\C-a" 'sgml-attributes) + (define-key map "\C-c\C-b" 'sgml-skip-tag-backward) + (define-key map [?\C-c left] 'sgml-skip-tag-backward) + (define-key map "\C-c\C-f" 'sgml-skip-tag-forward) + (define-key map [?\C-c right] 'sgml-skip-tag-forward) + (define-key map "\C-c\C-d" 'sgml-delete-tag) + (define-key map "\C-c\^?" 'sgml-delete-tag) + (define-key map "\C-c?" 'sgml-tag-help) + (define-key map "\C-c8" 'sgml-name-8bit-mode) + (define-key map "\C-c\C-v" 'sgml-validate) + (if sgml-quick-keys + (progn + (define-key map "&" 'sgml-name-char) + (define-key map "<" 'sgml-tag) + (define-key map " " 'sgml-auto-attributes) + (define-key map ">" 'sgml-maybe-end-tag) + (if (memq ?\" sgml-specials) + (define-key map "\"" 'sgml-name-self)) + (if (memq ?' sgml-specials) + (define-key map "'" 'sgml-name-self)))) + (let ((c 127) + ;; (map (nth 1 map)) + ) + (while (< (setq c (1+ c)) 256) + ;; (aset map c 'sgml-maybe-name-self))) + (define-key map (int-char c) 'sgml-maybe-name-self))) + (define-key map [menu-bar sgml] (cons "SGML" menu-map)) + (define-key menu-map [sgml-validate] '("Validate" . sgml-validate)) + (define-key menu-map [sgml-name-8bit-mode] + '("Toggle 8 Bit Insertion" . sgml-name-8bit-mode)) + (define-key menu-map [sgml-tags-invisible] + '("Toggle Tag Visibility" . sgml-tags-invisible)) + (define-key menu-map [sgml-tag-help] + '("Describe Tag" . sgml-tag-help)) + (define-key menu-map [sgml-delete-tag] + '("Delete Tag" . sgml-delete-tag)) + (define-key menu-map [sgml-skip-tag-forward] + '("Forward Tag" . sgml-skip-tag-forward)) + (define-key menu-map [sgml-skip-tag-backward] + '("Backward Tag" . sgml-skip-tag-backward)) + (define-key menu-map [sgml-attributes] + '("Insert Attributes" . sgml-attributes)) + (define-key menu-map [sgml-tag] '("Insert Tag" . sgml-tag)) + map) + "Keymap for SGML mode. See also `sgml-specials'.") + + +(defvar sgml-mode-syntax-table + (let ((table (copy-syntax-table text-mode-syntax-table))) + (modify-syntax-entry ?< "(>" table) + (modify-syntax-entry ?> ")<" table) + (if (memq ?- sgml-specials) + (modify-syntax-entry ?- "_ 1234" table)) + (if (memq ?\" sgml-specials) + (modify-syntax-entry ?\" "\"\"" table)) + (if (memq ?' sgml-specials) + (modify-syntax-entry ?\' "\"'" table)) + table) + "Syntax table used in SGML mode. See also `sgml-specials'.") + + +(defvar sgml-name-8bit-mode nil + "*When non-`nil' insert 8 bit characters with their names.") + +(defvar sgml-char-names + [nil nil nil nil nil nil nil nil + nil nil nil nil nil nil nil nil + nil nil nil nil nil nil nil nil + nil nil nil nil nil nil nil nil + "ensp" "excl" "quot" "num" "dollar" "percnt" "amp" "apos" + "lpar" "rpar" "ast" "plus" "comma" "hyphen" "period" "sol" + nil nil nil nil nil nil nil nil + nil nil "colon" "semi" "lt" "eq" "gt" "quest" + "commat" nil nil nil nil nil nil nil + nil nil nil nil nil nil nil nil + nil nil nil nil nil nil nil nil + nil nil nil "lsqb" nil "rsqb" "uarr" "lowbar" + "lsquo" nil nil nil nil nil nil nil + nil nil nil nil nil nil nil nil + nil nil nil nil nil nil nil nil + nil nil nil "lcub" "verbar" "rcub" "tilde" nil + nil nil nil nil nil nil nil nil + nil nil nil nil nil nil nil nil + nil nil nil nil nil nil nil nil + nil nil nil nil nil nil nil nil + "nbsp" "iexcl" "cent" "pound" "curren" "yen" "brvbar" "sect" + "uml" "copy" "ordf" "laquo" "not" "shy" "reg" "macr" + "ring" "plusmn" "sup2" "sup3" "acute" "micro" "para" "middot" + "cedil" "sup1" "ordm" "raquo" "frac14" "half" "frac34" "iquest" + "Agrave" "Aacute" "Acirc" "Atilde" "Auml" "Aring" "AElig" "Ccedil" + "Egrave" "Eacute" "Ecirc" "Euml" "Igrave" "Iacute" "Icirc" "Iuml" + "ETH" "Ntilde" "Ograve" "Oacute" "Ocirc" "Otilde" "Ouml" nil + "Oslash" "Ugrave" "Uacute" "Ucirc" "Uuml" "Yacute" "THORN" "szlig" + "agrave" "aacute" "acirc" "atilde" "auml" "aring" "aelig" "ccedil" + "egrave" "eacute" "ecirc" "euml" "igrave" "iacute" "icirc" "iuml" + "eth" "ntilde" "ograve" "oacute" "ocirc" "otilde" "ouml" "divide" + "oslash" "ugrave" "uacute" "ucirc" "uuml" "yacute" "thorn" "yuml"] + "Vector of symbolic character names without `&' and `;'.") + + +;; sgmls is a free SGML parser available from +;; ftp.uu.net:pub/text-processing/sgml +;; Its error messages can be parsed by next-error. +;; The -s option suppresses output. + +(defvar sgml-validate-command "sgmls -s" + "*The command to validate an SGML document. +The file name of current buffer file name will be appended to this, +separated by a space.") + +(defvar sgml-saved-validate-command nil + "The command last used to validate in this buffer.") + + +;;; I doubt that null end tags are used much for large elements, +;;; so use a small distance here. +(defconst sgml-slash-distance 1000 + "*If non-nil, is the maximum distance to search for matching /.") + +(defconst sgml-start-tag-regex + "<[A-Za-z]\\([-.A-Za-z0-9= \n\t]\\|\"[^\"]*\"\\|'[^']*'\\)*" + "Regular expression that matches a non-empty start tag. +Any terminating > or / is not matched.") + + +(defvar sgml-font-lock-keywords + '(("<\\([!?][a-z0-9]+\\)" 1 font-lock-keyword-face) + ("<\\(/?[a-z0-9]+\\)" 1 font-lock-function-name-face) + ("[&%][-.A-Za-z0-9]+;?" . font-lock-variable-name-face) + ("" . font-lock-comment-face)) + "*Rules for highlighting SGML code. See also `sgml-tag-face-alist'.") + +;; internal +(defvar sgml-font-lock-keywords-1 ()) + +(defvar sgml-face-tag-alist () + "Alist of face and tag name for facemenu.") + +(defvar sgml-tag-face-alist () + "Tag names and face or list of faces to fontify with when invisible. +When `font-lock-maximum-decoration' is 1 this is always used for fontifying. +When more these are fontified together with `sgml-font-lock-keywords'.") + + +(defvar sgml-display-text () + "Tag names as lowercase symbols, and display string when invisible.") + +;; internal +(defvar sgml-tags-invisible nil) + + +(defvar sgml-tag-alist + '(("![" ("ignore" t) ("include" t)) + ("!attlist") + ("!doctype") + ("!element") + ("!entity")) + "*Alist of tag names for completing read and insertion rules. +This alist is made up as + + ((\"tag\" . TAGRULE) + ...) + +TAGRULE is a list of optionally `t' (no endtag) or `\\n' (separate endtag by +newlines) or a skeleton with `nil', `t' or `\\n' in place of the interactor +followed by an ATTRIBUTERULE (for an always present attribute) or an +attribute alist. + +The attribute alist is made up as + + ((\"attribute\" . ATTRIBUTERULE) + ...) + +ATTRIBUTERULE is a list of optionally `t' (no value when no input) followed by +an optional alist of possible values.") + +(defvar sgml-tag-help + '(("!" . "Empty declaration for comment") + ("![" . "Embed declarations with parser directive") + ("!attlist" . "Tag attributes declaration") + ("!doctype" . "Document type (DTD) declaration") + ("!element" . "Tag declaration") + ("!entity" . "Entity (macro) declaration")) + "*Alist of tag name and short description.") + + +;; put read-only last to enable setting this even when read-only enabled +(or (get 'sgml-tag 'invisible) + (setplist 'sgml-tag + (append '(invisible t + rear-nonsticky t + point-entered sgml-point-entered + read-only t) + (symbol-plist 'sgml-tag)))) + + + +(defun sgml-mode-common (sgml-tag-face-alist sgml-display-text) + "Common code for setting up `sgml-mode' and derived modes. +SGML-TAG-FACE-ALIST is used for calculating `sgml-font-lock-keywords-1'. +SGML-DISPLAY-TEXT sets up alternate text for when tags are invisible (see +varables of same name)." + (kill-all-local-variables) + (setq local-abbrev-table text-mode-abbrev-table) + (set-syntax-table sgml-mode-syntax-table) + (make-local-variable 'indent-line-function) + (make-local-variable 'paragraph-start) + (make-local-variable 'paragraph-separate) + (make-local-variable 'sgml-saved-validate-command) + (make-local-variable 'comment-start) + (make-local-variable 'comment-end) + (make-local-variable 'comment-indent-function) + (make-local-variable 'comment-start-skip) + (make-local-variable 'comment-indent-function) + (make-local-variable 'sgml-tags-invisible) + (make-local-variable 'skeleton-transformation) + (make-local-variable 'skeleton-further-elements) + (make-local-variable 'skeleton-end-hook) + (make-local-variable 'font-lock-defaults) + (make-local-variable 'sgml-font-lock-keywords-1) + (make-local-variable 'facemenu-add-face-function) + (make-local-variable 'facemenu-end-add-face) + ;;(make-local-variable 'facemenu-remove-face-function) + (and sgml-tag-face-alist + (not (assq 1 sgml-tag-face-alist)) + (nconc sgml-tag-face-alist + `((1 (,(concat "<\\(" + (mapconcat 'car sgml-tag-face-alist "\\|") + "\\)\\([ \t].+\\)?>\\(.+\\)") + 3 (cdr (assoc (match-string 1) ',sgml-tag-face-alist))))))) + (setq indent-line-function 'indent-relative-maybe + ;; A start or end tag by itself on a line separates a paragraph. + ;; This is desirable because SGML discards a newline that appears + ;; immediately after a start tag or immediately before an end tag. + paragraph-start "^[ \t\n]\\|\ +\\($\\)" + paragraph-separate "^[ \t\n]*$\\|\ +^$" + comment-start "" + comment-indent-function 'sgml-comment-indent + ;; This will allow existing comments within declarations to be + ;; recognized. + comment-start-skip "--[ \t]*" + skeleton-transformation 'identity + skeleton-further-elements '((completion-ignore-case t)) + skeleton-end-hook (lambda () + (or (eolp) + (not (or (eq v2 '\n) + (eq (car-safe v2) '\n))) + (newline-and-indent))) + sgml-font-lock-keywords-1 (cdr (assq 1 sgml-tag-face-alist)) + font-lock-defaults '((sgml-font-lock-keywords + sgml-font-lock-keywords-1) + nil + t) + facemenu-add-face-function + (lambda (face end) + (if (setq face (cdr (assq face sgml-face-tag-alist))) + (progn + (setq facemenu-end-add-face (concat "")) + (concat "<" face ">")) + (error "Face not configured for %s mode." mode-name)))) + (while sgml-display-text + (put (car (car sgml-display-text)) 'before-string + (cdr (car sgml-display-text))) + (setq sgml-display-text (cdr sgml-display-text))) + (run-hooks 'text-mode-hook 'sgml-mode-hook)) + +;; Conflicts with psgml, don't autoload +;; ;;;###autoload +(defun sgml-mode (&optional function) + "Major mode for editing SGML documents. +Makes > match <. Makes / blink matching /. +Keys <, &, SPC within <>, \" and ' can be electric depending on +`sgml-quick-keys'. + +Do \\[describe-variable] sgml- SPC to see available variables. + +Use \\[sgml-validate] to validate your document with an SGML parser. +\\{sgml-mode-map}" + (interactive) + (sgml-mode-common sgml-tag-face-alist sgml-display-text) + (use-local-map sgml-mode-map) + (setq mode-name "SGML" + major-mode 'sgml-mode)) + + + +(defun sgml-comment-indent () + (if (and (looking-at "--") + (not (and (eq (preceding-char) ?!) + (eq (char-after (- (point) 2)) ?<)))) + (progn + (skip-chars-backward " \t") + (max comment-column (1+ (current-column)))) + 0)) + + + +(defun sgml-slash (arg) + "Insert / and display any previous matching /. +Two /s are treated as matching if the first / ends a net-enabling +start tag, and the second / is the corresponding null end tag." + (interactive "p") + (insert-char ?/ arg) + (if (> arg 0) + (let ((oldpos (point)) + (blinkpos) + (level 0)) + (save-excursion + (save-restriction + (if sgml-slash-distance + (narrow-to-region (max (point-min) + (- (point) sgml-slash-distance)) + oldpos)) + (if (and (re-search-backward sgml-start-tag-regex (point-min) t) + (eq (match-end 0) (1- oldpos))) + () + (goto-char (1- oldpos)) + (while (and (not blinkpos) + (search-backward "/" (point-min) t)) + (let ((tagend (save-excursion + (if (re-search-backward sgml-start-tag-regex + (point-min) t) + (match-end 0) + nil)))) + (if (eq tagend (point)) + (if (eq level 0) + (setq blinkpos (point)) + (setq level (1- level))) + (setq level (1+ level))))))) + (if blinkpos + (progn + (goto-char blinkpos) + (if (pos-visible-in-window-p) + (sit-for 1) + (message "Matches %s" + (buffer-substring (progn + (beginning-of-line) + (point)) + (1+ blinkpos)))))))))) + + +(defun sgml-name-char (&optional char) + "Insert a symbolic character name according to `sgml-char-names'. +8 bit chars may be inserted with the meta key as in M-SPC for no break space, +or M-- for a soft hyphen." + (interactive "*") + (insert ?&) + (or char + (setq char (read-quoted-char))) + (delete-backward-char 1) + (insert char) + (undo-boundary) + (delete-backward-char 1) + (insert ?& + (or (aref sgml-char-names char) + (format "#%d" char)) + ?\;)) + + +(defun sgml-name-self () + "Insert a symbolic character name according to `sgml-char-names'." + (interactive "*") + (sgml-name-char last-command-char)) + + +(defun sgml-maybe-name-self () + "Insert a symbolic character name according to `sgml-char-names'." + (interactive "*") + (if sgml-name-8bit-mode + (sgml-name-char last-command-char) + (self-insert-command 1))) + + +(defun sgml-name-8bit-mode () + "Toggle insertion of 8 bit characters." + (interactive) + (setq sgml-name-8bit-mode (not sgml-name-8bit-mode))) + + + +(define-skeleton sgml-tag + "Insert a tag you are prompted for, optionally with attributes. +Completion and configuration is according to `sgml-tag-alist'. +If you like tags and attributes in uppercase set `skeleton-transformation' +to `upcase'." + (funcall skeleton-transformation + (completing-read "Tag: " sgml-tag-alist)) + ?< (setq v1 (eval str)) | + (("") -1 '(undo-boundary) "<") | + (("") '(setq v2 (sgml-attributes v1 t)) ?> + (if (string= "![" v1) + (prog1 '(("") " [ " _ " ]]") + (backward-char)) + (if (or (eq v2 t) + (string-match "^[/!?]" v1)) + () + (if (symbolp v2) + '(("") v2 _ v2 ") + (if (eq (car v2) t) + (cons '("") (cdr v2)) + (append '(("") (car v2)) + (cdr v2) + '(resume: (car v2) _ ")))))))) + +(autoload 'skeleton-read "skeleton") + +(defun sgml-attributes (alist &optional quiet) + "When at toplevel of a tag, interactively insert attributes." + (interactive (list (save-excursion (sgml-beginning-of-tag t)))) + (or (stringp alist) (error "Wrong context for adding attribute")) + (if alist + (let ((completion-ignore-case t) + car attribute i) + (setq alist (cdr (assoc (downcase alist) sgml-tag-alist))) + (if (or (symbolp (car alist)) + (symbolp (car (car alist)))) + (setq car (car alist) + alist (cdr alist))) + (or quiet + (message "No attributes configured.")) + (if (stringp (car alist)) + (progn + (insert (if (eq (preceding-char) ? ) "" ? ) (car alist)) + (sgml-value alist)) + (setq i (length alist)) + (while (> i 0) + (insert ? ) + (insert (funcall skeleton-transformation + (setq attribute + (skeleton-read '(completing-read + "[Attribute]: " + alist))))) + (if (string= "" attribute) + (setq i 0) + (sgml-value (assoc attribute alist)) + (setq i (1- i)))) + (if (eq (preceding-char) ? ) + (delete-backward-char 1))) + car))) + +(defun sgml-auto-attributes (arg) + "Self insert, except, when at top level of tag, prompt for attributes. +With prefix ARG only self insert." + (interactive "*P") + (let ((point (point)) + tag) + (if (or arg + (not sgml-tag-alist) ; no message when nothing configured + (symbolp (setq tag (save-excursion (sgml-beginning-of-tag t)))) + (eq (aref tag 0) ?/)) + (self-insert-command (prefix-numeric-value arg)) + (sgml-attributes tag) + (setq last-command-char ? ) + (or (> (point) point) + (self-insert-command 1))))) + + +(defun sgml-tag-help (&optional tag) + "Display description of optional TAG or tag at point." + (interactive) + (or tag + (save-excursion + (if (eq (following-char) ?<) + (forward-char)) + (setq tag (sgml-beginning-of-tag)))) + (or (stringp tag) + (error "No tag selected")) + (setq tag (downcase tag)) + (message "%s" + (or (cdr (assoc tag sgml-tag-help)) + (and (eq (aref tag 0) ?/) + (cdr (assoc (substring tag 1) sgml-tag-help))) + "No description available"))) + + +(defun sgml-maybe-end-tag () + "Name self unless in position to end a tag." + (interactive) + (or (condition-case nil + (save-excursion (up-list -1)) + (error + (sgml-name-self) + t)) + (condition-case nil + (progn + (save-excursion (up-list 1)) + (sgml-name-self)) + (error (self-insert-command 1))))) + + +(defun sgml-skip-tag-backward (arg) + "Skip to beginning of tag or matching opening tag if present. +With prefix ARG, repeat that many times." + (interactive "p") + (while (>= arg 1) + (search-backward "<" nil t) + (if (looking-at "]+\\)") + ;; end tag, skip any nested pairs + (let ((case-fold-search t) + (re (concat "= arg 1) + (skip-chars-forward "^<>") + (if (eq (following-char) ?>) + (up-list -1)) + (if (looking-at "<\\([^/ \n\t>]+\\)") + ;; start tag, skip any nested same pairs _and_ closing tag + (let ((case-fold-search t) + (re (concat "= arg 1) + (save-excursion + (let* (close open) + (if (looking-at "[ \t\n]*<") + ;; just before tag + (if (eq (char-after (match-end 0)) ?/) + ;; closing tag + (progn + (setq close (point)) + (goto-char (match-end 0)))) + ;; on tag? + (or (save-excursion (setq close (sgml-beginning-of-tag) + close (and (stringp close) + (eq (aref close 0) ?/) + (point)))) + ;; not on closing tag + (let ((point (point))) + (sgml-skip-tag-backward 1) + (if (or (not (eq (following-char) ?<)) + (save-excursion + (forward-list 1) + (<= (point) point))) + (error "Not on or before tag"))))) + (if close + (progn + (sgml-skip-tag-backward 1) + (setq open (point)) + (goto-char close) + (kill-sexp 1)) + (setq open (point)) + (sgml-skip-tag-forward 1) + (backward-list) + (forward-char) + (if (eq (aref (sgml-beginning-of-tag) 0) ?/) + (kill-sexp 1))) + (goto-char open) + (kill-sexp 1))) + (setq arg (1- arg)))) + + + +(defun sgml-tags-invisible (arg) + "Toggle visibility of existing tags." + (interactive "P") + (let ((modified (buffer-modified-p)) + (inhibit-read-only t) + (point (point-min)) + symbol) + (save-excursion + (goto-char point) + (if (setq sgml-tags-invisible + (if arg + (>= (prefix-numeric-value arg) 0) + (not sgml-tags-invisible))) + (while (re-search-forward "<\\([!/?A-Za-z][-A-Za-z0-9]*\\)" + nil t) + (setq symbol (intern-soft (downcase (match-string 1)))) + (goto-char (match-beginning 0)) + (and (get symbol 'before-string) + (not (overlays-at (point))) + (overlay-put (make-overlay (point) + (match-beginning 1)) + 'category symbol)) + (put-text-property (setq point (point)) (forward-list) + 'intangible (point)) + (put-text-property point (point) + 'category 'sgml-tag)) + (while (< (setq point (next-overlay-change point)) (point-max)) + (delete-overlay (car (overlays-at point)))) + (remove-text-properties (point-min) (point-max) + '(category sgml-tag intangible t)))) + (set-buffer-modified-p modified) + (run-hooks 'sgml-tags-invisible-hook) + (message ""))) + +(defun sgml-point-entered (x y) + ;; Show preceding or following hidden tag, depending of cursor direction. + (let ((inhibit-point-motion-hooks t)) + (save-excursion + (message "Invisible tag: %s" + (buffer-substring + (point) + (if (or (and (> x y) + (not (eq (following-char) ?<))) + (and (< x y) + (eq (preceding-char) ?>))) + (backward-list) + (forward-list))))))) + + +(autoload 'compile-internal "compile") + +(defun sgml-validate (command) + "Validate an SGML document. +Runs COMMAND, a shell command, in a separate process asynchronously +with output going to the buffer *compilation*. +You can then use the command \\[next-error] to find the next error message +and move to the line in the SGML document that caused it." + (interactive + (list (read-string "Validate command: " + (or sgml-saved-validate-command + (concat sgml-validate-command + " " + (let ((name (buffer-file-name))) + (and name + (file-name-nondirectory name)))))))) + (setq sgml-saved-validate-command command) + (if (or (not compilation-ask-about-save) + (y-or-n-p (message "Save buffer %s? " (buffer-name)))) + (save-buffer)) + (compile-internal command "No more errors")) + + +(defun sgml-beginning-of-tag (&optional top-level) + "Skip to beginning of tag and return its name. +Else `t'." + (or (if top-level + (condition-case nil + (up-list -1) + (error t)) + (>= (point) + (if (search-backward "<" nil t) + (save-excursion + (forward-list) + (point)) + 0))) + (if (looking-at "<[!?/]?[[A-Za-z][A-Za-z0-9]*") + (buffer-substring-no-properties + (1+ (point)) + (match-end 0)) + t))) + +(defun sgml-value (alist) + (setq alist (cdr alist)) + (if (stringp (car alist)) + (insert "=\"" (car alist) ?\") + (if (eq (car alist) t) + (if (cdr alist) + (progn + (insert "=\"") + (setq alist (skeleton-read '(completing-read + "[Value]: " (cdr alist)))) + (if (string< "" alist) + (insert (funcall skeleton-transformation alist) ?\") + (delete-backward-char 2)))) + (insert "=\"") + (if alist + (insert (funcall skeleton-transformation + (skeleton-read '(completing-read "Value: " alist))))) + (insert ?\")))) + +(provide 'sgml-mode) + +(defvar html-quick-keys sgml-quick-keys + "Use C-c X combinations for quick insertion of frequent tags when non-nil. +This defaults to `sgml-quick-keys'. +This takes effect when first loading the library.") + +(defvar html-mode-map + (let (; (map (nconc (make-sparse-keymap) sgml-mode-map)) + (map (copy-keymap sgml-mode-map)) + (menu-map (make-sparse-keymap "HTML"))) + (define-key map "\C-c6" 'html-headline-6) + (define-key map "\C-c5" 'html-headline-5) + (define-key map "\C-c4" 'html-headline-4) + (define-key map "\C-c3" 'html-headline-3) + (define-key map "\C-c2" 'html-headline-2) + (define-key map "\C-c1" 'html-headline-1) + (define-key map "\C-c\r" 'html-paragraph) + (define-key map "\C-c\n" 'html-line) + (define-key map "\C-c\C-c-" 'html-horizontal-rule) + (define-key map "\C-c\C-co" 'html-ordered-list) + (define-key map "\C-c\C-cu" 'html-unordered-list) + (define-key map "\C-c\C-cr" 'html-radio-buttons) + (define-key map "\C-c\C-cc" 'html-checkboxes) + (define-key map "\C-c\C-cl" 'html-list-item) + (define-key map "\C-c\C-ch" 'html-href-anchor) + (define-key map "\C-c\C-cn" 'html-name-anchor) + (define-key map "\C-c\C-ci" 'html-image) + (if html-quick-keys + (progn + (define-key map "\C-c-" 'html-horizontal-rule) + (define-key map "\C-co" 'html-ordered-list) + (define-key map "\C-cu" 'html-unordered-list) + (define-key map "\C-cr" 'html-radio-buttons) + (define-key map "\C-cc" 'html-checkboxes) + (define-key map "\C-cl" 'html-list-item) + (define-key map "\C-ch" 'html-href-anchor) + (define-key map "\C-cn" 'html-name-anchor) + (define-key map "\C-ci" 'html-image))) + (define-key map "\C-c\C-s" 'html-autoview-mode) + (define-key map "\C-c\C-v" 'browse-url-of-buffer) + (define-key map [menu-bar html] (cons "HTML" menu-map)) + (define-key menu-map [html-autoview-mode] + '("Toggle Autoviewing" . html-autoview-mode)) + (define-key menu-map [browse-url-of-buffer] + '("View Buffer Contents" . browse-url-of-buffer)) + (define-key menu-map [nil] '("--")) + ;;(define-key menu-map "6" '("Heading 6" . html-headline-6)) + ;;(define-key menu-map "5" '("Heading 5" . html-headline-5)) + ;;(define-key menu-map "4" '("Heading 4" . html-headline-4)) + (define-key menu-map "3" '("Heading 3" . html-headline-3)) + (define-key menu-map "2" '("Heading 2" . html-headline-2)) + (define-key menu-map "1" '("Heading 1" . html-headline-1)) + (define-key menu-map "l" '("Radio Buttons" . html-radio-buttons)) + (define-key menu-map "c" '("Checkboxes" . html-checkboxes)) + (define-key menu-map "l" '("List Item" . html-list-item)) + (define-key menu-map "u" '("Unordered List" . html-unordered-list)) + (define-key menu-map "o" '("Ordered List" . html-ordered-list)) + (define-key menu-map "-" '("Horizontal Rule" . html-horizontal-rule)) + (define-key menu-map "\n" '("Line Break" . html-line)) + (define-key menu-map "\r" '("Paragraph" . html-paragraph)) + (define-key menu-map "i" '("Image" . html-image)) + (define-key menu-map "h" '("Href Anchor" . html-href-anchor)) + (define-key menu-map "n" '("Name Anchor" . html-name-anchor)) + map) + "Keymap for commands for use in HTML mode.") + + +(defvar html-face-tag-alist + '((bold . "b") + (italic . "i") + (underline . "u") + (modeline . "rev")) + "Value of `sgml-face-tag-alist' for HTML mode.") + +(defvar html-tag-face-alist + '(("b" . bold) + ("big" . bold) + ("blink" . highlight) + ("cite" . italic) + ("em" . italic) + ("h1" bold underline) + ("h2" bold-italic underline) + ("h3" italic underline) + ("h4" . underline) + ("h5" . underline) + ("h6" . underline) + ("i" . italic) + ("rev" . modeline) + ("s" . underline) + ("small" . default) + ("strong" . bold) + ("title" bold underline) + ("tt" . default) + ("u" . underline) + ("var" . italic)) + "Value of `sgml-tag-face-alist' for HTML mode.") + + +(defvar html-display-text + '((img . "[/]") + (hr . "----------") + (li . "o ")) + "Value of `sgml-display-text' for HTML mode.") + + +; should code exactly HTML 3 here when that is finished +(defvar html-tag-alist + (let* ((1-9 '(("8") ("9") + ("1") ("2") ("3") ("4") ("5") ("6") ("7"))) + (align '(("align" ("left") ("center") ("right")))) + (valign '(("top") ("middle") ("bottom") ("baseline"))) + (rel '(("next") ("previous") ("parent") ("subdocument") ("made"))) + (href '("href" ("ftp:") ("file:") ("finger:") ("gopher:") ("http:") + ("mailto:") ("news:") ("rlogin:") ("telnet:") ("tn3270:") + ("wais:") ("/cgi-bin/"))) + (name '("name")) + (link `(,href + ("rel" ,@rel) + ("rev" ,@rel) + ("title"))) + (list '((nil \n + ( "List item: " + "

  • " str \n)) + ("type" ("A") ("a") ("I") ("i") ("1")))) + (cell `(t + ,align + ("valign" ,@valign) + ("colspan" ,@1-9) + ("rowspan" ,@1-9) + ("nowrap" t)))) + ;; put ,-expressions first, else byte-compile chokes (as of V19.29) + ;; and like this it's more efficient anyway + `(("a" ,name ,@link) + ("base" t ,@href) + ("dir" ,@list) + ("font" ("size" ("-1") ("+1") ("-2") ("+2") ,@(cdr (cdr 1-9)))) + ("form" (\n _ \n "") + ("action" ,@(cdr href)) ("method" ("get") ("post"))) + ("h1" ,@align) + ("h2" ,@align) + ("h3" ,@align) + ("h4" ,@align) + ("h5" ,@align) + ("h6" ,@align) + ("hr" t ("size" ,@1-9) ("width") ("noshade" t) ,@align) + ("img" t ("align" ,@valign ("texttop") ("absmiddle") ("absbottom")) + ("src") ("alt") ("width" "1") ("height" "1") + ("border" "1") ("vspace" "1") ("hspace" "1") ("ismap" t)) + ("input" t ("size" ,@1-9) ("maxlength" ,@1-9) ("checked" t) ,name + ("type" ("text") ("password") ("checkbox") ("radio") + ("submit") ("reset")) + ("value")) + ("link" t ,@link) + ("menu" ,@list) + ("ol" ,@list) + ("p" t ,@align) + ("select" (nil \n + ("Text: " + "