From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steve Revilak Newsgroups: gmane.emacs.bugs Subject: bug#7850: 23.2.91; emacs runs svn status -v after every file save Date: Sun, 16 Jan 2011 11:48:20 -0500 Message-ID: <20110116164820.GD4949@srevilak.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="H4SyuGOnfnj3aJqJ" X-Trace: dough.gmane.org 1295196892 15188 80.91.229.12 (16 Jan 2011 16:54:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 16 Jan 2011 16:54:52 +0000 (UTC) To: 7850@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 16 17:54:47 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PeVsK-0003so-Dd for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Jan 2011 17:54:46 +0100 Original-Received: from localhost ([127.0.0.1]:39154 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PeVsJ-0000YW-JJ for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Jan 2011 11:54:43 -0500 Original-Received: from [140.186.70.92] (port=35531 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PeVsF-0000Y3-AM for bug-gnu-emacs@gnu.org; Sun, 16 Jan 2011 11:54:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PeVsC-0003je-7r for bug-gnu-emacs@gnu.org; Sun, 16 Jan 2011 11:54:39 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34687) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PeVsC-0003jV-58 for bug-gnu-emacs@gnu.org; Sun, 16 Jan 2011 11:54:36 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PeVf4-0004te-Ka; Sun, 16 Jan 2011 11:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Steve Revilak Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Jan 2011 16:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7850 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.129519605818810 (code B ref -1); Sun, 16 Jan 2011 16:41:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Jan 2011 16:40:58 +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 1PeVez-0004tK-Cx for submit@debbugs.gnu.org; Sun, 16 Jan 2011 11:40:58 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PeVew-0004t6-Ra for submit@debbugs.gnu.org; Sun, 16 Jan 2011 11:40:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PeVmM-0002uC-Qp for submit@debbugs.gnu.org; Sun, 16 Jan 2011 11:48:36 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:58563) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PeVmM-0002u8-N8 for submit@debbugs.gnu.org; Sun, 16 Jan 2011 11:48:34 -0500 Original-Received: from [140.186.70.92] (port=49517 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PeVmJ-0007Qo-VO for bug-gnu-emacs@gnu.org; Sun, 16 Jan 2011 11:48:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PeVmI-0002tk-EL for bug-gnu-emacs@gnu.org; Sun, 16 Jan 2011 11:48:31 -0500 Original-Received: from mail6.sea5.speakeasy.net ([69.17.117.50]:47121) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PeVmI-0002tO-19 for bug-gnu-emacs@gnu.org; Sun, 16 Jan 2011 11:48:30 -0500 Original-Received: (qmail 26308 invoked from network); 16 Jan 2011 16:48:27 -0000 Original-Received: from pool-173-48-97-182.bstnma.fios.verizon.net (HELO srevilak.net) (srevilak@[173.48.97.182]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 16 Jan 2011 16:48:26 -0000 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 16 Jan 2011 11:41:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:43401 Archived-At: --H4SyuGOnfnj3aJqJ Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your report will be posted to the bug-gnu-emacs@gnu.org mailing list and the gnu.emacs.bug news group, and at http://debbugs.gnu.org. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': --------------------------------- I would like to report a minor bug in emacs 23.2.91. When editing a file that is kept in svn version control, emacs runs "svn status -V FILE" each time the file's buffer is saved. Other vc backends do not exhibit this behavior. For example, the git backend does not run "git status" on save, and the cvs backend does not run "cvs status" on save. The invocation of "svn status -V" does not cause functional problems. Instead, it makes save-buffer seem sluggish when editing files in subversion version control, because a shell command is run after each file save. Steps to reproduce: + create a file called svn.txt, which was checked out of a subversion repository. =20 + emacs -Q -nw + evaluate the expression "(setq vc-command-messages t)" in the *scratch* buffer. + C-x C-f /path/to/svn.txt RET + edit the buffer, then C-x C-s to save the buffer In the *Messages* buffer, this produces Saving file /home/srevilak/tmp/src/svn.txt... Wrote /home/srevilak/tmp/src/svn.txt Running svn status -v svn.txt in foreground... Running svn status -v svn.txt...OK =3D 0 + optionally, repeat this process with a file name git.txt (kept under git version control), or cvs.txt (kept under cvs version control). Verify that saving git.txt (or cvs.txt) does NOT produce vc-command-messages in the *Messages* buffer. I have two builds of emacs-23.2.91: one on OpenSUSE 11.3, and other on Mac OS X 10.6. Both exhibit the same behavior (with svn 1.6). I've checked before-save-hook and after-save-hook, and both are nil. If there is additional information that would be helpful, I would be happy to provide it. I would also be happy to test patches. I realize that the latest pretest is emacs 23.2.92. I've been waiting to see the outcome of http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00477.html before installing the latest 23.2.92. Kind regards. Steve Revilak --------------------------------- If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /usr/local/emacs-23.2.91/share/emacs/23.2.91/etc/DEBUG. In GNU Emacs 23.2.91.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) of 2011-01-01 on sunny Windowing system distributor `The X.Org Foundation', version 11.0.10800000 configured using `configure '--prefix=3D/usr/local/emacs-23.2.91' 'CFLAGS= =3D-g -O2 -fno-optimize-sibling-calls'' 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_US.UTF-8 value of $XMODIFIERS: @im=3Dlocal locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Shell Minor modes in effect: shell-dirtrack-mode: t diff-auto-refine-mode: t display-time-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t Recent input: =20 =20 C-a =20 C-c C-c d C-c C-c s =20 C-c C-c d d C-c C-c s r=20 C-x C-s C-x C-s > C-a=20 M-> C-c C-x C-r C-SPC=20 =20 =20 =20 C-w =20 C-x C-s M-x v c - d i r =20 m=20 Recent messages: Making completion list... Running git update-index --refresh . in background... done Running git diff-index --relative -z -M HEAD -- . in background... done Running git ls-files -z -o --directory --no-empty-directory --exclude-stand= ard -- . in background... done Mark set Press C-c C-c when you are done editing. Enter a change comment. Type C-c C-c when done Checking in /home/srevilak/filename-redacted.org... Running git commit -m ad... --only -- filename-redacted.org...OK =3D 0 Checking in /home/srevilak/filename-redacted.org...done Load-path shadows: None found. Features: (shadow sort mail-extr message sendmail ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc mm-util mail-prsvr gmm-utils wid-edit mailheader canlock hashcash mail-utils emacsbug tabify org-table ansi-color shell comint log-edit ring pcvs-util add-log diff-mode vc-bzr sha1 hex-util vc-sccs vc-svn vc-cvs vc-rcs vc-dir ewoc vc vc-dispatcher help-mode view rect org-clock diary-lib diary-loaddefs cal-iso vc-git org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp org-exp-blocks org-info org-gnus org-bibtex org-bbdb regexp-opt cal-menu calendar cal-loaddefs org-agenda org byte-opt warnings bytecomp byte-compile advice help-fns advice-preload org-footnote org-src org-list org-faces org-compat org-macs easymenu time-date noutline outline easy-mmode edmacro kmacro paren time 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) --H4SyuGOnfnj3aJqJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iEYEARECAAYFAk0zIVQACgkQX7YJI4BuyDSSngCePYy8Pmln5mMvcsF6XXPhTBSh yVAAnAnmlFqaQ6M/e8FL6WxI/iYHz8Tk =8ugQ -----END PGP SIGNATURE----- --H4SyuGOnfnj3aJqJ--