1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-07 20:54:32 +00:00

94598 Commits

Author SHA1 Message Date
Glenn Morris
c6ea2936cc Move MOTIF_LIBW to autoconf.
* configure.in (HAVE_MOTIF_2_1): Remove unused variable.
(LIBXP): No longer substitute in Makefiles.
(MOTIF_LIBW): New output variable.  Move system-specific settings here
from src/s files.

* src/Makefile.in (LIBXP): Remove, since included in MOTIF_LIBW.
(MOTIF_LIBW): Set with configure, not cpp.
* s/aix4-2.h (LIB_MOTIF):
* s/gnu-linux.h (LIB_MOTIF):
* s/unixware.h (LIB_MOTIF): Move to configure.in.

* admin/CPP-DEFINES: Remove LIB_MOTIF.
2010-04-27 00:02:12 -07:00
Jan Djärv
7dd7fbb975 desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
but we aren't using it.
2010-04-27 08:45:43 +02:00
Katsumi Yamaoka
62fe59e783 Don't load tm and apel XEmacs packages when compiling. 2010-04-27 06:40:58 +00:00
Jan Djärv
08b47d3d19 Regenerate configure and cibfig.in 2010-04-27 08:20:03 +02:00
Dan Nicolaescu
ed6281b066 Reduce CPP usage.
* Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE, C_SWITCH_X_SITE): Remove
definitions and undefs.  Inline definitions in the only user.
(ALL_CFLAGS): Substitute C_SWITCH_X_SYSTEM using autoconf.

* Makefile.in (C_SWITCH_X_SYSTEM): Define using autoconf.

* Makefile.in (C_SWITCH_X_SYSTEM): Define using autoconf.

* configure.in (C_SWITCH_X_SYSTEM): Define using autoconf, not cpp.
2010-04-26 22:24:53 -07:00
Dan Nicolaescu
aaa36002be Reduce CPP usage.
* Makefile.in (LIB_X11_LIB): Remove, inline in the only user.
(obj): Use autoconf for unexec instead of cpp.

* configure.in (LIB_X11_LIB): Remove, inline in the only user.
(unexec): Define unconditionally, all platforms define
UNEXEC.  AC_SUBST it.
(UNEXEC_SRC): Remove, unused.
2010-04-26 20:47:47 -07:00
Glenn Morris
8ea5f2d92f Remove some AC_DEFINEs that are now unused.
* configure.in (HAVE_MOTIF_2_1, HAVE_LIBXP): Remove unused AC_DEFINEs,
replaced by LIBXP.

* configure, src/config.in: Regenerate.
2010-04-26 20:32:39 -07:00
Glenn Morris
afd297bc85 Regenerate configure. 2010-04-26 20:18:39 -07:00
Glenn Morris
76cda504fb Use $CRT_DIR in more places.
* configure.in (--with-crt-dir): Doc fix (now valid for all platforms).
(CRT_DIR): On (powerpc64|sparc64)-*-linux-gnu*, default to /usr/lib64.
On hpux10-20, default to /lib.

* src/m/amdx86-64.h (START_FILES, LIB_STANDARD): Change the logic around,
since the defaults (set by the system file) are fine in most cases.
[GNU_LINUX, __OpenBSD__, __NetBSD__, __APPLE__]: Remove sections.
* src/m/ibms390x.h (START_FILES, LIB_STANDARD):
* src/m/macppc.h (START_FILES, LIB_STANDARD) [GNU_LINUX]:
* src/m/sparc.h (START_FILES, LIB_STANDARD) [__linux__]:
Remove definitions, since they are set correctly in s/gnu-linux.h.
* src/s/freebsd.h (START_FILES, LIB_STANDARD):
* src/s/gnu-linux.h (START_FILES, LIB_STANDARD):
* src/s/hpux10-20.h (START_FILES):
* src/s/netbsd.h (START_FILES, LIB_STANDARD, START_FILES_1, END_FILES_1):
Use $CRT_DIR in place of fixed /usr/lib, /lib directories.

* src/Makefile.in: Comment.
2010-04-26 20:14:14 -07:00
Glenn Morris
7186fb09de Regenerate configure. 2010-04-26 19:38:36 -07:00
Glenn Morris
b678dd8b8e Replace some more cpp with autoconf.
* configure.in (LUCID_LIBW, LIBXP, WIDGET_OBJ): New output variables.

