From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dieter Deyke Newsgroups: gmane.emacs.bugs Subject: bug#27641: 26.0.50; vc-dir using vc-src.el misses modified files Date: Mon, 10 Jul 2017 15:04:15 +0200 Message-ID: <878tjwpho0.fsf@deyke2> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1499691983 10939 195.159.176.226 (10 Jul 2017 13:06:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Jul 2017 13:06:23 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: 27641@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 10 15:06:17 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUYOG-0002Uz-GT for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Jul 2017 15:06:16 +0200 Original-Received: from localhost ([::1]:40708 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUYOL-0001ry-Vb for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Jul 2017 09:06:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUYO7-0001pc-AF for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 09:06:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUYO2-0007J7-2m for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 09:06:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57079) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUYO1-0007J2-Ua for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 09:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dUYO1-0007Zu-OK for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 09:06:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dieter Deyke Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Jul 2017 13:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27641 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.149969194729105 (code B ref -1); Mon, 10 Jul 2017 13:06:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Jul 2017 13:05:47 +0000 Original-Received: from localhost ([127.0.0.1]:59756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUYNi-0007ZI-PO for submit@debbugs.gnu.org; Mon, 10 Jul 2017 09:05:47 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47078) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUYNg-0007Z2-DP for submit@debbugs.gnu.org; Mon, 10 Jul 2017 09:05:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUYNW-00077M-3B for submit@debbugs.gnu.org; Mon, 10 Jul 2017 09:05:35 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:42343) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dUYNV-000774-V7 for submit@debbugs.gnu.org; Mon, 10 Jul 2017 09:05:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38033) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUYNQ-0001gm-VP for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 09:05:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUYNL-00074z-Tw for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 09:05:24 -0400 Original-Received: from mail-wr0-f178.google.com ([209.85.128.178]:33719) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUYNL-00074o-JO for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 09:05:19 -0400 Original-Received: by mail-wr0-f178.google.com with SMTP id r103so138189717wrb.0 for ; Mon, 10 Jul 2017 06:05:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=b+n4+zsXbMuSjZ4bgb4lLOxP4TmscZwG1wgObaf0+gk=; b=jARhQycpKp2W8AQYyNfRLSdfB/XerW2dmxBiGqHoOMjsG9lh25R5RJLgW7XRsvl8WS hVMRBHnecbBja5i07jH64Ziggjrk5MxdTl4PVBtv5FSlG75Of2gDE758TEdQ0AsSa+Ez 6p4Z4RZUUpcOcKwM7zqETNpC9quTQEqRVsPTsxcAXHIAchF7eukS5ml60gE2OCIfceus ZT8wsCQKZlfD2E42py8/bhBWfaZl+CGdZUCMglkjI4pgJuY5PvWSd+zBbR7tPskmfgLX 71Il702GpGaBb9Jbj3SUVP7NDiGrQhooq8UpU+EV2jHXbHFJV9Hr/MGoRSWmOhkv8v0G DpTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=b+n4+zsXbMuSjZ4bgb4lLOxP4TmscZwG1wgObaf0+gk=; b=fu3m0jq9v0k9fqYy6HDMbOMQzdEWhdXyUzuOHfGAFMF40czpgV1ya1q4djtjYX/TP2 4Z0+B7zlAuWotmOukpgYTE87D+NFdR4XepExuJufa7bvIYSq3qVn8hhuz6qqeM2idCh5 p55t4NxHGsRgVgalBTC/RpfbHQL2Jr7sm3+9cFOsYPIC67fhPIy11AFvSl5XeAtRt83l eA3UsqIcYzVeIV9TdiK2CwL1gRbvc45UanazkqpLNzeGsg0Ibaki5Pss7gciX+EC31oL bmv4UsWj14wAnWTMX/y9o11ozj2ISYJH6v7doczqFIbXSbZx1hedHf31SFJxYD94UCSu DkCw== X-Gm-Message-State: AIVw110nG3ECrm5PVBcAdB/0g7scMXlb7bJfJi2ivJpaOfI/U2X6AfP2 VebfvDtJqffQxORz X-Received: by 10.28.211.7 with SMTP id k7mr7475887wmg.1.1499691858135; Mon, 10 Jul 2017 06:04:18 -0700 (PDT) Original-Received: from deyke2.fritz.box (p5B12CDD9.dip0.t-ipconnect.de. [91.18.205.217]) by smtp.gmail.com with ESMTPSA id 142sm7891679wmi.1.2017.07.10.06.04.17 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 10 Jul 2017 06:04:17 -0700 (PDT) Original-Received: from [127.0.0.1] (helo=deyke2.localdomain) by deyke2.fritz.box with esmtp (Exim 4.89) (envelope-from ) id 1dUYMJ-0006k1-Vi for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 15:04:16 +0200 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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" Xref: news.gmane.org gmane.emacs.bugs:134397 Archived-At: If you execute the following shell script: #! /bin/bash tmpdir=/tmp/tmp$$ mkdir $tmpdir cd $tmpdir date > x src commit -m Initial x date >> x emacs -Q --eval "(vc-dir \"$tmpdir\")" then the file x is not shown as modified. My guess is that the following patch does fix that problem: diff --git a/lisp/vc/vc-src.el b/lisp/vc/vc-src.el index 5c8b3da6f1..0e47cc1512 100644 --- a/lisp/vc/vc-src.el +++ b/lisp/vc/vc-src.el @@ -180,7 +180,7 @@ For a description of possible values, see `vc-check-master-templates'." (defun vc-src-dir-status-files (dir files update-function) ;; FIXME: Use one src status -a call for this - (if (not files) (setq files (vc-expand-dirs (list dir) 'RCS))) + (if (not files) (setq files (vc-expand-dirs (list dir) 'SRC))) (let ((result nil)) (dolist (file files) (let ((state (vc-state file)) In GNU Emacs 26.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.16) of 2017-07-07 built on deyke2 Repository revision: acbe2e9d2baa2c4c44f6de53d966ebfd91a6d93c Windowing system distributor 'The X.Org Foundation', version 11.0.11903000 System Description: Debian GNU/Linux testing (buster) Recent messages: Configured using: 'configure --prefix=/usr/local/emacs --without-makeinfo' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GCONF GSETTINGS NOTIFY GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Diff Minor modes in effect: magit-auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t diff-auto-refine-mode: t shell-dirtrack-mode: t delete-selection-mode: t cua-mode: t msb-mode: t icomplete-mode: t show-paren-mode: t which-function-mode: t display-time-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-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-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: /home/deyke/.emacs.d/elpa/svg-0.1/svg hides /usr/local/emacs/share/emacs/26.0.50/lisp/svg Features: (shadow bbdb-message nnir emacsbug sendmail magit-obsolete magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-branch magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log magit-diff smerge-mode magit-core magit-autorevert autorevert filenotify magit-process magit-margin magit-mode magit-git magit-section magit-popup git-commit magit-utils log-edit with-editor async-bytecomp async dash log-view pcvs-util eieio-opt speedbar sb-image ezimage dframe help-fns radix-tree dabbrev ibuf-ext ibuffer ibuffer-loaddefs misearch multi-isearch vc-src vc-sccs vc-svn vc-cvs vc-rcs vc-dir ewoc vc vc-dispatcher wdired sokoban gamegrid dired-aux rx em-unix em-term term ehelp em-script em-prompt em-ls em-hist em-pred em-glob em-dirs em-cmpl em-basic em-banner em-alias tabify dd-misc python tramp-sh json map swbuff add-log sh-script smie executable time-stamp copyright browse-url url-http url-gw url-auth gnus-gravatar gravatar url-cache url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util cl-extra help-mode gnus-picon sort gnus-cite smiley w3m-form w3m w3m-hist w3m-fb bookmark-w3m w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util mm-archive mail-extr gnus-async gnus-bcklg qp gnus-ml disp-table gnus-topic nnrss xml mm-url nndraft nnmh gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap nnfolder nnml gnus-cache gnus-sum bbdb-gnus bbdb-mua bbdb-com crm network-stream nsm starttls nntp gnus-group gnus-undo spam-stat gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls utf7 nnoo gnus-spec gnus-int gnus-range gnus-win gnus nnheader session view cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs vc-fossil diary-lib diary-loaddefs cal-iso vc-git diff-mode tempbuf org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view jka-compr image-mode org-bibtex bibtex org-bbdb org-w3m org-agenda org-element avl-tree org org-macro org-footnote org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell parse-time ob-core ob-eval org-compat org-macs org-loaddefs find-func cal-menu calendar cal-loaddefs generic-x rcirc netrc emms-volume easy-mmode emms-volume-amixer emms-metaplaylist-mode emms-playlist-mode emms-player-vlc advice emms-player-mplayer emms-player-simple emms-source-playlist emms-source-file locate emms-setup emms emms-compat bongo lastfm-submit volume allout color-theme wid-edit cl pcomplete comint ansi-color ring esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util server message-x message subr-x puny format-spec rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader bbdb bbdb-site timezone delsel cua-base msb icomplete mic-paren paren german-holidays dired dired-loaddefs which-func imenu mm-util mail-prsvr time finder-inf info package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 788176 82144) (symbols 48 91688 78) (miscs 40 679 1071) (strings 32 234578 8555) (string-bytes 1 7171043) (vectors 16 100181) (vector-slots 8 2173621 80501) (floats 8 3860 44334) (intervals 56 3438 1459) (buffers 976 53)) -- Dieter Deyke mailto:dieter.deyke@gmail.com Get my Gnupg key: gpg --keyserver keys.gnupg.net --recv-keys B116EA20