aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2011-05-20 09:54:09 +0900
committerKenichi Handa2011-05-20 09:54:09 +0900
commite23640bb698b291866717eef3e6b4c444b3fc26a (patch)
treea02126245311ef8f18c43ba9400314fdb7e1d54b
parent31bfc35cca6df0d14f4786a9890f3a01b91cfc4c (diff)
parent35fd0881e61b873ae8c7e4dd9b723d5dd2b578c9 (diff)
downloademacs-e23640bb698b291866717eef3e6b4c444b3fc26a.tar.gz
emacs-e23640bb698b291866717eef3e6b4c444b3fc26a.zip
merge trunk
-rw-r--r--ChangeLog9
-rw-r--r--autogen/Makefile.in4
-rwxr-xr-xautogen/configure27
-rw-r--r--configure.in22
-rw-r--r--doc/lispref/ChangeLog25
-rw-r--r--doc/lispref/control.texi2
-rw-r--r--doc/lispref/customize.texi2
-rw-r--r--doc/lispref/display.texi2
-rw-r--r--doc/lispref/frames.texi6
-rw-r--r--doc/lispref/keymaps.texi4
-rw-r--r--doc/lispref/lists.texi6
-rw-r--r--doc/lispref/modes.texi2
-rw-r--r--doc/lispref/nonascii.texi2
-rw-r--r--doc/lispref/syntax.texi2
-rw-r--r--doc/lispref/text.texi28
-rw-r--r--doc/lispref/windows.texi6
-rw-r--r--doc/misc/Makefile.in2
-rw-r--r--lib-src/ChangeLog5
-rw-r--r--lib-src/makefile.w32-in6
-rw-r--r--lisp/ChangeLog18
-rw-r--r--lisp/emacs-lisp/autoload.el59
-rw-r--r--lisp/files.el1
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/mm-bodies.el3
-rw-r--r--lisp/loadup.el20
-rw-r--r--lisp/net/rcirc.el5
-rw-r--r--lisp/progmodes/f90.el4
-rw-r--r--msdos/ChangeLog6
-rw-r--r--msdos/sed1v2.inp5
-rw-r--r--msdos/sed1x.inp2
-rw-r--r--src/ChangeLog20
-rw-r--r--src/Makefile.in264
-rw-r--r--src/lisp.mk160
33 files changed, 340 insertions, 394 deletions
diff --git a/ChangeLog b/ChangeLog
index fb223292cfc..af7d83a78d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
12011-05-20 Glenn Morris <rgm@gnu.org>
2
3 * configure.in (lisp_frag): New output file.
4
52011-05-19 Glenn Morris <rgm@gnu.org>
6
7 * configure.in (NS_SUPPORT, MOUSE_SUPPORT, TOOLTIP_SUPPORT)
8 (WINDOW_SUPPORT): Remove output variables that are no longer used.
9
12011-05-17 Paul Eggert <eggert@cs.ucla.edu> 102011-05-17 Paul Eggert <eggert@cs.ucla.edu>
2 11
3 * lib/gnulib.mk: 12 * lib/gnulib.mk:
diff --git a/autogen/Makefile.in b/autogen/Makefile.in
index b8b06d5ffd5..daff172c567 100644
--- a/autogen/Makefile.in
+++ b/autogen/Makefile.in
@@ -481,7 +481,6 @@ MAINT = @MAINT@
481MAKEINFO = @MAKEINFO@ 481MAKEINFO = @MAKEINFO@
482MKDEPDIR = @MKDEPDIR@ 482MKDEPDIR = @MKDEPDIR@
483MKDIR_P = @MKDIR_P@ 483MKDIR_P = @MKDIR_P@
484MOUSE_SUPPORT = @MOUSE_SUPPORT@
485M_FILE = @M_FILE@ 484M_FILE = @M_FILE@
486NEXT_AS_FIRST_DIRECTIVE_GETOPT_H = @NEXT_AS_FIRST_DIRECTIVE_GETOPT_H@ 485NEXT_AS_FIRST_DIRECTIVE_GETOPT_H = @NEXT_AS_FIRST_DIRECTIVE_GETOPT_H@
487NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ 486NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@
@@ -505,7 +504,6 @@ NEXT_TIME_H = @NEXT_TIME_H@
505NEXT_UNISTD_H = @NEXT_UNISTD_H@ 504NEXT_UNISTD_H = @NEXT_UNISTD_H@
506NS_OBJ = @NS_OBJ@ 505NS_OBJ = @NS_OBJ@
507NS_OBJC_OBJ = @NS_OBJC_OBJ@ 506NS_OBJC_OBJ = @NS_OBJC_OBJ@
508NS_SUPPORT = @NS_SUPPORT@
509OBJEXT = @OBJEXT@ 507OBJEXT = @OBJEXT@
510OLDXMENU = @OLDXMENU@ 508OLDXMENU = @OLDXMENU@
511OLDXMENU_DEPS = @OLDXMENU_DEPS@ 509OLDXMENU_DEPS = @OLDXMENU_DEPS@
@@ -632,7 +630,6 @@ TEMACS_LDFLAGS2 = @TEMACS_LDFLAGS2@
632TERMCAP_OBJ = @TERMCAP_OBJ@ 630TERMCAP_OBJ = @TERMCAP_OBJ@
633TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ 631TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@
634TOOLKIT_LIBW = @TOOLKIT_LIBW@ 632TOOLKIT_LIBW = @TOOLKIT_LIBW@
635TOOLTIP_SUPPORT = @TOOLTIP_SUPPORT@
636UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ 633UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@
637UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ 634UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@
638UNEXEC_OBJ = @UNEXEC_OBJ@ 635UNEXEC_OBJ = @UNEXEC_OBJ@
@@ -642,7 +639,6 @@ VERSION = @VERSION@
642VMLIMIT_OBJ = @VMLIMIT_OBJ@ 639VMLIMIT_OBJ = @VMLIMIT_OBJ@
643WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ 640WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
644WIDGET_OBJ = @WIDGET_OBJ@ 641WIDGET_OBJ = @WIDGET_OBJ@
645WINDOW_SUPPORT = @WINDOW_SUPPORT@
646WINT_T_SUFFIX = @WINT_T_SUFFIX@ 642WINT_T_SUFFIX = @WINT_T_SUFFIX@
647XFT_CFLAGS = @XFT_CFLAGS@ 643XFT_CFLAGS = @XFT_CFLAGS@
648XFT_LIBS = @XFT_LIBS@ 644XFT_LIBS = @XFT_LIBS@
diff --git a/autogen/configure b/autogen/configure
index b3051c9558e..dbeeb91456d 100755
--- a/autogen/configure
+++ b/autogen/configure
@@ -603,9 +603,6 @@ am__EXEEXT_FALSE
603am__EXEEXT_TRUE 603am__EXEEXT_TRUE
604LTLIBOBJS 604LTLIBOBJS
605LIBOBJS 605LIBOBJS
606WINDOW_SUPPORT
607TOOLTIP_SUPPORT
608MOUSE_SUPPORT
609LIB_GCC 606LIB_GCC
610LD_FIRSTFLAG 607LD_FIRSTFLAG
611LD_SWITCH_SYSTEM_TEMACS 608LD_SWITCH_SYSTEM_TEMACS
@@ -1118,7 +1115,6 @@ VMLIMIT_OBJ
1118GMALLOC_OBJ 1115GMALLOC_OBJ
1119HAVE_XSERVER 1116HAVE_XSERVER
1120LIB_STANDARD 1117LIB_STANDARD
1121NS_SUPPORT
1122NS_OBJC_OBJ 1118NS_OBJC_OBJ
1123NS_OBJ 1119NS_OBJ
1124TEMACS_LDFLAGS2 1120TEMACS_LDFLAGS2
@@ -1238,6 +1234,7 @@ PACKAGE_NAME
1238PATH_SEPARATOR 1234PATH_SEPARATOR
1239SHELL' 1235SHELL'
1240ac_subst_files='deps_frag 1236ac_subst_files='deps_frag
1237lisp_frag
1241ns_frag' 1238ns_frag'
1242ac_user_opts=' 1239ac_user_opts='
1243enable_option_checking 1240enable_option_checking
@@ -9083,6 +9080,10 @@ deps_frag=$srcdir/src/$deps_frag
9083 9080
9084 9081
9085 9082
9083lisp_frag=$srcdir/src/lisp.mk
9084
9085
9086
9086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5 9087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5
9087$as_echo_n "checking for long file names... " >&6; } 9088$as_echo_n "checking for long file names... " >&6; }
9088if test "${ac_cv_sys_long_file_names+set}" = set; then : 9089if test "${ac_cv_sys_long_file_names+set}" = set; then :
@@ -9460,7 +9461,6 @@ fi
9460ns_frag=/dev/null 9461ns_frag=/dev/null
9461NS_OBJ= 9462NS_OBJ=
9462NS_OBJC_OBJ= 9463NS_OBJC_OBJ=
9463NS_SUPPORT=
9464if test "${HAVE_NS}" = yes; then 9464if test "${HAVE_NS}" = yes; then
9465 window_system=nextstep 9465 window_system=nextstep
9466 with_xft=no 9466 with_xft=no
@@ -9473,7 +9473,6 @@ if test "${HAVE_NS}" = yes; then
9473 ns_frag=$srcdir/src/ns.mk 9473 ns_frag=$srcdir/src/ns.mk
9474 NS_OBJ="fontset.o fringe.o image.o" 9474 NS_OBJ="fontset.o fringe.o image.o"
9475 NS_OBJC_OBJ="nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o" 9475 NS_OBJC_OBJ="nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o"
9476 NS_SUPPORT="\${lispsource}/emacs-lisp/easymenu.elc \${lispsource}/term/ns-win.elc"
9477fi 9476fi
9478CFLAGS="$tmp_CFLAGS" 9477CFLAGS="$tmp_CFLAGS"
9479CPPFLAGS="$tmp_CPPFLAGS" 9478CPPFLAGS="$tmp_CPPFLAGS"
@@ -9482,7 +9481,6 @@ CPPFLAGS="$tmp_CPPFLAGS"
9482 9481
9483 9482
9484 9483
9485
9486case "${window_system}" in 9484case "${window_system}" in
9487 x11 ) 9485 x11 )
9488 HAVE_X_WINDOWS=yes 9486 HAVE_X_WINDOWS=yes
@@ -12929,7 +12927,6 @@ fi
12929### Use -lgpm if available, unless `--with-gpm=no'. 12927### Use -lgpm if available, unless `--with-gpm=no'.
12930HAVE_GPM=no 12928HAVE_GPM=no
12931LIBGPM= 12929LIBGPM=
12932MOUSE_SUPPORT=
12933if test "${with_gpm}" != "no"; then 12930if test "${with_gpm}" != "no"; then
12934 ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default" 12931 ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default"
12935if test "x$ac_cv_header_gpm_h" = x""yes; then : 12932if test "x$ac_cv_header_gpm_h" = x""yes; then :
@@ -12982,8 +12979,6 @@ fi
12982$as_echo "#define HAVE_GPM 1" >>confdefs.h 12979$as_echo "#define HAVE_GPM 1" >>confdefs.h
12983 12980
12984 LIBGPM=-lgpm 12981 LIBGPM=-lgpm
12985 ## May be reset below.
12986 MOUSE_SUPPORT="\$(GPM_MOUSE_SUPPORT)"
12987 fi 12982 fi
12988fi 12983fi
12989 12984
@@ -20810,8 +20805,6 @@ if test "x$GCC" = "xyes" && test "x$ORDINARY_LINK" != "xyes"; then
20810fi 20805fi
20811 20806
20812 20807
20813TOOLTIP_SUPPORT=
20814WINDOW_SUPPORT=
20815## If we're using X11/GNUstep, define some consequences. 20808## If we're using X11/GNUstep, define some consequences.
20816if test "$HAVE_X_WINDOWS" = "yes" || test "$HAVE_NS" = "yes"; then 20809if test "$HAVE_X_WINDOWS" = "yes" || test "$HAVE_NS" = "yes"; then
20817 20810
@@ -20820,21 +20813,11 @@ $as_echo "#define HAVE_WINDOW_SYSTEM 1" >>confdefs.h
20820 20813
20821$as_echo "#define HAVE_MOUSE 1" >>confdefs.h 20814$as_echo "#define HAVE_MOUSE 1" >>confdefs.h
20822 20815
20823 MOUSE_SUPPORT="\$(REAL_MOUSE_SUPPORT)"
20824 TOOLTIP_SUPPORT="\${lispsource}/mouse.elc"
20825
20826 WINDOW_SUPPORT="\$(BASE_WINDOW_SUPPORT)"
20827 test "$HAVE_X_WINDOWS" = "yes" && \
20828 WINDOW_SUPPORT="$WINDOW_SUPPORT \$(X_WINDOW_SUPPORT)"
20829
20830fi 20816fi
20831 20817
20832 20818
20833 20819
20834 20820
20835
20836
20837
20838#### Report on what we decided to do. 20821#### Report on what we decided to do.
20839#### Report GTK as a toolkit, even if it doesn't use Xt. 20822#### Report GTK as a toolkit, even if it doesn't use Xt.
20840#### It makes printing result more understandable as using GTK sets 20823#### It makes printing result more understandable as using GTK sets
diff --git a/configure.in b/configure.in
index 5d2992539f0..dd895f3f06f 100644
--- a/configure.in
+++ b/configure.in
@@ -1370,6 +1370,10 @@ AC_SUBST(DEPFLAGS)
1370AC_SUBST_FILE(deps_frag) 1370AC_SUBST_FILE(deps_frag)
1371 1371
1372 1372
1373lisp_frag=$srcdir/src/lisp.mk
1374AC_SUBST_FILE(lisp_frag)
1375
1376
1373dnl checks for operating system services 1377dnl checks for operating system services
1374AC_SYS_LONG_FILE_NAMES 1378AC_SYS_LONG_FILE_NAMES
1375 1379
@@ -1503,7 +1507,6 @@ AC_SUBST(TEMACS_LDFLAGS2)
1503ns_frag=/dev/null 1507ns_frag=/dev/null
1504NS_OBJ= 1508NS_OBJ=
1505NS_OBJC_OBJ= 1509NS_OBJC_OBJ=
1506NS_SUPPORT=
1507if test "${HAVE_NS}" = yes; then 1510if test "${HAVE_NS}" = yes; then
1508 window_system=nextstep 1511 window_system=nextstep
1509 with_xft=no 1512 with_xft=no
@@ -1516,13 +1519,11 @@ if test "${HAVE_NS}" = yes; then
1516 ns_frag=$srcdir/src/ns.mk 1519 ns_frag=$srcdir/src/ns.mk
1517 NS_OBJ="fontset.o fringe.o image.o" 1520 NS_OBJ="fontset.o fringe.o image.o"
1518 NS_OBJC_OBJ="nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o" 1521 NS_OBJC_OBJ="nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o"
1519 NS_SUPPORT="\${lispsource}/emacs-lisp/easymenu.elc \${lispsource}/term/ns-win.elc"
1520fi 1522fi
1521CFLAGS="$tmp_CFLAGS" 1523CFLAGS="$tmp_CFLAGS"
1522CPPFLAGS="$tmp_CPPFLAGS" 1524CPPFLAGS="$tmp_CPPFLAGS"
1523AC_SUBST(NS_OBJ) 1525AC_SUBST(NS_OBJ)
1524AC_SUBST(NS_OBJC_OBJ) 1526AC_SUBST(NS_OBJC_OBJ)
1525AC_SUBST(NS_SUPPORT)
1526AC_SUBST(LIB_STANDARD) 1527AC_SUBST(LIB_STANDARD)
1527AC_SUBST_FILE(ns_frag) 1528AC_SUBST_FILE(ns_frag)
1528 1529
@@ -2476,7 +2477,6 @@ fi
2476### Use -lgpm if available, unless `--with-gpm=no'. 2477### Use -lgpm if available, unless `--with-gpm=no'.
2477HAVE_GPM=no 2478HAVE_GPM=no
2478LIBGPM= 2479LIBGPM=
2479MOUSE_SUPPORT=
2480if test "${with_gpm}" != "no"; then 2480if test "${with_gpm}" != "no"; then
2481 AC_CHECK_HEADER(gpm.h, 2481 AC_CHECK_HEADER(gpm.h,
2482 [AC_CHECK_LIB(gpm, Gpm_Open, HAVE_GPM=yes)]) 2482 [AC_CHECK_LIB(gpm, Gpm_Open, HAVE_GPM=yes)])
@@ -2484,8 +2484,6 @@ if test "${with_gpm}" != "no"; then
2484 if test "${HAVE_GPM}" = "yes"; then 2484 if test "${HAVE_GPM}" = "yes"; then
2485 AC_DEFINE(HAVE_GPM, 1, [Define to 1 if you have the gpm library (-lgpm).]) 2485 AC_DEFINE(HAVE_GPM, 1, [Define to 1 if you have the gpm library (-lgpm).])
2486 LIBGPM=-lgpm 2486 LIBGPM=-lgpm
2487 ## May be reset below.
2488 MOUSE_SUPPORT="\$(GPM_MOUSE_SUPPORT)"
2489 fi 2487 fi
2490fi 2488fi
2491AC_SUBST(LIBGPM) 2489AC_SUBST(LIBGPM)
@@ -3421,23 +3419,11 @@ fi dnl if $GCC
3421AC_SUBST(LIB_GCC) 3419AC_SUBST(LIB_GCC)
3422 3420
3423 3421
3424TOOLTIP_SUPPORT=
3425WINDOW_SUPPORT=
3426## If we're using X11/GNUstep, define some consequences. 3422## If we're using X11/GNUstep, define some consequences.
3427if test "$HAVE_X_WINDOWS" = "yes" || test "$HAVE_NS" = "yes"; then 3423if test "$HAVE_X_WINDOWS" = "yes" || test "$HAVE_NS" = "yes"; then
3428 AC_DEFINE(HAVE_WINDOW_SYSTEM, 1, [Define if you have a window system.]) 3424 AC_DEFINE(HAVE_WINDOW_SYSTEM, 1, [Define if you have a window system.])
3429 AC_DEFINE(HAVE_MOUSE, 1, [Define if you have mouse support.]) 3425 AC_DEFINE(HAVE_MOUSE, 1, [Define if you have mouse support.])
3430 MOUSE_SUPPORT="\$(REAL_MOUSE_SUPPORT)"
3431 TOOLTIP_SUPPORT="\${lispsource}/mouse.elc"
3432
3433 WINDOW_SUPPORT="\$(BASE_WINDOW_SUPPORT)"
3434 test "$HAVE_X_WINDOWS" = "yes" && \
3435 WINDOW_SUPPORT="$WINDOW_SUPPORT \$(X_WINDOW_SUPPORT)"
3436
3437fi 3426fi
3438AC_SUBST(MOUSE_SUPPORT)
3439AC_SUBST(TOOLTIP_SUPPORT)
3440AC_SUBST(WINDOW_SUPPORT)
3441 3427
3442 3428
3443AH_TOP([/* GNU Emacs site configuration template file. 3429AH_TOP([/* GNU Emacs site configuration template file.
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 593b54d088b..7d1ce7bff80 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,28 @@
12011-05-19 Glenn Morris <rgm@gnu.org>
2
3 * lists.texi (Sets And Lists): Mention cl provides union etc.
4
52011-05-19 Nix <nix@esperi.org.uk>
6
7 * windows.texi (Displaying Buffers): pop-to-buffer is not a command.
8
9 * text.texi (Parsing HTML): Update for function name changes.
10
11 * syntax.texi (Syntax Flags): Small fix.
12
13 * keymaps.texi (Active Keymaps): Typo fix.
14 (Changing Key Bindings): Grammar fix.
15
16 * frames.texi (Minibuffers and Frames): Grammar fix.
17 (Window System Selections): x-select-enable-clipboard now defaults to t.
18
19 * customize.texi (Common Keywords):
20 * display.texi (Abstract Display):
21 * modes.texi (Auto-Indentation):
22 * nonascii.texi (Converting Representations): Typo fixes.
23
24 * control.texi (Examples of Catch): Call it "goto" not "go to".
25
12011-05-14 Eli Zaretskii <eliz@gnu.org> 262011-05-14 Eli Zaretskii <eliz@gnu.org>
2 27
3 * nonascii.texi (Character Properties): Fix inconsistencies with 28 * nonascii.texi (Character Properties): Fix inconsistencies with
diff --git a/doc/lispref/control.texi b/doc/lispref/control.texi
index b6fdb9dbcbd..875c23658b9 100644
--- a/doc/lispref/control.texi
+++ b/doc/lispref/control.texi
@@ -623,7 +623,7 @@ error is signaled with data @code{(@var{tag} @var{value})}.
623@subsection Examples of @code{catch} and @code{throw} 623@subsection Examples of @code{catch} and @code{throw}
624 624
625 One way to use @code{catch} and @code{throw} is to exit from a doubly 625 One way to use @code{catch} and @code{throw} is to exit from a doubly
626nested loop. (In most languages, this would be done with a ``go to.'') 626nested loop. (In most languages, this would be done with a ``goto.'')
627Here we compute @code{(foo @var{i} @var{j})} for @var{i} and @var{j} 627Here we compute @code{(foo @var{i} @var{j})} for @var{i} and @var{j}
628varying from 0 to 9: 628varying from 0 to 9:
629 629
diff --git a/doc/lispref/customize.texi b/doc/lispref/customize.texi
index 2f1ea055f82..e58c8c298c9 100644
--- a/doc/lispref/customize.texi
+++ b/doc/lispref/customize.texi
@@ -174,7 +174,7 @@ For example, the MH-E package updates this alist with the following:
174 174
175The value of @var{package} needs to be unique and it needs to match 175The value of @var{package} needs to be unique and it needs to match
176the @var{package} value appearing in the @code{:package-version} 176the @var{package} value appearing in the @code{:package-version}
177keyword. Since the user might see the value in a error message, a good 177keyword. Since the user might see the value in an error message, a good
178choice is the official name of the package, such as MH-E or Gnus. 178choice is the official name of the package, such as MH-E or Gnus.
179@end defvar 179@end defvar
180 180
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 130f097a85f..338fd421994 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -5201,7 +5201,7 @@ element value into the current buffer.
5201 Typically, you define an ewoc with @code{ewoc-create}, and then pass 5201 Typically, you define an ewoc with @code{ewoc-create}, and then pass
5202the resulting ewoc structure to other functions in the Ewoc package to 5202the resulting ewoc structure to other functions in the Ewoc package to
5203build nodes within it, and display it in the buffer. Once it is 5203build nodes within it, and display it in the buffer. Once it is
5204displayed in the buffer, other functions determine the correspondance 5204displayed in the buffer, other functions determine the correspondence
5205between buffer positions and nodes, move point from one node's textual 5205between buffer positions and nodes, move point from one node's textual
5206representation to another, and so forth. @xref{Abstract Display 5206representation to another, and so forth. @xref{Abstract Display
5207Functions}. 5207Functions}.
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi
index 06c120cc09d..c5136456177 100644
--- a/doc/lispref/frames.texi
+++ b/doc/lispref/frames.texi
@@ -1368,7 +1368,7 @@ minibuffer-window}).
1368 1368
1369However, you can also create a frame with no minibuffer. Such a frame 1369However, you can also create a frame with no minibuffer. Such a frame
1370must use the minibuffer window of some other frame. When you create the 1370must use the minibuffer window of some other frame. When you create the
1371frame, you can specify explicitly the minibuffer window to use (in some 1371frame, you can explicitly specify the minibuffer window to use (in some
1372other frame). If you don't, then the minibuffer is found in the frame 1372other frame). If you don't, then the minibuffer is found in the frame
1373which is the value of the variable @code{default-minibuffer-frame}. Its 1373which is the value of the variable @code{default-minibuffer-frame}. Its
1374value should be a frame that does have a minibuffer. 1374value should be a frame that does have a minibuffer.
@@ -2018,8 +2018,8 @@ clipboard as empty.
2018If this is non-@code{nil}, the Emacs yank functions consult the 2018If this is non-@code{nil}, the Emacs yank functions consult the
2019clipboard before the primary selection, and the kill functions store in 2019clipboard before the primary selection, and the kill functions store in
2020the clipboard as well as the primary selection. Otherwise they do not 2020the clipboard as well as the primary selection. Otherwise they do not
2021access the clipboard at all. The default is @code{nil} on most systems, 2021access the clipboard at all. The default is @code{t} on systems with
2022but @code{t} on MS-Windows. 2022clipboards.
2023@end defopt 2023@end defopt
2024 2024
2025@node Drag and Drop 2025@node Drag and Drop
diff --git a/doc/lispref/keymaps.texi b/doc/lispref/keymaps.texi
index 2648c22ca01..2ebce284fd3 100644
--- a/doc/lispref/keymaps.texi
+++ b/doc/lispref/keymaps.texi
@@ -686,7 +686,7 @@ bindings, as in @code{lookup-key} (@pxref{Functions for Key Lookup}).
686 686
687When commands are remapped (@pxref{Remapping Commands}), 687When commands are remapped (@pxref{Remapping Commands}),
688@code{key-binding} normally processes command remappings so as to 688@code{key-binding} normally processes command remappings so as to
689returns the remapped command that will actually be executed. However, 689return the remapped command that will actually be executed. However,
690if @var{no-remap} is non-@code{nil}, @code{key-binding} ignores 690if @var{no-remap} is non-@code{nil}, @code{key-binding} ignores
691remappings and returns the binding directly specified for @var{key}. 691remappings and returns the binding directly specified for @var{key}.
692 692
@@ -1239,7 +1239,7 @@ local map, that usually affects all buffers using the same major mode.
1239The @code{global-set-key} and @code{local-set-key} functions are 1239The @code{global-set-key} and @code{local-set-key} functions are
1240convenient interfaces for these operations (@pxref{Key Binding 1240convenient interfaces for these operations (@pxref{Key Binding
1241Commands}). You can also use @code{define-key}, a more general 1241Commands}). You can also use @code{define-key}, a more general
1242function; then you must specify explicitly the map to change. 1242function; then you must explicitly specify the map to change.
1243 1243
1244 When choosing the key sequences for Lisp programs to rebind, please 1244 When choosing the key sequences for Lisp programs to rebind, please
1245follow the Emacs conventions for use of various keys (@pxref{Key 1245follow the Emacs conventions for use of various keys (@pxref{Key
diff --git a/doc/lispref/lists.texi b/doc/lispref/lists.texi
index fa3fac814c1..d27c609dc83 100644
--- a/doc/lispref/lists.texi
+++ b/doc/lispref/lists.texi
@@ -1266,9 +1266,9 @@ functions for sets include @code{memq} and @code{delq}, and their
1266@cindex CL note---lack @code{union}, @code{intersection} 1266@cindex CL note---lack @code{union}, @code{intersection}
1267@quotation 1267@quotation
1268@b{Common Lisp note:} Common Lisp has functions @code{union} (which 1268@b{Common Lisp note:} Common Lisp has functions @code{union} (which
1269avoids duplicate elements) and @code{intersection} for set operations, 1269avoids duplicate elements) and @code{intersection} for set operations.
1270but GNU Emacs Lisp does not have them. You can write them in Lisp if 1270Although standard GNU Emacs Lisp does not have them, the @file{cl}
1271you wish. 1271library provides versions. @inforef{Top, Overview, cl}.
1272@end quotation 1272@end quotation
1273 1273
1274@defun memq object list 1274@defun memq object list
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index 02f89f93207..609c713194a 100644
--- a/doc/lispref/modes.texi
+++ b/doc/lispref/modes.texi
@@ -3256,7 +3256,7 @@ reasonably fast.
3256@end defvar 3256@end defvar
3257 3257
3258@node Auto-Indentation 3258@node Auto-Indentation
3259@section Auto-indention of code 3259@section Auto-indentation of code
3260 3260
3261For programming languages, an important feature of a major mode is to 3261For programming languages, an important feature of a major mode is to
3262provide automatic indentation. This is controlled in Emacs by 3262provide automatic indentation. This is controlled in Emacs by
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi
index a3f25af4719..0328dae9e7b 100644
--- a/doc/lispref/nonascii.texi
+++ b/doc/lispref/nonascii.texi
@@ -201,7 +201,7 @@ characters.
201@defun byte-to-string byte 201@defun byte-to-string byte
202@cindex byte to string 202@cindex byte to string
203This function returns a unibyte string containing a single byte of 203This function returns a unibyte string containing a single byte of
204character data, @var{character}. It signals a error if 204character data, @var{character}. It signals an error if
205@var{character} is not an integer between 0 and 255. 205@var{character} is not an integer between 0 and 255.
206@end defun 206@end defun
207 207
diff --git a/doc/lispref/syntax.texi b/doc/lispref/syntax.texi
index 55ee2dec4a4..6582a8dfb0c 100644
--- a/doc/lispref/syntax.texi
+++ b/doc/lispref/syntax.texi
@@ -374,7 +374,7 @@ character, @samp{/}, does not have the @samp{b} flag.
374 374
375@item @samp{*/} 375@item @samp{*/}
376This is a comment-end sequence for ``b'' style because the first 376This is a comment-end sequence for ``b'' style because the first
377character, @samp{*}, does have the @samp{b} flag. 377character, @samp{*}, has the @samp{b} flag.
378 378
379@item newline 379@item newline
380This is a comment-end sequence for ``a'' style, because the newline 380This is a comment-end sequence for ``a'' style, because the newline
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index 6cb271eec88..8205c5fa169 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -4099,17 +4099,16 @@ coding instead.
4099@node Parsing HTML 4099@node Parsing HTML
4100@section Parsing HTML 4100@section Parsing HTML
4101@cindex parsing html 4101@cindex parsing html
4102@cindex parsing xml
4103 4102
4104Emacs provides an interface to the @code{libxml2} library via two 4103@defun libxml-parse-html-region start end &optional base-url
4105functions: @code{html-parse-buffer} and @code{xml-parse-buffer}. The 4104This function provides HTML parsing via the @code{libxml2} library.
4106HTML function will parse ``real world'' HTML and try to return a 4105It parses ``real world'' HTML and tries to return a sensible parse tree
4107sensible parse tree, while the XML function is somewhat stricter about 4106regardless.
4108syntax.
4109 4107
4110They both take a two optional parameter. The first is a buffer, and 4108In addition to @var{start} and @var{end} (specifying the start and end
4111the second is a base URL to be used to expand relative URLs in the 4109of the region to act on), it takes an optional parameter,
4112document, if any. 4110@var{base-url}, which is used to expand relative URLs in the document,
4111if any.
4113 4112
4114Here's an example demonstrating the structure of the parsed data you 4113Here's an example demonstrating the structure of the parsed data you
4115get out. Given this HTML document: 4114get out. Given this HTML document:
@@ -4138,12 +4137,21 @@ values.
4138 4137
4139Attributes are coded the same way as child nodes, but with @samp{:} as 4138Attributes are coded the same way as child nodes, but with @samp{:} as
4140the first character. 4139the first character.
4140@end defun
4141
4142@cindex parsing xml
4143@defun libxml-parse-xml-region start end &optional base-url
4144
4145This is much the same as @code{libxml-parse-html-region} above, but
4146operates on XML instead of HTML, and is correspondingly stricter about
4147syntax.
4148@end defun
4141 4149
4142@node Atomic Changes 4150@node Atomic Changes
4143@section Atomic Change Groups 4151@section Atomic Change Groups
4144@cindex atomic changes 4152@cindex atomic changes
4145 4153
4146 In data base terminology, an @dfn{atomic} change is an indivisible 4154 In database terminology, an @dfn{atomic} change is an indivisible
4147change---it can succeed entirely or it can fail entirely, but it 4155change---it can succeed entirely or it can fail entirely, but it
4148cannot partly succeed. A Lisp program can make a series of changes to 4156cannot partly succeed. A Lisp program can make a series of changes to
4149one or several buffers as an @dfn{atomic change group}, meaning that 4157one or several buffers as an @dfn{atomic change group}, meaning that
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index 9ce00de4abc..93f2035eca6 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -826,8 +826,8 @@ This function updates the buffer list just like @code{switch-to-buffer}
826unless @var{norecord} is non-@code{nil}. 826unless @var{norecord} is non-@code{nil}.
827@end deffn 827@end deffn
828 828
829@deffn Command pop-to-buffer buffer-or-name &optional other-window norecord 829@defun pop-to-buffer buffer-or-name &optional other-window norecord
830This command makes @var{buffer-or-name} the current buffer and switches 830This function makes @var{buffer-or-name} the current buffer and switches
831to it in some window, preferably not the window previously selected. 831to it in some window, preferably not the window previously selected.
832The ``popped-to'' window becomes the selected window. Its frame is 832The ``popped-to'' window becomes the selected window. Its frame is
833given the X server's focus, if possible; see @ref{Input Focus}. The 833given the X server's focus, if possible; see @ref{Input Focus}. The
@@ -866,7 +866,7 @@ All the variables that affect @code{display-buffer} affect
866 866
867This function updates the buffer list just like @code{switch-to-buffer} 867This function updates the buffer list just like @code{switch-to-buffer}
868unless @var{norecord} is non-@code{nil}. 868unless @var{norecord} is non-@code{nil}.
869@end deffn 869@end defun
870 870
871@deffn Command replace-buffer-in-windows &optional buffer-or-name 871@deffn Command replace-buffer-in-windows &optional buffer-or-name
872This function replaces @var{buffer-or-name} in all windows displaying 872This function replaces @var{buffer-or-name} in all windows displaying
diff --git a/doc/misc/Makefile.in b/doc/misc/Makefile.in
index 450199a33c5..28a949f81e2 100644
--- a/doc/misc/Makefile.in
+++ b/doc/misc/Makefile.in
@@ -28,7 +28,7 @@ srcdir=@srcdir@
28# Note the other doc Makefiles do not use VPATH anymore, instead 28# Note the other doc Makefiles do not use VPATH anymore, instead
29# they set infodir to an absolute path. Not doing that here in 29# they set infodir to an absolute path. Not doing that here in
30# case INFO_TARGETS gets too long for some feeble shells. 30# case INFO_TARGETS gets too long for some feeble shells.
31# (cf src/Makefile.in's shortlisp) 31# (cf src/Makefile.in's passing of $lisp to make-docfile)
32VPATH=@srcdir@ 32VPATH=@srcdir@
33 33
34## Where the output files go. 34## Where the output files go.
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 27dc3a14d48..33778c1f0ae 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,8 @@
12011-05-19 Glenn Morris <rgm@gnu.org>
2
3 * makefile.w32-in (echolisp): Remove rule that is no longer needed.
4 (clean): No more echolisp.tmp.
5
12011-05-18 Glenn Morris <rgm@gnu.org> 62011-05-18 Glenn Morris <rgm@gnu.org>
2 7
3 * fakemail.c: Remove file. 8 * fakemail.c: Remove file.
diff --git a/lib-src/makefile.w32-in b/lib-src/makefile.w32-in
index 0e203d18bd2..07f6170afe4 100644
--- a/lib-src/makefile.w32-in
+++ b/lib-src/makefile.w32-in
@@ -269,11 +269,6 @@ lisp2 = \
269 $(lispsource)window.elc \ 269 $(lispsource)window.elc \
270 $(lispsource)version.el 270 $(lispsource)version.el
271 271
272# Used by batch-update-autoloads.
273echolisp:
274 @echo $(lisp1)
275 @echo $(lisp2)
276
277# This is needed the first time we build the tree, since temacs.exe 272# This is needed the first time we build the tree, since temacs.exe
278# does not exist yet, and the DOC rule needs it to rebuild DOC whenever 273# does not exist yet, and the DOC rule needs it to rebuild DOC whenever
279# Emacs is rebuilt. 274# Emacs is rebuilt.
@@ -330,7 +325,6 @@ clean:
330 - $(DEL) ctags.c 325 - $(DEL) ctags.c
331 - $(DEL_TREE) $(OBJDIR) 326 - $(DEL_TREE) $(OBJDIR)
332 - $(DEL) stamp_BLD 327 - $(DEL) stamp_BLD
333 - $(DEL) echolisp.tmp
334 328
335distclean: cleanall 329distclean: cleanall
336 - $(DEL) TAGS 330 - $(DEL) TAGS
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 15bd4b190b2..d1ec662bac8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,21 @@
12011-05-20 Nix <nix@esperi.org.uk>
2
3 * files.el (basic-save-buffer-2):
4 Fix handling of break-hardlink-on-save with non-existent files.
5
62011-05-19 Deniz Dogan <deniz@dogan.se>
7
8 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
10
112011-05-19 Glenn Morris <rgm@gnu.org>
12
13 * progmodes/f90.el (f90-type-def-re):
14 Handle "type, bind(c)". (Bug#8691)
15
16 * emacs-lisp/autoload.el (batch-update-autoloads):
17 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18
12011-05-18 Michael Albinus <michael.albinus@gmx.de> 192011-05-18 Michael Albinus <michael.albinus@gmx.de>
2 20
3 * net/tramp.el (tramp-process-actions): Set "first-password-request" 21 * net/tramp.el (tramp-process-actions): Set "first-password-request"
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el
index f8f8d9b00f2..6d5067151d3 100644
--- a/lisp/emacs-lisp/autoload.el
+++ b/lisp/emacs-lisp/autoload.el
@@ -769,52 +769,21 @@ Calls `update-directory-autoloads' on the command line arguments.
769Definitions are written to `generated-autoload-file' (which 769Definitions are written to `generated-autoload-file' (which
770should be non-nil)." 770should be non-nil)."
771 ;; For use during the Emacs build process only. 771 ;; For use during the Emacs build process only.
772 ;; Exclude those files that are preloaded on ALL platforms.
773 ;; These are the ones in loadup.el where "(load" is at the start
774 ;; of the line (crude, but it works).
772 (unless autoload-excludes 775 (unless autoload-excludes
773 (let* ((ldir (file-name-directory generated-autoload-file)) 776 (let ((default-directory (file-name-directory generated-autoload-file))
774 (default-directory 777 file)
775 (file-name-as-directory 778 (when (file-readable-p "loadup.el")
776 (expand-file-name (if (eq system-type 'windows-nt) 779 (with-temp-buffer
777 "../lib-src" 780 (insert-file-contents "loadup.el")
778 "../src") ldir))) 781 (while (re-search-forward "^(load \"\\([^\"]+\\)\"" nil t)
779 (mfile "Makefile") 782 (setq file (match-string 1))
780 (tmpfile "echolisp.tmp") 783 (or (string-match "\\.el\\'" file)
781 lim) 784 (setq file (format "%s.el" file)))
782 ;; Windows uses the 'echolisp' approach because: 785 (or (string-match "\\`site-" file)
783 ;; i) It does not have $lisp as a single simple definition, so 786 (push (expand-file-name file) autoload-excludes)))))))
784 ;; it would be harder to parse the Makefile.
785 ;; ii) It can, since it already has $lisp broken up into pieces
786 ;; that the command-line can handle.
787 ;; Non-Windows builds do not use the 'echolisp' approach because
788 ;; no-one knows (?) the maximum safe command-line length on all
789 ;; supported systems. $lisp is much longer there since it uses
790 ;; absolute paths, and it would seem a shame to split it just for this.
791 (when (file-readable-p mfile)
792 (if (eq system-type 'windows-nt)
793 (when (ignore-errors
794 (if (file-exists-p tmpfile) (delete-file tmpfile))
795 ;; FIXME call-process is better, if it works.
796 (shell-command (format "%s echolisp > %s"
797 autoload-make-program tmpfile))
798 (file-readable-p tmpfile))
799 (with-temp-buffer
800 (insert-file-contents tmpfile)
801 ;; FIXME could be a single while loop.
802 (while (not (eobp))
803 (setq lim (line-end-position))
804 (while (re-search-forward "\\([^ ]+\\.el\\)c?\\>" lim t)
805 (push (expand-file-name (match-string 1))
806 autoload-excludes))
807 (forward-line 1))))
808 (with-temp-buffer
809 (insert-file-contents mfile)
810 (when (re-search-forward "^shortlisp= " nil t)
811 (while (and (not lim)
812 (re-search-forward "\\.\\./lisp/\\([^ ]+\\.el\\)c?\\>"
813 nil t))
814 (push (expand-file-name (match-string 1) ldir)
815 autoload-excludes)
816 (skip-chars-forward " \t")
817 (if (eolp) (setq lim t)))))))))
818 (let ((args command-line-args-left)) 787 (let ((args command-line-args-left))
819 (setq command-line-args-left nil) 788 (setq command-line-args-left nil)
820 (apply 'update-directory-autoloads args))) 789 (apply 'update-directory-autoloads args)))
diff --git a/lisp/files.el b/lisp/files.el
index 336a0a436f9..200b9b1d303 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -4517,6 +4517,7 @@ Before and after saving the buffer, this function runs
4517 (dir-writable (file-writable-p dir))) 4517 (dir-writable (file-writable-p dir)))
4518 (if (or (and file-precious-flag dir-writable) 4518 (if (or (and file-precious-flag dir-writable)
4519 (and break-hardlink-on-save 4519 (and break-hardlink-on-save
4520 (file-exists-p buffer-file-name)
4520 (> (file-nlinks buffer-file-name) 1) 4521 (> (file-nlinks buffer-file-name) 1)
4521 (or dir-writable 4522 (or dir-writable
4522 (error (concat (format 4523 (error (concat (format
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 66f30f03eff..2b51637e3d1 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,8 @@
12011-05-19 Katsumi Yamaoka <yamaoka@jpl.org>
2
3 * mm-bodies.el (mm-decode-content-transfer-encoding): Allow leading
4 whitespace in base64 data lines.
5
12011-05-18 Teodor Zlatanov <tzz@lifelogs.com> 62011-05-18 Teodor Zlatanov <tzz@lifelogs.com>
2 7
3 * gnus-registry.el (gnus-registry-user-format-function-M): 8 * gnus-registry.el (gnus-registry-user-format-function-M):
diff --git a/lisp/gnus/mm-bodies.el b/lisp/gnus/mm-bodies.el
index 9952f410f0d..695451ddc45 100644
--- a/lisp/gnus/mm-bodies.el
+++ b/lisp/gnus/mm-bodies.el
@@ -197,7 +197,8 @@ If TYPE is `text/plain' CRLF->LF translation may occur."
197 (while (re-search-forward "^[\t ]*\r?\n" nil t) 197 (while (re-search-forward "^[\t ]*\r?\n" nil t)
198 (delete-region (match-beginning 0) (match-end 0))) 198 (delete-region (match-beginning 0) (match-end 0)))
199 (goto-char (point-max)) 199 (goto-char (point-max))
200 (when (re-search-backward "^[A-Za-z0-9+/]+=*[\t ]*$" nil t) 200 (when (re-search-backward "^[\t ]*[A-Za-z0-9+/]+=*[\t ]*$"
201 nil t)
201 (forward-line)) 202 (forward-line))
202 (point)))) 203 (point))))
203 ((memq encoding '(nil 7bit 8bit binary)) 204 ((memq encoding '(nil 7bit 8bit binary))
diff --git a/lisp/loadup.el b/lisp/loadup.el
index d348456ae32..525b8d27b8d 100644
--- a/lisp/loadup.el
+++ b/lisp/loadup.el
@@ -29,21 +29,15 @@
29;; If you add/remove Lisp files to be loaded here, consider the 29;; If you add/remove Lisp files to be loaded here, consider the
30;; following issues: 30;; following issues:
31 31
32;; i) Any file loaded on all platforms should appear in $lisp 32;; i) Any file loaded on any platform should appear in $lisp in src/lisp.mk.
33;; and $shortlisp in src/Makefile.in. Use the .el or .elc version as 33;; Use the .el or .elc version as appropriate.
34;; appropriate.
35 34
36;; ii) Any file that is only loaded on some platforms should appear 35;; This ensures both that the Lisp files are compiled (if necessary)
37;; in the version of $lisp in the generated Makefile on that platform. 36;; before the emacs executable is dumped, and that they are passed to
38;; At the present time, this is achieved by use of #ifdefs. 37;; make-docfile. (Any that are not processed for DOC will not have
39;; It should also appear in $SOME_MACHINE_LISP on all platforms. 38;; doc strings in the dumped Emacs.) Because of this:
40 39
41;; The above steps ensure both that the Lisp files are compiled (if 40;; ii) If the file is loaded uncompiled, it should (where possible)
42;; necessary) before the emacs executable is dumped, and that they are
43;; passed to make-docfile. (Any that are not processed for DOC will
44;; not have doc strings in the dumped Emacs.) Because of this:
45
46;; iii) If the file is loaded uncompiled, it should (where possible)
47;; obey the doc-string conventions expected by make-docfile. 41;; obey the doc-string conventions expected by make-docfile.
48 42
49;;; Code: 43;;; Code:
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el
index 206ebc8997c..0d02688beed 100644
--- a/lisp/net/rcirc.el
+++ b/lisp/net/rcirc.el
@@ -971,7 +971,7 @@ This number is independent of the number of lines in the buffer.")
971 (set (make-local-variable 'rcirc-current-line) 0) 971 (set (make-local-variable 'rcirc-current-line) 0)
972 972
973 (set (make-local-variable 'rcirc-short-buffer-name) nil) 973 (set (make-local-variable 'rcirc-short-buffer-name) nil)
974 (set (make-local-variable 'rcirc-urls) t) 974 (set (make-local-variable 'rcirc-urls) nil)
975 975
976 ;; setup for omitting responses 976 ;; setup for omitting responses
977 (setq buffer-invisibility-spec '()) 977 (setq buffer-invisibility-spec '())
@@ -2394,7 +2394,8 @@ keywords when no KEYWORD is given."
2394 (rcirc-record-activity (current-buffer) 'nick))))) 2394 (rcirc-record-activity (current-buffer) 'nick)))))
2395 2395
2396(defun rcirc-markup-urls (sender response) 2396(defun rcirc-markup-urls (sender response)
2397 (while (re-search-forward rcirc-url-regexp nil t) 2397 (while (and rcirc-url-regexp ;; nil means disable URL catching
2398 (re-search-forward rcirc-url-regexp nil t))
2398 (let ((start (match-beginning 0)) 2399 (let ((start (match-beginning 0))
2399 (end (match-end 0))) 2400 (end (match-end 0)))
2400 (rcirc-add-face start end 'rcirc-url) 2401 (rcirc-add-face start end 'rcirc-url)
diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el
index 53aa95498da..e9bb43c4d6d 100644
--- a/lisp/progmodes/f90.el
+++ b/lisp/progmodes/f90.el
@@ -809,8 +809,10 @@ Can be overridden by the value of `font-lock-maximum-decoration'.")
809 ;; type word 809 ;; type word
810 ;; type :: word 810 ;; type :: word
811 ;; type, stuff :: word 811 ;; type, stuff :: word
812 ;; type, bind(c) :: word
812 ;; NOT "type (" 813 ;; NOT "type ("
813 "\\<\\(type\\)\\>\\(?:[^()\n]*::\\)?[ \t]*\\(\\sw+\\)" 814 "\\<\\(type\\)\\>\\(?:\\(?:[^()\n]*\\|\
815.*,[ \t]*bind[ \t]*([ \t]*c[ \t]*)[ \t]*\\)::\\)?[ \t]*\\(\\sw+\\)"
814 "Regexp matching the definition of a derived type.") 816 "Regexp matching the definition of a derived type.")
815 817
816(defconst f90-typeis-re 818(defconst f90-typeis-re
diff --git a/msdos/ChangeLog b/msdos/ChangeLog
index 12fd7675d67..6c07c76d1bf 100644
--- a/msdos/ChangeLog
+++ b/msdos/ChangeLog
@@ -1,3 +1,9 @@
12011-05-19 Glenn Morris <rgm@gnu.org>
2
3 * sed1x.inp (TOOLTIP_SUPPORT, WINDOW_SUPPORT):
4 * sed1v2.inp (MSDOS_SUPPORT, NS_SUPPORT, MOUSE_SUPPORT)
5 (TOOLTIP_SUPPORT, WINDOW_SUPPORT): No need to edit these any more.
6
12011-05-07 Eli Zaretskii <eliz@gnu.org> 72011-05-07 Eli Zaretskii <eliz@gnu.org>
2 8
3 * inttypes.h: Include stdint.h. 9 * inttypes.h: Include stdint.h.
diff --git a/msdos/sed1v2.inp b/msdos/sed1v2.inp
index 44ee53a5c34..34c4588f96a 100644
--- a/msdos/sed1v2.inp
+++ b/msdos/sed1v2.inp
@@ -94,13 +94,11 @@ s/\.h\.in/.h-in/
94/^WIDGET_OBJ *=/s/@WIDGET_OBJ@// 94/^WIDGET_OBJ *=/s/@WIDGET_OBJ@//
95/^CYGWIN_OBJ *=/s/@CYGWIN_OBJ@// 95/^CYGWIN_OBJ *=/s/@CYGWIN_OBJ@//
96/^MSDOS_OBJ *=/s/= */= dosfns.o msdos.o w16select.o/ 96/^MSDOS_OBJ *=/s/= */= dosfns.o msdos.o w16select.o/
97/^MSDOS_SUPPORT *=/s/= */= $(MSDOS_SUPPORT_REAL)/
98/^ns_appdir *=/s/@ns_appdir@// 97/^ns_appdir *=/s/@ns_appdir@//
99/^ns_appbindir *=/s/@ns_appbindir@// 98/^ns_appbindir *=/s/@ns_appbindir@//
100/^ns_appsrc *=/s/@ns_appsrc@// 99/^ns_appsrc *=/s/@ns_appsrc@//
101/^NS_OBJ *=/s/@NS_OBJ@// 100/^NS_OBJ *=/s/@NS_OBJ@//
102/^NS_OBJC_OBJ *=/s/@NS_OBJC_OBJ@// 101/^NS_OBJC_OBJ *=/s/@NS_OBJC_OBJ@//
103/^NS_SUPPORT *=/s/@NS_SUPPORT@//
104/^GNU_OBJC_CFLAGS*=/s/@GNU_OBJC_CFLAGS@// 102/^GNU_OBJC_CFLAGS*=/s/@GNU_OBJC_CFLAGS@//
105/^LIBRESOLV *=/s/@LIBRESOLV@// 103/^LIBRESOLV *=/s/@LIBRESOLV@//
106/^LIBSELINUX_LIBS *=/s/@LIBSELINUX_LIBS@// 104/^LIBSELINUX_LIBS *=/s/@LIBSELINUX_LIBS@//
@@ -111,9 +109,6 @@ s/\.h\.in/.h-in/
111/^OTHER_FILES *=/s/@OTHER_FILES@// 109/^OTHER_FILES *=/s/@OTHER_FILES@//
112/^XMENU_OBJ *=/s/@XMENU_OBJ@/xmenu.o/ 110/^XMENU_OBJ *=/s/@XMENU_OBJ@/xmenu.o/
113/^FONT_OBJ *=/s/@FONT_OBJ@// 111/^FONT_OBJ *=/s/@FONT_OBJ@//
114/^MOUSE_SUPPORT *=/s/@MOUSE_SUPPORT@/$(REAL_MOUSE_SUPPORT)/
115/^TOOLTIP_SUPPORT *=/s/@TOOLTIP_SUPPORT@//
116/^WINDOW_SUPPORT *=/s/@WINDOW_SUPPORT@//
117/^LIBGPM *=/s/@LIBGPM@// 112/^LIBGPM *=/s/@LIBGPM@//
118/^EXEEXT *=/s/@EXEEXT@/.exe/ 113/^EXEEXT *=/s/@EXEEXT@/.exe/
119/^OLDXMENU *=/s/@OLDXMENU@/nothing/ 114/^OLDXMENU *=/s/@OLDXMENU@/nothing/
diff --git a/msdos/sed1x.inp b/msdos/sed1x.inp
index dff76fda27b..d0a37807d9e 100644
--- a/msdos/sed1x.inp
+++ b/msdos/sed1x.inp
@@ -26,7 +26,5 @@ s/DOC/DOC-X/g
26/^LIBS_SYSTEM *=/s!= *!= -lxext -lsys! 26/^LIBS_SYSTEM *=/s!= *!= -lxext -lsys!
27/^MSDOS_X_OBJ *=/s!= *!= w16select.o termcap.o! 27/^MSDOS_X_OBJ *=/s!= *!= w16select.o termcap.o!
28/^FONT_OBJ *=/s!= *!= xfont.o! 28/^FONT_OBJ *=/s!= *!= xfont.o!
29/^TOOLTIP_SUPPORT *=/s!= *!= ${lispsource}tooltip.elc!
30/^WINDOW_SUPPORT *=/s!= *!= $(BASE_WINDOW_SUPPORT) $(X_WINDOW_SUPPORT)!
31/^temacs *:/s!OLDXMENU!LIBXMENU! 29/^temacs *:/s!OLDXMENU!LIBXMENU!
32 30
diff --git a/src/ChangeLog b/src/ChangeLog
index 79e5bf677f6..989ecce9d2a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,7 +1,25 @@
12011-05-20 handa <handa@m17n.org> 12011-05-20 Kenichi Handa <handa@m17n.org>
2 2
3 * composite.c (find_automatic_composition): Fix previous change. 3 * composite.c (find_automatic_composition): Fix previous change.
4 4
52011-05-20 Glenn Morris <rgm@gnu.org>
6
7 * lisp.mk: New file, split from Makefile.in.
8 * Makefile.in (lisp): Move to separate file, inserted by @lisp_frag@.
9 (shortlisp): Remove.
10 ($(etc)/DOC): Edit lisp.mk rather than using $shortlisp.
11
122011-05-19 Glenn Morris <rgm@gnu.org>
13
14 * Makefile.in (MSDOS_SUPPORT_REAL, MSDOS_SUPPORT, NS_SUPPORT)
15 (REAL_MOUSE_SUPPORT, GPM_MOUSE_SUPPORT, MOUSE_SUPPORT, TOOLTIP_SUPPORT)
16 (BASE_WINDOW_SUPPORT, X_WINDOW_SUPPORT, WINDOW_SUPPORT): Remove.
17 (lisp): Set the order to that of loadup.el.
18 (shortlisp): Make it a copy of $lisp.
19 (SOME_MACHINE_LISP): Remove.
20 ($(etc)/DOC): Depend just on $lisp, not $SOME_MACHINE_LISP too.
21 Use just $shortlisp, not $SOME_MACHINE_LISP too.
22
52011-05-18 Kenichi Handa <handa@m17n.org> 232011-05-18 Kenichi Handa <handa@m17n.org>
6 24
7 * composite.c (CHAR_COMPOSABLE_P): Add more check for efficiency. 25 * composite.c (CHAR_COMPOSABLE_P): Add more check for efficiency.
diff --git a/src/Makefile.in b/src/Makefile.in
index 8b596430cf5..557a6f54748 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -237,18 +237,12 @@ CYGWIN_OBJ=@CYGWIN_OBJ@
237MSDOS_OBJ = 237MSDOS_OBJ =
238## w16select.o termcap.o if MSDOS && HAVE_X_WINDOWS. 238## w16select.o termcap.o if MSDOS && HAVE_X_WINDOWS.
239MSDOS_X_OBJ = 239MSDOS_X_OBJ =
240MSDOS_SUPPORT_REAL = $(lispsource)/ls-lisp.elc $(lispsource)/disp-table.elc \
241 $(lispsource)/dos-fns.elc $(lispsource)/dos-w32.elc $(lispsource)/dos-vars.elc \
242 $(lispsource)/term/internal.elc $(lispsource)/term/pc-win.elc
243## $MSDOS_SUPPORT_REAL if MSDOS.
244MSDOS_SUPPORT =
245 240
246ns_appdir=@ns_appdir@ 241ns_appdir=@ns_appdir@
247ns_appbindir=@ns_appbindir@ 242ns_appbindir=@ns_appbindir@
248ns_appsrc=@ns_appsrc@ 243ns_appsrc=@ns_appsrc@
249NS_OBJ=@NS_OBJ@ 244NS_OBJ=@NS_OBJ@
250NS_OBJC_OBJ=@NS_OBJC_OBJ@ 245NS_OBJC_OBJ=@NS_OBJC_OBJ@
251NS_SUPPORT=@NS_SUPPORT@
252## Only set if NS_IMPL_GNUSTEP. 246## Only set if NS_IMPL_GNUSTEP.
253GNU_OBJC_CFLAGS=@GNU_OBJC_CFLAGS@ 247GNU_OBJC_CFLAGS=@GNU_OBJC_CFLAGS@
254 248
@@ -258,28 +252,7 @@ GNU_OBJC_CFLAGS=@GNU_OBJC_CFLAGS@
258## else xfont.o 252## else xfont.o
259FONT_OBJ=@FONT_OBJ@ 253FONT_OBJ=@FONT_OBJ@
260 254
261## Used if HAVE_MOUSE.
262REAL_MOUSE_SUPPORT=$(lispsource)/mouse.elc $(lispsource)/select.elc \
263 $(lispsource)/scroll-bar.elc
264## Used if HAVE_GPM && !HAVE_MOUSE
265GPM_MOUSE_SUPPORT=$(lispsource)/mouse.elc
266LIBGPM = @LIBGPM@ 255LIBGPM = @LIBGPM@
267## Either of the two preceding options, or empty.
268MOUSE_SUPPORT=@MOUSE_SUPPORT@
269
270## $(lispsource)/tooltip.elc if HAVE_WINDOW_SYSTEM, else empty.
271TOOLTIP_SUPPORT=@TOOLTIP_SUPPORT@
272
273BASE_WINDOW_SUPPORT=$(lispsource)/fringe.elc $(lispsource)/image.elc \
274 $(lispsource)/international/fontset.elc $(lispsource)/dnd.elc \
275 $(lispsource)/tool-bar.elc $(lispsource)/mwheel.elc
276
277X_WINDOW_SUPPORT=$(lispsource)/x-dnd.elc $(lispsource)/term/common-win.elc \
278 $(lispsource)/term/x-win.elc $(lispsource)/dynamic-setting.elc
279
280## If HAVE_X_WINDOWS, both the above
281## else if HAVE_WINDOW_SYSTEM (ie, HAVE_NS) just the former; else empty.
282WINDOW_SUPPORT=@WINDOW_SUPPORT@
283 256
284## -lresolv, or empty. 257## -lresolv, or empty.
285LIBRESOLV = @LIBRESOLV@ 258LIBRESOLV = @LIBRESOLV@
@@ -385,215 +358,10 @@ POST_ALLOC_OBJ=@POST_ALLOC_OBJ@
385otherobj= $(TERMCAP_OBJ) $(PRE_ALLOC_OBJ) $(GMALLOC_OBJ) $(RALLOC_OBJ) \ 358otherobj= $(TERMCAP_OBJ) $(PRE_ALLOC_OBJ) $(GMALLOC_OBJ) $(RALLOC_OBJ) \
386 $(POST_ALLOC_OBJ) $(VMLIMIT_OBJ) $(WIDGET_OBJ) $(LIBOBJS) 359 $(POST_ALLOC_OBJ) $(VMLIMIT_OBJ) $(WIDGET_OBJ) $(LIBOBJS)
387 360
388## This is the platform-specific list of Lisp files loaded into the 361
389## dumped Emacs. It is arranged like this because it is easier to generate 362## Configure inserts the file lisp.mk at this point, defining $lisp.
390## it semi-mechanically from loadup.el this way. 363@lisp_frag@
391## 364
392## Note that this list should not include lisp files which might not
393## be present, like site-load.el and site-init.el; this makefile
394## expects them all to be either present or buildable.
395##
396## Files which are loaded unconditionally (i.e., on all platforms) should
397## also be in shortlisp. Files which are loaded conditionally (i.e., only
398## on some platforms) should instead be in SOME_MACHINE_LISP.
399##
400## Place loaddefs.el first, so it gets generated first, since it is on
401## the critical path (relevant in parallel compilations).
402lisp= \
403 $(lispsource)/loaddefs.el \
404 $(lispsource)/abbrev.elc \
405 $(lispsource)/buff-menu.elc \
406 $(lispsource)/button.elc \
407 $(lispsource)/emacs-lisp/byte-run.elc \
408 $(lispsource)/composite.elc \
409 $(lispsource)/cus-face.elc \
410 $(lispsource)/cus-start.elc \
411 $(lispsource)/custom.elc \
412 $(lispsource)/emacs-lisp/backquote.elc \
413 $(lispsource)/emacs-lisp/lisp-mode.elc \
414 $(lispsource)/emacs-lisp/lisp.elc \
415 $(lispsource)/env.elc \
416 $(lispsource)/faces.elc \
417 $(lispsource)/files.elc \
418 $(lispsource)/format.elc \
419 $(lispsource)/facemenu.elc \
420 $(MOUSE_SUPPORT) \
421 $(lispsource)/emacs-lisp/float-sup.elc \
422 $(lispsource)/frame.elc \
423 $(lispsource)/help.elc \
424 $(lispsource)/indent.elc \
425 $(lispsource)/isearch.elc \
426 $(lispsource)/rfn-eshadow.elc \
427 $(lispsource)/loadup.el \
428 $(lispsource)/bindings.elc \
429 $(lispsource)/emacs-lisp/map-ynp.elc \
430 $(lispsource)/menu-bar.elc \
431 $(lispsource)/international/mule.elc \
432 $(lispsource)/international/mule-conf.elc \
433 $(lispsource)/international/mule-cmds.elc \
434 $(lispsource)/international/characters.elc \
435 $(lispsource)/international/charprop.el \
436 $(lispsource)/case-table.elc \
437 $(lispsource)/language/chinese.elc \
438 $(lispsource)/language/cyrillic.elc \
439 $(lispsource)/language/indian.elc \
440 $(lispsource)/language/sinhala.el \
441 $(lispsource)/language/english.el \
442 $(lispsource)/language/ethiopic.elc \
443 $(lispsource)/language/european.elc \
444 $(lispsource)/language/czech.el \
445 $(lispsource)/language/slovak.el \
446 $(lispsource)/language/romanian.el \
447 $(lispsource)/language/greek.el \
448 $(lispsource)/language/hebrew.elc \
449 $(lispsource)/language/japanese.el \
450 $(lispsource)/language/korean.el \
451 $(lispsource)/language/lao.el \
452 $(lispsource)/language/cham.el \
453 $(lispsource)/language/tai-viet.el \
454 $(lispsource)/language/thai.el \
455 $(lispsource)/language/tibetan.elc \
456 $(lispsource)/language/vietnamese.elc \
457 $(lispsource)/language/misc-lang.el \
458 $(lispsource)/language/utf-8-lang.el \
459 $(lispsource)/language/georgian.el \
460 $(lispsource)/language/khmer.el \
461 $(lispsource)/language/burmese.el \
462 $(lispsource)/paths.el \
463 $(lispsource)/register.elc \
464 $(lispsource)/replace.elc \
465 $(lispsource)/simple.elc \
466 $(lispsource)/minibuffer.elc \
467 $(lispsource)/startup.elc \
468 $(lispsource)/subr.elc \
469 $(lispsource)/term/tty-colors.elc \
470 $(lispsource)/font-core.elc \
471 $(lispsource)/emacs-lisp/syntax.elc \
472 $(lispsource)/font-lock.elc \
473 $(lispsource)/jit-lock.elc \
474 $(lispsource)/textmodes/fill.elc \
475 $(lispsource)/textmodes/page.elc \
476 $(lispsource)/textmodes/paragraphs.elc \
477 $(lispsource)/textmodes/text-mode.elc \
478 $(lispsource)/emacs-lisp/timer.elc \
479 $(lispsource)/jka-cmpr-hook.elc \
480 $(lispsource)/vc/vc-hooks.elc \
481 $(lispsource)/vc/ediff-hook.elc \
482 $(lispsource)/epa-hook.elc \
483 $(TOOLTIP_SUPPORT) \
484 $(MSDOS_SUPPORT) \
485 $(WINDOW_SUPPORT) \
486 $(NS_SUPPORT) \
487 $(lispsource)/widget.elc \
488 $(lispsource)/window.elc \
489 $(lispsource)/version.el
490
491## List of relative names for those files from $lisp that are loaded
492## unconditionally (i.e. on all platforms). Files from $lisp that
493## are only loaded on some platforms should instead be placed in
494## SOME_MACHINE_LISP. The only reason this variable exists is to prevent
495## the make-docfile command-line getting too long for some systems.
496shortlisp= \
497 ../lisp/loaddefs.el \
498 ../lisp/abbrev.elc \
499 ../lisp/buff-menu.elc \
500 ../lisp/button.elc \
501 ../lisp/emacs-lisp/byte-run.elc \
502 ../lisp/composite.elc \
503 ../lisp/cus-face.elc \
504 ../lisp/cus-start.elc \
505 ../lisp/custom.elc \
506 ../lisp/emacs-lisp/backquote.elc \
507 ../lisp/emacs-lisp/lisp-mode.elc \
508 ../lisp/emacs-lisp/lisp.elc \
509 ../lisp/facemenu.elc \
510 ../lisp/faces.elc \
511 ../lisp/files.elc \
512 ../lisp/emacs-lisp/float-sup.elc \
513 ../lisp/format.elc \
514 ../lisp/frame.elc \
515 ../lisp/help.elc \
516 ../lisp/indent.elc \
517 ../lisp/isearch.elc \
518 ../lisp/rfn-eshadow.elc \
519 ../lisp/loadup.el \
520 ../lisp/bindings.elc \
521 ../lisp/emacs-lisp/map-ynp.elc \
522 ../lisp/env.elc \
523 ../lisp/international/mule.elc \
524 ../lisp/international/mule-conf.elc \
525 ../lisp/international/mule-cmds.elc \
526 ../lisp/international/characters.elc \
527 ../lisp/case-table.elc \
528 ../lisp/language/chinese.elc \
529 ../lisp/language/cyrillic.elc \
530 ../lisp/language/indian.elc \
531 ../lisp/language/sinhala.el \
532 ../lisp/language/english.el \
533 ../lisp/language/ethiopic.elc \
534 ../lisp/language/european.elc \
535 ../lisp/language/czech.el \
536 ../lisp/language/slovak.el \
537 ../lisp/language/romanian.el \
538 ../lisp/language/greek.el \
539 ../lisp/language/hebrew.elc \
540 ../lisp/language/japanese.el \
541 ../lisp/language/korean.el \
542 ../lisp/language/lao.el \
543 ../lisp/language/cham.el \
544 ../lisp/language/tai-viet.el \
545 ../lisp/language/thai.el \
546 ../lisp/language/tibetan.elc \
547 ../lisp/language/vietnamese.elc \
548 ../lisp/language/misc-lang.el \
549 ../lisp/language/utf-8-lang.el \
550 ../lisp/language/georgian.el \
551 ../lisp/language/khmer.el \
552 ../lisp/language/burmese.el \
553 ../lisp/menu-bar.elc \
554 ../lisp/paths.el \
555 ../lisp/register.elc \
556 ../lisp/replace.elc \
557 ../lisp/simple.elc \
558 ../lisp/minibuffer.elc \
559 ../lisp/startup.elc \
560 ../lisp/subr.elc \
561 ../lisp/term/tty-colors.elc \
562 ../lisp/font-core.elc \
563 ../lisp/emacs-lisp/syntax.elc \
564 ../lisp/font-lock.elc \
565 ../lisp/jit-lock.elc \
566 ../lisp/textmodes/fill.elc \
567 ../lisp/textmodes/page.elc \
568 ../lisp/textmodes/paragraphs.elc \
569 ../lisp/textmodes/text-mode.elc \
570 ../lisp/emacs-lisp/timer.elc \
571 ../lisp/vc/vc-hooks.elc \
572 ../lisp/vc/ediff-hook.elc \
573 ../lisp/jka-cmpr-hook.elc \
574 ../lisp/epa-hook.elc \
575 ../lisp/widget.elc \
576 ../lisp/window.elc \
577 ../lisp/version.el
578
579## Like $shortlisp, but includes only those files from $lisp that are loaded
580## conditionally (i.e., only on some platforms).
581## Confusingly, term/internal is not in loadup, but is unconditionally
582## loaded by pc-win, which is.
583SOME_MACHINE_LISP = ../lisp/mouse.elc \
584 ../lisp/select.elc ../lisp/scroll-bar.elc \
585 ../lisp/ls-lisp.elc ../lisp/dos-fns.elc \
586 ../lisp/w32-fns.elc ../lisp/dos-w32.elc \
587 ../lisp/disp-table.elc ../lisp/dos-vars.elc ../lisp/w32-vars.elc \
588 ../lisp/tooltip.elc ../lisp/image.elc \
589 ../lisp/fringe.elc ../lisp/dnd.elc \
590 ../lisp/mwheel.elc ../lisp/tool-bar.elc \
591 ../lisp/x-dnd.elc ../lisp/dynamic-setting.elc \
592 ../lisp/international/fontset.elc \
593 ../lisp/term/common-win.elc \
594 ../lisp/term/x-win.elc \
595 ../lisp/term/pc-win.elc ../lisp/term/internal.elc \
596 ../lisp/term/ns-win.elc ../lisp/term/w32-win.elc
597 365
598## Construct full set of libraries to be linked. 366## Construct full set of libraries to be linked.
599## Note that SunOS needs -lm to come before -lc; otherwise, you get 367## Note that SunOS needs -lm to come before -lc; otherwise, you get
@@ -612,6 +380,9 @@ all: emacs$(EXEEXT) $(OTHER_FILES)
612## Does anyone ever pay attention to the load-path-shadows output here? 380## Does anyone ever pay attention to the load-path-shadows output here?
613## The dumped Emacs is as functional and more efficient than 381## The dumped Emacs is as functional and more efficient than
614## bootstrap-emacs, so we replace the latter with the former. 382## bootstrap-emacs, so we replace the latter with the former.
383## Strictly speaking, emacs does not depend directly on all of $lisp,
384## since not all pieces are used on all platforms. But DOC depends
385## on all of $lisp, and emacs depends on DOC, so it is ok to use $lisp here.
615emacs$(EXEEXT): temacs$(EXEEXT) $(etc)/DOC $(lisp) 386emacs$(EXEEXT): temacs$(EXEEXT) $(etc)/DOC $(lisp)
616 if test "$(CANNOT_DUMP)" = "yes"; then \ 387 if test "$(CANNOT_DUMP)" = "yes"; then \
617 ln -f temacs$(EXEEXT) emacs$(EXEEXT); \ 388 ln -f temacs$(EXEEXT) emacs$(EXEEXT); \
@@ -624,22 +395,23 @@ emacs$(EXEEXT): temacs$(EXEEXT) $(etc)/DOC $(lisp)
624 fi 395 fi
625 396
626## We run make-docfile twice because the command line may get too long 397## We run make-docfile twice because the command line may get too long
627## on some systems. 398## on some systems. The sed command operating on lisp.mk also reduces
399## the length of the command line. Unfortunately, no-one has any idea
400## exactly how long the maximum safe command line length is on all the
401## various systems that Emacs supports. Obviously, the length depends
402## on what your value of $srcdir is. If the length restriction goes
403## away, lisp.mk can be merged back into this file.
404##
628## $(SOME_MACHINE_OBJECTS) comes before $(obj) because some files may 405## $(SOME_MACHINE_OBJECTS) comes before $(obj) because some files may
629## or may not be included in $(obj), but they are always included in 406## or may not be included in $(obj), but they are always included in
630## $(SOME_MACHINE_OBJECTS). Since a file is processed when it is mentioned 407## $(SOME_MACHINE_OBJECTS). Since a file is processed when it is mentioned
631## for the first time, this prevents any variation between configurations 408## for the first time, this prevents any variation between configurations
632## in the contents of the DOC file. 409## in the contents of the DOC file.
633## Likewise for $(SOME_MACHINE_LISP). 410##
634## Most of this Makefile refers to Lisp files via $(lispsource), so 411$(etc)/DOC: $(libsrc)/make-docfile$(EXEEXT) $(obj) $(lisp)
635## we also use $(lisp) rather than $(shortlisp) for the dependency since
636## the Makefile uses string equality to decide when we talk about identical
637## files. Apparently we pass $(shortlisp) rather than $(lisp) to make-docfile
638## only in order to reduce the command line length. --Stef
639$(etc)/DOC: $(libsrc)/make-docfile$(EXEEXT) $(obj) $(lisp) $(SOME_MACHINE_LISP)
640 -rm -f $(etc)/DOC 412 -rm -f $(etc)/DOC
641 $(libsrc)/make-docfile -d $(srcdir) $(SOME_MACHINE_OBJECTS) $(obj) > $(etc)/DOC 413 $(libsrc)/make-docfile -d $(srcdir) $(SOME_MACHINE_OBJECTS) $(obj) > $(etc)/DOC
642 $(libsrc)/make-docfile -a $(etc)/DOC -d $(srcdir) $(SOME_MACHINE_LISP) $(shortlisp) 414 $(libsrc)/make-docfile -a $(etc)/DOC -d $(srcdir) `sed -n -e 's| \\\\||' -e 's|^[ ]*$$(lispsource)|../lisp|p' $(srcdir)/lisp.mk`
643 415
644$(libsrc)/make-docfile$(EXEEXT): 416$(libsrc)/make-docfile$(EXEEXT):
645 cd $(libsrc); $(MAKE) $(MFLAGS) make-docfile$(EXEEXT) 417 cd $(libsrc); $(MAKE) $(MFLAGS) make-docfile$(EXEEXT)
@@ -797,7 +569,7 @@ tags: TAGS TAGS-LISP $(lwlibdir)/TAGS
797 THEFILE=$< EMACS=$(bootstrap_exe) 569 THEFILE=$< EMACS=$(bootstrap_exe)
798 570
799## Since the .el.elc rule cannot specify an extra dependency, we do it here. 571## Since the .el.elc rule cannot specify an extra dependency, we do it here.
800$(lisp) $(SOME_MACHINE_LISP): $(BOOTSTRAPEMACS) 572$(lisp): $(BOOTSTRAPEMACS)
801 573
802## VCSWITNESS points to the file that holds info about the current checkout. 574## VCSWITNESS points to the file that holds info about the current checkout.
803## We use it as a heuristic to decide when to rebuild loaddefs.el. 575## We use it as a heuristic to decide when to rebuild loaddefs.el.
diff --git a/src/lisp.mk b/src/lisp.mk
new file mode 100644
index 00000000000..68748b27f28
--- /dev/null
+++ b/src/lisp.mk
@@ -0,0 +1,160 @@
1### lisp.mk --- src/Makefile fragment for GNU Emacs
2
3## Copyright (C) 1985, 1987-1988, 1993-1995, 1999-2011
4## Free Software Foundation, Inc.
5
6## This file is part of GNU Emacs.
7
8## GNU Emacs is free software: you can redistribute it and/or modify
9## it under the terms of the GNU General Public License as published by
10## the Free Software Foundation, either version 3 of the License, or
11## (at your option) any later version.
12
13## GNU Emacs is distributed in the hope that it will be useful,
14## but WITHOUT ANY WARRANTY; without even the implied warranty of
15## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16## GNU General Public License for more details.
17
18## You should have received a copy of the GNU General Public License
19## along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
20
21### Commentary:
22
23## This is the list of all Lisp files that might be loaded into the
24## dumped Emacs. Some of them are not loaded on all platforms, but
25## the DOC file on every platform uses them (because the DOC file is
26## supposed to be platform-independent).
27## It is arranged like this because it is easier to generate it
28## semi-mechanically from loadup.el this way.
29## Eg something like:
30## sed -e 's/"[ )].*//' -n -e '/(load "/ s/.*load "//p' loadup.el | \
31## grep -vE 'site-|ldefs-boot'
32## minus any duplicates.
33## Note that you cannot just add a ".elc" extension to every file,
34## since some of them are no-byte-compile (eg some language/ ones).
35
36## Confusingly, term/internal is not in loadup, but is unconditionally
37## loaded by pc-win, which is.
38
39## Note that this list should not include lisp files which might not
40## be present, like site-load.el and site-init.el; this makefile
41## expects them all to be either present or buildable.
42
43## Place loaddefs.el first, so it gets generated first, since it is on
44## the critical path (relevant in parallel compilations).
45
46### Code:
47
48## NB: This list is parsed by sed in the main src/Makefile.
49## Do not change the formatting.
50lisp = \
51 $(lispsource)/loaddefs.el \
52 $(lispsource)/loadup.el \
53 $(lispsource)/emacs-lisp/byte-run.elc \
54 $(lispsource)/emacs-lisp/backquote.elc \
55 $(lispsource)/subr.elc \
56 $(lispsource)/version.el \
57 $(lispsource)/widget.elc \
58 $(lispsource)/custom.elc \
59 $(lispsource)/emacs-lisp/map-ynp.elc \
60 $(lispsource)/cus-start.elc \
61 $(lispsource)/international/mule.elc \
62 $(lispsource)/international/mule-conf.elc \
63 $(lispsource)/env.elc \
64 $(lispsource)/format.elc \
65 $(lispsource)/bindings.elc \
66 $(lispsource)/files.elc \
67 $(lispsource)/cus-face.elc \
68 $(lispsource)/faces.elc \
69 $(lispsource)/button.elc \
70 $(lispsource)/startup.elc \
71 $(lispsource)/minibuffer.elc \
72 $(lispsource)/abbrev.elc \
73 $(lispsource)/simple.elc \
74 $(lispsource)/help.elc \
75 $(lispsource)/jka-cmpr-hook.elc \
76 $(lispsource)/epa-hook.elc \
77 $(lispsource)/international/mule-cmds.elc \
78 $(lispsource)/case-table.elc \
79 $(lispsource)/international/characters.elc \
80 $(lispsource)/composite.elc \
81 $(lispsource)/international/charprop.el \
82 $(lispsource)/language/chinese.elc \
83 $(lispsource)/language/cyrillic.elc \
84 $(lispsource)/language/indian.elc \
85 $(lispsource)/language/sinhala.el \
86 $(lispsource)/language/english.el \
87 $(lispsource)/language/ethiopic.elc \
88 $(lispsource)/language/european.elc \
89 $(lispsource)/language/czech.el \
90 $(lispsource)/language/slovak.el \
91 $(lispsource)/language/romanian.el \
92 $(lispsource)/language/greek.el \
93 $(lispsource)/language/hebrew.elc \
94 $(lispsource)/language/japanese.el \
95 $(lispsource)/language/korean.el \
96 $(lispsource)/language/lao.el \
97 $(lispsource)/language/tai-viet.el \
98 $(lispsource)/language/thai.el \
99 $(lispsource)/language/tibetan.elc \
100 $(lispsource)/language/vietnamese.elc \
101 $(lispsource)/language/misc-lang.el \
102 $(lispsource)/language/utf-8-lang.el \
103 $(lispsource)/language/georgian.el \
104 $(lispsource)/language/khmer.el \
105 $(lispsource)/language/burmese.el \
106 $(lispsource)/language/cham.el \
107 $(lispsource)/indent.elc \
108 $(lispsource)/window.elc \
109 $(lispsource)/frame.elc \
110 $(lispsource)/term/tty-colors.elc \
111 $(lispsource)/font-core.elc \
112 $(lispsource)/facemenu.elc \
113 $(lispsource)/emacs-lisp/syntax.elc \
114 $(lispsource)/font-lock.elc \
115 $(lispsource)/jit-lock.elc \
116 $(lispsource)/mouse.elc \
117 $(lispsource)/scroll-bar.elc \
118 $(lispsource)/select.elc \
119 $(lispsource)/emacs-lisp/timer.elc \
120 $(lispsource)/isearch.elc \
121 $(lispsource)/rfn-eshadow.elc \
122 $(lispsource)/menu-bar.elc \
123 $(lispsource)/paths.el \
124 $(lispsource)/emacs-lisp/lisp.elc \
125 $(lispsource)/textmodes/page.elc \
126 $(lispsource)/register.elc \
127 $(lispsource)/textmodes/paragraphs.elc \
128 $(lispsource)/emacs-lisp/lisp-mode.elc \
129 $(lispsource)/textmodes/text-mode.elc \
130 $(lispsource)/textmodes/fill.elc \
131 $(lispsource)/replace.elc \
132 $(lispsource)/buff-menu.elc \
133 $(lispsource)/fringe.elc \
134 $(lispsource)/image.elc \
135 $(lispsource)/international/fontset.elc \
136 $(lispsource)/dnd.elc \
137 $(lispsource)/tool-bar.elc \
138 $(lispsource)/dynamic-setting.elc \
139 $(lispsource)/x-dnd.elc \
140 $(lispsource)/term/common-win.elc \
141 $(lispsource)/term/x-win.elc \
142 $(lispsource)/w32-vars.elc \
143 $(lispsource)/term/w32-win.elc \
144 $(lispsource)/ls-lisp.elc \
145 $(lispsource)/disp-table.elc \
146 $(lispsource)/dos-w32.elc \
147 $(lispsource)/w32-fns.elc \
148 $(lispsource)/dos-fns.elc \
149 $(lispsource)/dos-vars.elc \
150 $(lispsource)/term/pc-win.elc \
151 $(lispsource)/term/internal.elc \
152 $(lispsource)/term/ns-win.elc \
153 $(lispsource)/mwheel.elc \
154 $(lispsource)/emacs-lisp/float-sup.elc \
155 $(lispsource)/vc/vc-hooks.elc \
156 $(lispsource)/vc/ediff-hook.elc \
157 $(lispsource)/tooltip.elc
158
159
160### lisp.mk ends here