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
Ken Raeburn
e45b9e1939
Update scripts and text to refer to version number string in emacs.c
...
instead of version.el.
2010-05-15 17:12:44 -04:00
Ken Raeburn
8c5ff6dd24
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.
2010-05-15 17:11:37 -04:00
Eli Zaretskii
2e9abc3d53
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.
2010-05-15 17:43:55 +03:00
Eli Zaretskii
7107842975
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.
2010-05-15 17:06:58 +03:00
Eli Zaretskii
ce6233c171
lisp/language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
2010-05-15 16:50:16 +03:00
Eli Zaretskii
d20e1419fd
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
2010-05-15 16:23:48 +03:00
Eli Zaretskii
98d8b17e45
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.
2010-05-15 11:31:40 +03:00
Eli Zaretskii
78248b76e3
config.bat: Remove support for DJGPP v1.x.
2010-05-15 10:51:52 +03:00
Eli Zaretskii
dbd3f7231a
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.
2010-05-15 10:19:59 +03:00
Eli Zaretskii
1edbd30946
Fix a typo in msdos/ChangeLog.
2010-05-15 09:25:23 +03:00
Jay Belanger
ae6bc504c0
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.
2010-05-14 23:50:25 -05:00
Stefan Monnier
7aefa4457f
* progmodes/asm-mode.el (asm-mode): Use define-derived-mode.
2010-05-15 00:10:22 -04:00
Stefan Monnier
13973643c9
* progmodes/prolog.el (prolog-mode): Use define-derived-mode.
2010-05-15 00:08:03 -04:00
Stefan Monnier
c26ea4b2a3
* pcomplete.el (pcomplete-completions-at-point): New function,
...
extracted from pcomplete-std-complete.
(pcomplete-std-complete): Use it.
2010-05-14 23:50:26 -04:00
Glenn Morris
4b6f0cae87
* lwlib/Makefile.in (mostlyclean): Remove references to non-existent files.
2010-05-14 19:02:28 -07:00
Glenn Morris
8b44daa00a
Regenerate configure.
2010-05-14 18:58:36 -07:00
Glenn Morris
1a82cca9ba
Choose dependency of oldxmenu using configure.
...
* configure.in (OLDXMENU_TARGET): New output variable.
* src/Makefile.in (OLDXMENU_TARGET): New, set by configure.
(really-lwlib, really-oldXMenu): Always define.
($OLDXMENU): Depend on $OLDXMENU_TARGET.
* msdos/sed1v2.inp (OLDXMENU_TARGET): Edit to empty.
* msdos/sed1x.inp (OLDXMENU_TARGET): Edit to really-oldxmenu.
2010-05-14 18:55:24 -07:00
Glenn Morris
02b4958008
* msdos/sed1v2.inp (LIBXT_OTHER): Exit to empty.
2010-05-14 18:45:18 -07:00
Glenn Morris
d1fef17969
* lisp/org/org-docview.el: Fix copyright years.
2010-05-14 18:09:16 -07:00
Glenn Morris
2f8d5db917
* lib-src/Makefile.in: Break some long lines.
2010-05-14 18:05:11 -07:00
Glenn Morris
3df7b33824
If HAVE_X11, also HAVE_X_WINDOWS and HAVE_MENUS.
...
* src/Makefile.in: Simplify cpp conditional.
* admin/CPP-DEFINES: Comment.
2010-05-14 17:54:24 -07:00
Glenn Morris
2b5f541b4f
Minor NS build fixes.
...
* Makefile.in (install-arch-dep): Update odd NS rule for Emacs version.
* src/Makefile.in (${ns_appdir}): Simplify using umask.
2010-05-14 17:48:53 -07:00
Glenn Morris
02be533b2a
Remove references to CVS directories etc in Makefiles.
...
* Makefile.in (install-arch-indep): Remove references to RCS, CVS,
and other files that no longer exist.
* leim/Makefile.in (install): Remove references to CVS-related files.
* lisp/Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
Remove references to CVS, RCS and Old directories.
* src/Makefile.in (${ns_appdir}): Remove references to CVS-related files.
2010-05-14 17:42:22 -07:00
Jay Belanger
78ed0efce4
calc-bin.el (math-format-twos-complement): Group digits when appropriate.
2010-05-14 18:46:11 -05:00
Stefan Monnier
5ccaa35996
* progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
...
(sh-mode-syntax-table): Give it a default value instead.
(sh-header-marker): Make buffer-local.
(sh-mode): Move make-local-variable to the corresponding setq.
(sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
Use complete-with-action.
2010-05-14 17:21:12 -04:00
Stefan Monnier
4e2db1fe4b
* eval.c (specbind): Disallow let-binding frame-local vars.
...
Remove left-over duplicate test. Add comment.
2010-05-14 13:53:42 -04:00
Stefan Monnier
10dcc5612a
* simple.el (prog-mode): New (abstract) major mode.
...
* emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
* progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
2010-05-14 12:41:01 -04:00
Eli Zaretskii
2fe72643a0
Make the cache of bidi iterator states dynamically allocated.
...
bidi.c (bidi_cache_shrink): New function.
(bidi_init_it): Call it.
(bidi_cache_iterator_state): Enlarge the cache if needed.
2010-05-14 18:19:07 +03:00
Eli Zaretskii
4b292a226c
Rename bidi_get_next_char_visually to bidi_move_to_visually_next.
...
bidi.c (bidi_move_to_visually_next): Renamed from
bidi_get_next_char_visually. All callers changed.
2010-05-14 17:30:45 +03:00
Eli Zaretskii
d07f018c06
Fix comments from 2010-05-14T04:14:23Z!handa@etlken.
2010-05-14 16:44:12 +03:00
Juanma Barranquero
c38762fdfb
* progmodes/sql.el: Fix typos in docstrings.
2010-05-14 15:31:36 +02:00
Eli Zaretskii
b4b6e17e00
Fix spelling and remove merge marks due to 2010-05-14T04:14:23Z!handa@etlken.
2010-05-14 12:02:50 +03:00
Katsumi Yamaoka
d567e92ffa
Synch with Gnus trunk.
...
(gnus-summary-save-article): Don't bother to re-fetch article unless
decoding article to be saved.
2010-05-14 07:48:21 +00:00
Kenichi Handa
c2eb4a8321
merge trunk
2010-05-14 16:29:06 +09:00
Glenn Morris
177b028808
No harm in always defining some ns_ Makefile variables.
...
* src/Makefile.in (ns_appdir, ns_appbindir, ns_appsrc): Always define.
* msdos/sed1v2.inp (ns_appdir, ns_appbindir, ns_appsrc): Edit to empty.
2010-05-13 21:23:23 -07:00