bpt/emacs.git
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.

14 years agoRegenerate configure.
Glenn Morris [Sat, 15 May 2010 01:58:36 +0000 (18:58 -0700)]
Regenerate configure.

14 years agoChoose dependency of oldxmenu using configure.
Glenn Morris [Sat, 15 May 2010 01:55:24 +0000 (18:55 -0700)]
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.

14 years ago* msdos/sed1v2.inp (LIBXT_OTHER): Exit to empty.
Glenn Morris [Sat, 15 May 2010 01:45:18 +0000 (18:45 -0700)]
* msdos/sed1v2.inp (LIBXT_OTHER): Exit to empty.

14 years ago* lisp/org/org-docview.el: Fix copyright years.
Glenn Morris [Sat, 15 May 2010 01:09:16 +0000 (18:09 -0700)]
* lisp/org/org-docview.el: Fix copyright years.

14 years ago* lib-src/Makefile.in: Break some long lines.
Glenn Morris [Sat, 15 May 2010 01:05:11 +0000 (18:05 -0700)]
* lib-src/Makefile.in: Break some long lines.

14 years agoIf HAVE_X11, also HAVE_X_WINDOWS and HAVE_MENUS.
Glenn Morris [Sat, 15 May 2010 00:54:24 +0000 (17:54 -0700)]
If HAVE_X11, also HAVE_X_WINDOWS and HAVE_MENUS.

* src/Makefile.in: Simplify cpp conditional.

* admin/CPP-DEFINES: Comment.

14 years agoMinor NS build fixes.
Glenn Morris [Sat, 15 May 2010 00:48:53 +0000 (17:48 -0700)]
Minor NS build fixes.

* Makefile.in (install-arch-dep): Update odd NS rule for Emacs version.

* src/Makefile.in (${ns_appdir}): Simplify using umask.

14 years agoRemove references to CVS directories etc in Makefiles.
Glenn Morris [Sat, 15 May 2010 00:42:22 +0000 (17:42 -0700)]
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.

14 years agocalc-bin.el (math-format-twos-complement): Group digits when appropriate.
Jay Belanger [Fri, 14 May 2010 23:46:11 +0000 (18:46 -0500)]
calc-bin.el (math-format-twos-complement): Group digits when appropriate.

14 years ago* progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
Stefan Monnier [Fri, 14 May 2010 21:21:12 +0000 (17:21 -0400)]
* 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.

14 years ago* eval.c (specbind): Disallow let-binding frame-local vars.
Stefan Monnier [Fri, 14 May 2010 17:53:42 +0000 (13:53 -0400)]
* eval.c (specbind): Disallow let-binding frame-local vars.
Remove left-over duplicate test.  Add comment.

14 years ago* simple.el (prog-mode): New (abstract) major mode.
Stefan Monnier [Fri, 14 May 2010 16:41:01 +0000 (12:41 -0400)]
* 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.

14 years agoMake the cache of bidi iterator states dynamically allocated.
Eli Zaretskii [Fri, 14 May 2010 15:19:07 +0000 (18:19 +0300)]
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.

14 years agoRename bidi_get_next_char_visually to bidi_move_to_visually_next.
Eli Zaretskii [Fri, 14 May 2010 14:30:45 +0000 (17:30 +0300)]
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.

14 years agoFix comments from 2010-05-14T04:14:23Z!handa@etlken.
Eli Zaretskii [Fri, 14 May 2010 13:44:12 +0000 (16:44 +0300)]
Fix comments from 2010-05-14T04:14:23Z!handa@etlken.

14 years ago* progmodes/sql.el: Fix typos in docstrings.
Juanma Barranquero [Fri, 14 May 2010 13:31:36 +0000 (15:31 +0200)]
* progmodes/sql.el: Fix typos in docstrings.

14 years agoFix spelling and remove merge marks due to 2010-05-14T04:14:23Z!handa@etlken.
Eli Zaretskii [Fri, 14 May 2010 09:02:50 +0000 (12:02 +0300)]
Fix spelling and remove merge marks due to 2010-05-14T04:14:23Z!handa@etlken.

14 years agoSynch with Gnus trunk.
Katsumi Yamaoka [Fri, 14 May 2010 07:48:21 +0000 (07:48 +0000)]
Synch with Gnus trunk.
(gnus-summary-save-article): Don't bother to re-fetch article unless
 decoding article to be saved.

14 years agomerge trunk
Kenichi Handa [Fri, 14 May 2010 07:29:06 +0000 (16:29 +0900)]
merge trunk