* src/Makefile.in (LIBXP, LUCID_LIBW, WIDGET_OBJ): Set via configure.
(MOTIF_LIBW): Use $LIBXP.
(otherobj): Use $WIDGET_OBJ.
2010-04-26 19:36:20 -07:00
Dan Nicolaescu
10ccb130e0 * Makefile.in (LIBS_MACHINE): Remove, unused. 2010-04-26 11:23:01 -07:00
Dan Nicolaescu
7e10844c72 * Makefile.in (LIBS_MACHINE): Remove, unused.
* Makefile.in (LIBS_MACHINE): Remove all uses, unused.
* configure.in (LIBS_MACHINE): Remove, unused.
2010-04-26 11:14:24 -07:00
Dan Nicolaescu
9452ded131 Use autoconf instead of cpp for LIB_MATH.
* s/darwin.h (LIB_MATH): Do not define here, move to configure.
* s/cygwin.h (LIB_MATH): Likewise.
* Makefile.in (LIB_MATH): Do not define with cpp.
(LIBES): Use autoconf for LIB_MATH.

* configure.in (LIB_MATH): New output variable.  Set it for some systems.
2010-04-26 10:10:09 -07:00
Kenichi Handa
fcebfc6a34 composite.c (Ffind_composition_internal): Fix the return value for an automatic composition. 2010-04-26 21:02:08 +09:00
Juanma Barranquero
29c483402a * abbrev.el: Fix typos. 2010-04-26 11:55:29 +02:00
Dan Nicolaescu
39e2ad1b9f Remove all NO_ARG_ARRAY uses.
* fns.c (concat2, concat3, nconc2):
* eval.c (apply1, call1, call2, call3, call4, call5, call6)
(call7): Remove NO_ARG_ARRAY usage, assume it's always true.
* m/xtensa.h (NO_ARG_ARRAY):
* m/template.h (NO_ARG_ARRAY):
* m/sparc.h (NO_ARG_ARRAY):
* m/sh3.h (NO_ARG_ARRAY):
* m/mips.h (NO_ARG_ARRAY):
* m/macppc.h (NO_ARG_ARRAY):
* m/iris4d.h (NO_ARG_ARRAY):
* m/intel386.h (NO_ARG_ARRAY):
* m/ibms390x.h (NO_ARG_ARRAY):
* m/ibms390.h (NO_ARG_ARRAY):
* m/ibmrs6000.h (NO_ARG_ARRAY):
* m/ia64.h (NO_ARG_ARRAY):
* m/hp800.h (NO_ARG_ARRAY):
* m/arm.h (NO_ARG_ARRAY):
* m/amdx86-64.h (NO_ARG_ARRAY):
* m/alpha.h (NO_ARG_ARRAY): Remove definition.
2010-04-25 15:16:58 -07:00
Chong Yidong
2233cfb01d Remove --- and +++ lines from NEWS file. 2010-04-25 18:09:52 -04:00
Chong Yidong
c7c322792a * keymaps.texi (Menu Bar): Document :advertised-binding property. 2010-04-25 17:50:34 -04:00
Chong Yidong
eb5ed549f4 Document Emacs 23.2 changes.
* functions.texi (Obsolete Functions): Document
set-advertised-calling-convention.

* minibuf.texi (Basic Completion): Document completion-in-region.
(Programmed Completion): Document completion-annotate-function.

* commands.texi (Reading One Event): Document read-key.
(Distinguish Interactive): Document KIND arg to
called-interactively-p.  Delete obsolete interactive-p.

* elisp.texi (Top): Update node description.

