From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: meta-{next, previous}-error Date: Thu, 13 Apr 2006 14:53:39 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <4nlku94898.fsf@asimov.bwh.harvard.edu> References: <4n1ww4ug1p.fsf@asimov.bwh.harvard.edu> <87slok54ds.fsf-monnier+emacs@gnu.org> <4nwtdvub98.fsf@asimov.bwh.harvard.edu> <8764lf6f1w.fsf-monnier+emacs@gnu.org> <4nodz6rgj8.fsf_-_@asimov.bwh.harvard.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1144954532 14381 80.91.229.2 (13 Apr 2006 18:55:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 Apr 2006 18:55:32 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 13 20:55:30 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FU6yP-0004K8-RP for ged-emacs-devel@m.gmane.org; Thu, 13 Apr 2006 20:55:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FU6yP-0002uq-5Y for ged-emacs-devel@m.gmane.org; Thu, 13 Apr 2006 14:55:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FU6yD-0002uk-Nk for emacs-devel@gnu.org; Thu, 13 Apr 2006 14:55:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FU6yB-0002uE-Qj for emacs-devel@gnu.org; Thu, 13 Apr 2006 14:55:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FU6yB-0002uB-N9 for emacs-devel@gnu.org; Thu, 13 Apr 2006 14:55:07 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FU73Y-0004OE-KG for emacs-devel@gnu.org; Thu, 13 Apr 2006 15:00:41 -0400 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1FU6y6-0004GO-Lf for emacs-devel@gnu.org; Thu, 13 Apr 2006 20:55:02 +0200 Original-Received: from asimov.bwh.harvard.edu ([134.174.54.119]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Apr 2006 20:55:02 +0200 Original-Received: from tzz by asimov.bwh.harvard.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Apr 2006 20:55:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 28 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: asimov.bwh.harvard.edu X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110005 (No Gnus v0.5) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:6ARw4mRhhRa2V2rWeh9Pav+Te18= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:52843 Archived-At: On 12 Apr 2006, larsi@quimbies.gnus.org wrote: > Ted Zlatanov writes: > >> Level Command Implemented? >> >> -M meta-previous-error N (e.g. diff-file-prev) >> -1 previous-error Y >> +1 next-error Y >> +M meta-next-error N (e.g. diff-file-next) >> >> (remember that *-error map to *-locus and *-match, so it's not only >> about errors) > > It makes sense to me. > > Now, `next-error' and `previous-error' are bound to `M-g n' and `M-g > p', as well as `M-g M-n' and `M-g M-p', so how about `M-g M-f' and > `M-g M-b' for the "higher level" commands? (Forwards, backward.) > `M-g M-f' is quote easy to type... Sure. Any other comments before I produce a patch for simple.el? It will work like next-error: if the function is bound in the buffer it will get called, so the mode just needs to bind the symbol to the appropiate function. I'll do the diff-mode example Stefan showed. Thanks Ted