]> git.eshelyaron.com Git - emacs.git/log
emacs.git
14 years agoispell.el (ispell-init-process): Fix personal dictionary condition in default directo...
Agustín Martín [Tue, 27 Apr 2010 10:35:00 +0000 (12:35 +0200)]
ispell.el (ispell-init-process): Fix personal dictionary condition in default directory check.

14 years agoRegenerate configure.
Glenn Morris [Tue, 27 Apr 2010 08:11:11 +0000 (01:11 -0700)]
Regenerate configure.

14 years agoMove LIBXTR6 from cpp to autoconf.
Glenn Morris [Tue, 27 Apr 2010 08:09:01 +0000 (01:09 -0700)]
Move LIBXTR6 from cpp to autoconf.

* configure.in (LIBXTR6): New output variable.  Move unixware special
case here from src/s/unixware.h.

* src/Makefile.in (LIBXTR6): Set with configure, not cpp.
* src/s/unixware.h (NEED_LIBW): Remove definition.

* admin/CPP-DEFINES: Remove NEED_LIBW.

14 years agoRegenerate configure.
Glenn Morris [Tue, 27 Apr 2010 07:38:05 +0000 (00:38 -0700)]
Regenerate configure.

14 years agoReplace LUCID_LIBW, MOTIF_LIBW with TOOLKIT_LIBW.
Glenn Morris [Tue, 27 Apr 2010 07:33:35 +0000 (00:33 -0700)]
Replace LUCID_LIBW, MOTIF_LIBW with TOOLKIT_LIBW.

* configure.in (LUCID_LIBW, MOTIF_LIBW): No longer substitute in Makefiles.
(TOOLKIT_LIBW): New output variable, replacing LUCID_LIBW/MOTIF_LIBW.

* src/Makefile.in (LUCID_LIBW, MOTIF_LIBW): Remove, replacing by...
(TOOLKIT_LIBW): New, set by configure.
(@X_TOOLKIT_TYPE@): No longer define it.

14 years agoMove MOTIF_LIBW to autoconf.
Glenn Morris [Tue, 27 Apr 2010 07:02:12 +0000 (00:02 -0700)]
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.

14 years agodesktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
Jan Djärv [Tue, 27 Apr 2010 06:45:43 +0000 (08:45 +0200)]
desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
but we aren't using it.

14 years agoDon't load tm and apel XEmacs packages when compiling.
Katsumi Yamaoka [Tue, 27 Apr 2010 06:40:58 +0000 (06:40 +0000)]
Don't load tm and apel XEmacs packages when compiling.

14 years agoRegenerate configure and cibfig.in
Jan Djärv [Tue, 27 Apr 2010 06:20:03 +0000 (08:20 +0200)]
Regenerate configure and cibfig.in

14 years agoReduce CPP usage.
Dan Nicolaescu [Tue, 27 Apr 2010 05:24:53 +0000 (22:24 -0700)]
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.

14 years agoReduce CPP usage.
Dan Nicolaescu [Tue, 27 Apr 2010 03:47:47 +0000 (20:47 -0700)]
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.

14 years agoRemove some AC_DEFINEs that are now unused.
Glenn Morris [Tue, 27 Apr 2010 03:32:39 +0000 (20:32 -0700)]
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.

14 years agoRegenerate configure.
Glenn Morris [Tue, 27 Apr 2010 03:18:39 +0000 (20:18 -0700)]
Regenerate configure.

14 years agoUse $CRT_DIR in more places.
Glenn Morris [Tue, 27 Apr 2010 03:14:14 +0000 (20:14 -0700)]
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.

14 years agoRegenerate configure.
Glenn Morris [Tue, 27 Apr 2010 02:38:36 +0000 (19:38 -0700)]
Regenerate configure.

14 years agoReplace some more cpp with autoconf.
Glenn Morris [Tue, 27 Apr 2010 02:36:20 +0000 (19:36 -0700)]
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.

14 years ago* Makefile.in (LIBS_MACHINE): Remove, unused.
Dan Nicolaescu [Mon, 26 Apr 2010 18:23:01 +0000 (11:23 -0700)]
* Makefile.in (LIBS_MACHINE): Remove, unused.

14 years ago* Makefile.in (LIBS_MACHINE): Remove, unused.
Dan Nicolaescu [Mon, 26 Apr 2010 18:14:24 +0000 (11:14 -0700)]
* Makefile.in (LIBS_MACHINE): Remove, unused.
* Makefile.in (LIBS_MACHINE): Remove all uses, unused.
* configure.in (LIBS_MACHINE): Remove, unused.

