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

14 years ago* make-dist (msdos): No more mainmake.
Glenn Morris [Tue, 11 May 2010 03:10:36 +0000 (20:10 -0700)]
* make-dist (msdos): No more mainmake.

14 years ago* admin/CPP-DEFINES: More updates.
Glenn Morris [Tue, 11 May 2010 03:07:52 +0000 (20:07 -0700)]
* admin/CPP-DEFINES: More updates.

14 years agoRegenerate configure.
Glenn Morris [Tue, 11 May 2010 03:05:31 +0000 (20:05 -0700)]
Regenerate configure.

14 years agoDo not preprocess lib-src/Makefile.in
Glenn Morris [Tue, 11 May 2010 03:00:32 +0000 (20:00 -0700)]
Do not preprocess lib-src/Makefile.in

* configure.in: Generate lib-src/Makefile directly, do not run cpp.
* config.bat: Do not run cpp on lib-src/Makefile.in.

* lib-src/Makefile.in: Convert comments to makefile format.

* admin/notes/cpp: lib-src/Makefile not preprocessed.

14 years agoOn msdos, set LIBS_SYSTEM with config.bat, not cpp.
Glenn Morris [Tue, 11 May 2010 02:51:08 +0000 (19:51 -0700)]
On msdos, set LIBS_SYSTEM with config.bat, not cpp.

* config.bat [HAVE_X11]: Run sed3x.inp on lib-src/Makefile.

* src/Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
* src/s/msdos.h (MSDOS_LIBS_SYSTEM): Remove.

* msdos/sed1x.inp (LIBS_SYSTEM): Edit to -lxext -lsys.
* msdos/sed3x.inp: New file.

* lib-src/Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
(config.h) [MSDOS]: Do not include.

14 years agoFix typos and whitespace in ChangeLogs.
Juanma Barranquero [Tue, 11 May 2010 02:04:13 +0000 (04:04 +0200)]
Fix typos and whitespace in ChangeLogs.

14 years agoRemove nodes visited during Isearch from the Info history.
Juri Linkov [Mon, 10 May 2010 19:07:22 +0000 (22:07 +0300)]
Remove nodes visited during Isearch from the Info history.
* info.el (Info-isearch-initial-history)
(Info-isearch-initial-history-list): New variables.
(Info-isearch-start): Record initial values of
Info-isearch-initial-history and Info-isearch-initial-history-list.
Add Info-isearch-end to isearch-mode-end-hook.
(Info-isearch-end): New function.

14 years agoFix a crash when visiting image files in bidi mode.
Eli Zaretskii [Mon, 10 May 2010 18:40:26 +0000 (21:40 +0300)]
Fix a crash when visiting image files in bidi mode.

 xdisp.c (init_iterator): Don't turn on bidi reordering in unibyte buffers.
 See http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00263.html
 for the details.

14 years ago* net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
Michael Albinus [Mon, 10 May 2010 15:50:30 +0000 (17:50 +0200)]
* net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
format string, in order to work around a bug in pdksh.  Reported
by Gilles Pion <gpion@lfdj.com>.
(tramp-handle-verify-visited-file-modtime): Do not send a command
when the connection is not established.
(tramp-handle-set-file-times): Simplify the check for utc.

14 years agoFix typos and whitespace.
Juanma Barranquero [Mon, 10 May 2010 14:48:17 +0000 (16:48 +0200)]
Fix typos and whitespace.

14 years agoCUA mode: Fix use of `filter-buffer-substring' (rework previous change).
Juanma Barranquero [Mon, 10 May 2010 14:37:59 +0000 (16:37 +0200)]
CUA mode: Fix use of `filter-buffer-substring' (rework previous change).

* emulation/cua-base.el (cua--filter-buffer-noprops): New function.
  (cua-repeat-replace-region):
* emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
* emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
 (cua-cut-region-to-global-mark): Use it.

14 years agoSynch with Gnus trunk.
Katsumi Yamaoka [Mon, 10 May 2010 12:07:40 +0000 (12:07 +0000)]
Synch with Gnus trunk.
2010-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
 * mm-util.el (mm-emacs-mule): Remove.

