From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Assignment of misc packages for emacs Date: 17 May 2002 12:47:27 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <5xhel79hkw.fsf@kfs2.cua.dk> References: <200205050534.g455YfF01634@aztec.santafe.edu> <5xbsbumexh.fsf@kfs2.cua.dk> <200205141941.g4EJfud15293@aztec.santafe.edu> <5xvg9qmgzt.fsf@kfs2.cua.dk> <200205151927.g4FJRRW26103@rum.cs.yale.edu> <5x3cwr4q7m.fsf@kfs2.cua.dk> <200205162249.g4GMnLH03933@rum.cs.yale.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1021628886 21093 127.0.0.1 (17 May 2002 09:48:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 17 May 2002 09:48:06 +0000 (UTC) Cc: rms@gnu.org, assign@gnu.org, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 178eLF-0005U6-00 for ; Fri, 17 May 2002 11:48:05 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 178eXg-0005eJ-00 for ; Fri, 17 May 2002 12:00:56 +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 178eLM-0005cD-00; Fri, 17 May 2002 05:48:12 -0400 Original-Received: from mail.filanet.dk ([195.215.206.179]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 178eJy-0005ZU-00; Fri, 17 May 2002 05:46:46 -0400 Original-Received: from kfs2.cua.dk.cua.dk (kfs2.local.filanet.dk [192.168.1.182]) by mail.filanet.dk (Postfix) with SMTP id 720307C016; Fri, 17 May 2002 09:46:42 +0000 (GMT) Original-To: "Stefan Monnier" In-Reply-To: <200205162249.g4GMnLH03933@rum.cs.yale.edu> Original-Lines: 73 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:4048 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4048 "Stefan Monnier" writes: > > I've never liked M-x grep for the very reason that I have to edit the command. > > I like it precisely because I can write any command I want ;-) Sure -- that's fine when you need it. But most of the time, I dislike the interface... I think the consensus is that it would be ok to provide an alternative user interface (to grep-find) which prompts in a more "user friendly" way. > > One additional trick is that M-x match prompts you for the directory > > using ido-read-directory, meaning that it is very easy to navigate to > > a completely different base directory. > > Hopefully we can merge some of that functionality into eshell's > command completion and use eshell's completion for M-x grep (and > M-! and M-| and M-x compile and ...). > > > Right. I'll look at the new grep code (I wasn't aware that grep had been > > rewritten) as well as my own code again to see whether I can enhance the > > standard code rather than add a separate package. > > It hasn't been rewritten at all. I've just slightly improved the default > command offered when you hit C-u M-x grep. A couple one-liners at most. > > > BTW, M-x match uses jit-lock to fontify the matches in the *Match* > > buffer. > > It would be great to use jit-lock for *compilation* buffers as well, > but a lot more work than for the specific case you're dealing with :-( > > > And when you visit a match, it is temporarily highlighted in > > the target buffer (using an overlay). > > That might be a good feature as well. I have a similar feature for > sml-mode where the compiler's output includes a start and end point > for errors (the type-inference algorithm used by the language means > that some type errors are difficult for the compiler to locate). > But it's an ugly hack. We should make such support more widespread > for all compilation buffers. That would be great. If C-x ` could just (temporarily) highlight the error line, it would be fine for most modes -- if other modes (like grep) wants to refine this, it should be made simple. It could be based on a "compile-highlight-target-regexp" which would be something like "^.*$" by default. And if it is set to a symbol, that could a function to call to do the highlighting (or nil to turn it off). > > > I wasn't aware of the HierarKey feature (it's a very well hidden "fact"). > > It compares almost 1:1 ... except I don't like HierarKey menus > > to show the full key bindings, e.g. > > > > Set face: default (M-g d), bold (M-g b), italic (M-g i), l = bold-italic (M-g l), undeline (M-g u), Other ... (M-g o) > > I tend to agre. Maybe we should just change it. Or move the M-g prefix > to the beginning of the line (so it appears only once). I don't see the need to show the prefix at all (I just typed it to get the menu). I'll make the change and see what people think [can always be reverted]. -- Kim F. Storm http://www.cua.dk