* misc.texi (Printing): Document htmlfontify-buffer.
2010-04-25 17:21:51 -04:00
Eli Zaretskii
7482731ab5 Start fixing cursor positioning in bidi buffers with display properties.
xdisp.c (set_cursor_from_row): Don't return zero if cursor was
 found by `cursor' property of a display string.
 (display_line): Preserve overlay and string info in row->end.
2010-04-25 22:33:31 +03:00
Eli Zaretskii
6bdf5d6523 Fix crash with bidi display on the last empty line (bug#6030).
xdisp.c (display_line): Don't assume 2nd call to
 get_next_display_element cannot return zero.  (Bug#6030)

Move code that bidi-iterates out of display property to a separate function. 

 xdisp.c (iterate_out_of_display_property): New function, body from pop_it.
 (pop_it): Use it.
2010-04-25 20:06:41 +03:00
Eli Zaretskii
f538fcec9a Move code that bidi-iterates out of display property to a separate function.
xdisp.c (iterate_out_of_display_property): New function, body from pop_it.
 (pop_it): Use it.
2010-04-25 19:55:59 +03:00
Eli Zaretskii
adf4f59cc8 Fix crash with bidi display on the last empty line (bug#6030).
xdisp.c (display_line): Don't assume 2nd call to
 get_next_display_element cannot return zero.
2010-04-25 17:42:34 +03:00
Jan D
7ac82b8405 tool-bar.el: Revert unintended checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca. 2010-04-25 09:23:01 +02:00
Michael Albinus
3b0788f68e Fix the entry about eshell's su and sudo commands. bug#6021 2010-04-25 08:34:03 +02:00
Glenn Morris
dfbbda83af Minor simplications for src/m/amdx86-64.h.
* m/amdx86-64.h (START_FILES, LIB_STANDARD) [__OpenBSD__]:
For clarity, revert to using fixed /usr/lib rather than $CRT_DIR.
(START_FILES, LIB_STANDARD) [__FreeBSD__]: Merge into the generic case,
since CRT_DIR defaults to /usr/lib.  Suggested by Dan Nicolaescu.
2010-04-24 12:50:03 -07:00
Glenn Morris
1ddac986d7 * etc/NEWS: Mention --with-crt-dir. 2010-04-24 11:10:17 -07:00
Eli Zaretskii
763d737735 Fix typos in comments of composite.c 2010-04-24 19:46:20 +03:00
Andreas Schwab
8ed6fc47b7 * composite.el (find-composition): Doc fix. 2010-04-24 18:35:43 +02:00
Eli Zaretskii
9a6eb156e2 composite.el (find-composition): Doc fix. 2010-04-24 19:23:29 +03:00
Eli Zaretskii
3216c819cf composite.c (composition_compute_stop_pos): Fix a typo in the commentary. 2010-04-24 16:24:25 +03:00
Juanma Barranquero
58ccf24384 Remove conflict markers. 2010-04-24 14:33:31 +02:00
Eli Zaretskii
51d28d3ec4 Fix cursor motion at end of line that ends in a composed character.
xdisp.c (display_line): Use `reseat' instead of `reseat_1', and
 use `get_next_display_element' and `set_iterator_to_next' to
 advance to the next character, when looking for the character that
 begins the next row.
2010-04-24 14:11:40 +03:00
Eli Zaretskii
a49884a673 Fix cursor motion at end of line that ends with a composite character.
xdisp.c (display_line): Use `reseat' instead of `reseat_1', and
 use `get_next_display_element' and `set_iterator_to_next' to
 advance to the next character, when looking for the character that
 begins the next row.
2010-04-24 14:07:27 +03:00
Eli Zaretskii
2d4018aa48 Fix GDB startup with src/.gdbinit.
.gdbinit: Add a "set Fmake_symbol" line to force GDB load the
 definition of "struct Lisp_Symbol".
2010-04-24 10:36:27 +03:00
Eli Zaretskii
76db6fccee Fix GDB startup with .gdbinit.
.gdbinit: Add a "set Fmake_symbol" line to force GDB to load the
 definition of "struct Lisp_Symbol".
