From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81757 Path: news.gmane.org!not-for-mail From: asjo@koldfront.dk (Adam =?iso-8859-1?Q?Sj=F8gren?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Questions about mail forwarding Date: Fri, 13 Apr 2012 22:40:07 +0200 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <878vhzicwo.fsf@topper.koldfront.dk> References: <84zkagtbbo.fsf@optiplex.lan> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1334349704 7844 80.91.229.3 (13 Apr 2012 20:41:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 13 Apr 2012 20:41:44 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M30035@lists.math.uh.edu Fri Apr 13 22:41:43 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SInJO-0006Wz-Pu for ding-account@gmane.org; Fri, 13 Apr 2012 22:41:43 +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 1SInIE-0001At-M3; Fri, 13 Apr 2012 15:40:30 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1SInIB-0001Ae-QS for ding@lists.math.uh.edu; Fri, 13 Apr 2012 15:40:27 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1SInI6-00063D-T9 for ding@lists.math.uh.edu; Fri, 13 Apr 2012 15:40:27 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1SInI4-0002Xz-Po for ding@gnus.org; Fri, 13 Apr 2012 22:40:20 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SInI2-0005Z0-Hf for ding@gnus.org; Fri, 13 Apr 2012 22:40:18 +0200 Original-Received: from 2505ds5-by.0.fullrate.dk ([95.166.24.143]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Apr 2012 22:40:18 +0200 Original-Received: from asjo by 2505ds5-by.0.fullrate.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Apr 2012 22:40:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 59 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 2505ds5-by.0.fullrate.dk Mail-Copies-To: never X-Face: )qY&CseJ?.:=8F#^~GcSA?F=9eu'{KAFfL1C3/A&:nE?PW\i65"ba0NS)97,Q(^@xk}n4Ou rPuR#V8I(J_@~H($[ym:`K_+]*kjvW>xH5jbgLBVFGXY:(#4P>zVBklLbdL&XxL\M)%T}3S/IS9lMJ ^St'=VZBR Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81757 Archived-At: On Fri, 13 Apr 2012 09:06:35 +0300, mihkel wrote: > (setq gnus-summary-mail-forward 1) Setting a variable with the same name as a function doesn't change what the function does. ,----[ C-h f gnus-summary-mail-forward RET ] | gnus-summary-mail-forward is an interactive compiled Lisp function in | `gnus-msg.el'. | | (gnus-summary-mail-forward &optional ARG POST) | | Forward the current message(s) to another user. | If process marks exist, forward all marked messages; | if ARG is nil, see `message-forward-as-mime' and `message-forward-show-mml'; | if ARG is 1, decode the message and forward directly inline; | if ARG is 2, forward message as an rfc822 MIME section; | if ARG is 3, decode message and forward as an rfc822 MIME section; | if ARG is 4, forward message directly inline; | otherwise, use flipped `message-forward-as-mime'. | If POST, post instead of mail. | For the "inline" alternatives, also see the variable | `message-forward-ignored-headers'. `---- What you want to do is to pass the optional ARG to the function. I.e. you press: C-u 1 C-c C-f instead of just C-c C-f to forward the email. > 2. I want to have only some headers included in the forwarded mail. So I > used the following snippet: > (setq message-included-forward-headers > "^Subject:\\|^To:\\|^Cc:\\|^From:\\|^Date:") Where did you get that from? The changelog.1 file says that that variable was removed. In 1999: "1999-02-09 15:25:52 Lars Magne Ingebrigtsen [...] (message-included-forward-headers): Removed." > Again, it does not work. All headers are displayed. So my question is: > what I'm doing wrong :) I think you are collecting your snippets of configuration from very strange places :-) Best regards, Adam -- "You have to photosynthesize" Adam Sjøgren asjo@koldfront.dk