1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-13 09:32:47 +00:00
Commit Graph

94666 Commits

Author SHA1 Message Date
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
Kenichi Handa
ccd3ce49e0 merge trunk 2010-05-14 13:15:58 +09:00
Kenichi Handa
82ebc97b11 Fix bidi-composition interaction. 2010-05-14 13:14:23 +09:00
Kenichi Handa
508197067c merge trunk 2010-05-14 12:52:21 +09:00
Kenichi Handa
0e5d78007c font.c (font_range): Return the range for the font found at first. 2010-05-14 12:47:38 +09:00
Glenn Morris
fbc0089011 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.
2010-05-13 20:36:40 -07:00
Glenn Morris
97560d35b9 * admin/CPP-DEFINES: Updates. 2010-05-13 20:19:52 -07:00
Glenn Morris
372b409053 Regenerate configure, src/config.in. 2010-05-13 20:17:27 -07:00
Glenn Morris
f14d1dfda1 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.
2010-05-13 20:13:39 -07:00
Glenn Morris
11842bd8ae 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.
2010-05-13 20:05:00 -07:00
Glenn Morris
2633ef9420 * msdos/sed1v2.inp (FONT_OBJ): Use the plain X version (no XFT, Freetype).
Hopefully this is the right thing for msdos with X.
2010-05-13 19:51:50 -07:00
Glenn Morris
489d31a455 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.
2010-05-13 19:46:09 -07:00
Glenn Morris
845612ac6c * src/Makefile.in (ns_appresdir): Remove, unused. 2010-05-13 19:36:46 -07:00
Glenn Morris
e20f1f074b * src/Makefile.in (SHELL): Move outside cpp section.
Some comment formatting.
2010-05-13 19:32:29 -07:00
Glenn Morris
cb027b3295 * s/netbsd.h (AMPERSAND_FULL_NAME): Remove (defined in AH_BOTTOM). 2010-05-13 19:28:28 -07:00
Jay Belanger
14914c4314 calc.texi: Remove "\turnoffactive" commands throughout. 2010-05-13 17:33:11 -05:00
Chong Yidong
2ef3c1449c 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.
2010-05-13 17:52:20 -04:00
Michael Albinus
3b30ccdab3 * 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'.
2010-05-13 22:45:58 +02:00
Jan D
41d81b80f1 lwlib-Xaw.c (make_dialog): Remove extra arg to XtVaGetSubresources. 2010-05-13 19:48:56 +02:00
Agustín Martín
57ff5d7b96 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).
2010-05-13 12:36:03 +02:00
Glenn Morris
3369c79f8a 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.
2010-05-13 00:57:28 -07:00
Glenn Morris
d5e982a6c1 Minor simplification for src/Makefile.in.
* src/Makefile.in (FONT_DRIVERS): If HAVE_X_WINDOWS is defined,
HAVE_WINDOW_SYSTEM must be too.
2010-05-13 00:41:37 -07:00
Glenn Morris
3536f99349 * configure.in: Fix some paren typos. 2010-05-13 00:26:50 -07:00
Katsumi Yamaoka
7cab80f97c 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.
2010-05-13 05:59:23 +00:00
Glenn Morris
c0a2b70a9c Fix ChangeLog typo. 2010-05-12 21:23:06 -07:00
Glenn Morris
6192e16341 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.
2010-05-12 21:15:12 -07:00
Glenn Morris
4286c48d4b Regenerate configure, src/config.in. 2010-05-12 20:58:17 -07:00
Glenn Morris
99ab9eb4cb 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}.
2010-05-12 20:55:46 -07:00
Glenn Morris
472c5d6b44 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.
2010-05-12 20:52:07 -07:00
Glenn Morris
0116466b56 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.
2010-05-12 20:18:04 -07:00
Glenn Morris
5a903aa9e0 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.
2010-05-12 19:50:20 -07:00
Stefan Monnier
791ffe1ce2 * progmodes/sh-script.el (sh-mode): Use define-derived-mode. 2010-05-12 20:44:22 -04:00
Stefan Monnier
5a70d10f78 * dos-fns.el: Add "dos-" prefix for namespace control.
(convert-standard-filename): Define as alias for
dos-convert-standard-filename but only if applicable.
2010-05-12 20:35:07 -04:00
Katsumi Yamaoka
4c9d39abf9 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.
2010-05-12 14:09:25 +00:00
Alan Mackenzie
38d93f03c7 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
Push the mark at the start of these functions when appropriate.
2010-05-12 11:06:12 +00:00
Katsumi Yamaoka
706deb23dc Synch with Gnus trunk.
(message-forward-make-body-plain, message-forward-make-body-mml):
 Use mm-multibyte-string-p instead of multibyte-string-p.
2010-05-12 08:24:25 +00:00
Glenn Morris
e05aebe905 Reformat some comments in src/s/*.h. 2010-05-11 23:53:03 -07:00
Glenn Morris
b5457f146f Simplify linker-related logic in src/Makefile.in.
* src/Makefile.in (YMF_PASS_LDFLAGS, LD, LINKER): Simplify the logic.
(LINKER_WAS_SPECIFIED): Remove.
2010-05-11 20:44:36 -07:00
Glenn Morris
057886a3ac Regenerate configure. 2010-05-11 20:09:56 -07:00
Glenn Morris
44b031a6b0 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@.
2010-05-11 20:06:50 -07:00
Glenn Morris
1a0d7c0688 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.
2010-05-11 20:01:16 -07:00
Glenn Morris
6a321bbcdd Minor comment reformatting for some src/m/*.h files. 2010-05-11 19:37:59 -07:00