14 years agoNo harm in always defining some ns_ Makefile variables.
Glenn Morris [Fri, 14 May 2010 04:23:23 +0000 (21:23 -0700)]
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.

14 years agomerge trunk
Kenichi Handa [Fri, 14 May 2010 04:15:58 +0000 (13:15 +0900)]
merge trunk

14 years agoFix bidi-composition interaction.
Kenichi Handa [Fri, 14 May 2010 04:14:23 +0000 (13:14 +0900)]
Fix bidi-composition interaction.

14 years agomerge trunk
Kenichi Handa [Fri, 14 May 2010 03:52:21 +0000 (12:52 +0900)]
merge trunk

14 years agofont.c (font_range): Return the range for the font found at first.
Kenichi Handa [Fri, 14 May 2010 03:47:38 +0000 (12:47 +0900)]
font.c (font_range): Return the range for the font found at first.

14 years agoMove some undefs from src/Makefile.in to configure.
Glenn Morris [Fri, 14 May 2010 03:36:40 +0000 (20:36 -0700)]
Move some undefs from src/Makefile.in to configure.

* configure.in (cpp_undefs): Add mktime, register, X11.

* src/Makefile.in (mktime, X11, register): Move undefs to configure.

* admin/CPP-DEFINES: Remove X11.

14 years ago* admin/CPP-DEFINES: Updates.
Glenn Morris [Fri, 14 May 2010 03:19:52 +0000 (20:19 -0700)]
* admin/CPP-DEFINES: Updates.

14 years agoRegenerate configure, src/config.in.
Glenn Morris [Fri, 14 May 2010 03:17:27 +0000 (20:17 -0700)]
Regenerate configure, src/config.in.

14 years agoReplace some msdos cpp.
Glenn Morris [Fri, 14 May 2010 03:13:39 +0000 (20:13 -0700)]
Replace some msdos cpp.

* src/Makefile.in (MSDOS_OBJ): Default to empty, let msdos scripts set it.
(MSDOS_X_OBJ): New variable.
(MSDOS_SUPPORT_REAL): New constant.
(MSDOS_SUPPORT): Set as a variable, not with cpp.
(obj): Use MSDOS_X_OBJ.
(lisp): Use MSDOS_SUPPORT as a variable.

* msdos/sed1v2.inp (MSDOS_OBJ): Edit to dosfns.o msdos.o.
(MSDOS_SUPPORT): Edit to $(MSDOS_SUPPORT_REAL).
* msdos/sed1x.inp (MSDOS_X_OBJ): Edit to w16select.o termcap.o.

14 years agoDefine MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.
Glenn Morris [Fri, 14 May 2010 03:05:00 +0000 (20:05 -0700)]
Define MOUSE_, TOOLTIP_, WINDOW_SUPPORT with configure.

* configure.in (GPM_MOUSE_SUPPORT): Remove.
(MOUSE_SUPPORT, TOOLTIP_SUPPORT, WINDOW_SUPPORT): New output variables.
(HAVE_WINDOW_SYSTEM, HAVE_MOUSE): Move out of AC_BOTTOM.

* src/Makefile.in (REAL_MOUSE_SUPPORT): New constant.
(GPM_MOUSE_SUPPORT): Now it's a constant.
(MOUSE_SUPPORT, TOOLTIP_SUPPORT, WINDOW_SUPPORT): Set with configure, not cpp.

* msdos/sed2x.inp (HAVE_WINDOW_SYSTEM): Define.
* msdos/sed1x.inp (TOOLTIP_SUPPORT): Edit to ${lispsource}tooltip.elc.
(WINDOW_SUPPORT): Edit to $(BASE_WINDOW_SUPPORT) $(X_WINDOW_SUPPORT).
* msdos/sed1v2.inp (MOUSE_SUPPORT): Edit to $(REAL_MOUSE_SUPPORT).
(TOOLTIP_SUPPORT, WINDOW_SUPPORT): Edit to empty.

14 years ago* msdos/sed1v2.inp (FONT_OBJ): Use the plain X version (no XFT, Freetype).
Glenn Morris [Fri, 14 May 2010 02:51:50 +0000 (19:51 -0700)]
* msdos/sed1v2.inp (FONT_OBJ): Use the plain X version (no XFT, Freetype).
Hopefully this is the right thing for msdos with X.

14 years agoMinor build simplification for NS.
Glenn Morris [Fri, 14 May 2010 02:46:09 +0000 (19:46 -0700)]
Minor build simplification for NS.

