all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Richard M. Stallman" <rms@gnu.org>
Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: grep.el regexp
Date: Mon, 11 Jul 2005 12:53:44 -0400	[thread overview]
Message-ID: <E1Ds1XM-0008KR-Cr@fencepost.gnu.org> (raw)
In-Reply-To: <87vf3iawo6.fsf@jurta.org> (message from Juri Linkov on Mon, 11 Jul 2005 03:04:41 +0300)

    With `-b' option GNU grep can output the byte offset of the beginning
    of the matching line counting from the beginning of the file, e.g.:

    emacs-2:1205:50533:inserts `xyzxyzxyzxyz' in the current buffer.

    This format resembles the output of column numbers, but it is not.
    It misleads grep.el into interpreting it as a column number.

    AFAIK, currently GNU grep doesn't support column number output.

It would be rather difficult to handle this byte-count
in Emacs, given the complexities of character set decoding.
So I think we should forget about that.

Meanwhile, if GNU grep doesn't support the column number output,
chances are no other does, and there's no reason for grep.el to
handle that output.  I would guess that it got copied into grep.el
from compile.el and that it was implemented for the sake of some
GCC front ends that do or might someday output this.

So in making this change in grep.el, those formats can be ignored.

  reply	other threads:[~2005-07-11 16:53 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1Djqpn-0003ih-62@fencepost.gnu.org>
     [not found] ` <87psuipj8b.fsf@jurta.org>
2005-06-20  3:50   ` grep.el regexp Richard Stallman
2005-06-22 16:27     ` Juri Linkov
2005-06-23 16:53       ` Richard M. Stallman
2005-06-27 23:57         ` Juri Linkov
2005-06-28  6:19           ` Stefan Monnier
2005-06-28 21:29             ` Richard M. Stallman
2005-06-29  3:52               ` Stefan Monnier
2005-06-29 20:43                 ` Richard M. Stallman
2005-06-30 17:34                   ` Stefan Monnier
2005-07-01  4:03                     ` Richard M. Stallman
2005-07-09  4:21                     ` Richard M. Stallman
2005-07-09 20:56                       ` Juri Linkov
2005-07-10 17:35                         ` Richard M. Stallman
2005-07-11  0:04                           ` Juri Linkov
2005-07-11 16:53                             ` Richard M. Stallman [this message]
2005-07-19 15:55                               ` Juri Linkov
2005-07-22  4:56                                 ` Richard M. Stallman
2005-07-22 18:09                                   ` Juri Linkov
2005-07-23 14:02                                     ` Richard M. Stallman
2005-07-19 15:59                               ` Juri Linkov
2005-07-24  0:01                                 ` Richard M. Stallman
2005-08-04  2:14                                   ` Juri Linkov
2005-08-04 20:45                                     ` Richard M. Stallman
2005-08-05  0:05                                       ` Juri Linkov
2005-08-05 20:37                                         ` Richard M. Stallman
2005-07-12  6:55                           ` Juri Linkov
2005-07-13  5:17                             ` Richard M. Stallman
2005-06-28 18:47           ` Richard M. Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1Ds1XM-0008KR-Cr@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.