Commit Graph

94769 Commits

Author SHA1 Message Date
Glenn Morris
74e6ff9a60 * config.bat: Need to add the deps.mk file before running cpp. 2010-05-19 23:24:35 -07:00
Glenn Morris
c3ba133a80 * src/autodeps.mk, src/deps.mk: Comments need to be in C format. 2010-05-19 23:20:39 -07:00
Glenn Morris
648b8e6d7a Regenerate configure, src/config.in. 2010-05-19 23:15:26 -07:00
Glenn Morris
9d5cf9b6b6 Handle auto-depend with configure.
* make-dist (src): Include *.mk.
* config.bat: Concatenate deps.mk onto the end of src/Makefile.
* configure.in (DEPFLAGS, MKDEPDIR): New output variables.
(deps_frag): New output file.
(AUTO_DEPEND): Remove this definition.

* src/Makefile.in (DEPDIR): New constant.
(DEPFLAGS): Set with configure, not cpp.
(MKDEPDIR): New, set by configure.
(.c.o, .m.o, ecrt0.o): Use $MKDEPDIR.
(clean): Use $DEPDIR.
(deps_frag): Include from configure.
Move static/dynamic dependency stuff to deps.mk/autodeps.mk.
* src/deps.mk, src/autodeps.mk: New files, extracted from Makefile.in.

* msdos/sed1v2.inp (DEPFLAGS, deps_frag): Edit to empty.
(MKDEPDIR): Edit to ':'.
2010-05-19 23:11:27 -07:00
Glenn Morris
21566ba7e5 * configure.in (--with-gtk, --with-gcc): Remove option stubs. 2010-05-19 22:48:16 -07:00
Juanma Barranquero
49a817b3b3 * emacs-lisp/cl-loaddefs.el: Update autoload checksum. 2010-05-20 03:32:08 +02:00
Juanma Barranquero
07d7c3bdc9 * composite.el: Require cl when compiling; fix typos in docstrings. 2010-05-20 03:27:49 +02:00
Juri Linkov
7bce851099 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
set-window-parameter.
2010-05-19 23:37:57 +03:00
Michael Albinus
a7723e050f * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
where appropriate.
(tramp-maybe-open-connection): Use it.
2010-05-19 20:56:18 +02:00
Eli Zaretskii
3f2e77354e Fix C-e when bidi reordering is in effect.
simple.el (move-end-of-line): Make sure we are at line beginning
 before backing up to end of previous line.
2010-05-19 20:16:07 +03:00
Michael Albinus
8c4ec20f01 * password-cache.el (password-cache-remove): Fix docstring. 2010-05-19 14:52:27 +02:00
Michael Albinus
8d9181c799 * net/secrets.el: Autoload the widget functions.
(secrets-search-items, secrets-create-item)
(secrets-get-attributes, secrets-expand-item): Attributes will be
stored on the password database without leading ":", as all other
clients do as well.
(secrets-mode): Fix docstring.
(secrets-show-secrets): Provide it as autoloaded command only when
D-Bus support is available.  Check existence of Secret Service API.
2010-05-19 14:47:37 +02:00
Peter S Galbraith
b59ee24dfb Decode RFC2047 encoded Subject lines for mail replies. 2010-05-19 08:23:40 -04:00
Eli Zaretskii
ead6f8f50b Fix bug #6210.
bidi.c (bidi_cache_shrink, bidi_cache_iterator_state): Fix
 reallocation of the cache.
2010-05-19 10:22:41 +03:00
Stefan Monnier
2a96c2a765 * indent.el (indent-region): Deactivate region (bug#6200). 2010-05-18 23:06:48 -04:00
Glenn Morris
d24e10b1b2 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204) 2010-05-18 20:01:24 -07:00
Glenn Morris
38b8b32648 * etc/TODO: prog-mode updates. 2010-05-18 19:56:44 -07:00
Glenn Morris
d494e8f280 Minor msdos build change.
* msdos/sed2v2.inp (ORDINARY_LINK): Set here rather than in s/msdos.h.
* src/s/msdos.h (ORDINARY_LINK): Move to sed2v2.inp.
2010-05-18 19:51:51 -07:00
Glenn Morris
ebbc2619f0 Regenerate configure, src/config.in. 2010-05-18 19:46:42 -07:00
Glenn Morris
c1d0dcfd12 Set linker-related things with configure.
* configure.in (LINKER, YMF_PASS_LDFLAGS): New output variables.
(ORDINARY_LINK): New AC_DEFINE.
(LIB_GCC): No need to set if ORDINARY_LINK.