* configure.in (NS_IMPL_GNUSTEP_INC): New output variable.
(GNUSTEP_MAKEFILES): Do not output.

* src/Makefile.in (@NS_IMPL_GNUSTEP_INC@): Use in place of #ifdef.

* msdos/sed1v2.inp (@NS_IMPL_GNUSTEP_INC@): Edit to nil.

14 years ago* src/Makefile.in (ns_appresdir): Remove, unused.
Glenn Morris [Fri, 14 May 2010 02:36:46 +0000 (19:36 -0700)]
* src/Makefile.in (ns_appresdir): Remove, unused.

14 years ago* src/Makefile.in (SHELL): Move outside cpp section.
Glenn Morris [Fri, 14 May 2010 02:32:29 +0000 (19:32 -0700)]
* src/Makefile.in (SHELL): Move outside cpp section.
Some comment formatting.

14 years ago* s/netbsd.h (AMPERSAND_FULL_NAME): Remove (defined in AH_BOTTOM).
Glenn Morris [Fri, 14 May 2010 02:28:28 +0000 (19:28 -0700)]
* s/netbsd.h (AMPERSAND_FULL_NAME): Remove (defined in AH_BOTTOM).

14 years agocalc.texi: Remove "\turnoffactive" commands throughout.
Jay Belanger [Thu, 13 May 2010 22:33:11 +0000 (17:33 -0500)]
calc.texi:  Remove "\turnoffactive" commands throughout.

14 years agoAdd TeX open-block and close-block keybindings to SGML, and vice versa.
Chong Yidong [Thu, 13 May 2010 21:52:20 +0000 (17:52 -0400)]
Add TeX open-block and close-block keybindings to SGML, and vice versa.

* textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
latex-open-block and C-c / to latex-close-block.

* textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
and C-c C-e to sgml-close-tag.

14 years ago* net/tramp.el (with-progress-reporter): Create reporter object
Michael Albinus [Thu, 13 May 2010 20:45:58 +0000 (22:45 +0200)]
* net/tramp.el (with-progress-reporter): Create reporter object
only when the message would be displayed.  Handled nested calls.
(tramp-handle-load, tramp-handle-file-local-copy)
(tramp-handle-insert-file-contents, tramp-handle-write-region)
(tramp-maybe-send-script, tramp-find-shell): Use
`with-progress-reporter'.
(tramp-handle-dired-compress-file, tramp-maybe-open-connection):
Fix message text.

* net/tramp-smb.el (tramp-smb-handle-copy-file)
(tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
(tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
Use `with-progress-reporter'.

14 years agolwlib-Xaw.c (make_dialog): Remove extra arg to XtVaGetSubresources.
Jan D [Thu, 13 May 2010 17:48:56 +0000 (19:48 +0200)]
lwlib-Xaw.c (make_dialog): Remove extra arg to XtVaGetSubresources.

14 years agoDo not ispell-kill-ispell over and over when spellchecking minibuffer contents.
Agustín Martín [Thu, 13 May 2010 10:36:03 +0000 (12:36 +0200)]
Do not ispell-kill-ispell over and over when spellchecking minibuffer contents.

