1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00
Commit Graph

26 Commits

Author SHA1 Message Date
Dave Love
56e09c0969 (mm-mime-mule-charset-alist): Require when compiling.
(mm-auto-save-coding-system): Prefer utf-8-emacs coding system to
emacs-mule.
(mm-find-mime-charset-region): Fix :mime-charset part.
(mm-mule-charset-to-mime-charset, mm-charset-to-coding-system)
(mm-mime-charset, mm-find-mime-charset-region): Look for
`:mime-charset' property of coding systems before `mime-charset'.
(mm-mule4-p, mm-enable-multibyte-mule4, mm-disable-multibyte-mule4)
(mm-with-unibyte-current-buffer-mule4): Deleted.
(mm-point-at-bol, mm-point-at-eol, mm-insert-byte)
(multibyte-char-to-unibyte): New.
2002-10-18 11:05:28 +00:00
ShengHuo ZHU
3efe555424 * mail-source.el (make-source-make-complex-temp-name): Use
make-temp-file.

	* mm-util.el (mm-make-temp-file): New function.
	* nneething.el (nneething-file-name): Use it.
	* mm-decode.el (mm-display-external, mm-create-image-xemacs): Ditto.
	* gnus-uu.el (gnus-uu-decode-binhex, gnus-uu-decode-binhex-view)
	(gnus-uu-digest-mail-forward, gnus-uu-initialize): Ditto.
	* gnus-start.el (gnus-slave-save-newsrc): Ditto.

	* message.el (message-mode): If buffer-file-name, don't set auto
	save file name.
	Trivial change from Geoff Greene <ggreene@wpi.edu>
2002-03-21 19:11:23 +00:00
ShengHuo ZHU
1f7d2e140f * mm-util.el (mm-use-find-coding-systems-region): New variable.
(mm-find-mime-charset-region): Use it.
	* nntp.el (nntp-send-buffer): Use mm-with-unibyte-current-buffer.
