bpt/emacs.git
14 years ago* isearch.el (isearch-update-post-hook): New hook.
Mark A. Hershberger [Thu, 20 May 2010 22:16:19 +0000 (01:16 +0300)]
* isearch.el (isearch-update-post-hook): New hook.
(isearch-update): Use the new hook.  (Bug#6225)

14 years ago* isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
Juri Linkov [Thu, 20 May 2010 22:01:57 +0000 (01:01 +0300)]
* isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
[f1], [help], and (char-to-string help-char) instead of "\C-h".
(Bug#6222)

14 years ago* isearch.el (isearch-yank-string): Use isearch-process-search-string.
Juri Linkov [Thu, 20 May 2010 21:49:49 +0000 (00:49 +0300)]
* isearch.el (isearch-yank-string): Use isearch-process-search-string.
(Bug#6223)

14 years agoRemove obsolete comment.
Juri Linkov [Thu, 20 May 2010 21:38:59 +0000 (00:38 +0300)]
Remove obsolete comment.

14 years ago* dired-x.el (dired-jump, dired-jump-other-window): Add arg
Juri Linkov [Thu, 20 May 2010 21:33:58 +0000 (00:33 +0300)]
* dired-x.el (dired-jump, dired-jump-other-window): Add arg
FILE-NAME to read from the minibuffer when called interactively
with prefix argument instead of using buffer-file-name.
http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html

* dired.el: Update autoloads.

14 years ago* nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
Chong Yidong [Thu, 20 May 2010 15:12:20 +0000 (11:12 -0400)]
* nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
nxml-finish-element, for consistency with SGML mode.

* progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
octave-close-block.

14 years agoDoc fix (Bug#6224).
Kevin Ryde [Thu, 20 May 2010 14:53:30 +0000 (10:53 -0400)]
Doc fix (Bug#6224).

* keyboard.c (Vlast_command, Vkeyboard_translate_table)
(Voverriding_terminal_local_map, Vsystem_key_alist)
(Vlocal_function_key_map): Fix manual link in docstring (Bug#6224).

14 years agoUse terminfo rather than termcap on recent NetBSD.
enami tsugutomo [Thu, 20 May 2010 06:37:29 +0000 (23:37 -0700)]
Use terminfo rather than termcap on recent NetBSD.

* configure.in: On NetBSD, if terminfo is found, use it in preference
to termcap.  (Bug#6190)

14 years ago* config.bat: Need to add the deps.mk file before running cpp.
Glenn Morris [Thu, 20 May 2010 06:24:35 +0000 (23:24 -0700)]
* config.bat: Need to add the deps.mk file before running cpp.

14 years ago* src/autodeps.mk, src/deps.mk: Comments need to be in C format.
Glenn Morris [Thu, 20 May 2010 06:20:39 +0000 (23:20 -0700)]
* src/autodeps.mk, src/deps.mk: Comments need to be in C format.

14 years agoRegenerate configure, src/config.in.
Glenn Morris [Thu, 20 May 2010 06:15:26 +0000 (23:15 -0700)]
Regenerate configure, src/config.in.

14 years agoHandle auto-depend with configure.
Glenn Morris [Thu, 20 May 2010 06:11:27 +0000 (23:11 -0700)]
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 ':'.

14 years ago* configure.in (--with-gtk, --with-gcc): Remove option stubs.
Glenn Morris [Thu, 20 May 2010 05:48:16 +0000 (22:48 -0700)]
* configure.in (--with-gtk, --with-gcc): Remove option stubs.

14 years ago* emacs-lisp/cl-loaddefs.el: Update autoload checksum.
Juanma Barranquero [Thu, 20 May 2010 01:32:08 +0000 (03:32 +0200)]
* emacs-lisp/cl-loaddefs.el: Update autoload checksum.

14 years ago* composite.el: Require cl when compiling; fix typos in docstrings.
Juanma Barranquero [Thu, 20 May 2010 01:27:49 +0000 (03:27 +0200)]
* composite.el: Require cl when compiling; fix typos in docstrings.

14 years ago* emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
Juri Linkov [Wed, 19 May 2010 20:37:57 +0000 (23:37 +0300)]
* emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
set-window-parameter.

14 years ago* net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
Michael Albinus [Wed, 19 May 2010 18:56:18 +0000 (20:56 +0200)]
* net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
where appropriate.
(tramp-maybe-open-connection): Use it.

14 years agoFix C-e when bidi reordering is in effect.
Eli Zaretskii [Wed, 19 May 2010 17:16:07 +0000 (20:16 +0300)]
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.

14 years ago* password-cache.el (password-cache-remove): Fix docstring.
Michael Albinus [Wed, 19 May 2010 12:52:27 +0000 (14:52 +0200)]
* password-cache.el (password-cache-remove): Fix docstring.

14 years ago* net/secrets.el: Autoload the widget functions.
Michael Albinus [Wed, 19 May 2010 12:47:37 +0000 (14:47 +0200)]
* 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.

14 years agoDecode RFC2047 encoded Subject lines for mail replies.
Peter S Galbraith [Wed, 19 May 2010 12:23:40 +0000 (08:23 -0400)]
Decode RFC2047 encoded Subject lines for mail replies.

14 years agoFix bug #6210.
Eli Zaretskii [Wed, 19 May 2010 07:22:41 +0000 (10:22 +0300)]
Fix bug #6210.

 bidi.c (bidi_cache_shrink, bidi_cache_iterator_state): Fix
 reallocation of the cache.

14 years ago* indent.el (indent-region): Deactivate region (bug#6200).
Stefan Monnier [Wed, 19 May 2010 03:06:48 +0000 (23:06 -0400)]
* indent.el (indent-region): Deactivate region (bug#6200).

14 years ago* vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
Glenn Morris [Wed, 19 May 2010 03:01:24 +0000 (20:01 -0700)]
* vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)

14 years ago* etc/TODO: prog-mode updates.
Glenn Morris [Wed, 19 May 2010 02:56:44 +0000 (19:56 -0700)]
* etc/TODO: prog-mode updates.

14 years agoMinor msdos build change.
Glenn Morris [Wed, 19 May 2010 02:51:51 +0000 (19:51 -0700)]
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.

14 years agoRegenerate configure, src/config.in.
Glenn Morris [Wed, 19 May 2010 02:46:42 +0000 (19:46 -0700)]
Regenerate configure, src/config.in.

14 years agoSet linker-related things with configure.
Glenn Morris [Wed, 19 May 2010 02:42:04 +0000 (19:42 -0700)]
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'.

14 years ago* s/aix4-2.h (LINKER): Remove; this file sets ORDINARY_LINK.
Glenn Morris [Wed, 19 May 2010 02:27:01 +0000 (19:27 -0700)]
* 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.

14 years agomerge trunk
Kenichi Handa [Wed, 19 May 2010 01:16:01 +0000 (10:16 +0900)]
merge trunk

14 years agomerge trunk
Kenichi Handa [Wed, 19 May 2010 01:10:29 +0000 (10:10 +0900)]
merge trunk

14 years agocomposite.el: Register compose-gstring-for-graphic in composition-function-table...
Kenichi Handa [Wed, 19 May 2010 01:09:50 +0000 (10:09 +0900)]
composite.el: Register compose-gstring-for-graphic in composition-function-table only for combining characters (Mn, Mc, Me).

14 years agocalc-trail.el (calc-trail-isearch-forward)
Jay Belanger [Tue, 18 May 2010 22:49:56 +0000 (17:49 -0500)]
calc-trail.el (calc-trail-isearch-forward)
(calc-trail-isearch-backward): Ensure that the new window
point is set correctly.

14 years ago* subr.el (read-quoted-char): Resolve modifiers after key remapping.
Stefan Monnier [Tue, 18 May 2010 20:31:44 +0000 (16:31 -0400)]
* subr.el (read-quoted-char): Resolve modifiers after key remapping.

Fixes: debbugs:6212

14 years agoAdd command `secrets-show-secrets'.
Michael Albinus [Tue, 18 May 2010 19:43:04 +0000 (21:43 +0200)]
Add command `secrets-show-secrets'.

14 years agoAdd visualization code for secrets.
Michael Albinus [Tue, 18 May 2010 19:34:26 +0000 (21:34 +0200)]
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.

14 years ago* emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
Stefan Monnier [Tue, 18 May 2010 19:24:24 +0000 (15:24 -0400)]
* 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 ;-).

14 years agoFix stack overflow in string creation (Bug#6214).
Chong Yidong [Tue, 18 May 2010 18:05:43 +0000 (14:05 -0400)]
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).

14 years ago* character.c (Fstring, Funibyte_string): Use SAFE_ALLOCA to
Chong Yidong [Tue, 18 May 2010 18:01:10 +0000 (14:01 -0400)]
* character.c (Fstring, Funibyte_string): Use SAFE_ALLOCA to
prevent stack overflow if number of arguments is too large
(Bug#6214).

14 years agoFix handling of non-associative equal levels.
Stefan Monnier [Tue, 18 May 2010 16:03:51 +0000 (12:03 -0400)]
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.

14 years ago* doc/emacs/ChangeLog: Fix typos.
Juanma Barranquero [Tue, 18 May 2010 11:49:10 +0000 (13:49 +0200)]
* doc/emacs/ChangeLog: Fix typos.

14 years agoDocument bidi-aware behavior of arrow keys and display features.
Eli Zaretskii [Tue, 18 May 2010 10:58:56 +0000 (13:58 +0300)]
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.

14 years agoFix ChangeLog typos.
Juanma Barranquero [Tue, 18 May 2010 08:33:29 +0000 (10:33 +0200)]
Fix ChangeLog typos.

14 years ago* charset.c (load_charset_map_from_file): Don't call close after fclose.
Juanma Barranquero [Tue, 18 May 2010 08:08:33 +0000 (10:08 +0200)]
* charset.c (load_charset_map_from_file): Don't call close after fclose.

14 years agomsdos/sed1x.inp: Add copyright notice.
Eli Zaretskii [Tue, 18 May 2010 07:57:27 +0000 (10:57 +0300)]
msdos/sed1x.inp: Add copyright notice.

14 years ago* progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
Juanma Barranquero [Tue, 18 May 2010 07:52:10 +0000 (09:52 +0200)]
* progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.

14 years ago* emacs-lisp/smie.el: Fix typos in docstrings.
Juanma Barranquero [Tue, 18 May 2010 07:44:07 +0000 (09:44 +0200)]
* emacs-lisp/smie.el: Fix typos in docstrings.

14 years agoAdvise against unnecessary merges from trunk to feature branches.
Eli Zaretskii [Tue, 18 May 2010 07:38:35 +0000 (10:38 +0300)]
Advise against unnecessary merges from trunk to feature branches.

14 years ago* s/gnu-linux.h: Combine two conditionals.
Glenn Morris [Tue, 18 May 2010 03:03:14 +0000 (20:03 -0700)]
* s/gnu-linux.h: Combine two conditionals.

14 years ago* src/[ms]/template.h: Comments.
Glenn Morris [Tue, 18 May 2010 02:59:15 +0000 (19:59 -0700)]
* src/[ms]/template.h: Comments.

14 years agoRegenerate configure.
Glenn Morris [Tue, 18 May 2010 02:54:25 +0000 (19:54 -0700)]
Regenerate configure.

14 years ago* admin/notes/bzr: New file.
Glenn Morris [Tue, 18 May 2010 02:52:21 +0000 (19:52 -0700)]
* admin/notes/bzr: New file.
More mailing-list wisdom.  Probably should be merged with commits.

14 years agoSince Cygwin does not set SYSTEM_MALLOC, $(VMLIMIT_OBJ) == vm-limit.o.
Glenn Morris [Tue, 18 May 2010 02:49:28 +0000 (19:49 -0700)]
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).

14 years agoSet rallocobj with configure, not cpp.
Glenn Morris [Tue, 18 May 2010 02:44:07 +0000 (19:44 -0700)]
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.

14 years agoDefine some malloc objects with configure, not cpp.
Glenn Morris [Tue, 18 May 2010 02:30:13 +0000 (19:30 -0700)]
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.

14 years ago* Makefile.in (${lispsource}loaddefs.el): Update loaddefs.el after a pull.
Stefan Monnier [Mon, 17 May 2010 21:02:06 +0000 (17:02 -0400)]
* 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.

14 years agoProvide a simple generic indentation engine and use it for Prolog.
Stefan Monnier [Mon, 17 May 2010 19:27:26 +0000 (15:27 -0400)]
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.

14 years agoCombine the two stamp-oldxmenu cases.
Glenn Morris [Mon, 17 May 2010 05:15:03 +0000 (22:15 -0700)]
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}.

14 years agocalc-vec.el (math-vector-avg): Put the vector elements in order
Jay Belanger [Mon, 17 May 2010 04:16:29 +0000 (23:16 -0500)]
calc-vec.el (math-vector-avg):  Put the vector elements in order
before computing the averages.

14 years ago* src/Makefile.in (${ns_appbindir}Emacs, ns-app): Always define these rules.
Glenn Morris [Mon, 17 May 2010 00:01:22 +0000 (17:01 -0700)]
* src/Makefile.in (${ns_appbindir}Emacs, ns-app): Always define these rules.

14 years ago* src/Makefile.in (clean): Get rid of HAVE_NS conditional.
Glenn Morris [Sun, 16 May 2010 23:46:44 +0000 (16:46 -0700)]
* src/Makefile.in (clean): Get rid of HAVE_NS conditional.

14 years ago* configure.in (ns_appbindir, ns_appresdir): Set using $ns_appdir.
Glenn Morris [Sun, 16 May 2010 23:38:13 +0000 (16:38 -0700)]
* configure.in (ns_appbindir, ns_appresdir): Set using $ns_appdir.
* configure: Regenerate.

14 years agoTweak ns_app*dir values set by configure.
Glenn Morris [Sun, 16 May 2010 23:31:05 +0000 (16:31 -0700)]
Tweak ns_app*dir values set by configure.

* configure.in (ns_appdir, ns_appbindir): Add trailing "/" to value.
* Makefile.in (install-arch-dep): Update for above change.

* src/Makefile.in (ns_appdir, ns_appbindir): Now configure adds the
trailing "/".

14 years agoRemove one variable from Makefile.in.
Glenn Morris [Sun, 16 May 2010 23:21:06 +0000 (16:21 -0700)]
Remove one variable from Makefile.in.

* Makefile.in (ns_appdir): Remove.
(install-arch-dep): Test $ns_appresdir instead of $ns_appdir.

14 years agoSimplify temacs build rule.
Glenn Morris [Sun, 16 May 2010 23:01:56 +0000 (16:01 -0700)]
Simplify temacs build rule.

* configure.in (TEMACS_LDFLAGS2): New output variable.
* configure: Regenerate.

* msdos/sed1v2.inp (TEMACS_LDFLAGS2): Edit to $(LDFLAGS).

* src/Makefile.in (TEMACS_LDFLAGS2): New, set by configure.
(temacs${EXEEXT}): Combine the NS_IMPL_GNUSTEP case with the default.

14 years agoSimplify temacs build rule.
Glenn Morris [Sun, 16 May 2010 17:58:27 +0000 (10:58 -0700)]
Simplify temacs build rule.

* configure.in (NS_IMPL_GNUSTEP_TEMACS_LDFLAGS): New output variable.
(START_FILES): Set to empty if NS_IMPL_GNUSTEP.
(GNUSTEP_SYSTEM_HEADERS, GNUSTEP_SYSTEM_LIBRARIES): Do not output,
nothing uses.

* configure: Regenerate.

* src/Makefile.in (GNUSTEP_SYSTEM_LIBRARIES): Remove, unused.
(NS_IMPL_GNUSTEP_TEMACS_LDFLAGS): New, set by configure.
(LD) [NS_IMPL_GNUSTEP]: Set to $(CC) -rdynamic.
(temacs${EXEEXT}): Remove $LOCALCPP, never defined or referenced.
Make most of the NS_IMPL_GNUSTEP case the same as the default case.

* msdos/sed1v2.inp (GNUSTEP_SYSTEM_LIBRARIES): Remove.
(NS_IMPL_GNUSTEP_TEMACS_LDFLAGS): Edit to empty.

14 years agoRemove unused Makefile variables STARTFLAGS.
Glenn Morris [Sun, 16 May 2010 06:40:19 +0000 (23:40 -0700)]
Remove unused Makefile variables STARTFLAGS.
* src/Makefile.in (temacs${EXEEXT}) [!NS_IMPL_GNUSTEP]:
Remove ${STARTFLAGS}, nothing ever sets it.

14 years ago* configure.in: Remove references to usg5-4 and bsd-common, $opsys
Dan Nicolaescu [Sun, 16 May 2010 05:58:55 +0000 (22:58 -0700)]
* configure.in: Remove references to usg5-4 and bsd-common, $opsys
does not use them.
(X11R5_INHIBIT_I18N): Remove, unused.

14 years ago* m/ia64.h (UNEXEC): Remove reference to CANNOT_EXEC, not used anymore.
Dan Nicolaescu [Sun, 16 May 2010 05:40:10 +0000 (22:40 -0700)]
* m/ia64.h (UNEXEC): Remove reference to CANNOT_EXEC, not used anymore.

14 years agoRemove reference to CANNOT_EXEC, not used anymore.
Dan Nicolaescu [Sun, 16 May 2010 05:34:48 +0000 (22:34 -0700)]
Remove reference to CANNOT_EXEC, not used anymore.

14 years agocalc-vec.el (calc-histogram):
Jay Belanger [Sun, 16 May 2010 04:43:09 +0000 (23:43 -0500)]
calc-vec.el (calc-histogram):
(calcFunc-histogram):  Allow vectors as inputs.
(math-vector-avg): New function.

calc.texi (Manipulating Vectors): Mention that vectors can be used to
determine bins for `calc-histogram'.

14 years agocalc-ext.el (math-group-float): Have the number of digits being
Jay Belanger [Sun, 16 May 2010 02:18:52 +0000 (21:18 -0500)]
calc-ext.el (math-group-float):  Have the number of digits being
grouped depend on the radix (Bug#6189).

14 years ago* src/Makefile.in (LIBX_BASE): Always define.
Glenn Morris [Sun, 16 May 2010 00:30:14 +0000 (17:30 -0700)]
* src/Makefile.in (LIBX_BASE): Always define.

14 years ago* src/Makefile.in (LIBX_OTHER): Move out of cpp section.
Glenn Morris [Sun, 16 May 2010 00:21:58 +0000 (17:21 -0700)]
* src/Makefile.in (LIBX_OTHER): Move out of cpp section.

14 years ago* src/Makefile.in (LIBXT): Always define.
Glenn Morris [Sun, 16 May 2010 00:02:13 +0000 (17:02 -0700)]
* src/Makefile.in (LIBXT): Always define.

14 years agoRegenerate configure, src/config.in.
Glenn Morris [Sat, 15 May 2010 22:36:29 +0000 (15:36 -0700)]
Regenerate configure, src/config.in.

14 years agoAlways define LIBXMENU in src/Makefile.in.
Glenn Morris [Sat, 15 May 2010 22:33:24 +0000 (15:33 -0700)]
Always define LIBXMENU in src/Makefile.in.

* configure.in (LIBXMENU): Set to empty if !HAVE_X_WINDOWS.

* src/Makefile.in (LIBXMENU): Always define.

* msdos/sed1v2.inp (LIBXMENU): Edit to empty.
* msdos/sed1x.inp (LIBXMENU): Expect empty initial value.

14 years agosrc/Makefile.in (OLDXMENU): Move out of cpp section.
Glenn Morris [Sat, 15 May 2010 22:15:49 +0000 (15:15 -0700)]
src/Makefile.in (OLDXMENU): Move out of cpp section.

14 years agoAlways define OLDXMENU in src/Makefile.in.
Glenn Morris [Sat, 15 May 2010 22:01:22 +0000 (15:01 -0700)]
Always define OLDXMENU in src/Makefile.in.

* src/Makefile.in (OLDXMENU): Always define.

* msdos/sed1v2.inp (OLDXMENU): Edit to empty.
* msdos/sed1x.inp (OLDXMENU): Expect empty initial value.

14 years agomsdos/ChangeLog missing from previous commit.
Glenn Morris [Sat, 15 May 2010 21:51:12 +0000 (14:51 -0700)]
msdos/ChangeLog missing from previous commit.

14 years agoAlways define LIBX_OTHER in src/Makefile.in.
Glenn Morris [Sat, 15 May 2010 21:47:58 +0000 (14:47 -0700)]
Always define LIBX_OTHER in src/Makefile.in.

* src/Makefile.in (LIBX_OTHER): Always define.

* msdos/sed1v2.inp (LIBX_OTHER): Edit to empty.
* msdos/sed1x.inp (LIBX_OTHER): Expect empty initial value.

14 years agoRegenerate configure.
Glenn Morris [Sat, 15 May 2010 21:34:03 +0000 (14:34 -0700)]
Regenerate configure.

14 years agoAlways define FONT_OBJ; to empty in the non-X case.
Glenn Morris [Sat, 15 May 2010 21:31:19 +0000 (14:31 -0700)]
Always define FONT_OBJ; to empty in the non-X case.

* configure.in (FONT_OBJ): Set to empty if !HAVE_X_WINDOWS.

* src/Makefile.in (FONT_DRIVERS): Remove, replace with $FONT_OBJ.
(obj, SOME_MACHINE_OBJECTS): Use $FONT_OBJ.

* msdos/sed1v2.inp (FONT_OBJ): Edit to empty for non-X case.
* msdos/sed1x.inp (FONT_OBJ): Edit to xfont.o for X case.

14 years ago* lisp.h (XFLOAT_DATA): Use "0?x:x" to generate an rvalue. (bug#5916)
Ken Raeburn [Sat, 15 May 2010 21:19:05 +0000 (17:19 -0400)]
* lisp.h (XFLOAT_DATA): Use "0?x:x" to generate an rvalue. (bug#5916)
(LISP_MAKE_RVALUE) [!USE_LISP_UNION_TYPE && !__GNUC__]: Likewise.

14 years ago* emacs.c (main): Initialize initial-environment and process-environment
Ken Raeburn [Sat, 15 May 2010 21:16:20 +0000 (17:16 -0400)]
* emacs.c (main): Initialize initial-environment and process-environment
before generating from env, not after.

14 years agoUpdate scripts and text to refer to version number string in emacs.c
Ken Raeburn [Sat, 15 May 2010 21:12:44 +0000 (17:12 -0400)]
Update scripts and text to refer to version number string in emacs.c
instead of version.el.

14 years agoHandle --version reasonably in CANNOT_DUMP configuration.
Ken Raeburn [Sat, 15 May 2010 21:11:37 +0000 (17:11 -0400)]
Handle --version reasonably in CANNOT_DUMP configuration.

* src/emacs.c (emacs_version, emacs_copyright): New string
variables.
(Vemacs_version, Vemacs_copyright): New Lisp_Object variables.
(syms_of_emacs): Defvar them, and initialize them from the C
string variables.
(main): If initialization hasn't been done, print initial version
info from the C strings, instead of starting an interactive session.
* lisp/version.el (emacs-copyright, emacs-version): Don't define
here.
* configure.in: Look for version string in its new place.

14 years agoAvoid crashes when stepping with right-arrow through "^L^L".
Eli Zaretskii [Sat, 15 May 2010 14:43:55 +0000 (17:43 +0300)]
Avoid crashes when stepping with right-arrow through "^L^L".

 bidi.c (bidi_paragraph_init): Remove redundant assertion that we are at
 the beginning of a line after call to bidi_find_paragraph_start.

14 years agoPrevent an error signal when clicking on Options->Mule->Describe Lang Env.
Eli Zaretskii [Sat, 15 May 2010 14:06:58 +0000 (17:06 +0300)]
Prevent an error signal when clicking on Options->Mule->Describe Lang Env.

 international/mule-cmds.el (mule-menu-keymap): Fix definition of
 "Describe Language Environment" menu item.

14 years agolisp/language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
Eli Zaretskii [Sat, 15 May 2010 13:50:16 +0000 (16:50 +0300)]
lisp/language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.

14 years agoImplement bidi-sensitive movement with arrow keys.
Eli Zaretskii [Sat, 15 May 2010 13:23:48 +0000 (16:23 +0300)]
Implement bidi-sensitive movement with arrow keys.

 src/bidi.c (bidi_paragraph_init): Don't leave alone garbage values
 of bidi_it->paragraph_dir.  Call bidi_initialize if needed.
 src/xdisp.c (Fcurrent_bidi_paragraph_direction): New function.
 (syms_of_xdisp): Defsubr it.
 src/cmds.c (Fforward_char, Fbackward_char): Doc fix.
 src/subr.el (right-arrow-command, left-arrow-command): New functions.
 src/bindings.el (global-map): Bind them to right and left arrow keys.
 etc/NEWS: Mention current-bidi-paragraph-direction

14 years agoDon't override standard definition of convert-standard-filename.
Eli Zaretskii [Sat, 15 May 2010 08:31:40 +0000 (11:31 +0300)]
Don't override standard definition of convert-standard-filename.
Add obsolete aliases for dos-fns.el functions.

 files.el (convert-standard-filename): Call
 w32-convert-standard-filename and dos-convert-standard-filename on
 the corresponding systems.
 w32-fns.el (w32-convert-standard-filename): Rename from
 convert-standard-filename.  Doc fix.
 dos-fns.el (dos-convert-standard-filename): Doc fix.
 (convert-standard-filename): Don't defalias.
 (register-name-alist, make-register, register-value)
 (set-register-value, intdos): Obsolete aliases for the
 corresponding dos-* functions and variables.
 (dos-intdos): Add a doc string.

14 years agoconfig.bat: Remove support for DJGPP v1.x.
Eli Zaretskii [Sat, 15 May 2010 07:51:52 +0000 (10:51 +0300)]
config.bat: Remove support for DJGPP v1.x.

14 years agoFix "config msdos" step.
Eli Zaretskii [Sat, 15 May 2010 07:19:59 +0000 (10:19 +0300)]
Fix "config msdos" step.

 src/Makefile.in: Fix MSDOS-related comments.
 msdos/sed3v2.inp (INSTALLABLES): Edit out extra ${EXEEXT} after "emacsclient".
 (emacsserver, timer, wakeup): Remove edit-out commands.
 msdos/sed1v2.inp (MSDOS_OBJ): Add w16select.o.
 (TERMCAP_OBJ): Add termcap.o.

14 years agoFix a typo in msdos/ChangeLog.
Eli Zaretskii [Sat, 15 May 2010 06:25:23 +0000 (09:25 +0300)]
Fix a typo in msdos/ChangeLog.

14 years agocalc-aent.el (math-read-token, math-find-user-tokens):
Jay Belanger [Sat, 15 May 2010 04:50:25 +0000 (23:50 -0500)]
calc-aent.el (math-read-token, math-find-user-tokens):
calc-lang.el (math-read-big-rec, math-lang-read-symbol)
(math-compose-tex-func):
calccomp.el (math-compose-expr):
calc-ext.el (math-format-flat-expr-fancy):
calc-store.el (calc-read-var-name):
calc-units.el (calc-explain-units-rec): Allow Greek letters.

calc.el (var-π, var-φ, var-γ): New variables.

calc-aent.el (math-read-replacement-list):  Add "micro" symbol.

calc-units.el (math-unit-prefixes): Add mu for micro.
(math-standard-units):  Add units.

14 years ago* progmodes/asm-mode.el (asm-mode): Use define-derived-mode.
Stefan Monnier [Sat, 15 May 2010 04:10:22 +0000 (00:10 -0400)]
* progmodes/asm-mode.el (asm-mode): Use define-derived-mode.

14 years ago* progmodes/prolog.el (prolog-mode): Use define-derived-mode.
Stefan Monnier [Sat, 15 May 2010 04:08:03 +0000 (00:08 -0400)]
* progmodes/prolog.el (prolog-mode): Use define-derived-mode.

14 years ago* pcomplete.el (pcomplete-completions-at-point): New function,
Stefan Monnier [Sat, 15 May 2010 03:50:26 +0000 (23:50 -0400)]
* pcomplete.el (pcomplete-completions-at-point): New function,
extracted from pcomplete-std-complete.
(pcomplete-std-complete): Use it.

14 years ago* lwlib/Makefile.in (mostlyclean): Remove references to non-existent files.
Glenn Morris [Sat, 15 May 2010 02:02:28 +0000 (19:02 -0700)]
* lwlib/Makefile.in (mostlyclean): Remove references to non-existent files.