14 years agoUse autoconf instead of cpp for LIB_MATH.
Dan Nicolaescu [Mon, 26 Apr 2010 17:10:09 +0000 (10:10 -0700)]
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.

14 years agocomposite.c (Ffind_composition_internal): Fix the return value for an automatic compo...
Kenichi Handa [Mon, 26 Apr 2010 12:02:08 +0000 (21:02 +0900)]
composite.c (Ffind_composition_internal): Fix the return value for an automatic composition.

14 years agoRemove all NO_ARG_ARRAY uses.
Dan Nicolaescu [Sun, 25 Apr 2010 22:16:58 +0000 (15:16 -0700)]
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.

14 years agoFix crash with bidi display on the last empty line (bug#6030).
Eli Zaretskii [Sun, 25 Apr 2010 17:06:41 +0000 (20:06 +0300)]
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.

14 years agoMove code that bidi-iterates out of display property to a separate function.
Eli Zaretskii [Sun, 25 Apr 2010 16:55:59 +0000 (19:55 +0300)]
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.

14 years agoFix crash with bidi display on the last empty line (bug#6030).
Eli Zaretskii [Sun, 25 Apr 2010 14:42:34 +0000 (17:42 +0300)]
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.

14 years agotool-bar.el: Revert unintended checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
Jan D [Sun, 25 Apr 2010 07:23:01 +0000 (09:23 +0200)]
tool-bar.el: Revert unintended checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.

14 years agoMinor simplications for src/m/amdx86-64.h.
Glenn Morris [Sat, 24 Apr 2010 19:50:03 +0000 (12:50 -0700)]
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.

14 years ago* etc/NEWS: Mention --with-crt-dir.
Glenn Morris [Sat, 24 Apr 2010 18:10:17 +0000 (11:10 -0700)]
* etc/NEWS: Mention --with-crt-dir.

14 years agoFix typos in comments of composite.c
Eli Zaretskii [Sat, 24 Apr 2010 16:46:20 +0000 (19:46 +0300)]
Fix typos in comments of composite.c

14 years agocomposite.el (find-composition): Doc fix.
Eli Zaretskii [Sat, 24 Apr 2010 16:23:29 +0000 (19:23 +0300)]
composite.el (find-composition): Doc fix.

14 years agocomposite.c (composition_compute_stop_pos): Fix a typo in the commentary.
Eli Zaretskii [Sat, 24 Apr 2010 13:24:25 +0000 (16:24 +0300)]
composite.c (composition_compute_stop_pos): Fix a typo in the commentary.

14 years agoRemove conflict markers.
Juanma Barranquero [Sat, 24 Apr 2010 12:33:31 +0000 (14:33 +0200)]
Remove conflict markers.

14 years agoFix cursor motion at end of line that ends in a composed character.
Eli Zaretskii [Sat, 24 Apr 2010 11:11:40 +0000 (14:11 +0300)]
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.

14 years agoFix cursor motion at end of line that ends with a composite character.
Eli Zaretskii [Sat, 24 Apr 2010 11:07:27 +0000 (14:07 +0300)]
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.

14 years agoFix GDB startup with src/.gdbinit.
Eli Zaretskii [Sat, 24 Apr 2010 07:36:27 +0000 (10:36 +0300)]
Fix GDB startup with src/.gdbinit.

 .gdbinit: Add a "set Fmake_symbol" line to force GDB load the
 definition of "struct Lisp_Symbol".

14 years agoFix GDB startup with .gdbinit.
Eli Zaretskii [Sat, 24 Apr 2010 07:32:48 +0000 (10:32 +0300)]
Fix GDB startup with .gdbinit.

 .gdbinit: Add a "set Fmake_symbol" line to force GDB to load the
 definition of "struct Lisp_Symbol".

14 years agoMinor htmlfontify simplifications.
Glenn Morris [Sat, 24 Apr 2010 02:36:43 +0000 (19:36 -0700)]
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.

14 years agoAccidentally omitted from previous commit.
Glenn Morris [Sat, 24 Apr 2010 02:30:11 +0000 (19:30 -0700)]
Accidentally omitted from previous commit.

* src/m/amdx86-64.h (START_FILES, LIB_STANDARD):
  Use $CRT_DIR rather than HAVE_LIB64_DIR.  (Bug#5655)

14 years agoRegenerate configure, src/config.in.
Glenn Morris [Sat, 24 Apr 2010 02:25:45 +0000 (19:25 -0700)]
Regenerate configure, src/config.in.

14 years agoClose bug#5655.
Glenn Morris [Sat, 24 Apr 2010 02:23:22 +0000 (19:23 -0700)]
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)

14 years agoMinor authors.el updates.
Glenn Morris [Sat, 24 Apr 2010 02:16:13 +0000 (19:16 -0700)]
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.

14 years ago* Makefile.in: Remove C_SWITCH_X_MACHINE, unused.
Dan Nicolaescu [Fri, 23 Apr 2010 22:28:10 +0000 (15:28 -0700)]
* Makefile.in: Remove C_SWITCH_X_MACHINE, unused.
* Makefile.in (ALL_CFLAGS): Remove C_SWITCH_X_MACHINE, unused.

14 years ago* s/cygwin.h (LIBS_DEBUG): Remove, unused.
Dan Nicolaescu [Fri, 23 Apr 2010 22:22:06 +0000 (15:22 -0700)]
* s/cygwin.h (LIBS_DEBUG): Remove, unused.

14 years agoRemove redundant flags.
Dan Nicolaescu [Fri, 23 Apr 2010 22:18:49 +0000 (15:18 -0700)]
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.

14 years agoSimplify m/intel386.h.
Dan Nicolaescu [Fri, 23 Apr 2010 22:14:14 +0000 (15:14 -0700)]
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.

14 years ago* m/mips.h: Remove #if 0 code.
Dan Nicolaescu [Fri, 23 Apr 2010 21:58:07 +0000 (14:58 -0700)]
* m/mips.h: Remove #if 0 code.

14 years agoFix display of composed characters from L2R scripts in bidi buffers. (Bug#5977)
Eli Zaretskii [Fri, 23 Apr 2010 18:23:51 +0000 (21:23 +0300)]
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.

14 years agoFix display of composed characters from L2R scripts in bidi buffers.
Eli Zaretskii [Fri, 23 Apr 2010 18:10:31 +0000 (21:10 +0300)]
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)

14 years agodispextern.h: Fix a typo in a comment.
Eli Zaretskii [Fri, 23 Apr 2010 17:48:22 +0000 (20:48 +0300)]
dispextern.h: Fix a typo in a comment.

14 years ago* Makefile.in (LD_SWITCH_MACHINE_TEMACS): Remove, unused.
Dan Nicolaescu [Fri, 23 Apr 2010 17:40:47 +0000 (10:40 -0700)]
* Makefile.in (LD_SWITCH_MACHINE_TEMACS): Remove, unused.
(TEMACS_LDFLAGS): Don't use LD_SWITCH_SYSTEM_TEMACS.

14 years agoProvide byte-compiler warnings when set-default a read-only var.
Stefan Monnier [Fri, 23 Apr 2010 16:26:11 +0000 (12:26 -0400)]
Provide byte-compiler warnings when set-default a read-only var.
* emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
(byte-compile-setq-default): Optimize for the
single-var case and don't call byte-compile-form in this case to avoid
inf-loop with byte-compile-set-default.

14 years ago* mm-util.el (mm-find-buffer-file-coding-system):
Stefan Monnier [Fri, 23 Apr 2010 16:15:51 +0000 (12:15 -0400)]
* mm-util.el (mm-find-buffer-file-coding-system):
* yenc.el (yenc-decode-region): Don't let-bind a read-only variable.

14 years ago* progmodes/compile.el: (compilation-start): Abbreviate default directory.
Stefan Monnier [Fri, 23 Apr 2010 15:59:32 +0000 (11:59 -0400)]
* progmodes/compile.el: (compilation-start): Abbreviate default directory.

14 years ago* gtkutil.c: Include xsettings.h for Ftool_bar_get_system_style.
Stefan Monnier [Fri, 23 Apr 2010 15:50:48 +0000 (11:50 -0400)]
* gtkutil.c: Include xsettings.h for Ftool_bar_get_system_style.

14 years agoxdisp.c (pop_it): Fix last change.
Eli Zaretskii [Fri, 23 Apr 2010 15:24:39 +0000 (18:24 +0300)]
xdisp.c (pop_it): Fix last change.

14 years agoSupport `display' text properties and overlay strings in bidi buffers.
Eli Zaretskii [Fri, 23 Apr 2010 15:09:11 +0000 (18:09 +0300)]
Support `display' text properties and overlay strings in bidi buffers.

 xdisp.c (pop_it): When the stack is popped after displaying
 from a string, bidi-iterate to exit from the text portion covered
 by the `display' property or overlay.  (Bug#5988, bug#5920)

14 years agoSupport `display' text properties and overlays.
Eli Zaretskii [Fri, 23 Apr 2010 15:05:23 +0000 (18:05 +0300)]
Support `display' text properties and overlays.

 xdisp.c (pop_it): When the stack is popped after displaying
 from a string, bidi-iterate to exit from the text portion covered
 by the `display' property or overlay.  (Bug#5988, bug#5920)

14 years ago* etc/NEWS: Tramp supports SELinux.
Michael Albinus [Fri, 23 Apr 2010 14:19:44 +0000 (16:19 +0200)]
* etc/NEWS: Tramp supports SELinux.

14 years agoImplement SELINUX backends.
Michael Albinus [Fri, 23 Apr 2010 14:12:05 +0000 (16:12 +0200)]
Implement SELINUX backends.

* net/tramp.el (tramp-file-name-handler-alist): Add
`file-selinux-context' and `set-file-selinux-context'.
(tramp-handle-file-selinux-context)
(tramp-handle-set-file-selinux-context): New defuns.
(tramp-handle-copy-file, tramp-do-copy-or-rename-file): Handle
PRESERVE-SELINUX-CONTEXT.

* net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add
`file-selinux-context' and `set-file-selinux-context'.
(tramp-gvfs-handle-file-selinux-context)
(tramp-gvfs-handle-set-file-selinux-context): New defuns.
(tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.

* net/ange-ftp.el (ange-ftp-copy-file):
* net/tramp-fish.el (tramp-fish-handle-copy-file):
* net/tramp-imap.el (tramp-imap-handle-copy-file):
* net/tramp-smb.el (tramp-smb-handle-copy-file): Add
PRESERVE-SELINUX-CONTEXT.

14 years ago(LD_SWITCH_SYSTEM_TEMACS): Remove #undef.
Dan Nicolaescu [Fri, 23 Apr 2010 09:06:43 +0000 (02:06 -0700)]
(LD_SWITCH_SYSTEM_TEMACS): Remove #undef.
(LD_SWITCH_MACHINE_TEMACS): Remove, configure sets nocombreloc.

14 years ago* s/netbsd.h (LD_SWITCH_SYSTEM_TEMACS): Remove, configure sets nocombreloc.
Dan Nicolaescu [Fri, 23 Apr 2010 07:37:42 +0000 (00:37 -0700)]
* s/netbsd.h (LD_SWITCH_SYSTEM_TEMACS): Remove, configure sets nocombreloc.
* s/openbsd.h (LD_SWITCH_SYSTEM_TEMACS): Remove.

14 years agoSimplify STARTFILES definition.
Dan Nicolaescu [Fri, 23 Apr 2010 07:21:18 +0000 (00:21 -0700)]
Simplify STARTFILES definition.
* s/hpux10-20.h (START_FILES): Explicitly define here instead of
relying on Makefile.in to define it.
* s/cygwin.h (START_FILES): Likewise.
* Makefile.in (STARTFILES): Remove conditional code, not needed anymore.

14 years agoClean up Solaris code.
Dan Nicolaescu [Fri, 23 Apr 2010 07:00:38 +0000 (00:00 -0700)]
Clean up Solaris code.
* s/sol2-6.h (LD_SWITCH_SYSTEM_TEMACS, C_SWITCH_X_SYSTEM)
(LIB_MOTIF): Remove, configure takes care of this.
(NOT_USING_MOTIF): Remove, unused.
* xrdb.c: Remove #if 0-ed #include.
(SYSV): Remove conditional for old SysV.
* sysdep.c (closedir): Remove conditional code for Solaris,
Solaris has closedir.

14 years ago* etc/NEWS: More SELinux details and some minor fixes.
Glenn Morris [Fri, 23 Apr 2010 05:43:48 +0000 (22:43 -0700)]
* etc/NEWS: More SELinux details and some minor fixes.

14 years agoChangeLog fixes.
Glenn Morris [Fri, 23 Apr 2010 05:40:33 +0000 (22:40 -0700)]
ChangeLog fixes.

14 years agoRestore 0644 file permissions, which were changed accidently.
Michael Albinus [Fri, 23 Apr 2010 02:46:53 +0000 (04:46 +0200)]
Restore 0644 file permissions, which were changed accidently.

14 years agoRegenerate configure.
Dan Nicolaescu [Thu, 22 Apr 2010 20:32:43 +0000 (13:32 -0700)]
Regenerate configure.

14 years agoFix Bug#6001.
Jan Djärv [Thu, 22 Apr 2010 17:23:18 +0000 (19:23 +0200)]
Fix Bug#6001.

* xsettings.c (read_and_apply_settings): Check if current_font is
  NULL before strcmp (Bug#6001).

14 years ago* configure.in (REAL_CFLAGS, CFLAGS): Restore -g for gcc.
Dan Nicolaescu [Thu, 22 Apr 2010 16:37:58 +0000 (09:37 -0700)]
* configure.in (REAL_CFLAGS, CFLAGS): Restore -g for gcc.

14 years agoSynchronize with Tramp repository.
Michael Albinus [Thu, 22 Apr 2010 12:07:37 +0000 (14:07 +0200)]
Synchronize with Tramp repository.

* net/tramp.el (with-connection-property, tramp-completion-mode-p)
(tramp-action-process-alive, tramp-action-out-of-band)
(tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
(tramp-exists-file-name-handler): Fix docstring.
(with-progress-reporter): New defmacro.
(tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
(tramp-maybe-open-connection): Use it.

14 years agoDetect ssh 'ControlMaster' argument automatically in some cases.
Michael Albinus [Thu, 22 Apr 2010 11:21:39 +0000 (13:21 +0200)]
Detect ssh 'ControlMaster' argument automatically in some cases.

* net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
(tramp-default-method): Use it.

14 years ago* net/tramp.el (tramp-handle-copy-file): Add new optional
Michael Albinus [Thu, 22 Apr 2010 09:15:27 +0000 (11:15 +0200)]
* net/tramp.el (tramp-handle-copy-file): Add new optional
parameter `preserve-selinux-context'.
(tramp-file-name-for-operation): Add `set-file-selinux-context'.

14 years ago(message-generate-headers): Record insertion of optional headers as well.
Katsumi Yamaoka [Thu, 22 Apr 2010 08:24:25 +0000 (08:24 +0000)]
(message-generate-headers): Record insertion of optional headers as well.
Otherwise the check to prevent repeated insertion of optional headers
is a no-op.  By Andreas Seltenreich <seltenreich@gmx.de>.

14 years ago* net/tramp.el(tramp-completion-handle-file-name-all-completions):
Michael Albinus [Thu, 22 Apr 2010 04:30:16 +0000 (06:30 +0200)]
* net/tramp.el(tramp-completion-handle-file-name-all-completions):
Ensure, that non remote files are still checked.  Oops.

14 years agoUpdate ChangeLog
Miles Bader [Thu, 22 Apr 2010 00:15:20 +0000 (09:15 +0900)]
Update ChangeLog

14 years agoUpdate configure
Miles Bader [Thu, 22 Apr 2010 00:10:43 +0000 (09:10 +0900)]
Update configure

14 years agoget rid of "unix" pre-defined macro when preprocessing Makefile
Miles Bader [Thu, 22 Apr 2010 00:10:30 +0000 (09:10 +0900)]
get rid of "unix" pre-defined macro when preprocessing Makefile

14 years agoAvoid non-portable shell command negation
Andreas Schwab [Wed, 21 Apr 2010 21:44:48 +0000 (23:44 +0200)]
Avoid non-portable shell command negation
* configure.in: Revert last change.

14 years agoFix Bug#5840.
Michael Albinus [Wed, 21 Apr 2010 19:48:42 +0000 (21:48 +0200)]
Fix Bug#5840.

* icomplete.el (icomplete-completions): Use `non-essential'.

* net/tramp.el (tramp-connectable-p): New defun.
(tramp-handle-expand-file-name)
(tramp-completion-handle-file-name-all-completions)
(tramp-completion-handle-file-name-completion): Use it.

14 years agoClean up HP-UX files.
Dan Nicolaescu [Wed, 21 Apr 2010 19:32:54 +0000 (12:32 -0700)]
Clean up HP-UX files.
* m/hp800.h (NO_REMAP, VIRT_ADDR_VARIES, DATA_SEG_BITS)
(DATA_START, TEXT_START, LOAD_AVE_TYPE, LOAD_AVE_CVT)
(LDAV_SYMBOL, index, rindex): Move definitions only used in HP-UX ...
* s/hpux10-20.h: ... to the only user, here.

14 years ago* xsettings.c: Move misplaced HAVE_GCONF
Jan Djärv [Wed, 21 Apr 2010 18:25:13 +0000 (20:25 +0200)]
* xsettings.c: Move misplaced HAVE_GCONF

14 years agoFix bug #5992.
Eli Zaretskii [Wed, 21 Apr 2010 17:59:39 +0000 (20:59 +0300)]
Fix bug #5992.

 bidi.c (bidi_find_paragraph_start, bidi_at_paragraph_end): Don't
 use buffer-local values of paragraph-start and paragraph-separate.
 <paragraph_start_re, paragraph_separate_re>: Rename from
 fallback_paragraph_start_re and fallback_paragraph_separate_re.

14 years ago(lisp-completion-at-point): Try and handle errors.
Stefan Monnier [Wed, 21 Apr 2010 17:53:03 +0000 (13:53 -0400)]
(lisp-completion-at-point): Try and handle errors.

14 years agoconfigure.in: Change "if test ! -f" to "if ! test -f".
Jan Djärv [Wed, 21 Apr 2010 16:41:29 +0000 (18:41 +0200)]
configure.in: Change "if test ! -f" to "if ! test -f".
Regenerate configure.

14 years agoDocument tool-bar-style
Jan Djärv [Wed, 21 Apr 2010 16:25:15 +0000 (18:25 +0200)]
Document tool-bar-style

14 years agoGtk tool bars can be text, icons with text or just icons.
Jan Djärv [Tue, 20 Apr 2010 18:52:07 +0000 (20:52 +0200)]
Gtk tool bars can be text, icons with text or just icons.

* xsettings.c: Qmonospace_font_name, Qtool_bar_style and
current_tool_bar_style are new.
(store_config_changed_event): Rename from store_font_changed_event.
(XSETTINGS_TOOL_BAR_STYLE): New define.
(SEEN_FONT, SEEN_TB_STYLE): New enum values.
(struct xsettings): Add font and tb_style, set xft stuff inside #ifdef
HAVE_XFT.
(something_changedCB): store_font_changed_event is now
store_config_changed_event
(parse_settings): Rename from parse_xft_settings.  Read
non-xft xsettings outside #ifdef HAVE_XFT.
(read_settings): Renamed from read_xft_settings.
(apply_xft_settings): Take current settings as parameter.  Do not
call read_(xft)_settings.
(read_and_apply_settings): New function.
(xft_settings_event): Do non-xft stuff out of HAVE_XFT.  Call
read_and_apply_settings if there are settings to be read.
(init_xsettings): Renamed from init_xfd_settings.
Call read_and_apply_settings unconditionally.
(xsettings_initialize): Call init_xsettings.
(Ftool_bar_get_system_style): New function.
(syms_of_xsettings): Define Qmonospace_font_name and
Qtool_bar_style.  Initialize current_tool_bar_style to nil.
defsubr Stool_bar_get_system_style. Fprovide on
dynamic-setting.

* xsettings.h (Ftool_bar_get_system_style): Declare.

* xdisp.c: Vtool_bar_style, tool_bar_max_label_size,
Qtext, Qboth, Qboth_horiz are new.
(syms_of_xdisp): Intern Qtext, Qboth, Qboth_horiz, DEFVAR
Vtool_bar_style, tool_bar_max_label_size.

* lisp.h: Extern declare Qtext, Qboth, Qboth_horiz.

* keyboard.c: QClabel is new.
(parse_tool_bar_item): Take out QClabel from tool bar items.
Try to construct a label if ther is no QClabel.
(syms_of_keyboard): Intern :label as QClabel.

* dispextern.h (tool_bar_item_idx): TOOL_BAR_ITEM_LABEL is new.
(Vtool_bar_style, tool_bar_max_label_size, DEFAULT_TOOL_BAR_LABEL_SIZE):
New.

* Makefile.in (SOME_MACHINE_LISP): font-setting.el renamed to
dynamic-setting.el.

* gtkutil.c (xg_tool_bar_menu_proxy): Handle label in tool bar item.
(xg_make_tool_item, xg_show_toolbar_item): New function.
(update_frame_tool_bar): Take label from TOOL_BAR_ITEM_LABEL.
Call xg_make_tool_item to make a tool bar item.
Call xg_show_toolbar_item.  Use wtoolbar instead of x->toolbar_widget.

* xterm.c (x_draw_image_relief): Take Vtool_bar_button_margin
into account for toolbars.

* vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.

* tool-bar.el (tool-bar-setup): Add :label on some tool bar items.

* loadup.el: Load dynamic-setting.el if feature dynamic-setting
is present.

* info.el (info-tool-bar-map): Add labels.

* cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.

* cus-edit.el (custom-commands): Add labels for tool bar.
(custom-buffer-create-internal, Custom-mode): Adjust for
labels in custom-commands.

* dynamic-setting.el: Renamed from font-setting.el.

14 years agoDeclarations before code (Bug#5993).
Jan Djärv [Wed, 21 Apr 2010 16:13:55 +0000 (18:13 +0200)]
Declarations before code (Bug#5993).

* data.c (make_blv): Declarations before code (Bug#5993).

* xlwmenu.c (expose_cb):
* lwlib-Xaw.c (fill_xft_data): Declarations before code (Bug#5993).

14 years agoAdded C-o keybinding to toggle use of virtual buffers
Leo Liu [Wed, 21 Apr 2010 11:00:58 +0000 (07:00 -0400)]
Added C-o keybinding to toggle use of virtual buffers
* ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
toggles the use of virtual buffers.
(ido-buffer-internal): Guard `ido-use-virtual-buffers' global
value.
(ido-toggle-virtual-buffers): New function.

14 years agoRemove NOMULTIPLEJOBS.
Dan Nicolaescu [Wed, 21 Apr 2010 06:49:28 +0000 (23:49 -0700)]
Remove NOMULTIPLEJOBS.

14 years ago* src/ChangeLog: Remove merged duplicate entry.
Glenn Morris [Wed, 21 Apr 2010 06:40:18 +0000 (23:40 -0700)]
* src/ChangeLog: Remove merged duplicate entry.

14 years agoRemove some more cpp in favor of autoconf.
Glenn Morris [Wed, 21 Apr 2010 06:35:35 +0000 (23:35 -0700)]
Remove some more cpp in favor of autoconf.

* configure.in (LIBSELINUX_LIBS): Always substitute in Makefiles.
(GTK_OBJ, DBUS_OBJ, LIBXSM, XMENU_OBJ, XOBJ): New output variables.

* src/Makefile.in (DBUS_OBJ, GTK_OBJ, XMENU_OBJ, XOBJ):
Define using autoconf, not cpp.
(LIBXSM): New variable, set by autoconf.
(LIBXT): Use $LIBXSM.

14 years agoRemove NOMULTIPLEJOBS, unused.
Dan Nicolaescu [Wed, 21 Apr 2010 05:47:56 +0000 (22:47 -0700)]
Remove NOMULTIPLEJOBS, unused.
* s/template.h (NOMULTIPLEJOBS):
* s/msdos.h (NOMULTIPLEJOBS): Remove, unused.

14 years agoSimplify LD_SWITCH_SYSTEM_TEMACS usage.
Dan Nicolaescu [Wed, 21 Apr 2010 05:33:24 +0000 (22:33 -0700)]
Simplify LD_SWITCH_SYSTEM_TEMACS usage.
* s/freebsd.h (LD_SWITCH_SYSTEM_TEMACS):
* s/gnu-linux.h (LD_SWITCH_SYSTEM_TEMACS): Remove, configure
detects -znocombreloc and passes it to the linker
* s/hpux10-20.h (LD_SWITCH_SYSTEM_TEMACS): Remove, empty.

14 years agotetris.el: Use `define-derived-mode'; fix window selection; doc fixes.
Juanma Barranquero [Wed, 21 Apr 2010 03:53:42 +0000 (05:53 +0200)]
tetris.el: Use `define-derived-mode'; fix window selection; doc fixes.

* play/tetris.el (tetris, tetris-update-speed-function)
  (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
  (tetris-move-left, tetris-move-right, tetris-rotate-prev)
  (tetris-rotate-next, tetris-end-game, tetris-start-game)
  (tetris-pause-game): Fix typos in docstrings.
  (tetris-mode-map, tetris-null-map): Move initialization into declaration.
  (tetris-mode): Define with `define-derived-mode';
  set show-trailing-whitespace to nil.
  (tetris): Prefer window already displaying the "*Tetris*" buffer.

14 years agoRegenerate configure.
Glenn Morris [Wed, 21 Apr 2010 03:41:01 +0000 (20:41 -0700)]
Regenerate configure.

14 years agoRemove LIBSELINUX_LIBS need for cpp in Makefiles.
Glenn Morris [Wed, 21 Apr 2010 03:33:04 +0000 (20:33 -0700)]
Remove LIBSELINUX_LIBS need for cpp in Makefiles.

* configure.in (LIBSELINUX_LIBS): Always substitute in Makefiles.
* src/Makefile.in (LIBSELINUX_LIBS): Remove containing #ifdef.

14 years agoRegenerate configure, src/config.in.
Glenn Morris [Wed, 21 Apr 2010 03:11:03 +0000 (20:11 -0700)]
Regenerate configure, src/config.in.

14 years agoDoc updates for SELinux support.
Glenn Morris [Wed, 21 Apr 2010 03:08:21 +0000 (20:08 -0700)]
Doc updates for SELinux support.

* ack.texi, emacs.texi (Acknowledgments): Add SELinux support.

* etc/NEWS: Mention SELinux support.

14 years agoAdd SELinux support.
Karel Klíc [Wed, 21 Apr 2010 03:02:58 +0000 (20:02 -0700)]
Add SELinux support.

* configure.in: New option: --with(out)-selinux, on by default.
Set HAVE_LIBSELINUX if we find libselinux, and substitute
LIBSELINUX_LIBS in Makefiles.

* src/Makefile.in (LIBSELINUX_LIBS): New.
(LIBES): Add $LIBSELINUX_LIBS.
* src/eval.c, lisp.h (call7): New function.
* src/fileio.c [HAVE_LIBSELINUX]: Include selinux headers.
(Ffile_selinux_context, Fset_file_selinux_context):
New functions.
(Fcopy_file): New parameter preserve-selinux-context.
(Frename_file): Preserve selinux context when renaming by copy-file.

* lisp/files.el (backup-buffer): Handle SELinux context, and return it
if a backup was made by renaming.
(backup-buffer-copy): Set SELinux context to the target file.
(basic-save-buffer): Set SELinux context of the newly written file.
(basic-save-buffer-1): Now it also returns any SELinux context.
(basic-save-buffer-2): Set SELinux context of the newly created file,
and return it.
* lisp/net/tramp.el (tramp-file-name-for-operation):
Add file-selinux-context.

14 years agovc-bzr.el (vc-bzr-checkin): Undo spurious `async' arg change.
Stefan Monnier [Wed, 21 Apr 2010 02:10:50 +0000 (22:10 -0400)]
vc-bzr.el (vc-bzr-checkin): Undo spurious `async' arg change.

14 years agoMake the log-edit comments use RFC822 format throughout.
Stefan Monnier [Wed, 21 Apr 2010 02:05:24 +0000 (22:05 -0400)]
Make the log-edit comments use RFC822 format throughout.
* vc.el (vc-checkin, vc-modify-change-comment):
Adjust to new vc-start/finish-logentry.
(vc-find-conflicted-file): New command.
(vc-transfer-file): Adjust to new vc-checkin.
(vc-next-action): Improve scoping.

* vc-hg.el (vc-hg-log-edit-mode): Remove.
(vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.

* vc-git.el (vc-git-log-edit-mode): Remove.
(vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
(vc-git-commits-coding-system): Rename from git-commits-coding-system.

* vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
(vc-start-logentry): Remove argument `extra'.
(vc-finish-logentry): Remove extra args.

* vc-bzr.el (vc-bzr-log-edit-mode): Remove.
(vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
(vc-bzr-conflicted-files): New function.

* log-edit.el (log-edit-extra-flags)
(log-edit-before-checkin-process): Remove.
(log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
(log-edit-headers-alist): New var.
(log-edit-header-contents-regexp): New const.
(log-edit-match-to-eoh): New function.
(log-edit-font-lock-keywords): Use them.
(log-edit): Insert a "Summary:" header as default.
(log-edit-mode): Mark font-lock rules as case-insensitive.
(log-edit-done): Cleanup headers.
(log-view-process-buffer): Remove.
(log-edit-extract-headers): New function to replace it.