all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@gnu.org>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: schwab@linux-m68k.org,
	Ulrich Neumerkel <ulrich@complang.tuwien.ac.at>,
	4359@debbugs.gnu.org
Subject: bug#4359: 23.1.50; ^G in M-x grep mode with git grep
Date: Fri, 01 Jul 2011 12:48:53 -0400	[thread overview]
Message-ID: <yxq62nm9cay.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <m3fwmqjolh.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Fri, 01 Jul 2011 12:13:14 +0200")

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Jan Djärv <jan.h.d@swipnet.se> writes:
>
>> grep --color=always
>
> Hm.  But I guess people don't want to have that explicitly on the
> command line they're editing when doing `M-x grep'?
>
> The original problem was that the user had used a command that has
> "less" as part of its pipeline, if running under a PTY.  Many other
> commands react to the PTY in different ways (some that we want, like the
> GREP_COLOR thing), and some that we don't want (like running less).
>
> I'm not sure there's a fix here that will satisfy all use cases.

Does setting
GREP_OPTIONS to --color=always
work?





  reply	other threads:[~2011-07-01 16:48 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-06 16:09 bug#4359: 23.1.50; ^G in M-x grep mode with git grep Ulrich Neumerkel
2009-09-06 16:57 ` Andreas Schwab
2009-09-06 17:05   ` Ulrich Neumerkel
2009-09-06 17:15     ` Andreas Schwab
2011-06-30 23:44       ` Lars Magne Ingebrigtsen
2011-06-30 23:50         ` Ulrich Neumerkel
2011-07-01  0:01           ` Lars Magne Ingebrigtsen
2011-07-01  1:11             ` Juri Linkov
2011-07-01  6:58             ` Jan Djärv
2011-07-01 10:13               ` Lars Magne Ingebrigtsen
2011-07-01 16:48                 ` Dan Nicolaescu [this message]
2011-07-02 12:35                   ` Lars Magne Ingebrigtsen
2022-05-05 12:42                     ` bug#4359: bug#15775: 24.3.50; "WARNING: terminal is not fully functional" in Comint and Eshell Lars Ingebrigtsen
2022-06-02 13:07                       ` Lars Ingebrigtsen
2022-06-04 17:37                         ` Dmitry Gutov
2022-06-05 14:15                           ` bug#4359: " Lars Ingebrigtsen
2009-09-06 17:37     ` bug#4359: 23.1.50; ^G in M-x grep mode with git grep Sven Joachim

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=yxq62nm9cay.fsf@fencepost.gnu.org \
    --to=dann@gnu.org \
    --cc=4359@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=schwab@linux-m68k.org \
    --cc=ulrich@complang.tuwien.ac.at \
    /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.