Xref: utzoo gnu.emacs.help:1726 comp.emacs:10533 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!tut.cis.ohio-state.edu!unreplyable!garbage From: carlton@HUSC10.HARVARD.EDU (david carlton) Newsgroups: gnu.emacs.help,comp.emacs Subject: fill-paragraph and programming languages with comments Message-ID: <9104132008.AA16883@husc10.harvard.edu> Date: 13 Apr 91 20:08:26 GMT Sender: daemon@tut.cis.ohio-state.edu Followup-To: gnu.emacs.help Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu Lines: 27 Has anybody hacked fill-paragraph to work well in the presence of comments? For example, if I am editing some Scheme code and hit M-q in the middle of the comment ; aoeu oaeu euoa oaeusnaoenhtsueoa uaeon htuaeo nuaeon ueosnoensenuotsah aoeu ; aosneutheou I want to see ; aoeu oaeu euoa oaeusnaoenhtsueoa uaeon htuaeo nuaeon ; ueosnoensenuotsah aoeu aosneutheou instead of ; aoeu oaeu euoa oaeusnaoenhtsueoa uaeon htuaeo nuaeon ueosnoensenuotsah aoeu ; aosneutheou which is what i currently get. david carlton carlton@husc9.harvard.edu Very little immediate tradition lies behind _Le Sacre du printemps_, however, and no theory. I had only my ear to help me; I heard and I wrote what I heard. I am the vessel through which _Le Sacre_ passed. - Igor Stravinsky