From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: next-error always goes to beginning of line Date: 02 Jun 2002 05:55:40 +0800 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: Reply-To: kindly_remove_this_part_first_jidanni@ms46.hinet.net NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1022992238 28927 127.0.0.1 (2 Jun 2002 04:30:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 2 Jun 2002 04:30:38 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17EN0n-0007WR-00 for ; Sun, 02 Jun 2002 06:30:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17EN0N-0004A9-00; Sun, 02 Jun 2002 00:30:11 -0400 Original-Received: from chx400.switch.ch ([130.59.10.2]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17EMxr-0003wj-00 for ; Sun, 02 Jun 2002 00:27:36 -0400 Original-Received: from mail.fu-berlin.de ([160.45.11.165]) by chx400.switch.ch with esmtp (Exim 3.20 #1) id 17EMxq-0000wV-00 for gnu-emacs-bug@moderators.isc.org; Sun, 02 Jun 2002 06:27:34 +0200 Original-Received: by mail.fu-berlin.de (Smail3.2.0.98) from Curry.ZEDAT.FU-Berlin.DE (160.45.10.36) with esmtp id ; Sun, 2 Jun 2002 06:27:28 +0200 (MEST) Original-Received: by Curry.ZEDAT.FU-Berlin.DE (Smail3.2.0.98) from news.fu-berlin.de with bsmtp id ; Sun, 2 Jun 2002 06:27:28 +0200 (MEST) Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: 61-227-44-204.hinet-ip.hinet.NET!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 24 X-Orig-NNTP-Posting-Host: 61-227-44-204.hinet-ip.hinet.net (61.227.44.204) X-Orig-X-Trace: fu-berlin.de 1022992048 33532487 61.227.44.204 (16 [99749]) X-Orig-Path: localhost.localdomain!nobody User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:1744 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:1744 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