unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* next-error always goes to beginning of line
@ 2002-06-01 21:55 Dan Jacobson
  0 siblings, 0 replies; only message in thread
From: Dan Jacobson @ 2002-06-01 21:55 UTC (permalink / raw)


Gentlemen, your next-error command is inconsiderate of where one wants
the cursor on the line, always returning one to the beginning of the
next line with an error on it.

What if my job is to put an apple at the end of each line with a
marshmallow on it?

The best I could do would be (grep "grep -n -e marshmallow somefile")
Then it's "get out the C-e finger", it's exercise time.

As a remedy, you might notice, just like with next-line, where my
cursor was.  Or you might add an option to M-x grep about where to
place the cursor or something...

ProtoEli> use query-replace-regexp.  Problem solved.  Next.

On some lines I might need potatoes or a salad.

ProtoEli> use recursive edit.  Next.

Well, let's say I still must use next-error for reasons of National
Defense that I must not disclose.
-- 
http://jidanni.org/ Taiwan(04)25854780

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-06-01 21:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-01 21:55 next-error always goes to beginning of line Dan Jacobson

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).