From debbugs-submit-bounces@debbugs.gnu.org Tue May 18 07:23:39 2010 Received: (at submit) by debbugs.gnu.org; 18 May 2010 11:23:39 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEKtf-0005zB-Av for submit@debbugs.gnu.org; Tue, 18 May 2010 07:23:39 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEKtc-0005z6-W2 for submit@debbugs.gnu.org; Tue, 18 May 2010 07:23:37 -0400 Received: from lists.gnu.org ([199.232.76.165]:36979) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OEKtX-0001LV-Jd for submit@debbugs.gnu.org; Tue, 18 May 2010 07:23:31 -0400 Received: from [140.186.70.92] (port=53550 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OEKtO-0005cr-IV for bug-gnu-emacs@gnu.org; Tue, 18 May 2010 07:23:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OEKtK-0005yO-4o for bug-gnu-emacs@gnu.org; Tue, 18 May 2010 07:23:21 -0400 Received: from mail-pv0-f169.google.com ([74.125.83.169]:52794) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEKtJ-0005xt-OU for bug-gnu-emacs@gnu.org; Tue, 18 May 2010 07:23:18 -0400 Received: by pvg12 with SMTP id 12so3705273pvg.0 for ; Tue, 18 May 2010 04:23:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:mime-version:content-type; bh=VLZpffwGTmFOoCnThzv3QtDQvd6v9+QNTMDr2zJ6Zws=; b=Tp0mPtcyGVQVAa4P7WhFzFg7zyhCSg960aBLeOE0fIEeskRtDiRW31SXjxmFF3dpvp umJXV2QGYobLelkmokVsysDbA0PyXfYm3T2W8csNqedotyXfvcAkuAgdcazUUQKTVOF/ Jn7X/FvPYh/FmB6JqeoXlPcO3zFfLJelvLC8Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:mime-version:content-type; b=BYw9nbUwVZ7I10QRMvXvmQ8COBjN6jwO+g/tpKfC/JBU/72aGaAQFJhUxTtZEorFoz NJBp1ZxrkJheLp7oMOvE2YSFuqWkNtskylq1vmrXCH676PSErEXUwt2dl+zibX+QttAi e/dsoa528SAI7BXg0TLktRa+REqyc1qytmkJg= Received: by 10.114.237.16 with SMTP id k16mr5742203wah.26.1274181795787; Tue, 18 May 2010 04:23:15 -0700 (PDT) Received: from localhost (nat064.cyber.com.au [203.7.155.64]) by mx.google.com with ESMTPS id n29sm57855018wae.16.2010.05.18.04.23.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 18 May 2010 04:23:15 -0700 (PDT) From: trentbuck@gmail.com (Trent W. Buck) To: bug-gnu-emacs@gnu.org Subject: 23.2; [M-x grep] match no longer coloured by default Date: Tue, 18 May 2010 21:23:10 +1000 Message-ID: <877hn1fo81.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) Today I upgraded Debian's Emacs package from 23.1+1-9 to 23.2+1-2. After doing so, I noticed that M-x grep RET did not font-lock the match area by default. It *does* do so if I manually --color as an argument. For example, -*- mode: grep; default-directory: "/usr/share/live-helper/helpers/" -*- Grep started at Tue May 18 21:11:13 grep -nHr . -e LH_INITRAMFS --color ./binary_manifest:45:case "${LH_INITRAMFS}" in [...] The LH_INITRAMFS on the fifth line has a blue background (the "match" face) iff I add --color. In 23.1 I didn't need to supply --color. Note that in my environment, I have GREP_OPTIONS=--color=auto Therefore, my initial guess is that Emacs is now calling grep differently, or grep's --color=auto heuristic has changed recently. I'm running GNU grep 2.6.3. In GNU Emacs 23.2.1 (x86_64-pc-linux-gnu) of 2010-05-16 on barber, modified by Debian configured using `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.2/leim' '--with-x=no' '--without-gconf' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_AU.utf8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: shell-dirtrack-mode: t rcirc-track-minor-mode: t xterm-mouse-mode: t ido-everywhere: t savehist-mode: t icomplete-mode: t partial-completion-mode: t show-paren-mode: t delete-selection-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: e l p RET C-x ESC O C C-x ESC O A C-s e m a c s ESC O B ESC [ 1 ~ ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B C-s - n ESC [ 1 ~ C-s - H ESC O B ESC [ 1 ~ ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B C-x ESC O B C-x ESC O D ESC x g r e p RET ESC O A ESC O A ESC b ESC b ESC b ESC [ 4 ~ SPC - - c o l o r RET C-x ESC O A O K , SPC t h a t ' s SPC w e i r d . RET I t SPC D T R T SPC i f SPC I SPC m a n u a l l y SPC p a s s SPC - - c o l o r RET C-x ESC O B C-x ESC O C ESC O B ESC O B ESC O B ESC O B ESC [ 4 ~ ESC b ESC b C-u C-x = C-x ESC O B ESC O D C-x C-g ESC x r e p o r t SPC e m a c s SPC b u g RET Recent messages: Grep finished (matches found) Mark saved where search started Char: t (116, #o164, #x74) point=203 of 4450 (5%) column=82 Char: o (111, #o157, #x6f) point=194 of 4450 (4%) column=73 Quit [2 times] Mark saved where search started [3 times] Grep finished (matches found) Type "q" to restore this window. Char: I (73, #o111, #x49) point=179 of 2152 (8%) column=32 When done with this frame, type C-x 5 0 Load-path shadows: /usr/share/emacs/site-lisp/haskell-mode/inf-haskell hides /usr/share/emacs/23.2/site-lisp/haskell-mode/inf-haskell /usr/share/emacs/site-lisp/haskell-mode/haskell-site-file hides /usr/share/emacs/23.2/site-lisp/haskell-mode/haskell-site-file /usr/share/emacs/site-lisp/haskell-mode/haskell-simple-indent hides /usr/share/emacs/23.2/site-lisp/haskell-mode/haskell-simple-indent /usr/share/emacs/site-lisp/haskell-mode/haskell-mode hides /usr/share/emacs/23.2/site-lisp/haskell-mode/haskell-mode /usr/share/emacs/site-lisp/haskell-mode/haskell-indentation hides /usr/share/emacs/23.2/site-lisp/haskell-mode/haskell-indentation /usr/share/emacs/site-lisp/haskell-mode/haskell-indent hides /usr/share/emacs/23.2/site-lisp/haskell-mode/haskell-indent /usr/share/emacs/site-lisp/haskell-mode/haskell-hugs hides /usr/share/emacs/23.2/site-lisp/haskell-mode/haskell-hugs /usr/share/emacs/site-lisp/haskell-mode/haskell-ghci hides /usr/share/emacs/23.2/site-lisp/haskell-mode/haskell-ghci /usr/share/emacs/site-lisp/haskell-mode/haskell-font-lock hides /usr/share/emacs/23.2/site-lisp/haskell-mode/haskell-font-lock /usr/share/emacs/site-lisp/haskell-mode/haskell-doc hides /usr/share/emacs/23.2/site-lisp/haskell-mode/haskell-doc /usr/share/emacs/site-lisp/haskell-mode/haskell-decl-scan hides /usr/share/emacs/23.2/site-lisp/haskell-mode/haskell-decl-scan /usr/share/emacs/site-lisp/haskell-mode/haskell-cabal hides /usr/share/emacs/23.2/site-lisp/haskell-mode/haskell-cabal /usr/share/emacs/site-lisp/haskell-mode/haskell-c hides /usr/share/emacs/23.2/site-lisp/haskell-mode/haskell-c /usr/share/emacs/23.2/site-lisp/puppet-el/puppet-mode hides /usr/share/emacs/site-lisp/puppet-mode /usr/share/emacs/23.2/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs23/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/23.2/lisp/textmodes/flyspell /usr/share/emacs23/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/23.2/lisp/textmodes/ispell Features: (shadow sort mail-extr emacsbug descr-text help-mode dired-aux vc-dispatcher vc-darcs cl cl-19 xml view sh-script executable grep compile tool-bar tramp-imap assoc tramp-gw tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp advice help-fns advice-preload shell comint tramp-compat trampver multi-isearch windmove w3m-form w3m-symbol url-util url-handlers url-parse url-vars ffap mule-util w3m-cookie w3m-bookmark w3m-session w3m doc-view dired image-mode w3m-hist w3m-fb w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util browse-url parse-time timezone nndraft nnmh auth-source gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art image mm-uu mml2015 epg-config mm-view smime dig nntp gnus-cache gnus-sum nnoo gnus-group gnus-undo nnmail mail-source format-spec gnus-start gnus-spec gnus-int gnus-range message sendmail regexp-opt ecomplete rfc822 mml easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev gmm-utils mailheader canlock sha1 hex-util hashcash gnus-win gnus gnus-ems nnheader gnus-util netrc mail-utils mm-util mail-prsvr wid-edit disp-table rcirc time-date ring server jka-compr edmacro kmacro xt-mouse ido savehist icomplete complete paren delsel saveplace debian-el debian-el-loaddefs w3m-load emacs-goodies-el emacs-goodies-custom emacs-goodies-loaddefs easy-mmode dpkg-dev-el dpkg-dev-el-loaddefs ediff-hook vc-hooks lisp-float-type lisp-mode register page menu-bar rfn-eshadow timer select mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Tue May 18 18:46:54 2010 Received: (at 6208) by debbugs.gnu.org; 18 May 2010 22:46:54 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEVYs-0004Y8-De for submit@debbugs.gnu.org; Tue, 18 May 2010 18:46:54 -0400 Received: from smtp-out1.starman.ee ([85.253.0.3] helo=mx1.starman.ee) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEVYo-0004Xs-Jh for 6208@debbugs.gnu.org; Tue, 18 May 2010 18:46:51 -0400 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Received: from mail.starman.ee (82.131.33.174.cable.starman.ee [82.131.33.174]) by mx1.starman.ee (Postfix) with ESMTP id AE5983F40C2; Wed, 19 May 2010 01:46:44 +0300 (EEST) From: Juri Linkov To: trentbuck@gmail.com (Trent W. Buck) Subject: Re: bug#6208: 23.2; [M-x grep] match no longer coloured by default Organization: JURTA References: <877hn1fo81.fsf@gmail.com> Date: Wed, 19 May 2010 01:44:16 +0300 In-Reply-To: <877hn1fo81.fsf@gmail.com> (Trent W. Buck's message of "Tue, 18 May 2010 21:23:10 +1000") Message-ID: <87d3ws25o7.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 6208 Cc: 6208@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) > grep -nHr . -e LH_INITRAMFS --color > ./binary_manifest:45:case "${LH_INITRAMFS}" in > [...] > > The LH_INITRAMFS on the fifth line has a blue background (the "match" > face) iff I add --color. In 23.1 I didn't need to supply --color. Please check the value of `grep-highlight-matches'. Is it nil? -- Juri Linkov http://www.jurta.org/emacs/ From debbugs-submit-bounces@debbugs.gnu.org Tue May 18 21:44:19 2010 Received: (at 6208) by debbugs.gnu.org; 19 May 2010 01:44:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEYKY-0005l6-P8 for submit@debbugs.gnu.org; Tue, 18 May 2010 21:44:19 -0400 Received: from mail-px0-f172.google.com ([209.85.212.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEYKW-0005l0-Ps for 6208@debbugs.gnu.org; Tue, 18 May 2010 21:44:17 -0400 Received: by pxi19 with SMTP id 19so3195872pxi.3 for <6208@debbugs.gnu.org>; Tue, 18 May 2010 18:44:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=uuVQ03xgxHqZMpMnQm/N8lXG8FHmjodPLXjMp4tUuMc=; b=tWupb83eeOYTkhVo9T7WnfAlXangPCQjJrDF7UyXEN/L+EKsSHo0U89dhFa636F8qt dIZvQqnfkF2t9qAqfBe1e8UmTggWWw2jE4rspsO3qJzz9FZ0VlsvOru5yN/fSopUVNCn qxjpxcO6phLPOh0j1IUji4XNW84Y6j+6p312o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=KZ9fihIWtMz8AHuV4PcUvedeiL3IJvOLajqI4FGdIQSF2aBKdZk1waq0XX7qh7Y8HU JRbfJuaImmr/jQ9TO2ckE6htm6jkf82jRNSFJaqczv+8SiMu7hKk0kJZZWruiaHtzlLQ SKAz40NczPeiOZ5oc2dmm8dUaHCFQooX1eI5g= Received: by 10.141.90.21 with SMTP id s21mr5832235rvl.118.1274233452456; Tue, 18 May 2010 18:44:12 -0700 (PDT) Received: from localhost (ppp118-209-61-96.lns20.mel4.internode.on.net [118.209.61.96]) by mx.google.com with ESMTPS id b10sm5688713rvn.15.2010.05.18.18.44.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 18 May 2010 18:44:11 -0700 (PDT) Date: Wed, 19 May 2010 11:44:06 +1000 From: "Trent W. Buck" To: Juri Linkov Subject: Re: bug#6208: 23.2; [M-x grep] match no longer coloured by default Message-ID: <20100519014403.GA29031@dali> References: <877hn1fo81.fsf@gmail.com> <87d3ws25o7.fsf@mail.jurta.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87d3ws25o7.fsf@mail.jurta.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 6208 Cc: 6208@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) Juri Linkov wrote: > > grep -nHr . -e LH_INITRAMFS --color > > ./binary_manifest:45:case "${LH_INITRAMFS}" in > > [...] > > > > The LH_INITRAMFS on the fifth line has a blue background (the "match" > > face) iff I add --color. In 23.1 I didn't need to supply --color. > > Please check the value of `grep-highlight-matches'. Is it nil? It is "auto". From debbugs-submit-bounces@debbugs.gnu.org Wed May 19 17:30:05 2010 Received: (at 6208) by debbugs.gnu.org; 19 May 2010 21:30:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEqq5-0006To-76 for submit@debbugs.gnu.org; Wed, 19 May 2010 17:30:05 -0400 Received: from smtp-out2.starman.ee ([85.253.0.4] helo=mx2.starman.ee) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEqq2-0006TA-IN for 6208@debbugs.gnu.org; Wed, 19 May 2010 17:30:03 -0400 X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Received: from mail.starman.ee (82.131.95.74.cable.starman.ee [82.131.95.74]) by mx2.starman.ee (Postfix) with ESMTP id 19D283F413E; Thu, 20 May 2010 00:29:54 +0300 (EEST) From: Juri Linkov To: "Trent W. Buck" Subject: Re: bug#6208: 23.2; [M-x grep] match no longer coloured by default Organization: JURTA References: <877hn1fo81.fsf@gmail.com> <87d3ws25o7.fsf@mail.jurta.org> <20100519014403.GA29031@dali> Date: Thu, 20 May 2010 00:17:45 +0300 In-Reply-To: <20100519014403.GA29031@dali> (Trent W. Buck's message of "Wed, 19 May 2010 11:44:06 +1000") Message-ID: <87vdajd1ke.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 6208 Cc: 6208@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) >> > grep -nHr . -e LH_INITRAMFS --color >> > ./binary_manifest:45:case "${LH_INITRAMFS}" in >> > [...] >> > >> > The LH_INITRAMFS on the fifth line has a blue background (the "match" >> > face) iff I add --color. In 23.1 I didn't need to supply --color. >> >> Please check the value of `grep-highlight-matches'. Is it nil? > > It is "auto". That's the correct value. Could you please now run `set' as a grep command, i.e.: M-x grep RET C-a C-k set RET and send all lines that match "grep" (e.g. by using `M-x occur RET grep' on the output buffer). For instance, I have the following grep-related environment variables in the output buffer: GREP_COLOR='01;31' GREP_COLORS='mt=01;31:fn=:ln=:bn=:se=:ml=:cx=:ne' GREP_OPTIONS='--color=auto --color=auto' TERM=emacs-grep with whose I get the correct match highlighting running GNU grep 2.6.3. -- Juri Linkov http://www.jurta.org/emacs/ From debbugs-submit-bounces@debbugs.gnu.org Thu May 20 04:38:38 2010 Received: (at 6208) by debbugs.gnu.org; 20 May 2010 08:38:38 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OF1H4-0002Tn-15 for submit@debbugs.gnu.org; Thu, 20 May 2010 04:38:38 -0400 Received: from mail-pw0-f44.google.com ([209.85.160.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OF1H2-0002Tg-W0 for 6208@debbugs.gnu.org; Thu, 20 May 2010 04:38:37 -0400 Received: by pwi1 with SMTP id 1so3847260pwi.3 for <6208@debbugs.gnu.org>; Thu, 20 May 2010 01:38:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=xw+R4s05Hm+ali9nZoVvO7xdQH23cPxzcIU0Fc/nvo0=; b=JgCBuQzXJtznPtY971Jq0rFrbPdguJdqyqjaYMG3dcnWbsEoZlqfTSixfonK2NZrSy W+6ZGqUFRDaSO90d3pqdmFz4ItSHp2vtR9541vNQYuvU1oc3QXrZiSwPLAStL2gYWzuA Hs8HeXKAKw+vVm7kyWSmDWwr8/8sQXUwKpxzY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=ut+fHR4UnW/9kvz7dtZc7QeyPIeqJbtNZhpxw5xUWEKH18A/lelRwloAmkUu1EAbS+ zxsLMD0Yq8vMS7g4hYBtaBgCZyazt2PQi9SRd/WHBisD2sy6n7dSSBqSUm/Sc/TPahIn hcTUjrTo/+MrRMyJEQYvljDETs9dgyjp9giqY= Received: by 10.143.21.25 with SMTP id y25mr2337014wfi.62.1274344713316; Thu, 20 May 2010 01:38:33 -0700 (PDT) Received: from localhost (nat064.cyber.com.au [203.7.155.64]) by mx.google.com with ESMTPS id n29sm16069710wae.4.2010.05.20.01.38.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 20 May 2010 01:38:32 -0700 (PDT) Date: Thu, 20 May 2010 18:38:27 +1000 From: "Trent W. Buck" To: Juri Linkov Subject: Re: bug#6208: 23.2; [M-x grep] match no longer coloured by default Message-ID: <20100520083825.GA2120@dali> References: <877hn1fo81.fsf@gmail.com> <87d3ws25o7.fsf@mail.jurta.org> <20100519014403.GA29031@dali> <87vdajd1ke.fsf@mail.jurta.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87vdajd1ke.fsf@mail.jurta.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: 6208 Cc: 6208@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) Juri Linkov wrote: >>>> grep -nHr . -e LH_INITRAMFS --color >>>> ./binary_manifest:45:case "${LH_INITRAMFS}" in >>>> [...] >>>> >>>> The LH_INITRAMFS on the fifth line has a blue background (the "match" >>>> face) iff I add --color. In 23.1 I didn't need to supply --color. >>> >>> Please check the value of `grep-highlight-matches'. Is it nil? >> >> It is "auto". > > That's the correct value. > > Could you please now run `set' as a grep command, i.e.: > > M-x grep RET C-a C-k set RET > > and send all lines that match "grep" (e.g. by using `M-x occur RET grep' > on the output buffer). For instance, I have the following > grep-related environment variables in the output buffer: > > GREP_COLOR='01;31' > GREP_COLORS='mt=01;31:fn=:ln=:bn=:se=:ml=:cx=:ne' > GREP_OPTIONS='--color=auto --color=auto' > TERM=emacs-grep > > with whose I get the correct match highlighting running GNU grep 2.6.3. I have the same data Grep started at Thu May 20 18:32:06 GREP_COLOR='01;31' GREP_COLORS='mt=01;31:fn=:ln=:bn=:se=:ml=:cx=:ne' GREP_OPTIONS='--color=auto --color=auto' TERM=emacs-grep but I don't have an "emacs-grep" terminfo entry. $ tput -Temacs-grep longname tput: unknown terminal "emacs-grep" Huh. OK, this is strange. I just tried to reproduce the problem again, and I can't -- matches are highlighted correctly now. From debbugs-submit-bounces@debbugs.gnu.org Thu May 20 18:42:20 2010 Received: (at 6208-done) by debbugs.gnu.org; 20 May 2010 22:42:20 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFERX-0001Xt-Tk for submit@debbugs.gnu.org; Thu, 20 May 2010 18:42:20 -0400 Received: from smtp-out1.starman.ee ([85.253.0.3] helo=mx1.starman.ee) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFERV-0001Xm-Be for 6208-done@debbugs.gnu.org; Thu, 20 May 2010 18:42:17 -0400 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Received: from mail.starman.ee (82.131.33.97.cable.starman.ee [82.131.33.97]) by mx1.starman.ee (Postfix) with ESMTP id 900863F414E; Fri, 21 May 2010 01:42:11 +0300 (EEST) From: Juri Linkov To: "Trent W. Buck" Subject: Re: bug#6208: 23.2; [M-x grep] match no longer coloured by default Organization: JURTA References: <877hn1fo81.fsf@gmail.com> <87d3ws25o7.fsf@mail.jurta.org> <20100519014403.GA29031@dali> <87vdajd1ke.fsf@mail.jurta.org> <20100520083825.GA2120@dali> Date: Fri, 21 May 2010 01:41:10 +0300 In-Reply-To: <20100520083825.GA2120@dali> (Trent W. Buck's message of "Thu, 20 May 2010 18:38:27 +1000") Message-ID: <87bpca42nt.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 6208-done Cc: 6208-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) > but I don't have an "emacs-grep" terminfo entry. > > $ tput -Temacs-grep longname > tput: unknown terminal "emacs-grep" This is ok. > Huh. OK, this is strange. I just tried to reproduce the problem > again, and I can't -- matches are highlighted correctly now. Maybe your .emacs got messed up. So I closed this bug. When you'll be able to reproduce it, please reopen again. -- Juri Linkov http://www.jurta.org/emacs/ From unknown Fri Aug 15 16:19:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 18 Jun 2010 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator