1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 02:51:31 -08:00
Commit graph

94742 commits

Author SHA1 Message Date
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
Jay Belanger
00681a3c86 calc-vec.el (math-vector-avg): Put the vector elements in order
before computing the averages.
2010-05-16 23:16:29 -05:00
Glenn Morris
7ca1f3f981 * src/Makefile.in (${ns_appbindir}Emacs, ns-app): Always define these rules. 2010-05-16 17:01:22 -07:00
Glenn Morris
7541dad5ce * src/Makefile.in (clean): Get rid of HAVE_NS conditional. 2010-05-16 16:46:44 -07:00
Glenn Morris
9a436f0c8f * configure.in (ns_appbindir, ns_appresdir): Set using $ns_appdir.
* configure: Regenerate.
2010-05-16 16:38:13 -07:00
Glenn Morris
da53fab922 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 "/".
2010-05-16 16:31:05 -07:00
Glenn Morris
58dfab186f Remove one variable from Makefile.in.
* Makefile.in (ns_appdir): Remove.
(install-arch-dep): Test $ns_appresdir instead of $ns_appdir.
2010-05-16 16:21:06 -07:00
Glenn Morris
b02a664581 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.
2010-05-16 16:01:56 -07:00
Glenn Morris
8877ca0fdc 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.
2010-05-16 10:58:27 -07:00
Glenn Morris
5fdb74689d Remove unused Makefile variables STARTFLAGS.
* src/Makefile.in (temacs${EXEEXT}) [!NS_IMPL_GNUSTEP]:
Remove ${STARTFLAGS}, nothing ever sets it.
2010-05-15 23:40:19 -07:00
Dan Nicolaescu
35a20d6ca3 * configure.in: Remove references to usg5-4 and bsd-common, $opsys
does not use them.
(X11R5_INHIBIT_I18N): Remove, unused.
2010-05-15 22:58:55 -07:00
Dan Nicolaescu
95adb4b161 * m/ia64.h (UNEXEC): Remove reference to CANNOT_EXEC, not used anymore. 2010-05-15 22:40:10 -07:00
Dan Nicolaescu
c31de8bf1f Remove reference to CANNOT_EXEC, not used anymore. 2010-05-15 22:34:48 -07:00
Jay Belanger
597517ef8d 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'.
2010-05-15 23:43:09 -05:00
Jay Belanger
eba62f7a59 calc-ext.el (math-group-float): Have the number of digits being
grouped depend on the radix (Bug#6189).
2010-05-15 21:18:52 -05:00
Glenn Morris
9beab9ced3 * src/Makefile.in (LIBX_BASE): Always define. 2010-05-15 17:30:14 -07:00
Glenn Morris
8a95f0e78c * src/Makefile.in (LIBX_OTHER): Move out of cpp section. 2010-05-15 17:21:58 -07:00
Glenn Morris
676b630493 * src/Makefile.in (LIBXT): Always define. 2010-05-15 17:02:13 -07:00
Glenn Morris
1dea46ded2 Regenerate configure, src/config.in. 2010-05-15 15:36:29 -07:00
Glenn Morris
4235ca472b 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.
2010-05-15 15:33:24 -07:00
Glenn Morris
c0b0aed520 src/Makefile.in (OLDXMENU): Move out of cpp section. 2010-05-15 15:15:49 -07:00
Glenn Morris
3545021dd5 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.
2010-05-15 15:01:22 -07:00
Glenn Morris
9fad8b97fd msdos/ChangeLog missing from previous commit. 2010-05-15 14:51:12 -07:00
Glenn Morris
02d4ac0e26 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.
2010-05-15 14:47:58 -07:00
Glenn Morris
5929fbe766 Regenerate configure. 2010-05-15 14:34:03 -07:00
Glenn Morris
6e546d181b 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.
2010-05-15 14:31:19 -07:00
Ken Raeburn
5276642588 * lisp.h (XFLOAT_DATA): Use "0?x:x" to generate an rvalue. (bug#5916)
(LISP_MAKE_RVALUE) [!USE_LISP_UNION_TYPE && !__GNUC__]: Likewise.
2010-05-15 17:19:05 -04:00
Ken Raeburn
8b4eb7969c * emacs.c (main): Initialize initial-environment and process-environment
before generating from env, not after.
2010-05-15 17:16:20 -04:00