help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Find first line FOLLOWING a sequence of matches


From: Subhan Michael Tindall
Subject: RE: Find first line FOLLOWING a sequence of matches
Date: 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.
Subhan


> -----Original Message-----
> From: help-gnu-emacs-bounces+subhant=familycareinc.org@gnu.org
> [mailto:help-gnu-emacs-bounces+subhant=familycareinc.org@gnu.org] On 
> Behalf Of Bob Proulx
> Sent: Thursday, April 30, 2015 2:21 PM
> To: help-gnu-emacs@gnu.org
> Subject: Re: Find first line FOLLOWING a sequence of matches
> 
> Bob Proulx wrote:
> > Jump to the bottom of the file.  Search upward with one of the 
> > search backward commands.  Perhaps search-backward-regexp?  That 
> > will locate the last item.  Then move to the beginning of line.  Then next 
> > line.
> > That should do what you need.
> 
> To put this thread back on track let me ask if this works for you or 
> not?  Does that technique of search upward from the bottom do the 
> trick?  Or is there something else?
> 
> Bob


This message is intended for the sole use of the individual and entity to which 
it is addressed and may contain information that is privileged, confidential 
and exempt from disclosure under applicable law. If you are not the intended 
addressee, nor authorized to receive for the intended addressee, you are hereby 
notified that you may not use, copy, disclose or distribute to anyone the 
message or any information contained in the message. If you have received this 
message in error, please immediately advise the sender by reply email and 
delete the message.  Thank you.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]