From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: global-replace to include linked files? Date: Sun, 25 May 2014 22:26:36 +0200 Organization: Aioe.org NNTP Server Message-ID: <8761ktsiyr.fsf@debian.uxu> References: <87mwe69a5q.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1401049829 18399 80.91.229.3 (25 May 2014 20:30:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 May 2014 20:30:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 25 22:30:25 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wof3o-0000RK-7P for geh-help-gnu-emacs@m.gmane.org; Sun, 25 May 2014 22:30:24 +0200 Original-Received: from localhost ([::1]:53260 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wof3n-0005JD-Pi for geh-help-gnu-emacs@m.gmane.org; Sun, 25 May 2014 16:30:23 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!news.stack.nl!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 46 Original-NNTP-Posting-Host: u+UUXbnu1hlDFr5pMibebQ.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:FZwPOLFJmfs7gMYDQkfMO0FTV2Q= Mail-Copies-To: never Original-Xref: usenet.stanford.edu gnu.emacs.help:205589 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:97859 Archived-At: Dale Snell writes: > So, Emanuel, is that what Sharon's post looked like > to you? (Excepting the "> > " sequences, of course.) > I suspect what is happening is that your Gnus is set > to word wrap at about 52 columns. Since Sharon's > "cut here" lines are 65 characters long, and have > only one space to boot, the wrapping gets very > confused, and leaves you with an ugly mess. Assuming > (HAH!) that the wrap size is the problem, rather than > something else, simply set the wrap column to 66 or > better. Yeah, but this is actually a spot-on illustration to what I said earlier in the RTF vs. plain text discussion - if you use plain text, and markup only when it is necessary, then you don't have to fill to any specific column or do anything except what you (and YOU) want with the text. That's the beauty of it! But while some extra effort is needed, I'm down but certainly not out. (article-translate-strings '( ;; other stuff ("--8<---------------cut etc." "") ) This will remove those lines altogether. Now it is just a matter of finding the right hook never to hook with a hooker with. Actually, perhaps filling should not be done this crude, but instead a small program could determine if a paragraph is code or not - difficult but certainly not impossible... (There should be such routines around.) Then the paragraphs determined code shouldn't be filled. Be sure to catch the next episode of Operation Emacs - solving problems you never been thought of thinking of having! -- underground experts united: http://user.it.uu.se/~embe8573