all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: root <root@codemist.co.uk>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: 6535@debbugs.gnu.org, john ffitch <jpff@codemist.co.uk>
Subject: bug#6535: 24.0.50; grep seems not to work
Date: Tue, 29 Jun 2010 12:03:11 +0100 (BST)	[thread overview]
Message-ID: <Pine.LNX.4.64.1006291200500.13717@snout.codemist.co.uk> (raw)
In-Reply-To: <4C29CDEF.6050903@swipnet.se>

The real problem is that in lisp/grep.el there is
(defun grep-process-setup ()
...
     ;; Any TERM except "dumb" allows GNU grep to use `--color=auto'
     (setenv "TERM" "emacs-grep")
     (setenv "GREP_OPTIONS"
             (concat (getenv "GREP_OPTIONS")
                     " --color=" (if (eq grep-highlight-matches 'always)
                                     "always" "auto")))
...

but there is no terminal type emacs-grep so the process call fails to 
start before it gets to call /bin/grep or set TERM=vt100

So, what is this emacs-grep terminal type and how did it change from when 
it worked.

==John ff







  reply	other threads:[~2010-06-29 11:03 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-28 16:59 bug#6535: 24.0.50; grep seems not to work john ffitch
2010-06-29  8:31 ` Štěpán Němec
2010-06-29  9:43   ` Jan Djärv
2010-06-29 11:14     ` Štěpán Němec
2010-06-29 15:52       ` Jan Djärv
2010-06-29 18:27         `  Štěpán Němec 
2010-06-30 11:47           ` Jan Djärv
2010-06-29  9:38 ` Jan Djärv
2010-06-29 10:10   ` john ffitch
2010-06-29 10:41     ` Jan Djärv
2010-06-29 11:03       ` root [this message]
2010-06-29 12:24         ` Jan Djärv
2010-06-29 16:57           ` Juri Linkov
2010-06-29 18:09             ` Jan Djärv
2010-06-29 19:19             ` john ffitch
2010-06-30  8:16               ` Juri Linkov
2010-06-30  9:32                 ` Jan Djärv
2010-06-29 12:09     ` Jan Djärv
2011-09-21 21:07       ` Lars Magne Ingebrigtsen
2011-09-22  8:52         ` john ffitch
2011-09-23  8:34           ` Lars Magne Ingebrigtsen

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=Pine.LNX.4.64.1006291200500.13717@snout.codemist.co.uk \
    --to=root@codemist.co.uk \
    --cc=6535@debbugs.gnu.org \
    --cc=jan.h.d@swipnet.se \
    --cc=jpff@codemist.co.uk \
    /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.