From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54222 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: Unable to delete "References:" lines Date: Tue, 14 Oct 2003 09:14:10 +0900 Organization: Emacsen advocacy group Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1066090563 32307 80.91.224.253 (14 Oct 2003 00:16:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Oct 2003 00:16:03 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M2763@lists.math.uh.edu Tue Oct 14 02:16:01 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A9Cr3-0001Gc-00 for ; Tue, 14 Oct 2003 02:16:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1A9Cq2-0000vJ-00; Mon, 13 Oct 2003 19:14:58 -0500 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1A9Cpu-0000vB-00 for ding@lists.math.uh.edu; Mon, 13 Oct 2003 19:14:50 -0500 Original-Received: from minsk.hostforweb.net (minsk.servershost.net [69.61.9.140]) by justine.libertine.org (Postfix) with ESMTP id 41DB73A004B for ; Mon, 13 Oct 2003 19:14:49 -0500 (CDT) Original-Received: from yamaokac by minsk.hostforweb.net with local (Exim 4.23) id 1A9Cpw-0007ya-Gf; Mon, 13 Oct 2003 20:14:52 -0400 Original-To: Lloyd Zusman User-Agent: T-gnus/6.16.3 (based on Gnus v5.10.3) (revision 02) XEmacs/21.4 (Reasonable Discussion, linux) X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( Cancel-Lock: sha1:5ZuJ3YPFWJBqkpMc0a829YsFRXw= X-Payment: hashcash 1.2 0:031014:ljz@asfast.com:fd62beb539acef14 X-Hashcash: 0:031014:ljz@asfast.com:fd62beb539acef14 X-Payment: hashcash 1.2 0:031014:ding@gnus.org:3c7631c360609b75 X-Hashcash: 0:031014:ding@gnus.org:3c7631c360609b75 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - minsk.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [32531 32531] / [47 12] X-AntiAbuse: Sender Address Domain - minsk.hostforweb.net Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54222 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54222 Hi, By a similar reason, I also feel it is inconvenient that I can't edit the References header. Then I use the following hook: (add-hook 'message-setup-hook (lambda nil ;; Generate the References header and clear the corresponding ;; elements in the `message-reply-headers' buffer-local variable. (let ((references (message-make-references)) reference) (if references (progn (mail-header-set-message-id message-reply-headers nil) (mail-header-set-references message-reply-headers nil) (setq references (split-string references)) (goto-char (point-min)) (insert "References: ") (while references (setq reference (car references) references (cdr references)) (if (> (+ (current-column) (length reference)) 78) (progn (delete-char -1) (insert "\n "))) (insert reference (if references " " "\n"))) (message-sort-headers)))))) >>>>> In >>>>> Lloyd Zusman wrote: > One more detail: in the case I mentioned below, the exact behavior is > this: I see the deleted "References:" line reappear if I save the > message (C-x C-s) before sending. I therefore believe that this > behavior has something to do with saving drafts. > Lloyd Zusman writes: >> I'm writing about something I first noticed in the CVS of ognus several >> months ago, and that I have kept forgetting to mention here until now. >> >> I don't keep much of an address book on line, and if I want to send an >> email to someone to whom I've corresponded before, I often will just >> take a copy of an old message from that person, respond to it via >> `gnus-summary-reply-{wide-}with-original', change the subject, delete >> the "References:" line, and continue with my new message to him or her. >> >> But what I've been noticing over the past few months is that when I send >> the outgoing message, the deleted "References:" line reappears. I >> assume that this was done for a good reason, probably to help maintain >> the integrity of message threads, but in cases such as these, I'd like >> to disable this behavior and send the message out with no "References:" >> header at all. >> >> Is there a variable or hook which controls this behavior? >> >> Thanks in advance.