From: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: ding@gnus.org
Subject: Re: Unable to delete "References:" lines
Date: Tue, 14 Oct 2003 09:14:10 +0900 [thread overview]
Message-ID: <b9ywub8oeul.fsf@jpl.org> (raw)
In-Reply-To: <m3u16fvp4p.fsf@asfast.com>
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 <m3u16fvp4p.fsf@asfast.com>
>>>>> Lloyd Zusman <ljz@asfast.com> 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 <ljz@asfast.com> 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.
next prev parent reply other threads:[~2003-10-14 0:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-11 13:11 Lloyd Zusman
2003-10-11 14:13 ` Lloyd Zusman
2003-10-14 0:14 ` Katsumi Yamaoka [this message]
2003-11-05 14:05 ` Lloyd Zusman
2003-11-05 22:54 ` Katsumi Yamaoka
2003-11-06 0:50 ` Lloyd Zusman
2003-10-13 17:59 ` Mark Thomas
2003-10-16 14:01 ` Lars Magne Ingebrigtsen
2003-11-05 14:06 ` Lloyd Zusman
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=b9ywub8oeul.fsf@jpl.org \
--to=yamaoka@jpl.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).