unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Suggestion: split grep functionality out of compile.el
@ 2002-12-01  0:09 Kim F. Storm
  2002-12-02 15:46 ` Richard Stallman
  0 siblings, 1 reply; 5+ messages in thread
From: Kim F. Storm @ 2002-12-01  0:09 UTC (permalink / raw)



I have been looking at the grep functionality and it is natural for it
to utilize the compile.el functionality, but I don't see why it has to
be so closely nit into the compilation facility that it shares the
same file and customization group `compilation'.

I would suggest splitting out the grep functionality into a new file
grep.el, and make a new customization group for it `grep'.

Does anyone object to me doing this?

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Suggestion: split grep functionality out of compile.el
  2002-12-01  0:09 Suggestion: split grep functionality out of compile.el Kim F. Storm
@ 2002-12-02 15:46 ` Richard Stallman
  2002-12-02 22:28   ` Kim F. Storm
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Stallman @ 2002-12-02 15:46 UTC (permalink / raw)
  Cc: emacs-devel

    I have been looking at the grep functionality and it is natural for it
    to utilize the compile.el functionality, but I don't see why it has to
    be so closely nit into the compilation facility that it shares the
    same file and customization group `compilation'.

    I would suggest splitting out the grep functionality into a new file
    grep.el, and make a new customization group for it `grep'.

How many lines would this file be?  As for the separate customization
group, that woud make sense, but many of the compile variables also
affect grep; is there a way to make it clear to the user who tries to
customize grep that he should also look at the `compilation' group?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Suggestion: split grep functionality out of compile.el
  2002-12-02 15:46 ` Richard Stallman
@ 2002-12-02 22:28   ` Kim F. Storm
  2002-12-04 11:07     ` Richard Stallman
  0 siblings, 1 reply; 5+ messages in thread
From: Kim F. Storm @ 2002-12-02 22:28 UTC (permalink / raw)
  Cc: emacs-devel

Richard Stallman <rms@gnu.org> writes:

>     I have been looking at the grep functionality and it is natural for it
>     to utilize the compile.el functionality, but I don't see why it has to
>     be so closely nit into the compilation facility that it shares the
>     same file and customization group `compilation'.
> 
>     I would suggest splitting out the grep functionality into a new file
>     grep.el, and make a new customization group for it `grep'.
> 
> How many lines would this file be?

grep.el will be 500 - 600 lines.

After the split, compile.el will be ~2000 lines.

>  As for the separate customization
> group, that woud make sense, but many of the compile variables also
> affect grep; is there a way to make it clear to the user who tries to
> customize grep that he should also look at the `compilation' group?

I'd suggest to make grep-specific instances of the most relevant of
these variables, as the desired behaviour may easily differ between
"real" compilations and grep.  E.g. I prefer compilation output
buffers to scroll, but I prefer that grep output doesn't.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Suggestion: split grep functionality out of compile.el
  2002-12-02 22:28   ` Kim F. Storm
@ 2002-12-04 11:07     ` Richard Stallman
  2003-12-09 12:50       ` Kim F. Storm
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Stallman @ 2002-12-04 11:07 UTC (permalink / raw)
  Cc: emacs-devel

    grep.el will be 500 - 600 lines.

    After the split, compile.el will be ~2000 lines.

Ok, please do it.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Suggestion: split grep functionality out of compile.el
  2002-12-04 11:07     ` Richard Stallman
@ 2003-12-09 12:50       ` Kim F. Storm
  0 siblings, 0 replies; 5+ messages in thread
From: Kim F. Storm @ 2003-12-09 12:50 UTC (permalink / raw)
  Cc: emacs-devel

Richard Stallman <rms@gnu.org> writes:

>     grep.el will be 500 - 600 lines.
> 
>     After the split, compile.el will be ~2000 lines.
> 
> Ok, please do it.

As you may have noticed, I finally did the split a few weeks ago.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-12-09 12:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-01  0:09 Suggestion: split grep functionality out of compile.el Kim F. Storm
2002-12-02 15:46 ` Richard Stallman
2002-12-02 22:28   ` Kim F. Storm
2002-12-04 11:07     ` Richard Stallman
2003-12-09 12:50       ` Kim F. Storm

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).