Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!shelby!apple!gem.mps.ohio-state.edu!uakari.primate.wisc.edu!xanth!lll-winken!arisia!sgi!shinobu!odin!odin.corp.sgi.com!portuesi From: portuesi@tweezers.esd.sgi.com (Michael Portuesi) Newsgroups: gnu.emacs.gnus Subject: Re: yank indentation Message-ID: Date: 5 Oct 89 12:44:07 GMT References: Sender: news@odin.SGI.COM Reply-To: portuesi@sgi.com (Michael Portuesi) Distribution: gnu Organization: Silicon Graphics, Inc., Mtn. View, CA Lines: 47 In-reply-to: etxkrjg@solsta.ericsson.se's message of 5 Oct 89 17:03:26 GMT In article etxkrjg@solsta.ericsson.se (Kristian Jorg) writes: The version of GNUS I have (3.12) does not yank messages into the replies I make, in a nice way. The yanked text gets indented by 3 spaces. But this is not what I want! I want this layout: > yanked text... > yanked text... And the most peculiar about this is that almost all articles I have read already has this feature. So, have I missed something in the documentation or must I dig into the lisp code? Kristian Jorg Ericsson Telecom AB, Sweden Yes, I thought (and still think) quoting articles using indentation is not as readable as prefix strings. I looked into the GNUS code to see about fixing the problem. GNUS simply uses the standard GNU code in rnewspost.el to handle posts to the net. rnewspost.el in turn calls (mail-yank-original), defined in sendmail.el. Modifying this function should solve the problem. I kind of vacillated on modifying (mail-yank-original) to insert a prefix string, until I realized that sendmail.el also defines (mail-fill-yanked-message), a function also used by rnewspost and GNUS. This function will automatically fill the paragraphs in a yanked message, an especially handy feature if the original poster was completely clueless about proper use of the Return key. I couldn't immediately see a good way of rewriting this function to handle prefix-string quoted messages properly, so I left everything alone. On second thought, I think even now (mail-fill-yanked-message) would probably do a good job of trashing prefix-string quoted messages from the net, so the problem already exists and changing things wouldn't make matters worse. Maybe I'll go ahead and rewrite it anyway. --M -- __ \/ Michael Portuesi Silicon Graphics Computer Systems, Inc. portuesi@SGI.COM "The best length for television programs is either 30 seconds or 8 hours." David Byrne