From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 08 15:43:47 2010 Received: (at submit) by debbugs.gnu.org; 8 Apr 2010 19:43:47 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nzxdi-0006uq-SL for submit@debbugs.gnu.org; Thu, 08 Apr 2010 15:43:47 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzxYD-0006s4-I2 for submit@debbugs.gnu.org; Thu, 08 Apr 2010 15:38:06 -0400 Received: from lists.gnu.org ([199.232.76.165]:32943) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NzxY9-0000ja-DK for submit@debbugs.gnu.org; Thu, 08 Apr 2010 15:38:01 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NzxY9-0003Wf-1s for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2010 15:38:01 -0400 Received: from [140.186.70.92] (port=56194 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzxY7-0003T5-HL for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2010 15:38:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NzxY6-00068a-06 for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2010 15:37:59 -0400 Received: from mail-yx0-f203.google.com ([209.85.210.203]:33099) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzxY5-00068U-R6 for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2010 15:37:57 -0400 Received: by yxe41 with SMTP id 41so2797968yxe.14 for ; Thu, 08 Apr 2010 12:37:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:from:date :x-google-sender-auth:received:message-id:subject:to:content-type; bh=e/tLU8xUsvdDGQbyN9bBNV5Le+z3BzO0ndFY9MK0vCM=; b=exrN8FN6gRsZyaaZd97Su01iFiUTeEKRI8AIVI1WVlS+v7l92H8gpRt6LwiUHZOyqc sbOXN7DS3vY0BWvAdPZOHw+1v15iD1yACJ+IrjpryxbT6g9+LId70azNidp9Z/K2ybG4 QX78unz8VKzl1U5NOjBs/nuS7GF6gw7zqXq9Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; b=kGgXDOlT1UZDxgMs0GG3uPLfERqOWaUqPKAO/0Brt/BYCWVjGPP9TaWq7HcD9oaFBw JO/rVk66AVOwhEScL7V52xTidab3x/Ttt6qXGv5hafHeyZCv8tfbIJsfn8OnUKttqNhi WRX2bIcs/Z4Tt7nfs2dMqBhoqPB3BUG1ihfsw= MIME-Version: 1.0 Received: by 10.100.121.19 with HTTP; Thu, 8 Apr 2010 12:37:34 -0700 (PDT) From: Albert Ting Date: Thu, 8 Apr 2010 12:37:34 -0700 X-Google-Sender-Auth: a6aa4eaab289b948 Received: by 10.101.106.32 with SMTP id i32mr620951anm.249.1270755475287; Thu, 08 Apr 2010 12:37:55 -0700 (PDT) Message-ID: Subject: vc-hooks enhancement request: highlight checkouts To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=001636c5bdadb3706b0483bed065 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-Mailman-Approved-At: Thu, 08 Apr 2010 15:43:46 -0400 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 (-----) --001636c5bdadb3706b0483bed065 Content-Type: text/plain; charset=ISO-8859-1 In GNU Emacs 21.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2003-04-21 on l-sftwr-2236 configured using `configure --prefix=/home/vtools/apps/emacs-21.3' Important settings: value of $LC_ALL: POSIX value of $LC_COLLATE: nil 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: C locale-coding-system: nil default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: I posted this earlier but didn't see it get received. So apologies if this is a repeat. In any case, I'd like to quest the vc auto-highlight any files that have been modified/checkout in the vc-mode-line. XEmacs supports this and below is a patch to make it work in Emacs. Thanks, Albert --- vc-hooks.el~ 2010-04-08 12:33:24.016321000 -0700 +++ vc-hooks.el 2010-03-30 08:06:06.570204000 -0700 @@ -772,7 +772,10 @@ (if (not backend) (setq vc-mode nil) (let* ((ml-string (vc-call-backend backend 'mode-line-string file)) - (ml-echo (get-text-property 0 'help-echo ml-string))) + (ml-echo (get-text-property 0 'help-echo ml-string)) + (test-str "^\\(RCS\\|CVS\\|SVN\\|SCCS\\|Arch\\|MCVS\\|GIT\\):") + (locked (string-match test-str ml-string)) + ) (setq vc-mode (concat " " @@ -781,6 +784,7 @@ (propertize ml-string 'mouse-face 'mode-line-highlight + 'face (if locked 'highlight 'mode-line) 'help-echo (concat (or ml-echo (format "File under the %s version control system" Recent messages: Loading completion...done Loading advice...done Loading cl-seq...done done loading .emacs For information about the GNU Project and its goals, type C-h C-p. Loading cl-macs...done Loading emacsbug...done --001636c5bdadb3706b0483bed065 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable In GNU Emacs 21.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
= =A0of 2003-04-21 on l-sftwr-2236
configured using `configure=A0 --prefix= =3D/home/vtools/apps/emacs-21.3'
Important settings:
=A0 value of= $LC_ALL: POSIX
=A0 value of $LC_COLLATE: nil
=A0 value of $LC_CTYPE: nil
=A0 value o= f $LC_MESSAGES: nil
=A0 value of $LC_MONETARY: nil
=A0 value of $LC_N= UMERIC: nil
=A0 value of $LC_TIME: nil
=A0 value of $LANG: C
=A0 l= ocale-coding-system: nil
=A0 default-enable-multibyte-characters: t

Please describe exactly w= hat actions triggered the bug
and the precise symptoms of the bug:
I posted this earlier but didn't see it get received.=A0 So apologies= if this is a repeat.=A0

In any case, I'd like to quest the vc auto-highlight any files that= have been modified/checkout in the vc-mode-line.=A0 XEmacs supports this a= nd below is a patch to make it work in Emacs.

Thanks,
Albert

--- vc-hooks.el~=A0=A0=A0 2010-04-08 12:33:24.016321000 -0700
+++ vc= -hooks.el=A0=A0=A0 2010-03-30 08:06:06.570204000 -0700
@@ -772,7 +772,10= @@
=A0=A0 (if (not backend)
=A0=A0=A0=A0=A0=A0 (setq vc-mode nil)=A0=A0=A0=A0 (let* ((ml-string (vc-call-backend backend 'mode-line-str= ing file))
-=A0=A0=A0 =A0=A0 (ml-echo (get-text-property 0 'help-echo ml-string)))=
+=A0=A0=A0 =A0=A0 (ml-echo (get-text-property 0 'help-echo ml-strin= g))
+=A0=A0=A0 =A0=A0 (test-str "^\\(RCS\\|CVS\\|SVN\\|SCCS\\|Arch\= \|MCVS\\|GIT\\):")
+=A0=A0=A0 =A0=A0 (locked (string-match test-str ml-string))
+=A0=A0=A0 = =A0=A0 )
=A0=A0=A0=A0=A0=A0 (setq vc-mode
=A0=A0=A0=A0 =A0=A0=A0 (con= cat
=A0=A0=A0=A0 =A0=A0=A0=A0 " "
@@ -781,6 +784,7 @@
= =A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0 (propertize
=A0=A0=A0=A0 =A0=A0=A0 ml-st= ring
=A0=A0=A0=A0 =A0=A0=A0 'mouse-face 'mode-line-highlight
+=A0=A0=A0 =A0=A0=A0 'face (if locked 'highlight 'mode-line)=A0=A0=A0=A0 =A0=A0=A0 'help-echo
=A0=A0=A0=A0 =A0=A0=A0 (concat (o= r ml-echo
=A0=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 (format "File = under the %s version control system"



Recent messages: Loading completion...done
Loading advice...done
Loading cl-seq...done=
done loading .emacs
For information about the GNU Project and its go= als, type C-h C-p.
Loading cl-macs...done
Loading emacsbug...done

--001636c5bdadb3706b0483bed065-- From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 09 03:35:30 2010 Received: (at control) by debbugs.gnu.org; 9 Apr 2010 07:35:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O08kU-0003Xi-CV for submit@debbugs.gnu.org; Fri, 09 Apr 2010 03:35:30 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O08kT-0003Xd-8n for control@debbugs.gnu.org; Fri, 09 Apr 2010 03:35:29 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1O08kP-0006Ni-4J; Fri, 09 Apr 2010 03:35:25 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19390.55485.81568.1029@fencepost.gnu.org> Date: Fri, 9 Apr 2010 03:35:25 -0400 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: red X-Ran: _P%M'F]N\9Q2aZCt{>Ve4BpngVQ^T=%zY!%lq*~0!#Oczz4~0|fLx 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.1 (-----) merge 2423 5908 reassign 5860 emacs,ns severity 5910 wishlist severity 5854 wishlist severity 5853 wishlist reassign 5851 emacs,cc-mode tags 5842 patch severity 5842 wishlist severity 5844 wishlist From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 19 17:38:22 2020 Received: (at 5910) by debbugs.gnu.org; 19 Sep 2020 21:38:22 +0000 Received: from localhost ([127.0.0.1]:48279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJkYn-0005ux-U1 for submit@debbugs.gnu.org; Sat, 19 Sep 2020 17:38:22 -0400 Received: from quimby.gnus.org ([95.216.78.240]:52460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJkYm-0005ug-H2 for 5910@debbugs.gnu.org; Sat, 19 Sep 2020 17:38:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=DDPE1akwS9vdmoEr7r6I+cVR2kBpy90EcFZF3C8ANDE=; b=mHAkFfxrABsbMm8Dv4MCwZWW8r F7Qjux9z+fHRLZaudWT3pF4Kgb43ucPyTvL+tG0X2wCb4fCq/QqdZ7rpsu+5lLil7AhXN632MeMYt rxZgdqTp0j2CCgxgcx21tWaztM/QfUasU8KlLgX1BFr0undU2YmVuRqUkou71lCQou3c=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kJkYd-0006lK-Fn; Sat, 19 Sep 2020 23:38:14 +0200 From: Lars Ingebrigtsen To: Albert Ting Subject: Re: bug#5910: vc-hooks enhancement request: highlight checkouts References: X-Now-Playing: The Art of Noise's _In Visible Silence_: "Paranoimia" Date: Sat, 19 Sep 2020 23:38:09 +0200 In-Reply-To: (Albert Ting's message of "Thu, 8 Apr 2010 12:37:34 -0700") Message-ID: <87h7rtla66.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Albert Ting writes: > In any case, I'd like to quest the vc auto-highlight any files that have been > modified/checkout in the vc-mode-line. XEmacs supports this and below is a patch > to make it work in Emacs. > > Thank [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 5910 Cc: 5910@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Albert Ting writes: > In any case, I'd like to quest the vc auto-highlight any files that have been > modified/checkout in the vc-mode-line. XEmacs supports this and below is a patch > to make it work in Emacs. > > Thanks, > Albert > > --- vc-hooks.el~ 2010-04-08 12:33:24.016321000 -0700 > +++ vc-hooks.el 2010-03-30 08:06:06.570204000 -0700 > @@ -772,7 +772,10 @@ > (if (not backend) > (setq vc-mode nil) > (let* ((ml-string (vc-call-backend backend 'mode-line-string file)) > - (ml-echo (get-text-property 0 'help-echo ml-string))) > + (ml-echo (get-text-property 0 'help-echo ml-string)) > + (test-str "^\\(RCS\\|CVS\\|SVN\\|SCCS\\|Arch\\|MCVS\\|GIT\\):") > + (locked (string-match test-str ml-string)) This patch unfortunately got no attention when it was posted ten years ago. I see that this has been fixed over the years in a different way -- vc-up-to-date-state (etc) is added by the vc-*-mode-line-string backend functions themselves, so I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 19 17:38:28 2020 Received: (at control) by debbugs.gnu.org; 19 Sep 2020 21:38:28 +0000 Received: from localhost ([127.0.0.1]:48282 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJkYu-0005vH-7J for submit@debbugs.gnu.org; Sat, 19 Sep 2020 17:38:28 -0400 Received: from quimby.gnus.org ([95.216.78.240]:52474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJkYs-0005uw-S0 for control@debbugs.gnu.org; Sat, 19 Sep 2020 17:38:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=RBnir97bEDIj78A2ffe101ajaz0wbVgeklQVqLhssns=; b=oCP7zHBjK+0ST/q6LvcK56ie3o U1Jyru4ZJxeczR/HTQ1Ffm11oPnMu7I3c/QynWOPO4lMYwg5UQ0sJY8td/+8DEfeevX2qhEBqdPlS GU69O0KZp9LNvrv6UY+rfKCw3Az8pwNF+h8Kw3apDMg7dO7mw1+2+Z857R59b0fm3SlU=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kJkYl-0006lR-5T for control@debbugs.gnu.org; Sat, 19 Sep 2020 23:38:21 +0200 Date: Sat, 19 Sep 2020 23:38:17 +0200 Message-Id: <87ft7dla5y.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #5910 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 5910 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 5910 quit From unknown Sat Jun 21 03:27:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 18 Oct 2020 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