2010-04-24 10:32:48 +03:00
Juanma Barranquero
063c632403 * progmodes/sql.el: Fix typos. 2010-04-24 04:59:23 +02:00
Glenn Morris
cbcfee6ef4 Minor htmlfontify simplifications.
* hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
Add autoload cookies.
(htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
(generated-autoload-file): Set file-local value to "htmlfontify.el".
* htmlfontify.el (caddr, cadddr): Remove fallback definitions.
They have definitions / compiler macros in cl.el.
(htmlfontify-load-rgb-file, hfy-fallback-colour-values):
Replace manual autoloads with generated ones.
(htmlfontify-unload-rgb-file): Remove autoload.
2010-04-23 19:36:43 -07:00
Glenn Morris
48cd417515 Accidentally omitted from previous commit.
* src/m/amdx86-64.h (START_FILES, LIB_STANDARD):
  Use $CRT_DIR rather than HAVE_LIB64_DIR.  (Bug#5655)
2010-04-23 19:30:11 -07:00
Glenn Morris
0c309b800c Regenerate configure, src/config.in. 2010-04-23 19:25:45 -07:00
Glenn Morris
70eab5c182 Close bug#5655.
* configure.in (CRT_DIR): New output variable.
(--with-crt-dir): New option.  (Bug#5655)
(HAVE_LIB64_DIR): Remove.

* src/Makefile.in (CRT_DIR): New variable, set by configure.
* src/m/amdx86-64.h, m/ibms390x.h (START_FILES, LIB_STANDARD):
Use $CRT_DIR rather than HAVE_LIB64_DIR.  (Bug#5655)
2010-04-23 19:23:22 -07:00
Glenn Morris
fea1add448 Minor authors.el updates.
* emacs-lisp/authors.el (authors-obsolete-files-regexps):
Ignore VCS-ignore files, and deleted nextstep preferences files.
(authors-ignored-files): Ignore deleted cedet test files, and "*.el".
(authors-ambiguous-files): New list.
(authors-valid-file-names): Add some deleted files.
(authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
(authors-disambiguate-file-name): New function.  (Bug#5501)
(authors-canonical-file-name): Doc fix.
Don't warn about obsolete files.
(authors-canonical-file-name, authors-scan-el):
Use authors-disambiguate-file-name.
2010-04-23 19:16:13 -07:00
Dan Nicolaescu
e769f484f5 * Makefile.in: Remove C_SWITCH_X_MACHINE, unused.
* Makefile.in (ALL_CFLAGS): Remove C_SWITCH_X_MACHINE, unused.
2010-04-23 15:28:10 -07:00
Dan Nicolaescu
4196ff33d3 * s/cygwin.h (LIBS_DEBUG): Remove, unused. 2010-04-23 15:22:06 -07:00
Dan Nicolaescu
879b0ee46e Remove redundant flags.
* s/freebsd.h (C_SWITCH_SYSTEM):
* s/hpux10-20.h (C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT):
* s/netbsd.h (C_SWITCH_SYSTEM):
* s/openbsd.h (LD_SWITCH_X_DEFAULT): Remove, configure takes care
of these.
2010-04-23 15:18:49 -07:00
Dan Nicolaescu
03cbbcb8e8 Simplify m/intel386.h.
* m/intel386.h (CRT0_DUMMIES): Remove, inline value in the only
user: ecrt0.c.
(SOLARIS2): Remove LOAD_AVE_TYPE, LOAD_AVE_CVT, LIBS_MACHINE, unused.
(USG5_4): Move LOAD_AVE_TYPE, LOAD_AVE_CVT, FSCALE definitions to
the only user: s/unixware.h.
* ecrt0.c: Remove #ifndef static.  Inline CRT0_DUMMIES definition
from m/intel386.h.
* s/unixware.h (LOAD_AVE_TYPE, LOAD_AVE_CVT, FSCALE): Definitions
moved here from m/intel386.h.
2010-04-23 15:14:14 -07:00
Dan Nicolaescu
1ad4cc3d07 * m/mips.h: Remove #if 0 code. 2010-04-23 14:58:07 -07:00
Eli Zaretskii
728588ccfd Fix display of composed characters from L2R scripts in bidi buffers. (Bug#5977)
xdisp.c (set_iterator_to_next, next_element_from_composition):
 After advancing IT past the composition, resync the bidi iterator
 with IT's position.
2010-04-23 21:23:51 +03:00
Eli Zaretskii
b893a1502d Fix display of composed characters from L2R scripts in bidi buffers.
xdisp.c (set_iterator_to_next, next_element_from_composition): After
 advancing IT past the composition, resync the bidi iterator with 
 IT's position.  (Bug#5977)
2010-04-23 21:10:31 +03:00