2002-01-03 14:51:05 +00:00
ShengHuo ZHU
d62d49df37 2002-01-03 ShengHuo ZHU <zsh@cs.rochester.edu>
* mm-util.el (mm-charset-to-coding-system): Don't setq charset.
2002-01-03 06:52:30 +00:00
Pavel Janík
f0529b5b1a Doc fix. 2001-12-20 19:01:00 +00:00
ShengHuo ZHU
47b63dfa47 2001-11-25 ShengHuo ZHU <zsh@cs.rochester.edu>
* gnus-util.el (gnus-directory-sep-char-regexp): New.
	* gnus-score.el (gnus-score-find-bnews): Sync with Gnus CVS.
	* mm-util.el: Sync.

	* gnus-sum.el (gnus-summary-limit-to-subject): An exclusion version.
	(gnus-summary-limit-to-author): Ditto.
	(gnus-summary-limit-to-extra): Ditto.
	(gnus-summary-find-matching): Support not-matching argument.

	* message.el (message-wash-subject): Use `insert' rather than
	`insert-string', which is deprecated.
	From  Kai Gro,A_(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
2001-11-25 15:17:24 +00:00
ShengHuo ZHU
72eb5fc741 2001-11-01 ShengHuo ZHU <zsh@cs.rochester.edu>
* mm-util.el (mm-charset-synonym-alist): Revert (some).
2001-11-01 15:29:49 +00:00
ShengHuo ZHU
95fa1ff74a * 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.
2001-10-31 04:16:51 +00:00
Gerd Moellmann
20c381cfcc (mm-charset-synonym-alist): Add windows-1250 so we
can read e-mails from Microsoft Outlook users not using ISO
8859-2 character set.
2001-09-18 14:59:24 +00:00
Pavel Janík
715a2ca2fc Some fixes to follow coding conventions in files from Gnus. 2001-07-15 17:42:53 +00:00
Dave Love
f53b2875f0 Fix last change. 2001-03-05 21:39:19 +00:00
Dave Love
c89ac69862 (mm-mime-mule-charset-alist): Move it after definition of
mm-coding-system-p.
2001-03-05 21:30:36 +00:00
Dave Love
f891ed299c (mm-mime-mule-charset-alist): Fix utf-8 case. 2001-03-05 13:37:38 +00:00
Dave Love
8b797f292d *** empty log message *** 2001-03-01 20:26:18 +00:00
Dave Love
244d58bac0 (mm-inhibit-file-name-handlers): Add
image-file-handler.
2001-03-01 20:17:08 +00:00
ShengHuo ZHU
676a7cc97d 2001-02-01 ShengHuo ZHU <zsh@cs.rochester.edu>
* gnus-score.el (gnus-summary-score-entry): match may be an integer.

	* gnus-art.el (gnus-summary-save-in-pipe): Prompt for saving
	command if there is not last-saver.

	* rfc2047.el (rfc2047-encode): MIME charset is not coding system.
	(rfc2047-charset-encoding-alist): Add big5.

	* mm-util.el (mm-mime-mule-charset-alist): Preferred MIME names
	GB2312 and Big5.

	* gnus-score.el (gnus-score-lower-thread): Fix a doc typo.

	* gnus-sum.el (gnus-summary-print-article): Remove process mark.

	* gnus-sum.el (gnus-summary-print-article): Take one prefix
	argument. Allow to print several articles in one file.

	* webmail.el (webmail-type-definition): netaddress changes.
2001-02-02 03:15:52 +00:00
Dave Love
bf3b936fd0 (mm-mime-mule-charset-alist)
(mm-find-mime-charset-region): Consider mule-utf-8.
2001-01-31 18:37:17 +00:00
Dave Love
79d6567fa1 (mm-multibyte-string-p): New. 2001-01-26 18:56:08 +00:00
ShengHuo ZHU
619ac84f46 2001-01-21 ShengHuo ZHU <zsh@cs.rochester.edu>
* message.el (message-forward): Use mule4.
	* mm-util.el (mm-string-as-unibyte): New.
	* message.el (message-forward): Use it.
	* message.el (message-cite-original-without-signature): Don't peel
	off the blank line.
	(message-get-reply-headers): Add Cc if it is not in follow-to.
	* message.el (message-send-mail): Content-Type may not be there.
	By Alberto Lusiani.
	* gnus-art.el (article-display-x-face): Insert X-Face if there is
	not.
	* rfc2047.el (rfc2047-fold-region): Don't insert LWSP if there is
	one.
	* gnus-win.el (gnus-configure-windows): switch-to-buffer in XEmacs.
	(gnus-remove-some-windows): Ditto.
	* mm-decode.el (mm-interactively-view-part): Don't copy-sequence
	handle.
	* gnus-art.el (gnus-mime-view-part): Copy it.
	(gnus-mime-view-part-as-type): Add into gnus-article-mime-handles.
	* nnmail.el (nnmail-get-new-mail): Find group only if file is not
	orig-file. Use ',source.
	* nnslashdot.el (nnslashdot-request-list): Get the right year. By
	Lars Magne Ingebrigtsen.
	* pop3.el (pop3-get-message-count): Andrew Innes
	<andrewi@gnu.org>'s patch of 1999-12-01 was not fully committed.
2001-01-21 05:33:42 +00:00
Dave Love
98e61bd1c6 (mm-mime-mule-charset-alist): Add Latin-{8,9}. 2001-01-08 19:41:49 +00:00
ShengHuo ZHU
3df3ee3549 2000-12-19 ShengHuo ZHU <zsh@cs.rochester.edu>
* mm-util.el (mm-charset-synonym-alist): Fix a typo.
2000-12-19 21:59:48 +00:00
Dave Love
1c57d87089 Doc fixes.
(mm-mime-charset): Don't use the raw result of
mm-preferred-coding-system.
(mm-with-unibyte-buffer, mm-with-unibyte-current-buffer)
(mm-with-unibyte):  Simplify.
2000-11-10 18:02:56 +00:00
Dave Love
6e077b52fd Revert Maintainer change. 2000-11-09 14:17:06 +00:00
Dave Love
052802c1f4 2000-10-27 ShengHuo ZHU <zsh@cs.rochester.edu>
* mm-util.el (mm-multibyte-p): Test (featurep 'xemacs).
	(mm-with-unibyte-current-buffer-mule4): New function.
	(mm-enable-multibyte-mule4): New.
	(mm-disable-multibyte-mule4): New.

	* mm-util.el (mm-enable-multibyte-mule4): New.
	(mm-disable-multibyte-mule4): New.
2000-10-27 18:52:28 +00:00
Dave Love
d1a7bc9359 (mm-charset-synonym-alist): Add windows-1252. 2000-10-12 11:19:01 +00:00
Gerd Moellmann
c113de2361 *** empty log message *** 2000-09-19 13:40:08 +00:00