From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.help Subject: Re: Find first line FOLLOWING a sequence of matches Date: Fri, 01 May 2015 18:35:59 +0200 Message-ID: <87h9rw1ci8.fsf@zigzag.favinet> References: <20150428222841721866707@bob.proulx.com> <20150430151743082434507@bob.proulx.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1430504074 7013 80.91.229.3 (1 May 2015 18:14:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 May 2015 18:14:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 01 20:14:33 2015 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 1YoFSE-000333-Mr for geh-help-gnu-emacs@m.gmane.org; Fri, 01 May 2015 20:14:26 +0200 Original-Received: from localhost ([::1]:55101 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoFSD-0007KI-TC for geh-help-gnu-emacs@m.gmane.org; Fri, 01 May 2015 14:14:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoFRw-0007Et-1I for help-gnu-emacs@gnu.org; Fri, 01 May 2015 14:14:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YoFRp-0003xp-OU for help-gnu-emacs@gnu.org; Fri, 01 May 2015 14:14:07 -0400 Original-Received: from mail.agora-net.com ([67.59.132.6]:46156) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoFRp-0003x0-Lw for help-gnu-emacs@gnu.org; Fri, 01 May 2015 14:14:01 -0400 Original-Received: from ttn by mail.agora-net.com with local (Exim 4.71) (envelope-from ) id 1YoFRo-0007l9-Ck for help-gnu-emacs@gnu.org; Fri, 01 May 2015 14:14:00 -0400 Original-Received: from ttn by zigzag.favinet with local (Exim 4.80) (envelope-from ) id 1YoDv5-0001S6-RD for help-gnu-emacs@gnu.org; Fri, 01 May 2015 18:36:07 +0200 In-Reply-To: (Subhan Michael Tindall's message of "Thu, 30 Apr 2015 21:55:59 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: ttn@gnuvola.org X-SA-Exim-Scanned: No (on mail.agora-net.com); SAEximRunCond expanded to false X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 67.59.132.6 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:104142 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable () Subhan Michael Tindall () 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 d= oesn'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 =E2=80=98C-u C-x =3D=E2=80=99. That m= ight be a good idea if you want to change things back, later. :-D =2D-=20 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)) ...)) =2D--------------------------------------------- GPG key: 4C807502 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlVDq3IACgkQZwMiJEyAdQLYSgCfe72IXDthX2GHYGe4dcA/NMNC owYAoJaEJcqhkV/05iRbjJW0tFWqVSk7 =4Ysy -----END PGP SIGNATURE----- --=-=-=--