unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* mm-util.el question
@ 2005-04-11 23:12 Miles Bader
  2005-04-12  0:26 ` Katsumi Yamaoka
  0 siblings, 1 reply; 6+ messages in thread
From: Miles Bader @ 2005-04-11 23:12 UTC (permalink / raw)


In merging some of Stefan's Gnus changes from the Emacs tree into the Gnus
trunk, I ran across this change, which I'm not sure about, in mm-util.el:

@@ -75,4 +93,5 @@
      (string-as-multibyte . identity)
+     (string-to-multibyte . mm-string-as-multibyte)
      (multibyte-string-p . ignore)
      ;; It is not a MIME function, but some MIME functions use it.
      (make-temp-file . (lambda (prefix &optional dir-flag)

The Gnus trunk already has an entry for `string-to-multibyte':

     (string-to-multibyte
      . (lambda (string)
	  "Return a multibyte string with the same individual chars as string."
	  (mapconcat
	   (lambda (ch) (mm-string-as-multibyte (char-to-string ch)))
	   string "")))

So is the more complicated Gnus version necessary, or would Stefan's version
(making `mm-string-to-multibyte' the same as `mm-string-as-multibyte') work
as well?

Thanks,

-Miles
-- 
Somebody has to do something, and it's just incredibly pathetic that it
has to be us.  -- Jerry Garcia

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-04-13  6:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-11 23:12 mm-util.el question Miles Bader
2005-04-12  0:26 ` Katsumi Yamaoka
2005-04-12  0:39   ` Katsumi Yamaoka
2005-04-12  4:11     ` Miles Bader
2005-04-12  4:51       ` Katsumi Yamaoka
2005-04-13  6:41         ` Katsumi Yamaoka

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).