From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Wilfred Hughes Newsgroups: gmane.emacs.bugs Subject: bug#9408: 23.3; vc-git-grep doesn't link to files when git grep uses colour Date: Tue, 30 Aug 2011 11:55:13 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1314720347 16699 80.91.229.12 (30 Aug 2011 16:05:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 30 Aug 2011 16:05:47 +0000 (UTC) To: 9408@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 30 18:05:43 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QyQoo-0001eH-HM for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Aug 2011 18:05:42 +0200 Original-Received: from localhost ([::1]:50858 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyQon-00009Q-HB for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Aug 2011 12:05:41 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55422) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyQo3-0008UZ-1D for bug-gnu-emacs@gnu.org; Tue, 30 Aug 2011 12:04:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QyQo2-0005NW-0h for bug-gnu-emacs@gnu.org; Tue, 30 Aug 2011 12:04:55 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyQo1-0005NS-Qm for bug-gnu-emacs@gnu.org; Tue, 30 Aug 2011 12:04:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QyQr3-0000aG-Mo; Tue, 30 Aug 2011 12:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Wilfred Hughes Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Aug 2011 16:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9408 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13147204662221 (code B ref -1); Tue, 30 Aug 2011 16:08:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Aug 2011 16:07:46 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QyQqm-0000Zk-Q2 for submit@debbugs.gnu.org; Tue, 30 Aug 2011 12:07:46 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QyM1l-0004Xf-G2 for submit@debbugs.gnu.org; Tue, 30 Aug 2011 06:58:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QyLyj-00087w-HA for submit@debbugs.gnu.org; Tue, 30 Aug 2011 06:55:38 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:60307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyLyj-00087s-FW for submit@debbugs.gnu.org; Tue, 30 Aug 2011 06:55:37 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyLyi-0001XG-Cg for bug-gnu-emacs@gnu.org; Tue, 30 Aug 2011 06:55:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QyLyg-000879-Vr for bug-gnu-emacs@gnu.org; Tue, 30 Aug 2011 06:55:36 -0400 Original-Received: from mail-gy0-f169.google.com ([209.85.160.169]:50372) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyLyg-000872-Og for bug-gnu-emacs@gnu.org; Tue, 30 Aug 2011 06:55:34 -0400 Original-Received: by gyg10 with SMTP id 10so2370104gyg.0 for ; Tue, 30 Aug 2011 03:55:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=potatolondon.com; s=google; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=NgIp8mUwdNeJmrUVeV4gTHaBm6RCuOuEyg4mLbTBrM8=; b=DePAZxA5QUvdYMTw5x8TCHkn+I006d2P+14MPDvdT9z/bGf0KeAiVMkw/qKRSv/RmE KZy/flZB2uPH3xYyw0/Yk5pvQ8hLIn7Qn4tn37k3HYf/eYfH37cVVhKp9w9T1j5MlJeT BO33MXBuQeaJ2nP1Bv3ETvRzP5P2V8ijHJR9Q= Original-Received: by 10.43.133.65 with SMTP id hx1mr2540668icc.133.1314701733129; Tue, 30 Aug 2011 03:55:33 -0700 (PDT) Original-Received: by 10.231.145.202 with HTTP; Tue, 30 Aug 2011 03:55:13 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Tue, 30 Aug 2011 12:07:42 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 30 Aug 2011 12:08:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Tue, 30 Aug 2011 12:05:39 -0400 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:50442 Archived-At: 1. disable colour for git by doing the following in a shell: $ git config --global color.ui never 2. open a file that is in a git repository: (in my case: C-x C-f ~/gxbo/cron.yaml) 3. search for something that exists using vc-git-grep: (in my case: M-x vc-git-grep RET backend RET * RET ~/gxbo RET) 4. results are returned that links to the files where the results were found 5. enable colour for git: $ git config --global color.ui always 6. repeat the search with vc-git grep 7. results are just plain text and hitting RET on them gives "no git hit here". Compared with using grep, I note that my search term 'backend' is not highlighted. I don't know if that's related. Thanks. In GNU Emacs 23.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.5) =C2=A0of 2011-08-21 on ovide Windowing system distributor `The X.Org Foundation', version 11.0.11003901 configured using `configure=C2=A0 '--prefix=3D/usr' '--sysconfdir=3D/etc' '--libexecdir=3D/usr/lib' '--localstatedir=3D/var' '--without-sound' '--with-x-toolkit=3Dgtk' '--with-xft' 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fstack-protector --param=3Dssp-buffer-size=3D4 -D_FORTIFY_SOURCE=3D2' 'LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=3Dgnu'' Important settings: =C2=A0 value of $LC_ALL: nil =C2=A0 value of $LC_COLLATE: nil =C2=A0 value of $LC_CTYPE: nil =C2=A0 value of $LC_MESSAGES: nil =C2=A0 value of $LC_MONETARY: nil =C2=A0 value of $LC_NUMERIC: nil =C2=A0 value of $LC_TIME: nil =C2=A0 value of $LANG: en_GB.UTF-8 =C2=A0 value of $XMODIFIERS: nil =C2=A0 locale-coding-system: utf-8-unix =C2=A0 default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: =C2=A0 tooltip-mode: t =C2=A0 mouse-wheel-mode: t =C2=A0 tool-bar-mode: t =C2=A0 menu-bar-mode: t =C2=A0 file-name-shadow-mode: t =C2=A0 global-font-lock-mode: t =C2=A0 font-lock-mode: t =C2=A0 blink-cursor-mode: t =C2=A0 auto-encryption-mode: t =C2=A0 auto-compression-mode: t =C2=A0 line-number-mode: t =C2=A0 transient-mark-mode: t Recent input: C-x C-f c r o n . y M-x v c - g i g r e b a c k e n d * C-f M-x v c - g i g b a c k e n d * C-x o M-> M-< C-x o M-x r e p o r < return> Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Loading vc-git...done call-interactively: End of buffer Grep finished (matches found) [2 times] Mark set [2 times] Load-path shadows: None found. Features: (shadow sort mail-extr message idna 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 nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug grep compile comint ring vc-git tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar 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 system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs)