Glenn Morris
0116466b56
Remove some unused #define's, previously replaced by variables.
...
* configure.in (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Do not define.
* src/Makefile.in (LD_SWITCH_X_SITE): Define as a variable, not via cpp.
(LIBX_BASE): Use $LD_SWITCH_X_SITE.
* nt/config.nt (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Remove undefs.
* msdos/sed1v2.inp: Comment.
2010-05-12 20:18:04 -07:00
Glenn Morris
5a903aa9e0
Define some variables to hold configure's output, for clarity.
...
* src/Makefile.in (C_SWITCH_X_SYSTEM, C_SWITCH_X_SITE, LIB_STANDARD)
(LIB_MATH, FONTCONFIG_CFLAGS, FONTCONFIG_LIBS, FREETYPE_CFLAGS)
(FREETYPE_LIBS, LIBOTF_CFLAGS, LIBOTF_LIBS, M17N_FLT_CFLAGS)
(M17N_FLT_LIBS, GNU_OBJC_CFLAGS, GNUSTEP_SYSTEM_LIBRARIES, LIBGPM)
(LIBRESOLV, UNEXEC_OBJ): For clarity, define variables to hold
the values output be configure.
(ALL_CFLAGS, obj, LIBES, temacs${EXEEXT}): Use the above variables.
* msdos/sed1v2.inp (C_SWITCH_X_SYSTEM, C_SWITCH_X_SITE, LIB_STANDARD)
(FONTCONFIG_CFLAGS, FONTCONFIG_LIBS, FREETYPE_CFLAGS, FREETYPE_LIBS)
(LIBOTF_CFLAGS, LIBOTF_LIBS, M17N_FLT_CFLAGS, M17N_FLT_LIBS)
(GNU_OBJC_CFLAGS, GNUSTEP_SYSTEM_LIBRARIES, LIBRESOLV, LIBGPM):
Edit to empty,
(LIB_MATH): Edit to -lm.
(UNEXEC_OBJ): Edit to unexec.o.
2010-05-12 19:50:20 -07:00
Stefan Monnier
791ffe1ce2
* progmodes/sh-script.el (sh-mode): Use define-derived-mode.
2010-05-12 20:44:22 -04:00
Stefan Monnier
5a70d10f78
* dos-fns.el: Add "dos-" prefix for namespace control.
...
(convert-standard-filename): Define as alias for
dos-convert-standard-filename but only if applicable.
2010-05-12 20:35:07 -04:00
Katsumi Yamaoka
4c9d39abf9
Synch with Gnus trunk.
...
(gnus-summary-read-group-1): Don't jump to next group
when catching the `C-g'. Reported by: "Leo"
By Andreas Seltenreich.
2010-05-12 14:09:25 +00:00
Alan Mackenzie
38d93f03c7
* progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
...
Push the mark at the start of these functions when appropriate.
2010-05-12 11:06:12 +00:00
Katsumi Yamaoka
706deb23dc
Synch with Gnus trunk.
...
(message-forward-make-body-plain, message-forward-make-body-mml):
Use mm-multibyte-string-p instead of multibyte-string-p.
2010-05-12 08:24:25 +00:00
Glenn Morris
e05aebe905
Reformat some comments in src/s/*.h.
2010-05-11 23:53:03 -07:00
Glenn Morris
b5457f146f
Simplify linker-related logic in src/Makefile.in.
...
* src/Makefile.in (YMF_PASS_LDFLAGS, LD, LINKER): Simplify the logic.
(LINKER_WAS_SPECIFIED): Remove.
2010-05-11 20:44:36 -07:00
Glenn Morris
057886a3ac
Regenerate configure.
2010-05-11 20:09:56 -07:00
Glenn Morris
44b031a6b0
Remove unused output variable LIB_SRC_EXTRA_INSTALLABLES.
...
* configure.in (LIB_SRC_EXTRA_INSTALLABLES): Remove, unused.
* lib-src/Makefile.in (INSTALLABLES): Remove @LIB_SRC_EXTRA_INSTALLABLES@.
* msdos/sed3v2.inp (INSTALLABLES): No more @LIB_SRC_EXTRA_INSTALLABLES@.
2010-05-11 20:06:50 -07:00
Glenn Morris
1a0d7c0688
Move LIB_GCC from cpp to configure.
...
* configure.in (LIB_GCC): New output variable.
* src/Makefile.in (LIB_GCC): Set using configure, not cpp.
(GNULIB_VAR) [!ORDINARY_LINK]: Always set to $LIB_GCC.
* src/m/arm.h (LIB_GCC) [GNU_LINUX]:
* src/s/cygwin.h (LIB_GCC):
* src/s/freebsd.h (LIB_GCC):
* src/s/gnu-linux.h (LIB_GCC):
* src/s/msdos.h (LIB_GCC):
* src/s/netbsd.h (LIB_GCC):
Move to configure.
* msdos/sed1v2.inp (LIB_GCC): Edit to -Lgcc.
2010-05-11 20:01:16 -07:00
Glenn Morris
6a321bbcdd
Minor comment reformatting for some src/m/*.h files.
2010-05-11 19:37:59 -07:00
Katsumi Yamaoka
8b320e66d6
Synch with Gnus trunk.
...
(message-forward-make-body-mml): Assume original message is multibyte string;
error on unibyte.
(message-forward-make-body-plain): Ditto;
don't add excessive newline in body end.
2010-05-12 02:09:58 +00:00
Stefan Monnier
902a6d8d73
Allow the default completion to cycle.
...
* minibuffer.el (completion-cycle-threshold): New custom var.
(completion--do-completion): Use it.
(minibuffer-complete): Use cycling if appropriate.
2010-05-11 20:39:46 -04:00
Juanma Barranquero
9ee120ba01
Fix bug#6173: "(require 'dirtrack) erroring"
...
* dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
buffer-local (it's an obsolete alias for `dirtrack-mode'.)
2010-05-12 00:01:34 +02:00
Stefan Monnier
587e4b1379
Merge from emacs-23
2010-05-11 17:02:32 -04:00
Stefan Monnier
dc9ed79496
Backport from trunk: compute shortcuts in tmm.el.
...
* tmm.el (tmm-prompt): Don't try to precompute bindings.
(tmm-get-keymap): Compute shortcuts since the cache is empty.
Fixes: debbugs:6171
2010-05-11 16:07:12 -04:00
Juri Linkov
841c4085a8
* scroll-all.el (scroll-all-check-to-scroll):
...
Add `scroll-up-command' and `scroll-down-command' (bug#6164).
2010-05-11 22:42:21 +03:00
Stefan Monnier
f2b9ed185a
* iimage.el: Misc cleanup.
...
(iimage-mode-map): Move initialization into declaration.
(iimage-mode-buffer): Use with-silent-modifications.
Simplify calling convention. Adjust callers.
(iimage-mode): Don't run hook redundantly.
2010-05-11 14:51:27 -04:00
Eli Zaretskii
fd5b9fa302
xdisp.c (init_iterator): Fix comment from last change.
2010-05-11 20:52:18 +03:00
Eli Zaretskii
c8670ded9c
Backport from trunk: Fix bug #6126 .
...
makefile.w32-in ($(BLD)/w32fns.$(O)): Depend on $(SRC)/w32.h.
w32fns.c: Include w32.h.
(Fw32_shell_execute): Decode the error message before passing it
to `error'.
2010-05-11 20:23:52 +03:00
Glenn Morris
3ffd461547
* src/ChangeLog: Remove tiny change marker from author with assignment.
2010-05-11 08:48:29 -07:00
Stefan Monnier
8a67c70efb
* minibuffer.el (completion-pcm--pattern->regex): Fix last change.
...
Fixes: debbugs:6160
2010-05-11 09:24:49 -04:00
Kenichi Handa
c90ca7b766
ftfont.c: Fix incorrect parentheses of #if condition for definining M17N_FLT_USE_NEW_FEATURE.
2010-05-11 20:15:29 +09:00
Katsumi Yamaoka
4767419a31
Synch with Gnus trunk.
...
(gnus-summary-kill-thread): Use gnus-summary-mark-article instead of
g-s-m-a-as-unread to set the expirable mark. (Bug#5284)
By Andreas Seltenreich <seltenreich (at) gmx.de>.
2010-05-11 06:04:22 +00:00
Katsumi Yamaoka
3d73e84152
Synch with Gnus trunk.
...
(mm-extern-url): Don't use mm-with-unibyte-current-buffer.
(mm-extern-cache-contents): Use with-current-buffer instead of
save-excursion + set-buffer.
2010-05-11 04:43:46 +00:00
Glenn Morris
c88b05a9d6
Minor lib-src/Makefile.in edits.
...
* lib-src/Makefile.in (.m.o): Remove, there are no .m files.
(BASE_CFLAGS): New variable.
(ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use $BASE_CFLAGS.
(check): Update the message.
(update-game-score${EXEEXT}): Do not use $MOVE_FLAGS.
2010-05-10 20:18:58 -07:00
Glenn Morris
edf77e4e3b
* make-dist (msdos): No more mainmake.
2010-05-10 20:10:36 -07:00
Glenn Morris
1495e2fc0f
* admin/CPP-DEFINES: More updates.
2010-05-10 20:07:52 -07:00
Glenn Morris
981f8c13f5
Regenerate configure.
2010-05-10 20:05:31 -07:00
Glenn Morris
d3b23034e8
Do not preprocess lib-src/Makefile.in
...
* configure.in: Generate lib-src/Makefile directly, do not run cpp.
* config.bat: Do not run cpp on lib-src/Makefile.in.
* lib-src/Makefile.in: Convert comments to makefile format.
* admin/notes/cpp: lib-src/Makefile not preprocessed.
2010-05-10 20:00:32 -07:00
Glenn Morris
acddf8aec7
On msdos, set LIBS_SYSTEM with config.bat, not cpp.
...
* config.bat [HAVE_X11]: Run sed3x.inp on lib-src/Makefile.
* src/Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
* src/s/msdos.h (MSDOS_LIBS_SYSTEM): Remove.
* msdos/sed1x.inp (LIBS_SYSTEM): Edit to -lxext -lsys.
* msdos/sed3x.inp: New file.
* lib-src/Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
(config.h) [MSDOS]: Do not include.
2010-05-10 19:51:08 -07:00
Juanma Barranquero
4e2af7825f
Fix typos and whitespace in ChangeLogs.
2010-05-11 04:04:13 +02:00
Juri Linkov
4bbedd9832
Remove nodes visited during Isearch from the Info history.
...
* info.el (Info-isearch-initial-history)
(Info-isearch-initial-history-list): New variables.
(Info-isearch-start): Record initial values of
Info-isearch-initial-history and Info-isearch-initial-history-list.
Add Info-isearch-end to isearch-mode-end-hook.
(Info-isearch-end): New function.
2010-05-10 22:07:22 +03:00
Eli Zaretskii
ae5e04fabc
Fix a crash when visiting image files in bidi mode.
...
xdisp.c (init_iterator): Don't turn on bidi reordering in unibyte buffers.
See http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00263.html
for the details.
2010-05-10 21:40:26 +03:00
Michael Albinus
94ecf5dae9
* net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
...
format string, in order to work around a bug in pdksh. Reported
by Gilles Pion <gpion@lfdj.com>.
(tramp-handle-verify-visited-file-modtime): Do not send a command
when the connection is not established.
(tramp-handle-set-file-times): Simplify the check for utc.
2010-05-10 17:50:30 +02:00
Juanma Barranquero
77e2fc7a44
Fix typos and whitespace.
2010-05-10 16:48:17 +02:00
Juanma Barranquero
c5eb971bec
CUA mode: Fix use of `filter-buffer-substring' (rework previous change).
...
* emulation/cua-base.el (cua--filter-buffer-noprops): New function.
(cua-repeat-replace-region):
* emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
* emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
(cua-cut-region-to-global-mark): Use it.
2010-05-10 16:37:59 +02:00
Katsumi Yamaoka
1fdf5102be
Synch with Gnus trunk.
...
2010-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
* mm-util.el (mm-emacs-mule): Remove.
2010-05-10 Andreas Seltenreich <seltenreich@gmx.de>
* gnus-sum.el (gnus-summary-mode): Don't make minor-mode-alist
buffer-local as it's incompatible with Stefan Monnier's 2010-05-03
change.
2010-05-10 12:07:40 +00:00
Katsumi Yamaoka
72e841ce72
Synch with Gnus trunk.
...
(mm-with-unibyte-current-buffer): Redefine it so as not to bind the default
value of enable-multibyte-characters to nil.
2010-05-10 07:25:27 +00:00
Katsumi Yamaoka
d8a7b27200
Synch with Gnus trunk.
...
(message-forward-make-body-plain, message-forward-make-body-mml):
Don't use mm-with-unibyte-current-buffer.
2010-05-10 03:39:23 +00:00
Glenn Morris
1f8162fe77
Regenerate configure.
2010-05-09 19:21:42 -07:00
Glenn Morris
b5fd77abe3
* admin/CPP-DEFINES (LIBS_SYSTEM, LIBXMU): Remove.
2010-05-09 19:20:00 -07:00
Glenn Morris
97efb62959
Move LIBS_SYSTEM from cpp to configure.
...
* configure.in (LIBS_SYSTEM): New output variable, replacing cpp.
* lib-src/Makefile.in (LIBS_SYSTEM) [!MSDOS]: Set with configure, not cpp.
(LIBS_SYSTEM) [MSDOS]: Use MSDOS_LIBS_SYSTEM.
(NOT_C_CODE): Remove, no longer used.
(config.h) [!MSDOS]: No longer include.
(LOADLIBES): Use LIBS_SYSTEM as a variable.
* src/Makefile.in (LIBS_SYSTEM): Set using configure, not cpp.
(LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM.
(LIBES): Use LIBS_SYSTEM as a variable.
* src/s/msdos.h (LIBS_SYSTEM): Rename to MSDOS_LIBS_SYSTEM. Always define.
* src/s/aix4-2.h (LIBS_SYSTEM):
* src/s/freebsd.h (LIBS_SYSTEM):
* src/s/hpux10-20.h (LIBS_SYSTEM):
* src/s/sol2-6.h (LIBS_SYSTEM):
* src/s/unixware.h (LIBS_SYSTEM):
Move to configure.
* msdos/sed1v2.inp, msdos/sed3v2.inp (LIBS_SYSTEM): Edit to empty.
2010-05-09 19:16:09 -07:00
Michael Mauger
7492acc936
SQL mode version 2.1
...
Redesigned product specific definition and handling. Includes many
bug fixes and enhancements.
2010-05-09 22:07:58 -04:00
Miles Bader
8290c6b9e6
Backport from trunk: close bug#5857.
...
* configure.in: Get rid of "unix" pre-defined macro when
preprocessing Makefile. (Bug#5857) [Backport from trunk]
2010-05-09 17:37:59 -07:00
Glenn Morris
e1cb2c1314
Backport from trunk: Fix bug#5755.
...
* desktop.el (desktop-save-buffer-p): Don't mistakenly include
all dired buffers, even tramp ones. (Bug#5755) [Backport from trunk]
2010-05-09 17:30:08 -07:00
Glenn Morris
4e569696da
Regenerate configure, src/config.in.
2010-05-09 17:11:40 -07:00
Glenn Morris
7490175bc3
Move MAIL_USE_FLOCK, MAIL_USE_LOCKF, BLESSMAIL_TARGET from cpp to configure.
...
* configure.in (MAIL_USE_FLOCK, MAIL_USE_LOCKF): New AC_DEFINEs.
(BLESSMAIL_TARGET): New output variable.
* lib-src/Makefile.in (BLESSMAIL_TARGET): Set with configure, not cpp.
* src/s/aix4-2.h (MAIL_USE_LOCKF):
* src/s/bsd-common.h (MAIL_USE_FLOCK):
* src/s/darwin.h (MAIL_USE_FLOCK):
* src/s/gnu-linux.h (MAIL_USE_FLOCK):
* src/s/irix6-5.h (MAIL_USE_FLOCK):
* src/s/template.h (MAIL_USE_FLOCK):
Move to configure.
* src/s/ms-w32.h: Comment.
* msdos/sed3v2.inp (BLESSMAIL_TARGET): Edit to need-blessmail.
2010-05-09 17:07:47 -07:00