2010-05-10  Andreas Seltenreich  <seltenreich@gmx.de>
 * gnus-sum.el (gnus-summary-mode): Don't make minor-mode-alist
 buffer-local as it's incompatible with Stefan Monnier's 2010-05-03
 change.

14 years agoSynch with Gnus trunk.
Katsumi Yamaoka [Mon, 10 May 2010 07:25:27 +0000 (07:25 +0000)]
Synch with Gnus trunk.
(mm-with-unibyte-current-buffer): Redefine it so as not to bind the default
 value of enable-multibyte-characters to nil.

14 years agoSynch with Gnus trunk.
Katsumi Yamaoka [Mon, 10 May 2010 03:39:23 +0000 (03:39 +0000)]
Synch with Gnus trunk.
(message-forward-make-body-plain, message-forward-make-body-mml):
 Don't use mm-with-unibyte-current-buffer.

14 years agoRegenerate configure.
Glenn Morris [Mon, 10 May 2010 02:21:42 +0000 (19:21 -0700)]
Regenerate configure.

14 years ago* admin/CPP-DEFINES (LIBS_SYSTEM, LIBXMU): Remove.
Glenn Morris [Mon, 10 May 2010 02:20:00 +0000 (19:20 -0700)]
* admin/CPP-DEFINES (LIBS_SYSTEM, LIBXMU): Remove.

14 years agoMove LIBS_SYSTEM from cpp to configure.
Glenn Morris [Mon, 10 May 2010 02:16:09 +0000 (19:16 -0700)]
Move LIBS_SYSTEM from cpp to configure.

* configure.in (LIBS_SYSTEM): New output variable, replacing cpp.

* lib-src/Makefile.in (LIBS_SYSTEM) [!MSDOS]: Set with configure, not cpp.
(LIBS_SYSTEM) [MSDOS]: Use MSDOS_LIBS_SYSTEM.
(NOT_C_CODE): Remove, no longer used.
(config.h) [!MSDOS]: No longer include.
(LOADLIBES): Use LIBS_SYSTEM as a variable.

