From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/72714 Path: news.gmane.org!not-for-mail From: Francesco Pizzolante Newsgroups: gmane.emacs.gnus.general Subject: Re: Problem when sending diffs Date: Thu, 7 Oct 2010 15:29:18 +0200 Message-ID: References: <87bp7s6fvq.fsf@mundaneum.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1286458247 26960 80.91.229.12 (7 Oct 2010 13:30:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 7 Oct 2010 13:30:47 +0000 (UTC) To: ding Original-X-From: ding-owner+M21086@lists.math.uh.edu Thu Oct 07 15:30:44 2010 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 1P3qYR-0006C6-Qn for ding-account@gmane.org; Thu, 07 Oct 2010 15:30:40 +0200 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 1P3qXi-0001kY-UU; Thu, 07 Oct 2010 08:29:54 -0500 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 1P3qXh-0001kH-F7 for ding@lists.math.uh.edu; Thu, 07 Oct 2010 08:29:53 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P3qXf-00039v-IA for ding@lists.math.uh.edu; Thu, 07 Oct 2010 08:29:53 -0500 Original-Received: from mail-pv0-f172.google.com ([74.125.83.172]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P3qXe-0003OR-00 for ; Thu, 07 Oct 2010 15:29:50 +0200 Original-Received: by pvg7 with SMTP id 7so198477pvg.17 for ; Thu, 07 Oct 2010 06:29:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=HT136tfYAQu7n5Vnf06DoiKw5/5rWL3OVpym9iTxjNI=; b=DtRlBOS4jWPwQj1REDi7oahyTmH0ierpLMBXqkJxkFS0+ZFSCfUNTc/FnbCsRnmU12 aVN8ih+SNWsIy3DEMx15sGUs/OoULI/mQ9WyOoLAEBBXUvWUyPXWEI6IDqKqaxv7rg9m eGcw5yM0CaTksz+PYf/AE2ElHFj/kg8ZoptcQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=VVyTdQMiz9z7tXy7UeqpCxPoSRmzjUhKxZmq7yKwd4e1tbZ/rmGpXBahR5f9PbFQv4 rz8yz4Ecak72HqmqdPmPnlDv8cfyQZeY2Pfj6fl33/v/coVic1JUHYgeHhgQcqyXOntF PZGimlINIt4g5rZSitUfzLmEQyjgz7uD1Em+4= Original-Received: by 10.142.1.14 with SMTP id 14mr557895wfa.343.1286458158440; Thu, 07 Oct 2010 06:29:18 -0700 (PDT) Original-Received: by 10.220.98.129 with HTTP; Thu, 7 Oct 2010 06:29:18 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: SX0F1v_ZH1Uq8pgxuv8AUyJ0Mv4 X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:72714 Archived-At: Hi, 2010/10/7 Julien Danjou : > Seriously, do you keep a copy of your outgoing message, and if yes, how > do they look like? Yes, I keep my outgoing messages and they are all OK. > If you try to remove most of your emacs/gnus configuration, does that > change anything? I've (almost) completely skipped my .emacs and removed a lot of stuff in my .gnus but I still have the problem. I traced the problem with Wireshark. It seems that the message is correctly sent. But the message I received is wrong. The only thing I can see is errors (500 and 502) at the end of the conversation with the smtp server. The log is hereunder. Thanks, Francesco #v+ 220 mail.missioncriticalit.com ESMTP Postfix (Debian/GNU) EHLO WITTGENSTEIN. 250-mail.missioncriticalit.com 250-PIPELINING 250-SIZE 20480000 250-VRFY 250-ETRN 250 8BITMIME MAIL FROM: SIZE=6165 250 Ok RCPT TO: 250 Ok RCPT TO: 250 Ok DATA 354 End data with . From: Francesco Pizzolante To: XXX Cc: Francesco Pizzolante Subject: review > org export latex (default) packages User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt) X-Archive: encrypt Date: Thu, 07 Oct 2010 15:11:37 +0200 Message-ID: <87d3rmqh9y.fsf@mundaneum.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi, =================================================================== emacs-init-XXX.el: Keep only inputenc in org-export-latex-default-packages-alist. Move all other packages to org-export-latex-packages-alist. Do not export any packages for mc* LaTeX classes (they must be included in the classes). Index: emacs-init-XXX.el =================================================================== --- emacs-init-XXX.el.(revision 4693) +++ emacs-init-XXX.el.(working copy) @@ -8278,7 +8278,7 @@ ;; 12.6.2 (add-to-list 'org-export-latex-classes '("mcarticle" - "\\documentclass{mcarticle}\n\\usepackage[AUTO]{inputenc}\n" - "\\documentclass{mcarticle}\n[NO-PACKAGES]" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") @@ -8287,7 +8287,7 @@ (add-to-list 'org-export-latex-classes '("mccommercial" - "\\documentclass{mccommercial}\n\\usepackage[AUTO]{inputenc}\n" + "\\documentclass{mccommercial}\n[NO-PACKAGES]" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") @@ -8296,7 +8296,7 @@ (add-to-list 'org-export-latex-classes '("mcreport" - "\\documentclass{mcreport}\n\\usepackage[AUTO]{inputenc}\n" + "\\documentclass{mcreport}\n[NO-PACKAGES]" ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") @@ -8305,7 +8305,7 @@ (add-to-list 'org-export-latex-classes '("mcbook" - "\\documentclass{mcbook}\n\\usepackage[AUTO]{inputenc}\n" + "\\documentclass{mcbook}\n[NO-PACKAGES]" ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") @@ -8314,7 +8314,7 @@ (add-to-list 'org-export-latex-classes '("alta" - "\\documentclass{alta}\n\\usepackage[AUTO]{inputenc}\n" + "\\documentclass{alta}\n" ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") @@ -8323,7 +8323,7 @@ (add-to-list 'org-export-latex-classes '("mccontract" - "\\documentclass{mccontract}\n\\usepackage[AUTO]{inputenc}\n" + "\\documentclass{mccontract}\n[NO-PACKAGES]" ;; (setq org-export-latex-packages-alist ;; '(("" "xcolor") . ("\\mccarticle{%s}" . "\\mccarticle*{%s}") ("\\mccparagraph{%s}" . "\\mccparagraph*{%s}"))) @@ -8356,24 +8356,25 @@ ;; please let me know so that we can find a solution. (setq org-export-latex-default-packages-alist - '(("AUTO" "inputenc" t) - ("T1" "fontenc" t) - ("" "fixltx2e" nil) - ("" "graphicx" t) - ("" "longtable" nil) - ("" "float" nil) - ("" "wrapfig" nil) - ("" "soul" t) - ("" "t1enc" t) - ("" "textcomp" t) - ("" "marvosym" t) - ("" "wasysym" t) - ("" "latexsym" t) - ("" "amssymb" t) - ("" "hyperref" nil) - "\\tolerance=1000")) + '(("AUTO" "inputenc"))) + (add-to-list 'org-export-latex-packages-alist '("T1" "fontenc") t) + (add-to-list 'org-export-latex-packages-alist '("" "fixltx2e") t) + (add-to-list 'org-export-latex-packages-alist '("" "graphicx") t) + (add-to-list 'org-export-latex-packages-alist '("" "longtable") t) + (add-to-list 'org-export-latex-packages-alist '("" "float") t) + (add-to-list 'org-export-latex-packages-alist '("" "wrapfig") t) + (add-to-list 'org-export-latex-packages-alist '("" "soul") t) + (add-to-list 'org-export-latex-packages-alist '("" "t1enc") t) + (add-to-list 'org-export-latex-packages-alist '("" "textcomp") t) + (add-to-list 'org-export-latex-packages-alist '("" "marvosym") t) + (add-to-list 'org-export-latex-packages-alist '("" "wasysym") t) + (add-to-list 'org-export-latex-packages-alist '("" "latexsym") t) + (add-to-list 'org-export-latex-packages-alist '("" "amssymb") t) + (add-to-list 'org-export-latex-packages-alist '("" "hyperref") t) + (add-to-list 'org-export-latex-packages-alist '"\\tolerance=1000" t) + ;;*** Not sorted (section "Not sorted") @@ -8442,11 +8443,11 @@ ;; if you want fontified source code, then you must include the ;; `listings' package - (add-to-list 'org-export-latex-packages-alist '("" "listings")) + (add-to-list 'org-export-latex-packages-alist '("" "listings") t) ;; if you want colored source code, then you need to include the ;; `xcolor' package - (add-to-list 'org-export-latex-packages-alist '("" "xcolor")) + (add-to-list 'org-export-latex-packages-alist '("" "xcolor") t) 250 Ok: queued as D4BA89E017 502 Error: command not implemented 502 Error: command not implemented 500 Error: bad syntax 502 Error: command not implemented 502 Error: command not implemented 500 Error: bad syntax 502 Error: command not implemented 502 Error: command not implemented 502 Error: command not implemented 502 Error: command not implemented 502 Error: command not implemented QUIT 502 Error: command not implemented 502 Error: command not implemented #v-