From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/29199 Path: main.gmane.org!not-for-mail From: Bill White Newsgroups: gmane.emacs.gnus.general Subject: problem with fix-transposed-characters/sig-quote/gnus Date: 11 Feb 2000 14:55:14 -0600 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035165912 1419 80.91.224.250 (21 Oct 2002 02:05:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:05:12 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id 5E4FDD051F for ; Fri, 11 Feb 2000 15:57:45 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id OAB26026; Fri, 11 Feb 2000 14:56:43 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 11 Feb 2000 14:55:29 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id OAA17877 for ; Fri, 11 Feb 2000 14:55:13 -0600 (CST) Original-Received: from dragonfly.wolfram.com (dragonfly.wolfram.com [140.177.10.12]) by mailhost.sclp.com (Postfix) with ESMTP id E6E93D051F for ; Fri, 11 Feb 2000 15:55:14 -0500 (EST) Original-Received: from g.wolfram.com (billw@g.wolfram.com [140.177.4.48]) by dragonfly.wolfram.com (8.8.8/8.8.8) with ESMTP id OAA01458; Fri, 11 Feb 2000 14:55:13 -0600 (CST) Original-Received: (from billw@localhost) by g.wolfram.com (8.9.3/8.9.2) id OAA11173; Fri, 11 Feb 2000 14:55:14 -0600 X-Authentication-Warning: g.wolfram.com: billw set sender to billw@wolfram.com using -f Original-To: John Wiegley X-Liturgical-Date: Optional Memorial -- Our Lady of Lourdes, A.D. 2000 Original-Lines: 52 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:29199 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:29199 Hi John - Just a note to let you know of a potential problem (and solution) when fix-transpose-characters mixes with packages that parse email headers. I found a problem sending mail to local folks with gnus when using your fix-transpose-characters and Trey Jackson's sig-quote mode. When my To: line looks like this To: Ryan Tokarek it's changed to this just before it's mailed: To: Ryan Tokarek k Trey's package parses the headers using functions in sendmail.el, including, in this case, 'mail-to', which executes (expand-abbrev): ,---- | (defun mail-to () | "Move point to end of To-field." | (interactive) | (expand-abbrev) | (mail-position-on-field "To")) `---- Since I'm using fix-transpose-characters by hooking into abbrev: ,---- | (add-hook 'pre-abbrev-expand-hook 'fix-transposed-characters) `---- that makes mail-to run fix-transpose-characters with point at the end of the To: line. That winds up changing to k. I'm getting around the problem with this advice in my .gnus: (defadvice message-send-and-exit (around transpose-toggle activate compile) "Turn off John Wiegley's fix-transposed-characters when sending mail." (remove-hook 'pre-abbrev-expand-hook 'fix-transposed-characters) ad-do-it (add-hook 'pre-abbrev-expand-hook 'fix-transposed-characters)) In other news, eshell is a heck of a lot of fun. Thanks! Take care - bw -- Bill White . billw@wolfram.com . http://members.wri.com/billw "No ma'am, we're musicians."