* "rmail-dont-reply-to-names" doesn't work @ 2003-04-21 17:32 kalb [not found] ` <87of2zzp3q.fsf@virgil.koldfront.dk> 0 siblings, 1 reply; 3+ messages in thread From: kalb @ 2003-04-21 17:32 UTC (permalink / raw) Hello all! A query: I reset the captioned item through the emacs customization routine, so that the following line now appears in the "custom-set-variables" section of my .emacs file: '(rmail-dont-reply-to-names "kalb@aya.yale.edu|[J,j].*\\.[K,k]alb.*artmouth\\.") I tested the regular expression with grep and it does pick up the various forms of the email addresses I use, but nonetheless all of them continue to appear in the cc: line when I do a wide reply with gnus. Any suggestions? -- Jim Kalb http://jkalb.freeshell.org ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <87of2zzp3q.fsf@virgil.koldfront.dk>]
* Re: "rmail-dont-reply-to-names" doesn't work [not found] ` <87of2zzp3q.fsf@virgil.koldfront.dk> @ 2003-04-21 19:17 ` kalb 2003-04-21 20:03 ` Jesper Harder 0 siblings, 1 reply; 3+ messages in thread From: kalb @ 2003-04-21 19:17 UTC (permalink / raw) "as" == Adam Sjøgren <spamtrap@koldfront.dk> writes: as> On Mon, 21 Apr 2003 17:32:06 GMT, kalb wrote: >> '(rmail-dont-reply-to-names >> "kalb@aya.yale.edu|[J,j].*\\.[K,k]alb.*artmouth\\.") >> I tested the regular expression with grep and it does pick up the >> various forms of the email addresses I use, but nonetheless all of >> them continue to appear in the cc: line when I do a wide reply with >> gnus. Any suggestions? as> Maybe it would help to frob message-dont-reply-to-names instead, as> for Gnus? Sounds sensible, but a google check had indicated "rmail-dont-reply-to-names" was also the appropriate function for gnus. In any event, when I looked the change had been made for "message-dont-reply-to-names" as well. Anyway, I checked over the expressions and redid the changes through the customization routine, entering kalb@aya\.yale\.edu|{J,j}\.*\.{K,k}alb\.*artmouth\.{O,o}rg for both. One odd point is that with my (linux) version of grep you have to use the [] brackets while the emacs customization routine complains about "junk" unless the {} brackets are used. Anyway, the output to the .emacs file is '(message-dont-reply-to-names "kalb@aya\\.yale\\.edu|{J\\,j}\\.*\\.{K\\,k}alb\\.*artmouth\\.{O\\,o}rg") '(rmail-dont-reply-to-names (quote kalb@aya\.yale\.edu|{J\,j}\.*\.{K\,k}alb\.*artmouth\.{O\,o}rg) t) Nonetheless, gnus still cc's kalb@aya.yale.edu and James.B.Kalb.69@Alum.Dartmouth.Org. -- Jim Kalb http://jkalb.freeshell.org ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: "rmail-dont-reply-to-names" doesn't work 2003-04-21 19:17 ` kalb @ 2003-04-21 20:03 ` Jesper Harder 0 siblings, 0 replies; 3+ messages in thread From: Jesper Harder @ 2003-04-21 20:03 UTC (permalink / raw) kalb@aya.yale.edu writes: > Anyway, I checked over the expressions and redid the changes through the > customization routine, entering > > kalb@aya\.yale\.edu|{J,j}\.*\.{K,k}alb\.*artmouth\.{O,o}rg > > for both. One odd point is that with my (linux) version of grep you have > to use the [] brackets while the emacs customization routine complains > about "junk" unless the {} brackets are used. Note that regular expressions in Emacs and grep don't use exactly the same syntax. I think you want a regexp that looks something like this: "\\(?:kalb@aya\\.yale\\.edu\\|\\(?:[jJ].*[kK]alb.*artmouth\\.[oO]rg\\)\\)" ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-04-21 20:03 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2003-04-21 17:32 "rmail-dont-reply-to-names" doesn't work kalb [not found] ` <87of2zzp3q.fsf@virgil.koldfront.dk> 2003-04-21 19:17 ` kalb 2003-04-21 20:03 ` Jesper Harder
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).