emacs-devel
[Top][All Lists]
Advanced

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

Re: Changes to emacs/lisp/progmodes/grep.el


From: Daniel Pfeiffer
Subject: Re: Changes to emacs/lisp/progmodes/grep.el
Date: Sun, 27 Jun 2004 12:43:42 +0200

Saluton,

Juri Linkov <address@hidden> skribis:

> But I think we should also try to exploit the
> ability of GNU grep to mark matches by escape sequences.  This means
> that `grep-regexp-alist' could have two entries: one for a regexp with
> explicit column numbers, and one for matching escape sequences from
> GNU grep.

By all means -- I'm all for your patch once we agree on how to do it.

> > This part is bad, because you are removing the basis for the column
> > determination.  So if you save the *grep* buffer, you won't get the same
> > result when reloading it.  Likewise if you modify the line.  Instead you
> > should put an 'invisble and maybe 'intangible property on the escape
> > sequence.
> 
> Invisible text often produces unexpected effects, e.g. a search fails
> on invisible escape sequences, copying the text reveals the hidden parts
> and copies them too...

If there is something wrong with invisible text, then it's a general Emacs
problem with this feature.  So that should be adressed, instead of not using
the feature.  Are there maybe other additional properties (like skip-search)
or options that would improve the things you don't like?

coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn
Daniel Pfeiffer

-- 
lerne / learn / apprends / lär dig / ucz się    Esperanto:
                              http://lernu.net/




reply via email to

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