* src/Makefile.in (LD, YMF_PASS_LDFLAGS): Set with configure, not cpp.
(GNULIB_VAR): Remove.
(LIBES): Use LIB_GCC instead of GNULIB_VAR.

* src/m/ibms390x.h (LINKER):
* src/m/macppc.h (LINKER) [GNU_LINUX]:
* src/s/aix4-2.h (ORDINARY_LINK):
* src/s/cygwin.h (LINKER):
* src/s/darwin.h (ORDINARY_LINK):
* src/s/gnu.h (ORDINARY_LINK):
* src/s/netbsd.h (LINKER):
* src/s/usg5-4.h (ORDINARY_LINK):
Move to configure.

* msdos/sed1v2.inp (LD): Edit to $(CC).
(YMF_PASS_LDFLAGS): Edit to `flags'.
2010-05-18 19:42:04 -07:00
Glenn Morris
7f34aec377 * s/aix4-2.h (LINKER): Remove; this file sets ORDINARY_LINK.
In any case, ORDINARY_LINK means uses the C compiler as the LINKER,
so setting LINKER=cc is redundant.
2010-05-18 19:27:01 -07:00
Kenichi Handa
9ba3dd4898 merge trunk 2010-05-19 10:16:01 +09:00
Kenichi Handa
134d1bcded merge trunk 2010-05-19 10:10:29 +09:00
Kenichi Handa
2833d9158d composite.el: Register compose-gstring-for-graphic in composition-function-table only for combining characters (Mn, Mc, Me). 2010-05-19 10:09:50 +09:00
Jay Belanger
134c2f29ce calc-trail.el (calc-trail-isearch-forward)
(calc-trail-isearch-backward): Ensure that the new window
point is set correctly.
2010-05-18 17:49:56 -05:00
Stefan Monnier
278847cd92 * subr.el (read-quoted-char): Resolve modifiers after key remapping.
Fixes: debbugs:6212
2010-05-18 16:31:44 -04:00
Michael Albinus
065f274317 Add command `secrets-show-secrets'. 2010-05-18 21:43:04 +02:00
Michael Albinus
3a8e7cbdae Add visualization code for secrets.
* net/secrets.el (secrets-mode): New major mode.
(secrets-show-secrets, secrets-show-collections)
(secrets-expand-collection, secrets-expand-item)
(secrets-tree-widget-after-toggle-function)
(secrets-tree-widget-show-password): New defuns.
2010-05-18 21:34:26 +02:00
Stefan Monnier
224b70cbc5 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
(smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
handled in smie-next-sexp.
(smie-indent-calculate): Provide a starting indentation (so the
recursion is well-founded ;-).
2010-05-18 15:24:24 -04:00
Chong Yidong
60dd06a082 Fix stack overflow in string creation (Bug#6214).
* character.c (Fstring, Funibyte_string): Use SAFE_ALLOCA to
prevent stack overflow if number of arguments is too large
(Bug#6214).
2010-05-18 14:05:43 -04:00
Chong Yidong
754790b6c5 * character.c (Fstring, Funibyte_string): Use SAFE_ALLOCA to
prevent stack overflow if number of arguments is too large
(Bug#6214).
2010-05-18 14:01:10 -04:00
Stefan Monnier
472e7ec1e1 Fix handling of non-associative equal levels.
* emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
when it's not needed.
(smie-op-left, smie-op-right): New functions.
(smie-next-sexp): New function, extracted from smie-backward-sexp.
Better handle equal levels to distinguish the associative case from
the "multi-keyword construct" case.
(smie-backward-sexp, smie-forward-sexp): Use it.
2010-05-18 12:03:51 -04:00
Juanma Barranquero
1fc0ce04bc * doc/emacs/ChangeLog: Fix typos. 2010-05-18 13:49:10 +02:00
Eli Zaretskii
3431304155 Document bidi-aware behavior of arrow keys and display features.
display.texi (Fringes): Document reversal of fringe arrows for R2L
 paragraphs.
 (Line Truncation): Fix wording for bidi display.
 basic.texi (Moving Point): Document bidi-aware behavior of the arrow keys.
2010-05-18 13:58:56 +03:00
Juanma Barranquero
560bb7ae8e Fix ChangeLog typos. 2010-05-18 10:33:29 +02:00
Juanma Barranquero
161e44d119 * charset.c (load_charset_map_from_file): Don't call close after fclose. 2010-05-18 10:08:33 +02:00
Eli Zaretskii
952d5580c9 msdos/sed1x.inp: Add copyright notice. 2010-05-18 10:57:27 +03:00
Juanma Barranquero
5d8fe0ba81 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler. 2010-05-18 09:52:10 +02:00
Juanma Barranquero
35e53abd43 * emacs-lisp/smie.el: Fix typos in docstrings. 2010-05-18 09:44:07 +02:00
Eli Zaretskii
5739cdd25a Advise against unnecessary merges from trunk to feature branches. 2010-05-18 10:38:35 +03:00
Glenn Morris
9539dc5db3 * s/gnu-linux.h: Combine two conditionals. 2010-05-17 20:03:14 -07:00
Glenn Morris
7b570c766f * src/[ms]/template.h: Comments. 2010-05-17 19:59:15 -07:00
Glenn Morris
4f91d9c864 Regenerate configure. 2010-05-17 19:54:25 -07:00
Glenn Morris
51603dabe0 * admin/notes/bzr: New file.
More mailing-list wisdom.  Probably should be merged with commits.
2010-05-17 19:52:21 -07:00
Glenn Morris
6665f4c540 Since Cygwin does not set SYSTEM_MALLOC, $(VMLIMIT_OBJ) == vm-limit.o.
* configure.in (POST_ALLOC_OBJ) [cygwin]: Omit vm-limit.o.
(POST_ALLOC_OBJ) [!cygwin]: Set to empty.

* src/Makefile.in (otherobj): Include $(VMLIMIT_OBJ) separately from
$(POST_ALLOC_OBJ).
2010-05-17 19:49:28 -07:00
Glenn Morris
40dc6bf44e Set rallocobj with configure, not cpp.
* configure.in (REL_ALLOC): Unset on gnu, gnu-linux if DOUG_LEA_MALLOC.
(RALLOC_OBJ): New output variable.
* config.bat (RALLOC_OBJ): Edit to empty if sys_malloc.

* src/Makefile.in (RALLOC_OBJ): New, set by configure.
(rallocobj): Replace with the previous variable.
(otherobj): Use $RALLOC_OBJ.

* src/s/gnu.h (REL_ALLOC) [DOUG_LEA_MALLOC]:
* src/s/gnu-linux.h (REL_ALLOC) [DOUG_LEA_MALLOC]: Move undef to configure.

* msdos/sed1v2.inp (RALLOC_OBJ): Edit to ralloc.o.
2010-05-17 19:44:07 -07:00
Glenn Morris
be4ff9dad8 Define some malloc objects with configure, not cpp.
* configure.in (GMALLOC_OBJ, VMLIMIT_OBJ): New output variables.
* config.bat (GMALLOC_OBJ, VMLIMIT_OBJ): Edit to empty if sys_malloc.

* src/Makefile.in (GMALLOC_OBJ, VMLIMIT_OBJ): New, set by configure.
(gmallocobj, vmlimitobj): Replace with previous two variables.
(otherobj): Use $GMALLOC_OBJ, $VMLIMIT_OBJ.

* msdos/sed1v2.inp (GMALLOC_OBJ): Edit to gmalloc.o.
(VMLIMIT_OBJ): Edit to vm-limit.o.
2010-05-17 19:30:13 -07:00
Stefan Monnier
5b5262f4da * Makefile.in (${lispsource}loaddefs.el): Update loaddefs.el after a pull.
* Makefile.in (src): Provide the name of the VCS file that witnesses a pull.
($(srcdir)/src/config.in): Handle accidental removal of src/config.in.
2010-05-17 17:02:06 -04:00
Stefan Monnier
5ad4bef575 Provide a simple generic indentation engine and use it for Prolog.
* emacs-lisp/smie.el: New file.
* progmodes/prolog.el (prolog-smie-op-levels)
(prolog-smie-indent-rules): New var.
(prolog-mode-variables): Use them to configure SMIE.
(prolog-indent-line, prolog-indent-level): Remove.
2010-05-17 15:27:26 -04:00
Glenn Morris
16455a8509 Combine the two stamp-oldxmenu cases.
* configure.in (OLDXMENU_DEPS): New output variable.
* configure: Regenerate.

* src/Makefile.in (OLDXMENU_DEPS): New, set by configure.
(stamp-oldxmenu): Use $OLDXMENU_DEPS.

* msdos/sed1v2.inp (OLDXMENU_DEPS): Edit to empty.
* msdos/sed1x.inp (OLDXMENU_DEPS): Edit to ${OLDXMENU} ../src/${OLDXMENU}.
2010-05-16 22:15:03 -07:00