* ispell.el (ispell-init-process): Do not kill ispell process
everytime when spellchecking from the minibuffer (bug#6143).

14 years agoUnify some conditionals in src/Makefile.in.
Glenn Morris [Thu, 13 May 2010 07:57:28 +0000 (00:57 -0700)]
Unify some conditionals in src/Makefile.in.

* src/Makefile.in (FONT_DRIVERS): Place with other HAVE_X_WINDOWS stuff.
(TOOLTIP_SUPPORT): Place with other HAVE_WINDOW_SYSTEM stuff.

14 years agoMinor simplification for src/Makefile.in.
Glenn Morris [Thu, 13 May 2010 07:41:37 +0000 (00:41 -0700)]
Minor simplification for src/Makefile.in.

* src/Makefile.in (FONT_DRIVERS): If HAVE_X_WINDOWS is defined,
HAVE_WINDOW_SYSTEM must be too.

14 years ago* configure.in: Fix some paren typos.
Glenn Morris [Thu, 13 May 2010 07:26:50 +0000 (00:26 -0700)]
* configure.in: Fix some paren typos.

14 years agoSynch with Gnus trunk.
Katsumi Yamaoka [Thu, 13 May 2010 05:59:23 +0000 (05:59 +0000)]
Synch with Gnus trunk.
* gnus-art.el (gnus-bind-safe-url-regexp): Bind mm-w3m-safe-url-regexp
 to nil when we're in a mml-preview buffer and no group is selected.

* mml1991.el (mml1991-mailcrypt-encrypt, mml1991-gpg-encrypt)
* mml2015.el (mml2015-gpg-encrypt): Disable multibyte in buffers
 generated within the mm-with-unibyte-current-buffer macro.

14 years agoFix ChangeLog typo.
Glenn Morris [Thu, 13 May 2010 04:23:06 +0000 (21:23 -0700)]
Fix ChangeLog typo.

14 years agoRemove WINNT_SUPPORT from src/Makefile.in,
Glenn Morris [Thu, 13 May 2010 04:15:12 +0000 (21:15 -0700)]
Remove WINNT_SUPPORT from src/Makefile.in,
* src/Makefile.in (WINNT_SUPPORT): Remove, nt build does not use this file
but rather makefile.w32-in.
(lisp): Remove WINNT_SUPPORT.

14 years agoRegenerate configure, src/config.in.
Glenn Morris [Thu, 13 May 2010 03:58:17 +0000 (20:58 -0700)]
Regenerate configure, src/config.in.

14 years agoSome msdos build fixes (hopefully, possibly, ...)
Glenn Morris [Thu, 13 May 2010 03:55:46 +0000 (20:55 -0700)]
Some msdos build fixes (hopefully, possibly, ...)

* msdos/sed1x.inp (OLDXMENU): Edit to ${oldXMenudir}libXMenu11.a.
(LIBXMENU): Edit to ${OLDXMENU}.
(LIBX_OTHER): Edit to ${LIBXT} ${LIBX_EXTRA}.

14 years agoLet configure set OLDXMENU, LIBXMENU if !HAVE_MENUS.
Glenn Morris [Thu, 13 May 2010 03:52:07 +0000 (20:52 -0700)]
Let configure set OLDXMENU, LIBXMENU if !HAVE_MENUS.

* configure.in (OLDXMENU, LIBXMENU): Set to empty if !HAVE_MENUS.

* src/Makefile.in (OLDXMENU, LIBXMENU) [!HAVE_MENUS]:
Let configure set these variables (to empty) in this case as well.

14 years agoRemove some unused #define's, previously replaced by variables.
Glenn Morris [Thu, 13 May 2010 03:18:04 +0000 (20:18 -0700)]
Remove some unused #define's, previously replaced by variables.

* configure.in (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Do not define.

* src/Makefile.in (LD_SWITCH_X_SITE): Define as a variable, not via cpp.
(LIBX_BASE): Use $LD_SWITCH_X_SITE.

* nt/config.nt (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Remove undefs.

* msdos/sed1v2.inp: Comment.

14 years agoDefine some variables to hold configure's output, for clarity.
Glenn Morris [Thu, 13 May 2010 02:50:20 +0000 (19:50 -0700)]
Define some variables to hold configure's output, for clarity.

* src/Makefile.in (C_SWITCH_X_SYSTEM, C_SWITCH_X_SITE, LIB_STANDARD)
(LIB_MATH, FONTCONFIG_CFLAGS, FONTCONFIG_LIBS, FREETYPE_CFLAGS)
(FREETYPE_LIBS, LIBOTF_CFLAGS, LIBOTF_LIBS, M17N_FLT_CFLAGS)
(M17N_FLT_LIBS, GNU_OBJC_CFLAGS, GNUSTEP_SYSTEM_LIBRARIES, LIBGPM)
(LIBRESOLV, UNEXEC_OBJ): For clarity, define variables to hold
the values output be configure.
(ALL_CFLAGS, obj, LIBES, temacs${EXEEXT}): Use the above variables.

* msdos/sed1v2.inp (C_SWITCH_X_SYSTEM, C_SWITCH_X_SITE, LIB_STANDARD)
(FONTCONFIG_CFLAGS, FONTCONFIG_LIBS, FREETYPE_CFLAGS, FREETYPE_LIBS)
(LIBOTF_CFLAGS, LIBOTF_LIBS, M17N_FLT_CFLAGS, M17N_FLT_LIBS)
(GNU_OBJC_CFLAGS, GNUSTEP_SYSTEM_LIBRARIES, LIBRESOLV, LIBGPM):
Edit to empty,
(LIB_MATH): Edit to -lm.
(UNEXEC_OBJ): Edit to unexec.o.

14 years ago* progmodes/sh-script.el (sh-mode): Use define-derived-mode.
Stefan Monnier [Thu, 13 May 2010 00:44:22 +0000 (20:44 -0400)]
* progmodes/sh-script.el (sh-mode): Use define-derived-mode.

14 years ago* dos-fns.el: Add "dos-" prefix for namespace control.
Stefan Monnier [Thu, 13 May 2010 00:35:07 +0000 (20:35 -0400)]
* dos-fns.el: Add "dos-" prefix for namespace control.
(convert-standard-filename): Define as alias for
dos-convert-standard-filename but only if applicable.

14 years agoSynch with Gnus trunk.
Katsumi Yamaoka [Wed, 12 May 2010 14:09:25 +0000 (14:09 +0000)]
Synch with Gnus trunk.
(gnus-summary-read-group-1): Don't jump to next group
 when catching the `C-g'.  Reported by: "Leo"
 By Andreas Seltenreich.

14 years ago* progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
Alan Mackenzie [Wed, 12 May 2010 11:06:12 +0000 (11:06 +0000)]
* progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
Push the mark at the start of these functions when appropriate.

14 years agoSynch with Gnus trunk.
Katsumi Yamaoka [Wed, 12 May 2010 08:24:25 +0000 (08:24 +0000)]
Synch with Gnus trunk.
(message-forward-make-body-plain, message-forward-make-body-mml):
 Use mm-multibyte-string-p instead of multibyte-string-p.

14 years agoReformat some comments in src/s/*.h.
Glenn Morris [Wed, 12 May 2010 06:53:03 +0000 (23:53 -0700)]
Reformat some comments in src/s/*.h.

14 years agoSimplify linker-related logic in src/Makefile.in.
Glenn Morris [Wed, 12 May 2010 03:44:36 +0000 (20:44 -0700)]
Simplify linker-related logic in src/Makefile.in.

* src/Makefile.in (YMF_PASS_LDFLAGS, LD, LINKER): Simplify the logic.
(LINKER_WAS_SPECIFIED): Remove.

14 years agoRegenerate configure.
Glenn Morris [Wed, 12 May 2010 03:09:56 +0000 (20:09 -0700)]
Regenerate configure.

14 years agoRemove unused output variable LIB_SRC_EXTRA_INSTALLABLES.
Glenn Morris [Wed, 12 May 2010 03:06:50 +0000 (20:06 -0700)]
Remove unused output variable LIB_SRC_EXTRA_INSTALLABLES.

* configure.in (LIB_SRC_EXTRA_INSTALLABLES): Remove, unused.

* lib-src/Makefile.in (INSTALLABLES): Remove @LIB_SRC_EXTRA_INSTALLABLES@.

* msdos/sed3v2.inp (INSTALLABLES): No more @LIB_SRC_EXTRA_INSTALLABLES@.

14 years agoMove LIB_GCC from cpp to configure.
Glenn Morris [Wed, 12 May 2010 03:01:16 +0000 (20:01 -0700)]
Move LIB_GCC from cpp to configure.

* configure.in (LIB_GCC): New output variable.

* src/Makefile.in (LIB_GCC): Set using configure, not cpp.
(GNULIB_VAR) [!ORDINARY_LINK]: Always set to $LIB_GCC.
* src/m/arm.h (LIB_GCC) [GNU_LINUX]:
* src/s/cygwin.h (LIB_GCC):
* src/s/freebsd.h (LIB_GCC):
* src/s/gnu-linux.h (LIB_GCC):
* src/s/msdos.h (LIB_GCC):
* src/s/netbsd.h (LIB_GCC):
Move to configure.

* msdos/sed1v2.inp (LIB_GCC): Edit to -Lgcc.

14 years agoMinor comment reformatting for some src/m/*.h files.
Glenn Morris [Wed, 12 May 2010 02:37:59 +0000 (19:37 -0700)]
Minor comment reformatting for some src/m/*.h files.

14 years agoSynch with Gnus trunk.
Katsumi Yamaoka [Wed, 12 May 2010 02:09:58 +0000 (02:09 +0000)]
Synch with Gnus trunk.
(message-forward-make-body-mml): Assume original message is multibyte string;
 error on unibyte.
(message-forward-make-body-plain): Ditto;
 don't add excessive newline in body end.

14 years agoAllow the default completion to cycle.
Stefan Monnier [Wed, 12 May 2010 00:39:46 +0000 (20:39 -0400)]
Allow the default completion to cycle.
* minibuffer.el (completion-cycle-threshold): New custom var.
(completion--do-completion): Use it.
(minibuffer-complete): Use cycling if appropriate.

14 years agoFix bug#6173: "(require 'dirtrack) erroring"
Juanma Barranquero [Tue, 11 May 2010 22:01:34 +0000 (00:01 +0200)]
Fix bug#6173: "(require 'dirtrack) erroring"

* dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
  buffer-local (it's an obsolete alias for `dirtrack-mode'.)

14 years agoMerge from emacs-23
Stefan Monnier [Tue, 11 May 2010 21:02:32 +0000 (17:02 -0400)]
Merge from emacs-23

14 years agoBackport from trunk: compute shortcuts in tmm.el.
Stefan Monnier [Tue, 11 May 2010 20:07:12 +0000 (16:07 -0400)]
Backport from trunk: compute shortcuts in tmm.el.
* tmm.el (tmm-prompt): Don't try to precompute bindings.
(tmm-get-keymap): Compute shortcuts since the cache is empty.

Fixes: debbugs:6171

14 years ago* scroll-all.el (scroll-all-check-to-scroll):
Juri Linkov [Tue, 11 May 2010 19:42:21 +0000 (22:42 +0300)]
* scroll-all.el (scroll-all-check-to-scroll):
Add `scroll-up-command' and `scroll-down-command' (bug#6164).

14 years ago* iimage.el: Misc cleanup.
Stefan Monnier [Tue, 11 May 2010 18:51:27 +0000 (14:51 -0400)]
* iimage.el: Misc cleanup.
(iimage-mode-map): Move initialization into declaration.
(iimage-mode-buffer): Use with-silent-modifications.
Simplify calling convention.  Adjust callers.
(iimage-mode): Don't run hook redundantly.

14 years agoxdisp.c (init_iterator): Fix comment from last change.
Eli Zaretskii [Tue, 11 May 2010 17:52:18 +0000 (20:52 +0300)]
xdisp.c (init_iterator): Fix comment from last change.

14 years agoBackport from trunk: Fix bug #6126.
Eli Zaretskii [Tue, 11 May 2010 17:23:52 +0000 (20:23 +0300)]
Backport from trunk: Fix bug #6126.

 makefile.w32-in ($(BLD)/w32fns.$(O)): Depend on $(SRC)/w32.h.
 w32fns.c: Include w32.h.
 (Fw32_shell_execute): Decode the error message before passing it
 to `error'.

14 years ago* src/ChangeLog: Remove tiny change marker from author with assignment.
Glenn Morris [Tue, 11 May 2010 15:48:29 +0000 (08:48 -0700)]
* src/ChangeLog: Remove tiny change marker from author with assignment.

14 years ago* minibuffer.el (completion-pcm--pattern->regex): Fix last change.
Stefan Monnier [Tue, 11 May 2010 13:24:49 +0000 (09:24 -0400)]
* minibuffer.el (completion-pcm--pattern->regex): Fix last change.

Fixes: debbugs:6160

14 years agoftfont.c: Fix incorrect parentheses of #if condition for definining M17N_FLT_USE_NEW_...
Kenichi Handa [Tue, 11 May 2010 11:15:29 +0000 (20:15 +0900)]
ftfont.c: Fix incorrect parentheses of #if condition for definining M17N_FLT_USE_NEW_FEATURE.

14 years agoSynch with Gnus trunk.
Katsumi Yamaoka [Tue, 11 May 2010 06:04:22 +0000 (06:04 +0000)]
Synch with Gnus trunk.
(gnus-summary-kill-thread): Use gnus-summary-mark-article instead of
 g-s-m-a-as-unread to set the expirable mark.  (Bug#5284)
 By Andreas Seltenreich <seltenreich (at) gmx.de>.

14 years agoSynch with Gnus trunk.
Katsumi Yamaoka [Tue, 11 May 2010 04:43:46 +0000 (04:43 +0000)]
Synch with Gnus trunk.
(mm-extern-url): Don't use mm-with-unibyte-current-buffer.
(mm-extern-cache-contents): Use with-current-buffer instead of
 save-excursion + set-buffer.

14 years agoMinor lib-src/Makefile.in edits.
Glenn Morris [Tue, 11 May 2010 03:18:58 +0000 (20:18 -0700)]
Minor lib-src/Makefile.in edits.

* lib-src/Makefile.in (.m.o): Remove, there are no .m files.
(BASE_CFLAGS): New variable.
(ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use $BASE_CFLAGS.
(check): Update the message.
(update-game-score${EXEEXT}): Do not use $MOVE_FLAGS.