* src/Makefile.in (LIBS_SYSTEM): Set using configure, not cpp.
(LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM.
(LIBES): Use LIBS_SYSTEM as a variable.
* src/s/msdos.h (LIBS_SYSTEM): Rename to MSDOS_LIBS_SYSTEM.  Always define.
* src/s/aix4-2.h (LIBS_SYSTEM):
* src/s/freebsd.h (LIBS_SYSTEM):
* src/s/hpux10-20.h (LIBS_SYSTEM):
* src/s/sol2-6.h (LIBS_SYSTEM):
* src/s/unixware.h (LIBS_SYSTEM):
Move to configure.

* msdos/sed1v2.inp, msdos/sed3v2.inp (LIBS_SYSTEM): Edit to empty.

14 years agoSQL mode version 2.1
Michael Mauger [Mon, 10 May 2010 02:07:58 +0000 (22:07 -0400)]
SQL mode version 2.1
Redesigned product specific definition and handling.  Includes many
bug fixes and enhancements.

14 years agoBackport from trunk: close bug#5857.
Miles Bader [Mon, 10 May 2010 00:37:59 +0000 (17:37 -0700)]
Backport from trunk: close bug#5857.
* configure.in: Get rid of "unix" pre-defined macro when
preprocessing Makefile.  (Bug#5857)  [Backport from trunk]

14 years agoBackport from trunk: Fix bug#5755.
Glenn Morris [Mon, 10 May 2010 00:30:08 +0000 (17:30 -0700)]
Backport from trunk: Fix bug#5755.
* desktop.el (desktop-save-buffer-p): Don't mistakenly include
all dired buffers, even tramp ones.  (Bug#5755)  [Backport from trunk]

14 years agoRegenerate configure, src/config.in.
Glenn Morris [Mon, 10 May 2010 00:11:40 +0000 (17:11 -0700)]
Regenerate configure, src/config.in.

14 years agoMove MAIL_USE_FLOCK, MAIL_USE_LOCKF, BLESSMAIL_TARGET from cpp to configure.
Glenn Morris [Mon, 10 May 2010 00:07:47 +0000 (17:07 -0700)]
Move MAIL_USE_FLOCK, MAIL_USE_LOCKF, BLESSMAIL_TARGET from cpp to configure.

* configure.in (MAIL_USE_FLOCK, MAIL_USE_LOCKF): New AC_DEFINEs.
(BLESSMAIL_TARGET): New output variable.

* lib-src/Makefile.in (BLESSMAIL_TARGET): Set with configure, not cpp.

* src/s/aix4-2.h (MAIL_USE_LOCKF):
* src/s/bsd-common.h (MAIL_USE_FLOCK):
* src/s/darwin.h (MAIL_USE_FLOCK):
* src/s/gnu-linux.h (MAIL_USE_FLOCK):
* src/s/irix6-5.h (MAIL_USE_FLOCK):
* src/s/template.h (MAIL_USE_FLOCK):
Move to configure.

* src/s/ms-w32.h: Comment.

* msdos/sed3v2.inp (BLESSMAIL_TARGET): Edit to need-blessmail.

14 years ago* minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
Stefan Monnier [Sun, 9 May 2010 22:39:36 +0000 (18:39 -0400)]
* minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
New custom variable.
(completion-pcm--string->pattern): Use it.
(completion-pcm--pattern->regex, completion-pcm--pattern->string):
Make it handle any symbol as `any'.
(completion-pcm--merge-completions): Extract common suffix for the new
`prefix' symbol as well.
(completion-substring--all-completions): Use the new `prefix' symbol.

14 years ago* net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
Michael Albinus [Sun, 9 May 2010 19:57:55 +0000 (21:57 +0200)]
* net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
not bound.
(tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
(tramp-compat-funcall): New defmacro.
(tramp-compat-line-beginning-position)
(tramp-compat-line-end-position)
(tramp-compat-temporary-file-directory)
(tramp-compat-make-temp-file, tramp-compat-file-attributes)
(tramp-compat-copy-file, tramp-compat-copy-directory)
(tramp-compat-delete-file, tramp-compat-delete-directory)
(tramp-compat-number-sequence, tramp-compat-process-running-p)
* net/tramp.el (top, with-progress-reporter)
(tramp-rfn-eshadow-setup-minibuffer)
(tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
(tramp-handle-dired-compress-file, tramp-handle-shell-command)
(tramp-completion-mode-p, tramp-check-for-regexp)
(tramp-open-connection-setup-interactive-shell)
(tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
(tramp-time-diff, tramp-coding-system-change-eol-conversion)
(tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
* net/tramp-cmds.el (tramp-cleanup-all-connections)
(tramp-reporter-dump-variable, tramp-load-report-modules)
(tramp-append-tramp-buffers)
* net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.

* net/tramp-imap.el (top): Autoload `epg-make-context'.

14 years ago* progmodes/compile.el (compilation-buffer-modtime): Rename from
Stefan Monnier [Sat, 8 May 2010 20:51:08 +0000 (16:51 -0400)]
* progmodes/compile.el (compilation-buffer-modtime): Rename from
buffer-modtime.  Adjust users.

14 years agoMerge from emacs-23
Stefan Monnier [Sat, 8 May 2010 18:47:07 +0000 (14:47 -0400)]
Merge from emacs-23

14 years agoRegenerate src/config.in.
Glenn Morris [Sat, 8 May 2010 18:42:56 +0000 (11:42 -0700)]
Regenerate src/config.in.

14 years agoxlwmenu.c (XlwMenuDestroy): Remove XtDestroyWidget on subwidgets (Bug #6127).
Jan D [Sat, 8 May 2010 15:32:51 +0000 (17:32 +0200)]
xlwmenu.c (XlwMenuDestroy): Remove XtDestroyWidget on subwidgets (Bug #6127).

14 years agoImprove docs of Unicode General Category.
Eli Zaretskii [Sat, 8 May 2010 13:25:31 +0000 (16:25 +0300)]
Improve docs of Unicode General Category.

 nonascii.texi (Character Properties): Document unicode-category-table.
 Add an index entry for Unicode general category.

14 years agoFix bug #6139, text is briefly shown in tool bar on startup.
Jan D [Sat, 8 May 2010 12:04:47 +0000 (14:04 +0200)]
Fix bug #6139, text is briefly shown in tool bar on startup.

 * xsettings.c (Ftool_bar_get_system_style): Correct comment.

 * gtkutil.c (xg_pack_tool_bar): Change show_all to show for handle
 box and toolbar (Bug #6139).
 (xg_create_tool_bar): Remove comment (Bug #6139).
 (xg_make_tool_item): Remove gtk_widget_show_all (Bug #6139).
 (xg_show_toolbar_item): Add gtk_widget_show for weventbox (Bug #6139).

14 years ago* src/makefile.w32-in: Update dependencies.
Juanma Barranquero [Sat, 8 May 2010 11:42:01 +0000 (13:42 +0200)]
* src/makefile.w32-in: Update dependencies.

14 years agoFix fringe truncation bitmaps in R2L lines.
Eli Zaretskii [Sat, 8 May 2010 09:29:49 +0000 (12:29 +0300)]
Fix fringe truncation bitmaps in R2L lines.

 fringe.c (update_window_fringes): Set up truncation bitmaps for R2L lines.

14 years agoBump version to 23.2.50.
Chong Yidong [Sat, 8 May 2010 04:46:44 +0000 (00:46 -0400)]
Bump version to 23.2.50.

14 years agoBump version to 23.2.
Chong Yidong [Sat, 8 May 2010 03:28:26 +0000 (23:28 -0400)]
Bump version to 23.2.

14 years agoRegenerate configure.
Glenn Morris [Sat, 8 May 2010 02:13:50 +0000 (19:13 -0700)]
Regenerate configure.

14 years agoRemove unused Makefile definition THIS_IS_MAKEFILE.
Glenn Morris [Sat, 8 May 2010 02:11:06 +0000 (19:11 -0700)]
Remove unused Makefile definition THIS_IS_MAKEFILE.
* src/Makefile.in (THIS_IS_MAKEFILE): Remove, unused.
* lib-sc/Makefile.in (THIS_IS_MAKEFILE): Remove, unused.
* admin/CPP-DEFINES (THIS_IS_MAKEFILE): Remove.

14 years agoMove TERMINFO, LIBS_TERMCAP from cpp to configure.
Glenn Morris [Sat, 8 May 2010 02:05:24 +0000 (19:05 -0700)]
Move TERMINFO, LIBS_TERMCAP from cpp to configure.

* configure.in (HAVE_LIBNCURSES): New local variable.
(TERMINFO, LIBS_TERMCAP, TERMCAP_OBJ): New output variables,
replacing cpp in src/s/*.h and src/Makefile.in.

* src/Makefile.in (LIBS_TERMCAP): Set with configure, not cpp.
(TERMCAP_OBJ): New, set by configure, replacing termcapobj.
(termcapobj): Replace with TERMCAP_OBJ.
(otherobj): Use $TERMCAP_OBJ instead of $termcapobj.
(LIBES): Use LIBS_TERMCAP as a variable.

* src/s/freebsd.h (osreldate.h): No longer include, since this file
does not use __FreeBSD_version any more.

* srs/s/aix4-2.h (TERMINFO):
* srs/s/cygwin.h (TERMINFO):
* srs/s/darwin.h (TERMINFO, LIBS_TERMCAP) [HAVE_LIBNCURSES]:
* srs/s/freebsd.h (TERMINFO, LIBS_TERMCAP):
* srs/s/gnu-linux.h (TERMINFO, LIBS_TERMCAP) [HAVE_LIBNCURSES]:
* srs/s/gnu.h (TERMINFO, LIBS_TERMCAP) [HAVE_LIBNCURSES]:
* srs/s/hpux10-20.h (TERMINFO, LIBS_TERMCAP):
* srs/s/irix6-5.h (TERMINFO):
* srs/s/netbsd.h (LIBS_TERMCAP):
* srs/s/openbsd.h (TERMINFO, LIBS_TERMCAP):
* srs/s/sol2-6.h (LIBS_TERMCAP) [!TERMINFO]:
* srs/s/usg5-4.h (TERMINFO):
Move to configure.

* msdos/sed1v2.inp (LIBS_TERMCAP): Edit to empty.
(TERMCAP_OBJ): Edit to tparam.o.

* admin/CPP-DEFINES (LIBS_TERMCAP, TERMINFO): Remove.

14 years agoMisc code tweaks.
Stefan Monnier [Sat, 8 May 2010 00:20:30 +0000 (20:20 -0400)]
Misc code tweaks.
* electric.el (Electric-command-loop): Minor tweak.
* ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
better with dedicated windows.

14 years agoFix ChangeLog typo.
Chong Yidong [Fri, 7 May 2010 22:51:37 +0000 (18:51 -0400)]
Fix ChangeLog typo.

14 years agoTry and fix unbind_to when localness of binding has changed
Stefan Monnier [Fri, 7 May 2010 20:33:00 +0000 (16:33 -0400)]
Try and fix unbind_to when localness of binding has changed
* eval.c (unbind_to): Don't unbind a local binding into the global
binding when the local binding disappeared.  Inversely, don't unbind
a global binding into a newly created local binding.
* data.c (set_internal): Make its `buf' arg into a `where' arg so we
can specify the frame to use, when applicable.  Adjust callers.

14 years ago* floatfns.c (Fisnan, Fcopysign, Ffrexp, Fldexp): New functions.
Vincent Belaïche [Fri, 7 May 2010 18:55:18 +0000 (14:55 -0400)]
* floatfns.c (Fisnan, Fcopysign, Ffrexp, Fldexp): New functions.
* configure.in: Add tests for `isnan' and `copysign'.

14 years agoHighlight vendor specific properties.
Stefan Monnier [Fri, 7 May 2010 17:47:56 +0000 (13:47 -0400)]
Highlight vendor specific properties.
* textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
(css-proprietary-property): New face.
(css-font-lock-keywords): Use them.

14 years agoFix bug #6126.
Eli Zaretskii [Fri, 7 May 2010 17:14:26 +0000 (20:14 +0300)]
Fix bug #6126.

 w32fns.c: Include w32.h.
 (Fw32_shell_execute): Decode the error message before passing it to `error'.

14 years agoFix bug #6126.
Eli Zaretskii [Fri, 7 May 2010 17:08:31 +0000 (20:08 +0300)]
Fix bug #6126.

 w32fns.c: Include w32.h.
 (Fw32_shell_execute): Decode the error message before passing it
 to `error'.

14 years agoNEWS: Remove FUD from description of bidirectional editing.
Eli Zaretskii [Fri, 7 May 2010 17:04:15 +0000 (20:04 +0300)]
NEWS: Remove FUD from description of bidirectional editing.

14 years ago* building.texi (GDB Graphical Interface): Remove misleading comparison
Chong Yidong [Fri, 7 May 2010 14:51:09 +0000 (10:51 -0400)]
* building.texi (GDB Graphical Interface): Remove misleading comparison
to an IDE (Bug#6128).

14 years ago* textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
Stefan Monnier [Fri, 7 May 2010 14:18:27 +0000 (10:18 -0400)]
* textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
* files.el (auto-mode-alist): Remove redundant entries.

14 years agoFix MSDOS build broken by autoconfiscation and changes in symbol handling.
Eli Zaretskii [Fri, 7 May 2010 14:07:51 +0000 (17:07 +0300)]
Fix MSDOS build broken by autoconfiscation and changes in symbol handling.

 src/msdos.c (dos_set_window_size):
 src/w16select.c (Fx_selection_exists_p): Use `Fsymbol_value (foo)'
 instead of `XSYMBOL (foo)->value'.
 config.bat: Allow for 2 leading `#'s in comments in
 src/Makefile.in.
 src/Makefile.in: Don't use Make-style comments past the "start of
 cpp stuff" line.
 (MSDOS_OBJ): Remove xmenu.o (it is now defined by XMENU_OBJ).
 src/s/msdos.h (UNEXEC): Don't define (@unexec@ in Makefile.in is
 edited directly by msdos/sed1v2.inp).
 msdos/sed3v2.inp (C_SWITCH_MACHINE): Edit to empty.
 msdos/sed1v2.inp (@LIB_MATH@): Edit to -lm.
 (C_SWITCH_MACHINE, C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM_TEMACS)
 (LD_SWITCH_X_SITE_AUX, LD_SWITCH_X_SITE_AUX_RPATH)
 (LD_SWITCH_SYSTEM, LD_SWITCH_SYSTEM_EXTRA, LIBTIFF, LIBJPEG)
 (LIBPNG, LIBGIF, LIBXPM, XFT_LIBS, DBUS_CFLAGS, DBUS_LIBS)
 (DBUS_OBJ, GCONF_CFLAGS, GCONF_LIBS, GTK_OBJ, LIBXMU, LIBXSM)
 (LIBXTR6, XOBJ, TOOLKIT_LIBW, WIDGET_OBJ, CYGWIN_OBJ, NS_OBJ)
 (NS_SUPPORT, LIBSELINUX_LIBS, START_FILES): Edit to empty.
 (XMENU_OBJ): Edit to xmenu.o.
 (FONT_OBJ): Edit to value used for X on Unix.
 (PRE_ALLOC_OBJ): Edit to lastfile.o.
 (POST_ALLOC_OBJ): Edit to $(vmlimitobj).
 (@unexec@): Edit to unexec.o.
 lisp/cus-start.el (all): Add native condition for tool-bar-* symbols.

14 years agocus-start.el (all): Add native condition for tool-bar-* symbols.
Eli Zaretskii [Fri, 7 May 2010 13:52:25 +0000 (16:52 +0300)]
cus-start.el (all): Add native condition for tool-bar-* symbols.

14 years agoDon't use XSYMBOL (foo)->value.
Eli Zaretskii [Fri, 7 May 2010 13:51:16 +0000 (16:51 +0300)]
Don't use XSYMBOL (foo)->value.

 msdos.c (dos_set_window_size):
 w16select.c (Fx_selection_exists_p): Use `Fsymbol_value (foo)'
 instead of `XSYMBOL (foo)->value'.

14 years agoFix MS-DOS configuring in lib-src/ and src/, broken by autoconfiscation.
Eli Zaretskii [Fri, 7 May 2010 12:57:24 +0000 (15:57 +0300)]
Fix MS-DOS configuring in lib-src/ and src/, broken by autoconfiscation.

 src/Makefile.in: Don't use Make-style comments past the "start of
 cpp stuff" line.
 (MSDOS_OBJ): Remove xmenu.o (it is now defined by XMENU_OBJ).
 src/s/msdos.h (UNEXEC): Don't define (@unexec@ in Makefile.in is
 edited directly by msdos/sed1v2.inp).
 msdos/sed3v2.inp (C_SWITCH_MACHINE): Edit to empty.
 msdos/sed1v2.inp (@LIB_MATH@): Edit to -lm.
 (C_SWITCH_MACHINE, C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM_TEMACS)
 (LD_SWITCH_X_SITE_AUX, LD_SWITCH_X_SITE_AUX_RPATH)
 (LD_SWITCH_SYSTEM, LD_SWITCH_SYSTEM_EXTRA, LIBTIFF, LIBJPEG)
 (LIBPNG, LIBGIF, LIBXPM, XFT_LIBS, DBUS_CFLAGS, DBUS_LIBS)
 (DBUS_OBJ, GCONF_CFLAGS, GCONF_LIBS, GTK_OBJ, LIBXMU, LIBXSM)
 (LIBXTR6, XOBJ, TOOLKIT_LIBW, WIDGET_OBJ, CYGWIN_OBJ, NS_OBJ)
 (NS_SUPPORT, LIBSELINUX_LIBS, START_FILES): Edit to empty.
 (XMENU_OBJ): Edit to xmenu.o.
 (FONT_OBJ): Edit to value used for X on Unix.
 (PRE_ALLOC_OBJ): Edit to lastfile.o.
 (POST_ALLOC_OBJ): Edit to $(vmlimitobj).
 (@unexec@): Edit to unexec.o.

14 years ago* files.el (auto-save-mode): Move to simple.el to fix bootstrap.
Stefan Monnier [Fri, 7 May 2010 12:49:14 +0000 (08:49 -0400)]
* files.el (auto-save-mode): Move to simple.el to fix bootstrap.
* simple.el (auto-save-mode): Move from files.el.
* minibuffer.el (completion--common-suffix): Fix copy&paste error.

14 years agoFix the "config msdos" step of MS-DOS build (due to removal of some cpp stuff from...
Eli Zaretskii [Fri, 7 May 2010 11:21:29 +0000 (14:21 +0300)]
Fix the "config msdos" step of MS-DOS build (due to removal of some cpp stuff from configury).

 config.bat: Allow for 2 leading `#'s in comments in src/Makefile.in.
 src/Makefile.in: Don't use Make-style comments past the
 "start of cpp stuff" line.

14 years agoHELLO: Reorder Arabic greetings into logical order.
Eli Zaretskii [Fri, 7 May 2010 10:45:54 +0000 (13:45 +0300)]
HELLO: Reorder Arabic greetings into logical order.

14 years agoSkip disabled PGP key when encrypting mail with Gnus.
Daiki Ueno [Fri, 7 May 2010 08:10:28 +0000 (17:10 +0900)]
Skip disabled PGP key when encrypting mail with Gnus.

* lisp/epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
* lisp/gnus/mml2015.el (mml2015-epg-find-usable-key): Skip disabled key (Bug#5592).

14 years agoFix typos.
Katsumi Yamaoka [Fri, 7 May 2010 07:41:53 +0000 (07:41 +0000)]
Fix typos.

14 years agoSynch with Gnus trunk.
Katsumi Yamaoka [Fri, 7 May 2010 07:28:15 +0000 (07:28 +0000)]
Synch with Gnus trunk.
Note: Julien has already sent a form to FSF to sign a paper.
2010-05-07  Julien Danjou  <julien@danjou.info>
 * gnus-art.el (gnus-mime-pipe-part): Add optional argument `cmd'; pass
 it to mm-pipe-part.

 * mm-decode.el (mm-pipe-part): Add optional argument `cmd'; use it if
 it is given.

14 years agoSynch with Gnus trunk.
Katsumi Yamaoka [Fri, 7 May 2010 06:58:17 +0000 (06:58 +0000)]
Synch with Gnus trunk.
* mail/binhex.el (binhex-decode-region-internal)
* mail/uudecode.el (uudecode-decode-region-internal)
* net/dns.el (dns-read-string-name, dns-write, dns-read)
(dns-read-type, dns-query)
* pgg-parse.el (pgg-parse-armor)
* pgg.el (pgg-verify-region)
* sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
XEmacs.

* net/imap.el (imap-disable-multibyte): Redefine them as a macro.

* nnweb.el (nnweb-gmane-search)
* yenc.el (yenc-decode-region): Don't run set-buffer-multibyte for
XEmacs.

* gnus-art.el (gnus-article-browse-html-parts)
* gnus-group.el (gnus-read-ephemeral-gmane-group)
(gnus-read-ephemeral-bug-grou): Use mm-make-temp-file instead of
make-temp-file.

* gnus-dired.el (gnus-dired-mode): Bind gnus-dired-mode-hook,
gnus-dired-mode-on-hook and gnus-dired-mode-off-hook for XEmacs when
compiling.

* gnus-ml.el (gnus-mailing-list-mode): Bind gnus-mailing-list-mode-hook,
gnus-mailing-list-mode-on-hook and gnus-mailing-list-mode-off-hook for
XEmacs when compiling.

* gnus-salt.el (gnus-pick-mode): Bind gnus-pick-mode-on-hook and
gnus-pick-mode-off-hook for XEmacs when compiling.
(gnus-binary-mode): Bind gnus-binary-mode-on-hook and
gnus-binary-mode-off-hook for XEmacs when compiling.

* gnus-sum.el (gnus-summary-limit-strange-charsets-predicate): Return
nil if char-charset is not available.

* sieve-manage.el (sieve-manage-disable-multibyte): Redefine them as a
macro.

* mm-url.el (mm-url-form-encode-xwfu): Use mm-encode-coding-string
instead of encode-coding-string.

* mm-util.el (mm-enable-multibyte, mm-disable-multibyte): Use (featurep
'xemacs) instead of mm-emacs-mule to switch function definitions.
(mm-with-unibyte-current-buffer): Make it a progn macro for XEmacs.

14 years ago* progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
Juanma Barranquero [Fri, 7 May 2010 03:21:06 +0000 (05:21 +0200)]
* progmodes/cperl-mode.el (cperl-mode-unload-function): New function.