ShengHuo ZHU [Wed, 31 Oct 2001 04:16:51 +0000 (04:16 +0000)]
* mm-util.el, nnultimate.el, nnweb.el, nnslashdot.el: Sync with
the Gnus CVS.
* mm-util.el (mm-mime-mule-charset-alist): Move down and call
mm-coding-system-p. Don't correct it only in XEmacs.
(mm-charset-to-coding-system): Use mm-coding-system-p and
mm-get-coding-system-list.
(mm-emacs-mule, mm-mule4-p): New.
(mm-enable-multibyte, mm-disable-multibyte,
mm-enable-multibyte-mule4, mm-disable-multibyte-mule4,
mm-with-unibyte-current-buffer,
mm-with-unibyte-current-buffer-mule4): Use them.
(mm-find-mime-charset-region): Treat iso-2022-jp.
From Dave Love <fx@gnu.org>:
* mm-util.el (mm-mime-mule-charset-alist): Make it correct by
construction.
(mm-charset-synonym-alist): Remove windows-125[02]. Make other
entries conditional on not having a coding system defined for
them.
(mm-mule-charset-to-mime-charset): Use
find-coding-systems-for-charsets if defined.
(mm-charset-to-coding-system): Don't use
mm-get-coding-system-list. Look in mm-charset-synonym-alist
later. Add last resort search of coding systems.
(mm-enable-multibyte-mule4, mm-disable-multibyte-mule4)
(mm-with-unibyte-current-buffer-mule4): Just treat Mule 5 like
Mule 4.
(mm-find-mime-charset-region): Re-write.
(mm-with-unibyte-current-buffer): Restore buffer as well as
multibyteness.
Stefan Monnier [Wed, 31 Oct 2001 00:57:04 +0000 (00:57 +0000)]
(reindent-then-newline-and-indent): Insert the newline
before indenting the first line.
(undo-get-state, undo-revert-to-state): New funs.
(shell-command): Don't kill the buffer even if empty.
(transpose-subr-start1, transpose-subr-start2, transpose-subr-end1)
(transpose-subr-end2): Remove.
(transpose-subr): Add `special' arg and simplify.
(transpose-subr-1): Rewrite.
(do-auto-fill): Use fill-indent-according-to-mode and fill-nobreak-p.
(rfc822-goto-eoh): Simplify.
Gerd Moellmann [Tue, 30 Oct 2001 15:00:38 +0000 (15:00 +0000)]
(x_draw_relief_rect): Correct bottom relief by 1 pixel.
(x_set_glyph_string_background_width): Set
extends_to_end_of_line_p if the row's fill_line_p is set and
drawing the last glyph with DRAW_IMAGE_{RAISED,SUNKEN}.
Stefan Monnier [Tue, 30 Oct 2001 08:08:12 +0000 (08:08 +0000)]
(sentence-end-double-space, sentence-end-without-period): Move to paragraphs.
(fill-indent-according-to-mode): Change default to t.
(fill-context-prefix): Simplify control-flow and use a more
sophisticated merge that unifies both previous checks.
(fill-single-word-nobreak-p, fill-french-nobreak-p): New funs.
(fill-nobreak-predicate): Make it into a defcustom'd hook.
(fill-nobreak-p): New fun.
(fill-region-as-paragraph): Use it.
Handle `fill-indent-according-to-mode' slightly differently.
(fill-individual-paragraphs-prefix): Simplify the control-flow.
(fill-individual-paragraphs-citation): Fix.
Stefan Monnier [Tue, 30 Oct 2001 06:46:49 +0000 (06:46 +0000)]
(sentence-end-double-space, sentence-end-without-period): Move from fill.el.
(forward-paragraph): Use `parstart' and `parsep' for temp variables
rather than rebinding `paragraph-start' and `paragraph-separate'.
Stefan Monnier [Tue, 30 Oct 2001 05:37:08 +0000 (05:37 +0000)]
(indent-line-function): Change default to indent-relative.
(tab-always-indent): Add an `always' setting.
(indent-according-to-mode): Handle `indent-relative' and
`indent-relative-maybe' specially.
(indent-for-tab-command): Rename `prefix-arg' to `arg'.
Handle the `always; case for `tab-always-indent'.
Don't call indent-according-to-mode for indent-relative' and
`indent-relative-maybe'.
(insert-tab): Rename `prefix-arg' to `arg'.
(indent-region): Indent the first line as well.
(indent-relative): Don't mark the buffer modified if the indentation
is unchanged.
Stefan Monnier [Tue, 30 Oct 2001 05:26:44 +0000 (05:26 +0000)]
(paragraph-indent-minor-mode): Don't set paragraph-separate.
Set paragraph-start more carefully. Set indent-line-function.
(paragraph-indent-text-mode): Use it and define-derived-mode.
Stefan Monnier [Tue, 30 Oct 2001 03:44:08 +0000 (03:44 +0000)]
Include coding.h and charset.h.
(Fx_popup_menu): Use FRAME_PTR and FRAME_FONT and FRAME_LINE_HEIGHT.
(Fx_popup_dialog): Use FRAME_PTR and enum scroll_bar_part.
(single_submenu, xmenu_show): Use ENCODE_SYSTEM.
Explicitly set wv->help. Use `TRUE' rather than `True'.
(menu_help_callback): Use empty_string.
(Frequire): Detect recursive try to require the same
feature 3 or more levels deep, and get error.
(require_unwind): New subroutine.
(require_nesting_list): New variable.
(syms_of_fns): Init and staticpro it.
(edebug-window-live-p): Always alias to window-live-p.
(edebug-set-conditional-breakpoint): Unconditionally use
the former Emacs >=19 definition.
(edebug-mark): Define unconditionally.
(edebug-eval-expression): Always call read-from-minibuffer
and specify history list.
(edebug-lemacs-specific): Override emacs-mark, edebug-window-live-p,
edebug-set-conditional-breakpoint.
(edebug-emacs-version-specific): Function deleted;
do the job at top level.
(edebug-emacs-19-specific): Function deleted, this is the default.
Eli Zaretskii [Mon, 29 Oct 2001 18:06:50 +0000 (18:06 +0000)]
(invert-face): Check for 'unspecified, not for nil,
when testing whether face colors are not specified. From
David.Kastrup@t-online.de (David Kastrup).
Gerd Moellmann [Mon, 29 Oct 2001 09:35:04 +0000 (09:35 +0000)]
(sql-mysql): Doc change by RMS.
(sql-db2): Doc change.
(sql-help): Doc change by Christian Egli <christian.egli@stest.ch>.
(sql-mysql): Doc change by Christian Egli <christian.egli@stest.ch>.