From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/77493 Path: news.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.gnus.general 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 21:32:45 +0900 Message-ID: <87vczzrrpu.fsf@broken.deisui.org> References: <87ei6o1mdi.fsf@lifelogs.com> <8762rzx2j6.fsf@broken.deisui.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1299242026 12377 80.91.229.12 (4 Mar 2011 12:33:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 4 Mar 2011 12:33:46 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25816@lists.math.uh.edu Fri Mar 04 13:33:42 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PvUCS-0007Cj-KU for ding-account@gmane.org; Fri, 04 Mar 2011 13:33:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PvUBt-0001Ur-Ma; Fri, 04 Mar 2011 06:33:05 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PvUBq-0001UV-KR for ding@lists.math.uh.edu; Fri, 04 Mar 2011 06:33:02 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PvUBp-0004oB-8p for ding@lists.math.uh.edu; Fri, 04 Mar 2011 06:33:02 -0600 Original-Received: from ivory4.scn-net.ne.jp ([219.117.176.192]) by quimby.gnus.org with smtp (Exim 4.72) (envelope-from ) id 1PvUBn-0001ly-PR for ding@gnus.org; Fri, 04 Mar 2011 13:33:00 +0100 Original-Received: from ([192.168.0.187]) (envelope sender: ) by ivory4.scn-net.ne.jp with Active!Hunter esmtp server; Fri, 4 Mar 2011 21:32:54 +0900 Original-Received: Received: from well-done.deisui.org (g187018.scn-net.ne.jp [202.83.187.18]) (authenticated) by blue17.scn-net.ne.jp (unknown) with ESMTP id p24CWrWA027217 for ; Fri, 4 Mar 2011 21:32:54 +0900 In-Reply-To: (Julien Danjou's message of "Fri, 04 Mar 2011 10:50:39 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:77493 Archived-At: Julien Danjou writes: > On Thu, Mar 03 2011, Daiki Ueno wrote: > >> 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: > > I see it has been pushed. Could we revert the temporary fix from Ted > then? Reverted, but sorry it turned out that my change also does not really fix the problem. Anyway, I figured out the incompatibility: (require 'message) ; => message ;; message-cross-post-old-target is another buffer-local variable (local-variable-if-set-p 'message-cross-post-old-target (current-buffer)) ; => t message-cross-post-old-target ; => nil (let ((message-cross-post-old-target t)) (with-temp-buffer message-cross-post-old-target)) => nil; on XEmacs / t on Emacs It seems that let-binding loses to buffer-local variable initialization on XEmacs and (let ((message-options message-options)) ...) does no effect when switching between buffers. I think it's better to use: (unless (featurep 'xemacs) (make-variable-buffer-local 'message-options)) here as Julien suggested before, unless anyone knows how to address this kind of issue. Regards, -- Daiki Ueno