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

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

next-error always goes to beginning of line


From: Dan Jacobson
Subject: next-error always goes to beginning of line
Date: 02 Jun 2002 05:55:40 +0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

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



reply via email to

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