all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thien-Thi Nguyen <ttn@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Find first line FOLLOWING a sequence of matches
Date: Fri, 01 May 2015 18:35:59 +0200	[thread overview]
Message-ID: <87h9rw1ci8.fsf@zigzag.favinet> (raw)
In-Reply-To: <ee80c550ea6d4a708b96375372b855c8@fcmailsvr3.familycareinc.org> (Subhan Michael Tindall's message of "Thu, 30 Apr 2015 21:55:59 +0000")

[-- Attachment #1: Type: text/plain, Size: 1265 bytes --]

() Subhan Michael Tindall <SubhanT@familycareinc.org>
() Thu, 30 Apr 2015 21:55:59 +0000

   I need to futz with it some more, hopefully tomorrow.
   But, one issue that I'm having is that using C-w to yank word at point doesn't cross punctuation, so I can't use c-w to grab the word at point into the search buffer (which would be quick & easy.
   IE zipc^odes_hold
               Pt here
           C-w pulls zipcodes, not zipcodes_hold

   If there's a way I can define words to only be bounded by
   whitespace I should be able to whip up a keyboard macro for
   the rest I believe.

You can approach it from the other side.  In that buffer, try:

 M-: (modify-syntax-entry ?_ "w") RET

This changes the syntax entry for the underscore character to
"word constituent".  To examine syntax (and other) info on any
character, move point to it and type ‘C-u C-x =’.  That might be
a good idea if you want to change things back, later.  :-D

-- 
Thien-Thi Nguyen -----------------------------------------------
  (if you're human and you know it) read my lisp:
    (defun responsep (type via)
      (case type
        (technical (eq 'mailing-list via))
        ...))
---------------------------------------------- GPG key: 4C807502

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2015-05-01 16:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-28 16:53 Find first line FOLLOWING a sequence of matches Subhan Michael Tindall
2015-04-29  4:37 ` Bob Proulx
2015-04-29 19:03   ` Robert Thorpe
2015-04-30  6:37     ` Bob Proulx
2015-04-30 16:19       ` Subhan Michael Tindall
2015-04-30 20:39         ` Bob Proulx
2015-04-30 18:41       ` Robert Thorpe
2015-04-30 21:17         ` Bob Proulx
2015-04-30 21:21   ` Bob Proulx
2015-04-30 21:55     ` Subhan Michael Tindall
2015-05-01 16:35       ` Thien-Thi Nguyen [this message]
2015-05-01 19:30       ` Bob Proulx
2015-05-01 14:57 ` tomas
     [not found] <mailman.1821.1430240067.904.help-gnu-emacs@gnu.org>
2015-04-29  3:01 ` Rusi
2015-04-29  5:37   ` Rusi

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=87h9rw1ci8.fsf@zigzag.favinet \
    --to=ttn@gnu.org \
    --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.