all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: global-replace to include linked files?
Date: Sun, 25 May 2014 22:26:36 +0200	[thread overview]
Message-ID: <8761ktsiyr.fsf@debian.uxu> (raw)
In-Reply-To: mailman.2051.1400995439.1147.help-gnu-emacs@gnu.org

Dale Snell <ddsnell@frontier.com> 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


  parent reply	other threads:[~2014-05-25 20:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2025.1400961387.1147.help-gnu-emacs@gnu.org>
2014-05-24 20:47 ` global-replace to include linked files? Emanuel Berg
2014-05-25  5:23   ` Dale Snell
2014-05-25 19:28     ` Robert Thorpe
     [not found]   ` <mailman.2051.1400995439.1147.help-gnu-emacs@gnu.org>
2014-05-25 20:26     ` Emanuel Berg [this message]
2014-05-25  5:30 Tak Kunihiro
  -- strict thread matches above, loose matches on Subject: below --
2014-05-24 19:56 Sharon Kimble
2014-05-24 23:23 ` lee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8761ktsiyr.fsf@debian.uxu \
    --to=embe8573@student.uu.se \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.