all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Hitt <dan.hitt@gmail.com>
To: Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: How can i search for lines which wrap?
Date: Thu, 8 Jul 2021 21:39:08 -0700	[thread overview]
Message-ID: <CAOphizL+AeqJN+TorS9CG5yQ8b3zG_hX0W1O1Px5qtGOXjTSiA@mail.gmail.com> (raw)

I was recently editing a document to try to make all the lines be no longer
than 79 characters.

There were a few ways that could occur: one would be a line of 80 dashes,
one would be a line of 80 underscores, and there were a few variants that i
could systematically locate (by searching for the offending pattern
followed by a control-J), and then fix.  Searching for control-J by itself
wouldn't do because i only wanted to get to the end of lines that are too
long.

So what i was missing was an easy way to search to the end of the next line
with 80 or more characters.

Basically, i would like to search for the continuation character which
signifies that the next visible line is not really a new line.  In the
emacs gui, this is depicted as a curved arrow in the margin.  In text emas,
this is signified by a backslash (that you cannot search for as a
backslash).

Since emacs can do everything else, i imagine there must be some way to
search for this, but i cannot recall ever having done so.

Thanks for any clues on how to do this.

dan


             reply	other threads:[~2021-07-09  4:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-09  4:39 Dan Hitt [this message]
2021-07-09  5:12 ` How can i search for lines which wrap? 2QdxY4RzWzUUiLuE
2021-07-09  6:36   ` Eli Zaretskii
2021-07-09  6:35 ` Eli Zaretskii
2021-07-10  1:20 ` [External] : " Drew Adams
2021-07-12 17:16   ` Drew Adams

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=CAOphizL+AeqJN+TorS9CG5yQ8b3zG_hX0W1O1Px5qtGOXjTSiA@mail.gmail.com \
    --to=dan.hitt@gmail.com \
    --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.