Gnus development mailing list
 help / color / mirror / Atom feed
From: Daiki Ueno <ueno@unixuser.org>
To: ding@gnus.org
Subject: Re: [gnus git]  branch master updated: n0-13-65-gece58ab =2= Autoload `password-in-cache-p'. ; Try to fix XEmacs message-options buffer-local issue.
Date: Fri, 04 Mar 2011 07:27:57 +0900	[thread overview]
Message-ID: <8762rzx2j6.fsf@broken.deisui.org> (raw)
In-Reply-To: <sa38vwwxx3d.fsf@cigue.easter-eggs.fr> (Julien Danjou's message of "Thu, 03 Mar 2011 12:27:50 +0100")

[-- Attachment #1: Type: text/plain, Size: 756 bytes --]

Julien Danjou <julien@danjou.info> writes:

> On Thu, Mar 03 2011, Ted Zlatanov wrote:
>
>> OK, I don't know that code so it's entirely possible I did something
>> stupid.  I was just duplicating the behavior from before your change
>> (which Michael Piotrowski identified as the culprit) for XEmacs.  Let's
>> just keep XEmacs users functional, otherwise feel free to make any
>> changes you think necessary.
>
> Just fixed your commit. Until someone really fixes that.

Hm, I don't see the fix in the git.gnus.org - did you pushed it? :)

In fact, I didn't notice that the previous work around (commit by Ted)
was there and if I revert it I can finally reproduce the problem.  I
wonder why this is not the case with GNU Emacs, but anyway here is a fix:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-mml-generate-mime-Inherit-message-options-after-mm-w.patch --]
[-- Type: text/x-diff, Size: 997 bytes --]

From e3686735b34b4cfcf4752e84a24fe3ef33d8aeec Mon Sep 17 00:00:00 2001
From: Daiki Ueno <ueno@unixuser.org>
Date: Thu, 3 Mar 2011 20:50:54 +0900
Subject: [PATCH] (mml-generate-mime): Inherit message-options after mm-with-multibyte-buffer.

---
 lisp/mml.el |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/lisp/mml.el b/lisp/mml.el
index 8b196fa..2f4417f 100644
--- a/lisp/mml.el
+++ b/lisp/mml.el
@@ -461,11 +461,13 @@ If MML is non-nil, return the buffer up till the correspondent mml tag."
 (defvar mml-boundary nil)
 (defvar mml-base-boundary "-=-=")
 (defvar mml-multipart-number 0)
+(defvar message-options)
 
 (defun mml-generate-mime ()
   "Generate a MIME message based on the current MML document."
   (let ((cont (mml-parse))
-	(mml-multipart-number mml-multipart-number))
+	(mml-multipart-number mml-multipart-number)
+	(message-options (if (boundp 'message-options) message-options)))
     (if (not cont)
 	nil
       (mm-with-multibyte-buffer
-- 
1.7.2.3


[-- Attachment #3: Type: text/plain, Size: 25 bytes --]


Regards,
-- 
Daiki Ueno

  reply	other threads:[~2011-03-03 22:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1Pusj3-0004c4-00@quimby.gnus.org>
2011-03-03 10:44 ` Julien Danjou
2011-03-03 11:20   ` Ted Zlatanov
2011-03-03 11:27     ` Julien Danjou
2011-03-03 22:27       ` Daiki Ueno [this message]
2011-03-04  9:50         ` Julien Danjou
2011-03-04 12:32           ` Daiki Ueno
2011-03-04 14:56             ` Ted Zlatanov
2011-03-05 10:28             ` Lars Magne Ingebrigtsen
2011-03-05 11:07               ` Julien Danjou
2011-03-05 11:15                 ` Lars Magne Ingebrigtsen
2011-03-05 22:55                   ` Daiki Ueno
2011-03-15 17:32                     ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8762rzx2j6.fsf@broken.deisui.org \
    --to=ueno@unixuser.org \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).