From unknown Sun Jun 22 17:18:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22481: 25.1.50; vc-hg: emacs "deadlocks" after using hg with huge amounts of ignored files in the repo Resent-From: Jan Synacek Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Jan 2016 09:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22481 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 22481@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.145397226421062 (code B ref -1); Thu, 28 Jan 2016 09:12:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Jan 2016 09:11:04 +0000 Received: from localhost ([127.0.0.1]:39081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aOibY-0005Te-08 for submit@debbugs.gnu.org; Thu, 28 Jan 2016 04:11:04 -0500 Received: from eggs.gnu.org ([208.118.235.92]:47834) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aOibW-0005TA-AZ for submit@debbugs.gnu.org; Thu, 28 Jan 2016 04:11:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOibK-0006Ah-RK for submit@debbugs.gnu.org; Thu, 28 Jan 2016 04:10:57 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOibK-0006Ad-OU for submit@debbugs.gnu.org; Thu, 28 Jan 2016 04:10:50 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38761) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOibF-0007au-W0 for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2016 04:10:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOibA-00068y-4P for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2016 04:10:45 -0500 Received: from mx1.redhat.com ([209.132.183.28]:58443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOib9-00068s-Pv for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2016 04:10:40 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id E21783F3CE for ; Thu, 28 Jan 2016 09:10:38 +0000 (UTC) Received: from ntb-work (dhcp-24-126.brq.redhat.com [10.34.24.126]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u0S9AaGo025371 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 28 Jan 2016 04:10:37 -0500 From: Jan Synacek User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/25.1.50.2 (x86_64-redhat-linux-gnu) Date: Thu, 28 Jan 2016 10:10:36 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) 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: -4.1 (----) Steps to reproduce: 1) hg clone https://bitbucket.org/vim-mirror/vim (or any other repo will do, but I couldn't resist reproducing the issue on this one...) 2) Generate a million files, that will be considered "ignored" in the repo $ cd vim $ for i in $(seq 1 1000000); do echo ignored > ignored-$i.rej; done 3) Fire up emacs, C-x C-f At this point, it will take a while, but that may be a separate issue. 4) Edit any tracked file and save it. 5) C-x v d ENTER 6) Go to a file that's been modified and hit 'v', enter a log message, then C-c C-c to commit the change. 7) Hit 'g' to refresh the buffer. 8) Observe the freeze. Emacs freezes because it's running 'hg status -mardui -C '. The '-i' is the problem here. Since it takes hg itself a very long time, I'm not sure if it can be directly fixed in Emacs. But at least a configuration option that would allow one to disable the "-i" option would be nice. Original bugreport: https://bugzilla.redhat.com/show_bug.cgi?id=3D1232422 In GNU Emacs 25.1.50.2 (x86_64-redhat-linux-gnu, GTK+ Version 3.18.6) of 2016-01-28 built on copr-builder-504260318.novalocal Windowing system distributor 'Fedora Project', version 11.0.11800000 System Description: Generic release 23 (Generic) Configured using: 'configure --build=3Dx86_64-redhat-linux-gnu --host=3Dx86_64-redhat-linux-gnu --program-prefix=3D --disable-dependency-tracking --prefix=3D/usr --exec-prefix=3D/usr --bindir=3D/usr/bin --sbindir=3D/usr/sbin --sysconfdir=3D/etc --datadir=3D/usr/share --includedir=3D/usr/include --libdir=3D/usr/lib64 --libexecdir=3D/usr/libexec --localstatedir=3D/var --sharedstatedir=3D/var/lib --mandir=3D/usr/share/man --infodir=3D/usr/share/info --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=3Dgtk3 --with-gpm=3Dno build_alias=3Dx86_64-redhat-linux-gnu host_alias=3Dx86_64-redhat-linux-gnu 'CFLAGS=3D-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=3Dformat-security -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fstack-protector-strong --param=3Dssp-buffer-size=3D4 -grecord-gcc-switches -specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=3Dgeneric' LDFLAGS=3D-Wl,-z,relro PKG_CONFIG_PATH=3D:/usr/lib64/pkgconfig:/usr/share/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LANG: en_US.utf8 value of $XMODIFIERS: @im=3Dnone locale-coding-system: utf-8-unix Major mode: ERC Minor modes in effect: diff-auto-refine-mode: t erc-notifications-mode: t shell-dirtrack-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t recentf-mode: t override-global-mode: t show-paren-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Loading /home/jsynacek/.emacs.d/recentf...done Cleaning up the recentf list...done (0 removed) For information about GNU Emacs and the GNU system, type C-h C-a. ad-handle-definition: =E2=80=98tramp-read-passwd=E2=80=99 got redefined (redacted for private info) Mark set Could not load org-notmuch Load-path shadows: /home/jsynacek/.emacs.d/elpa/helm-20160119.417/helm-multi-match hides /home= /jsynacek/.emacs.d/elpa/helm-core-20160119.936/helm-multi-match /home/jsynacek/.emacs.d/elpa/magit-20160119.1409/magit-popup hides /home/js= ynacek/.emacs.d/elpa/magit-popup-20160119.1409/magit-popup Features: (shadow sort mail-extr emacsbug sendmail notmuch hl-line notmuch-message notmuch-maildir-fcc notmuch-hello notmuch-tree notmuch-parser notmuch-show notmuch-print notmuch-crypto notmuch-mua notmuch-address notmuch-wash diff-mode coolj notmuch-query goto-addr icalendar diary-lib diary-loaddefs cal-menu calendar cal-loaddefs notmuch-tag crm notmuch-lib notmuch-version cl message idna rfc822 mml mailabbrev mail-utils gmm-utils mailheader mm-view mml-smime mml-sec epg smime dig mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums erc-desktop-notifications notifications dbus winner helm-command helm-elisp helm-eval edebug helm-mode helm-files rx image-dired tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell dired-aux ffap helm-buffers helm-elscreen helm-tags helm-bookmark helm-adaptive helm-info bookmark helm-locate helm-external helm-net browse-url xml url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap helm-types private erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete pcomplete erc-track erc-match erc-button erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat format-spec thingatpt pp helm-swoop helm-grep helm-regexp helm-plugin helm-utils compile comint ansi-color ring helm-help helm helm-source eieio-compat helm-multi-match helm-lib geiser recentf tree-widget wid-edit edmacro kmacro dired-x dired dired-loaddefs cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs use-package diminish bind-key easy-mmode advice finder-inf goto-chg-autoloads undo-tree-autoloads info package epg-config url-handlers url-parse auth-source cl-seq eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core cl-macs gv eieio-loaddefs gnus-util mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr password-cache url-vars paren time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core 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 charscript 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 404816 27547) (symbols 48 39279 0) (miscs 40 147 579) (strings 32 78662 12230) (string-bytes 1 2409843) (vectors 16 58360) (vector-slots 8 965773 25031) (floats 8 378 279) (intervals 56 1052 111) (buffers 976 19) (heap 1024 47080 3625)) --=20 Jan Synacek Software Engineer, Red Hat From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 28 17:35:39 2016 Received: (at control) by debbugs.gnu.org; 28 Jan 2016 22:35:39 +0000 Received: from localhost ([127.0.0.1]:40106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aOvAB-0002cE-MP for submit@debbugs.gnu.org; Thu, 28 Jan 2016 17:35:39 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42233) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aOvA9-0002bz-Jp for control@debbugs.gnu.org; Thu, 28 Jan 2016 17:35:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOvA4-0000DE-1M for control@debbugs.gnu.org; Thu, 28 Jan 2016 17:35:32 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34710) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOvA3-0000DA-Tn for control@debbugs.gnu.org; Thu, 28 Jan 2016 17:35:31 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1aOvA3-0003gd-L7 for control@debbugs.gnu.org; Thu, 28 Jan 2016 17:35:31 -0500 Subject: control message for bug 22481 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Thu, 28 Jan 2016 17:35:31 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.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: -5.0 (-----) severity 22481 minor From unknown Sun Jun 22 17:18:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22481: 25.1.50; vc-hg: emacs "deadlocks" after using hg with huge amounts of ignored files in the repo Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Jan 2016 01:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22481 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jan Synacek , 22481@debbugs.gnu.org Received: via spool by 22481-submit@debbugs.gnu.org id=B22481.14540324487907 (code B ref 22481); Fri, 29 Jan 2016 01:55:02 +0000 Received: (at 22481) by debbugs.gnu.org; 29 Jan 2016 01:54:08 +0000 Received: from localhost ([127.0.0.1]:40150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aOyGG-00023T-AJ for submit@debbugs.gnu.org; Thu, 28 Jan 2016 20:54:08 -0500 Received: from mail-lb0-f174.google.com ([209.85.217.174]:35828) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aOyGD-00022y-RO for 22481@debbugs.gnu.org; Thu, 28 Jan 2016 20:54:06 -0500 Received: by mail-lb0-f174.google.com with SMTP id bc4so33480937lbc.2 for <22481@debbugs.gnu.org>; Thu, 28 Jan 2016 17:54:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=qFwGVQN9szfIVzNL9Vaz5pbiKvgyD3HqsyvJk23/Wzg=; b=lDSpjZIVq4clKJkhXw0crd/Qb1kClQo+Xuk1hM6bG8dayFyLGAepm7Fffo3z2P9gWO joC8wBrK8ykXa8Hbt2gUT1zcDSlOD10nI9/d7MHzBhzTidY4dbJsTv5MAy9zbwH1+xe0 RA6wR4EPKTi6omnZdwZ6MwuYmXGyv6QhAO6Wd78bBMFTiOCnmqyudLuMpChBfelRG/O5 M4D2xlzzEpYHxGW+3Aao3M2ivu8Xovie0RGLiW+SvvJH0Gw6qODRHoXBhB9h1nE9wqoT CzyCdwo+K99RjMS63FFQ/DyzVq7XJMEK32SHn+VG3yv/2QLCEWrK9PeYSgi1Py4wWpWl +53Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=qFwGVQN9szfIVzNL9Vaz5pbiKvgyD3HqsyvJk23/Wzg=; b=BXdRs284VT0fQ9hwQ3YuJUI8CadUQcmultQfKBb/793bfAokTOXyojmcAFpAW8zf/g FMCDXafyOSn1jS8915X02IAkRq9DDhcR0t8GklEOilKDAfoTKmOdMtt9LuWyzSSPIBd8 1L+c3rV1imvMjYgj/X9DMZyNfgMaFXVvUiXzcAkhvungezHbB6kmcpE76xESE4S13gsW TDr6RY13sG5FlaKuRxHddowWa9Lni/xmlFyYMajYgAOPL343mC6s7dDxLoH5D18Gwmpl LEPRc1JQZt436qWa/yQBeoRv1nDHUtB2zjsCRv4q0y+p+0KenaW77ql86ymOVKUUM7QS XwzQ== X-Gm-Message-State: AG10YORKiHyotDAStw8/KqLwSr9jd4CdbvA9Pmq6GF9nQR4XLRg0Q463g+i4Hd88UkDGWw== X-Received: by 10.112.131.105 with SMTP id ol9mr2320672lbb.45.1454032439956; Thu, 28 Jan 2016 17:53:59 -0800 (PST) Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id a124sm1783685lfa.40.2016.01.28.17.53.58 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 28 Jan 2016 17:53:58 -0800 (PST) References: From: Dmitry Gutov Message-ID: <56AAC636.90707@yandex.ru> Date: Fri, 29 Jan 2016 04:53:58 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Thunderbird/44.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.5 (/) 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: -0.5 (/) On 01/28/2016 12:10 PM, Jan Synacek wrote: > Emacs freezes because it's running 'hg status -mardui -C '. The > '-i' is the problem here. Since it takes hg itself a very long time, I'm > not sure if it can be directly fixed in Emacs. But at least a > configuration option that would allow one to disable the "-i" option > would be nice. Haven't we fixed this already? See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19304, I've fixed what I could reproduce. The current definition of vc-hg-status-files looks like this: (defun vc-hg-dir-status-files (dir files update-function) (apply 'vc-hg-command (current-buffer) 'async dir "status" (concat "-mardu" (if files "i")) "-C" files) (vc-run-delayed (vc-hg-after-dir-status update-function))) IOW, we only pass '-i' when we ask the backend for the status of specific files. Which shouldn't be slow. If it is, I'm pretty sure it's Mercurial's problem. (You can add a (message "files: %s" files) call at the beginning of vc-hg-dir-status-files, to see what file list it's called with. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 28 21:09:52 2016 Received: (at control) by debbugs.gnu.org; 29 Jan 2016 02:09:52 +0000 Received: from localhost ([127.0.0.1]:40154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aOyVU-0002QQ-MI for submit@debbugs.gnu.org; Thu, 28 Jan 2016 21:09:52 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41135) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aOyVT-0002QD-6J for control@debbugs.gnu.org; Thu, 28 Jan 2016 21:09:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOyVN-00070N-AH for control@debbugs.gnu.org; Thu, 28 Jan 2016 21:09:45 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46216) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOyVN-00070J-6w for control@debbugs.gnu.org; Thu, 28 Jan 2016 21:09:45 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1aOyVM-0005wH-UB for control@debbugs.gnu.org; Thu, 28 Jan 2016 21:09:44 -0500 Subject: control message for bug 22481 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Thu, 28 Jan 2016 21:09:44 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.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: -5.0 (-----) forcemerge 19304 22481 From unknown Sun Jun 22 17:18:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22481: 25.1.50; vc-hg: emacs "deadlocks" after using hg with huge amounts of ignored files in the repo Resent-From: Jan Synacek Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Jan 2016 08:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22481 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov , 22481@debbugs.gnu.org Received: via spool by 22481-submit@debbugs.gnu.org id=B22481.145405695725547 (code B ref 22481); Fri, 29 Jan 2016 08:43:02 +0000 Received: (at 22481) by debbugs.gnu.org; 29 Jan 2016 08:42:37 +0000 Received: from localhost ([127.0.0.1]:40265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aP4dZ-0006dz-JN for submit@debbugs.gnu.org; Fri, 29 Jan 2016 03:42:37 -0500 Received: from mx1.redhat.com ([209.132.183.28]:52622) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aP4dY-0006dr-41 for 22481@debbugs.gnu.org; Fri, 29 Jan 2016 03:42:36 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 19FD013A6A; Fri, 29 Jan 2016 08:42:35 +0000 (UTC) Received: from ntb-work (dhcp-24-206.brq.redhat.com [10.34.24.206]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u0T8gWlD021870 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 29 Jan 2016 03:42:34 -0500 From: Jan Synacek In-Reply-To: <56AAC636.90707@yandex.ru> References: <56AAC636.90707@yandex.ru> User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/25.1.50.2 (x86_64-redhat-linux-gnu) Date: Fri, 29 Jan 2016 09:42:32 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) Dmitry Gutov writes: > On 01/28/2016 12:10 PM, Jan Synacek wrote: > >> Emacs freezes because it's running 'hg status -mardui -C '. The >> '-i' is the problem here. Since it takes hg itself a very long time, I'm >> not sure if it can be directly fixed in Emacs. But at least a >> configuration option that would allow one to disable the "-i" option >> would be nice. > > Haven't we fixed this already? See > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19304, I've fixed what I > could reproduce. Please, try my reproducer. The refresh *after* committing a message tries to display the ignored files. -- Jan Synacek Software Engineer, Red Hat From unknown Sun Jun 22 17:18:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22481: 25.1.50; vc-hg: emacs "deadlocks" after using hg with huge amounts of ignored files in the repo Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Jan 2016 02:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22481 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jan Synacek , 22481@debbugs.gnu.org Received: via spool by 22481-submit@debbugs.gnu.org id=B22481.145412223327648 (code B ref 22481); Sat, 30 Jan 2016 02:51:02 +0000 Received: (at 22481) by debbugs.gnu.org; 30 Jan 2016 02:50:33 +0000 Received: from localhost ([127.0.0.1]:40891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aPLcO-0007Br-To for submit@debbugs.gnu.org; Fri, 29 Jan 2016 21:50:33 -0500 Received: from mail-lf0-f43.google.com ([209.85.215.43]:34708) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aPLcN-0007Be-HO for 22481@debbugs.gnu.org; Fri, 29 Jan 2016 21:50:31 -0500 Received: by mail-lf0-f43.google.com with SMTP id 17so57686027lfz.1 for <22481@debbugs.gnu.org>; Fri, 29 Jan 2016 18:50:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=0TmmfAnkj4I8Te1FQBtG6ihvSNqQ6gYAdy7z3WmR7FQ=; b=Aiiykd0k6LzkAPRVXceYiKgTHWJuQpWYsVW4Ag+3/plLq17ekSuqos9IYxuOUUSiBG ZL28m9FZ48+P4nEmyTA51BUqGTGY06raewmmD4KsTyTPEJ4FBO4nj79dD7cAgmvdah+p kGmMkOFHkU3ogeuwHssDaQe4IRMR/5WQYWTErQjPv+NRWLyVXXYx47lRmR2eZ7AmgU4U YVAMxa7SAe77jQShwmvjJH4OxEVSHs+agCMqbVTAP2ymZF1CRloAaJopUcj/7Hyj95X6 21DdvVZkNjh1ga5vd9Byi78COW3tOjoEkKyAR5W4Qwy3FyMIUYLMVSA3NOUw7sjvQ6by skJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=0TmmfAnkj4I8Te1FQBtG6ihvSNqQ6gYAdy7z3WmR7FQ=; b=AnMV0OujyOXPP43oCFXWvF2YIHPUjyjxSvzrBwfxQOaDZgbAENYrR4qYGXYuYyBcMA kZEC4Z03RvFabG58AhBS/fvXixhBT1ObYt/SyOcmjYbwaWImDC47eeDyOGI5a+GgW7TN jPHr+ulo9EO/7AcDJiVd9IKD1e2sgfgyw+yvg8ECNXR9bDD24k7rMwcU1sctX8ex02u/ GHAAlaW5D/gHTFrtHEir8Tkc0W8zN/BKksQAEjcSKRnS/Y6KjHI6wu1bBJNI0Gafr91K gr2bmJKAUbxgm9f78BI/Mdrmm5YsrhY/O31UmaGUXlatpABweZCZJiie0m1cEgIgIJqP D4Cw== X-Gm-Message-State: AG10YOS5CegKbye6EE7K/PJQWE+bUE8itD3PnOCzICgr7bwQmIlzThcGQUdG3lWKmfx0bA== X-Received: by 10.25.136.139 with SMTP id k133mr4454728lfd.157.1454122225630; Fri, 29 Jan 2016 18:50:25 -0800 (PST) Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id x66sm310940lfd.42.2016.01.29.18.50.24 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 29 Jan 2016 18:50:24 -0800 (PST) References: <56AAC636.90707@yandex.ru> From: Dmitry Gutov Message-ID: <56AC24EF.5010109@yandex.ru> Date: Sat, 30 Jan 2016 05:50:23 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Thunderbird/44.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.5 (/) 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: -0.5 (/) On 01/29/2016 11:42 AM, Jan Synacek wrote: > Please, try my reproducer. The refresh *after* committing a message > tries to display the ignored files. So, this is the actual problem. Thanks. It would've been great if I didn't have to for i in $(seq 1 1000000); do echo ignored > ignored-$i.rej; done which took several minutes on my machine, and took considerable time to clean up, too. Another way to reproduce this: - Make changes to a file. - Undo those changes, so it shows up as 'up-to-date' in vc-dir. - Press 'g' there. See the ignored files show up. From unknown Sun Jun 22 17:18:10 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jan Synacek Subject: bug#22481: closed (Re: bug#22481: 25.1.50; vc-hg: emacs "deadlocks" after using hg with huge amounts of ignored files in the repo) Message-ID: References: <56AC355C.8090003@yandex.ru> X-Gnu-PR-Message: they-closed 22481 X-Gnu-PR-Package: emacs Reply-To: 22481@debbugs.gnu.org Date: Sat, 30 Jan 2016 04:01:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1454126462-1735-1" This is a multi-part message in MIME format... ------------=_1454126462-1735-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #22481: 25.1.50; vc-hg: emacs "deadlocks" after using hg with huge amounts = of ignored files in the repo which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 22481@debbugs.gnu.org. --=20 22481: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D22481 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1454126462-1735-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 22481-done) by debbugs.gnu.org; 30 Jan 2016 04:00:39 +0000 Received: from localhost ([127.0.0.1]:40922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aPMiF-0000RE-31 for submit@debbugs.gnu.org; Fri, 29 Jan 2016 23:00:39 -0500 Received: from mail-lb0-f176.google.com ([209.85.217.176]:34115) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aPMiC-0000R0-IJ for 22481-done@debbugs.gnu.org; Fri, 29 Jan 2016 23:00:36 -0500 Received: by mail-lb0-f176.google.com with SMTP id cl12so50629968lbc.1 for <22481-done@debbugs.gnu.org>; Fri, 29 Jan 2016 20:00:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=l/MEjp7uuXUiNSyTDv4A3QYYRlVKCe2tW4hryaWvpS8=; b=ceCiczR4QmzCZCJO/yEij8nPFO7jwVgfMo9nFDV3Y2uRN7ckxkWniJ+NcdyIGs3gzn Bp8qmBN4OmB6lYfb881K0ergr6nSo49jvC2rJcBofsc4+PUj5tfNfHnvR7nnCfQjte0t VwM8+f1hUPrVlq+vp6CbEAYxxmSD8UrDnVehULU1Cs+Do58W0vsc1AnlOi+rkDrHZuh/ J+yJdyWbWcxSg/9KxdmktwzZr+rBna1ghJ+5C/EUTDW6ZGhBxQKOKolcUWBKSyy/fm/c wOs33scq59GasHatApSMQIQxoy1aq441q2dmT0iIyP8VpfKqVQ/E+FkSsiIR/HQWCLA5 4IGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=l/MEjp7uuXUiNSyTDv4A3QYYRlVKCe2tW4hryaWvpS8=; b=j9RmDYp88sDeRxBHozS41nlCx8yhW3173sXZti4pyXpYrcFMnyrihJq0+gEGuoZXbT CqQ0Bd64FO6/3JqjW4ARqpz+VPOzG6HN6Mzq4L6yUCirWfEo8HuPtZdMXOn5Az/2NJcy ZcSSsMsM5bvAXSaeMhX1tjpw5u8VzFi/itQLwWU2c63wiO8dyibyDgpo+y3pB1wW/Kdl anaaWIHI641Wv/5Q10pCvqB/C9uJr3J/hmK8IMcSfRQKQFqYIwmRNK/1Nj2jtWLg4YvS fFL71K7KCpCqWGdP2CQ53DwCCe44VW6MBLt3raMBA+UBp7nBW6P1c7rQH+1rkbgXpS60 jj3g== X-Gm-Message-State: AG10YOTA38+QOyIiqZb5RmZ/8wMQOFPZuwvFVrhMiblw0MGDFb82xu3mAfZRg6Ss7waGgA== X-Received: by 10.112.159.233 with SMTP id xf9mr4452325lbb.21.1454126430615; Fri, 29 Jan 2016 20:00:30 -0800 (PST) Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id p138sm2441751lfb.22.2016.01.29.20.00.29 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 29 Jan 2016 20:00:29 -0800 (PST) Subject: Re: bug#22481: 25.1.50; vc-hg: emacs "deadlocks" after using hg with huge amounts of ignored files in the repo To: Jan Synacek , 22481-done@debbugs.gnu.org References: <56AAC636.90707@yandex.ru> <56AC24EF.5010109@yandex.ru> From: Dmitry Gutov Message-ID: <56AC355C.8090003@yandex.ru> Date: Sat, 30 Jan 2016 07:00:28 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Thunderbird/44.0 MIME-Version: 1.0 In-Reply-To: <56AC24EF.5010109@yandex.ru> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 22481-done 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: -0.4 (/) Version: 25.1 > - Press 'g' there. See the ignored files show up. Should be fixed in 06083cf now. Thanks again, closing. ------------=_1454126462-1735-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 28 Jan 2016 09:11:04 +0000 Received: from localhost ([127.0.0.1]:39081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aOibY-0005Te-08 for submit@debbugs.gnu.org; Thu, 28 Jan 2016 04:11:04 -0500 Received: from eggs.gnu.org ([208.118.235.92]:47834) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aOibW-0005TA-AZ for submit@debbugs.gnu.org; Thu, 28 Jan 2016 04:11:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOibK-0006Ah-RK for submit@debbugs.gnu.org; Thu, 28 Jan 2016 04:10:57 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOibK-0006Ad-OU for submit@debbugs.gnu.org; Thu, 28 Jan 2016 04:10:50 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38761) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOibF-0007au-W0 for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2016 04:10:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOibA-00068y-4P for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2016 04:10:45 -0500 Received: from mx1.redhat.com ([209.132.183.28]:58443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOib9-00068s-Pv for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2016 04:10:40 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id E21783F3CE for ; Thu, 28 Jan 2016 09:10:38 +0000 (UTC) Received: from ntb-work (dhcp-24-126.brq.redhat.com [10.34.24.126]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u0S9AaGo025371 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 28 Jan 2016 04:10:37 -0500 From: Jan Synacek To: bug-gnu-emacs@gnu.org Subject: 25.1.50; vc-hg: emacs "deadlocks" after using hg with huge amounts of ignored files in the repo User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/25.1.50.2 (x86_64-redhat-linux-gnu) Date: Thu, 28 Jan 2016 10:10:36 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit 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: -4.1 (----) Steps to reproduce: 1) hg clone https://bitbucket.org/vim-mirror/vim (or any other repo will do, but I couldn't resist reproducing the issue on this one...) 2) Generate a million files, that will be considered "ignored" in the repo $ cd vim $ for i in $(seq 1 1000000); do echo ignored > ignored-$i.rej; done 3) Fire up emacs, C-x C-f At this point, it will take a while, but that may be a separate issue. 4) Edit any tracked file and save it. 5) C-x v d ENTER 6) Go to a file that's been modified and hit 'v', enter a log message, then C-c C-c to commit the change. 7) Hit 'g' to refresh the buffer. 8) Observe the freeze. Emacs freezes because it's running 'hg status -mardui -C '. The '-i' is the problem here. Since it takes hg itself a very long time, I'm not sure if it can be directly fixed in Emacs. But at least a configuration option that would allow one to disable the "-i" option would be nice. Original bugreport: https://bugzilla.redhat.com/show_bug.cgi?id=3D1232422 In GNU Emacs 25.1.50.2 (x86_64-redhat-linux-gnu, GTK+ Version 3.18.6) of 2016-01-28 built on copr-builder-504260318.novalocal Windowing system distributor 'Fedora Project', version 11.0.11800000 System Description: Generic release 23 (Generic) Configured using: 'configure --build=3Dx86_64-redhat-linux-gnu --host=3Dx86_64-redhat-linux-gnu --program-prefix=3D --disable-dependency-tracking --prefix=3D/usr --exec-prefix=3D/usr --bindir=3D/usr/bin --sbindir=3D/usr/sbin --sysconfdir=3D/etc --datadir=3D/usr/share --includedir=3D/usr/include --libdir=3D/usr/lib64 --libexecdir=3D/usr/libexec --localstatedir=3D/var --sharedstatedir=3D/var/lib --mandir=3D/usr/share/man --infodir=3D/usr/share/info --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=3Dgtk3 --with-gpm=3Dno build_alias=3Dx86_64-redhat-linux-gnu host_alias=3Dx86_64-redhat-linux-gnu 'CFLAGS=3D-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=3Dformat-security -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fstack-protector-strong --param=3Dssp-buffer-size=3D4 -grecord-gcc-switches -specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=3Dgeneric' LDFLAGS=3D-Wl,-z,relro PKG_CONFIG_PATH=3D:/usr/lib64/pkgconfig:/usr/share/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LANG: en_US.utf8 value of $XMODIFIERS: @im=3Dnone locale-coding-system: utf-8-unix Major mode: ERC Minor modes in effect: diff-auto-refine-mode: t erc-notifications-mode: t shell-dirtrack-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t recentf-mode: t override-global-mode: t show-paren-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Loading /home/jsynacek/.emacs.d/recentf...done Cleaning up the recentf list...done (0 removed) For information about GNU Emacs and the GNU system, type C-h C-a. ad-handle-definition: =E2=80=98tramp-read-passwd=E2=80=99 got redefined (redacted for private info) Mark set Could not load org-notmuch Load-path shadows: /home/jsynacek/.emacs.d/elpa/helm-20160119.417/helm-multi-match hides /home= /jsynacek/.emacs.d/elpa/helm-core-20160119.936/helm-multi-match /home/jsynacek/.emacs.d/elpa/magit-20160119.1409/magit-popup hides /home/js= ynacek/.emacs.d/elpa/magit-popup-20160119.1409/magit-popup Features: (shadow sort mail-extr emacsbug sendmail notmuch hl-line notmuch-message notmuch-maildir-fcc notmuch-hello notmuch-tree notmuch-parser notmuch-show notmuch-print notmuch-crypto notmuch-mua notmuch-address notmuch-wash diff-mode coolj notmuch-query goto-addr icalendar diary-lib diary-loaddefs cal-menu calendar cal-loaddefs notmuch-tag crm notmuch-lib notmuch-version cl message idna rfc822 mml mailabbrev mail-utils gmm-utils mailheader mm-view mml-smime mml-sec epg smime dig mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums erc-desktop-notifications notifications dbus winner helm-command helm-elisp helm-eval edebug helm-mode helm-files rx image-dired tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell dired-aux ffap helm-buffers helm-elscreen helm-tags helm-bookmark helm-adaptive helm-info bookmark helm-locate helm-external helm-net browse-url xml url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap helm-types private erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete pcomplete erc-track erc-match erc-button erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat format-spec thingatpt pp helm-swoop helm-grep helm-regexp helm-plugin helm-utils compile comint ansi-color ring helm-help helm helm-source eieio-compat helm-multi-match helm-lib geiser recentf tree-widget wid-edit edmacro kmacro dired-x dired dired-loaddefs cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs use-package diminish bind-key easy-mmode advice finder-inf goto-chg-autoloads undo-tree-autoloads info package epg-config url-handlers url-parse auth-source cl-seq eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core cl-macs gv eieio-loaddefs gnus-util mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr password-cache url-vars paren time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core 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 charscript 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 404816 27547) (symbols 48 39279 0) (miscs 40 147 579) (strings 32 78662 12230) (string-bytes 1 2409843) (vectors 16 58360) (vector-slots 8 965773 25031) (floats 8 378 279) (intervals 56 1052 111) (buffers 976 19) (heap 1024 47080 3625)) --=20 Jan Synacek Software Engineer, Red Hat ------------=_1454126462-1735-1-- From unknown Sun Jun 22 17:18:10 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: sds@gnu.org Subject: bug#19304: closed (Re: bug#22481: 25.1.50; vc-hg: emacs "deadlocks" after using hg with huge amounts of ignored files in the repo) Message-ID: References: <56AC355C.8090003@yandex.ru> X-Gnu-PR-Message: they-closed 19304 X-Gnu-PR-Package: emacs Reply-To: 19304@debbugs.gnu.org Date: Sat, 30 Jan 2016 04:01:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1454126463-1735-3" This is a multi-part message in MIME format... ------------=_1454126463-1735-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #22481: 25.0.50; vc-dir hangs forever which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 19304@debbugs.gnu.org. --=20 22481: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D22481 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1454126463-1735-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 22481-done) by debbugs.gnu.org; 30 Jan 2016 04:00:39 +0000 Received: from localhost ([127.0.0.1]:40922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aPMiF-0000RE-31 for submit@debbugs.gnu.org; Fri, 29 Jan 2016 23:00:39 -0500 Received: from mail-lb0-f176.google.com ([209.85.217.176]:34115) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aPMiC-0000R0-IJ for 22481-done@debbugs.gnu.org; Fri, 29 Jan 2016 23:00:36 -0500 Received: by mail-lb0-f176.google.com with SMTP id cl12so50629968lbc.1 for <22481-done@debbugs.gnu.org>; Fri, 29 Jan 2016 20:00:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=l/MEjp7uuXUiNSyTDv4A3QYYRlVKCe2tW4hryaWvpS8=; b=ceCiczR4QmzCZCJO/yEij8nPFO7jwVgfMo9nFDV3Y2uRN7ckxkWniJ+NcdyIGs3gzn Bp8qmBN4OmB6lYfb881K0ergr6nSo49jvC2rJcBofsc4+PUj5tfNfHnvR7nnCfQjte0t VwM8+f1hUPrVlq+vp6CbEAYxxmSD8UrDnVehULU1Cs+Do58W0vsc1AnlOi+rkDrHZuh/ J+yJdyWbWcxSg/9KxdmktwzZr+rBna1ghJ+5C/EUTDW6ZGhBxQKOKolcUWBKSyy/fm/c wOs33scq59GasHatApSMQIQxoy1aq441q2dmT0iIyP8VpfKqVQ/E+FkSsiIR/HQWCLA5 4IGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=l/MEjp7uuXUiNSyTDv4A3QYYRlVKCe2tW4hryaWvpS8=; b=j9RmDYp88sDeRxBHozS41nlCx8yhW3173sXZti4pyXpYrcFMnyrihJq0+gEGuoZXbT CqQ0Bd64FO6/3JqjW4ARqpz+VPOzG6HN6Mzq4L6yUCirWfEo8HuPtZdMXOn5Az/2NJcy ZcSSsMsM5bvAXSaeMhX1tjpw5u8VzFi/itQLwWU2c63wiO8dyibyDgpo+y3pB1wW/Kdl anaaWIHI641Wv/5Q10pCvqB/C9uJr3J/hmK8IMcSfRQKQFqYIwmRNK/1Nj2jtWLg4YvS fFL71K7KCpCqWGdP2CQ53DwCCe44VW6MBLt3raMBA+UBp7nBW6P1c7rQH+1rkbgXpS60 jj3g== X-Gm-Message-State: AG10YOTA38+QOyIiqZb5RmZ/8wMQOFPZuwvFVrhMiblw0MGDFb82xu3mAfZRg6Ss7waGgA== X-Received: by 10.112.159.233 with SMTP id xf9mr4452325lbb.21.1454126430615; Fri, 29 Jan 2016 20:00:30 -0800 (PST) Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id p138sm2441751lfb.22.2016.01.29.20.00.29 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 29 Jan 2016 20:00:29 -0800 (PST) Subject: Re: bug#22481: 25.1.50; vc-hg: emacs "deadlocks" after using hg with huge amounts of ignored files in the repo To: Jan Synacek , 22481-done@debbugs.gnu.org References: <56AAC636.90707@yandex.ru> <56AC24EF.5010109@yandex.ru> From: Dmitry Gutov Message-ID: <56AC355C.8090003@yandex.ru> Date: Sat, 30 Jan 2016 07:00:28 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Thunderbird/44.0 MIME-Version: 1.0 In-Reply-To: <56AC24EF.5010109@yandex.ru> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 22481-done 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: -0.4 (/) Version: 25.1 > - Press 'g' there. See the ignored files show up. Should be fixed in 06083cf now. Thanks again, closing. ------------=_1454126463-1735-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 8 Dec 2014 13:48:22 +0000 Received: from localhost ([127.0.0.1]:57140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xxyfm-0005wP-3p for submit@debbugs.gnu.org; Mon, 08 Dec 2014 08:48:22 -0500 Received: from eggs.gnu.org ([208.118.235.92]:60252) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xxyfk-0005wI-6g for submit@debbugs.gnu.org; Mon, 08 Dec 2014 08:48:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xxyfg-00062d-Dw for submit@debbugs.gnu.org; Mon, 08 Dec 2014 08:48:20 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59211) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xxyfg-00062Z-Bw for submit@debbugs.gnu.org; Mon, 08 Dec 2014 08:48:16 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xxyfc-0000mf-9s for bug-gnu-emacs@gnu.org; Mon, 08 Dec 2014 08:48:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XxyfY-000615-GO for bug-gnu-emacs@gnu.org; Mon, 08 Dec 2014 08:48:12 -0500 Received: from mail-qg0-x229.google.com ([2607:f8b0:400d:c04::229]:61610) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxyfQ-0005zx-Jf; Mon, 08 Dec 2014 08:48:00 -0500 Received: by mail-qg0-f41.google.com with SMTP id j5so3523833qga.14 for ; Mon, 08 Dec 2014 05:48:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:return-receipt-to:reply-to:date:message-id :mime-version:content-type; bh=3Rr8D9D8M50agnS+NMAOHvevCbxVGAO3wU2L0gZm/Z8=; b=jsEVzcSnvXvnqTPp4aDNlGLjiwaGCjrXw4OxXs8zo+CI4cJReEbAVyNROfT3W4Odnp cy0ARexve2TvNRbARJuwtgazd2Ib+kHNk2no94oME4dzKyJXqewjoARVYowmklpCFPQn 0OU9OrUe7wq4eXRy5532cVlrJ0tLPeBVFr4Ln5086N3sxxdH6xe6MWiPL4zY/RW9Wj3H sgkd9c/BfYF/tvE2VfhOSzueqpTwoLNvOdsHGPyFSR4bl8msVkbi8NSjvcQArIF8rnYJ SFau0n8b57me6I7f5V0gGqNidrLBSCLhKk5EjNitXVyz5h/E+vkY7ffvPFMgFAm78yca ihsQ== X-Received: by 10.140.92.120 with SMTP id a111mr51846270qge.39.1418046479972; Mon, 08 Dec 2014 05:47:59 -0800 (PST) Received: from sds-MacBook-Pro.local ([66.9.135.66]) by mx.google.com with ESMTPSA id k11sm37788960qgf.18.2014.12.08.05.47.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Dec 2014 05:47:58 -0800 (PST) From: Sam Steingold To: bug-gnu-emacs@gnu.org Subject: 25.0.50; vc-dir hangs forever X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Date: Mon, 08 Dec 2014 08:47:57 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: sds@gnu.org 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: -4.0 (----) When I do C-x v d ~ RET (C-x v d runs the command vc-dir), I get the buffer and the message "running hg status -mardui -C . in background" and the *vc-dir* buffer never actually becomes usable. This behavior started relatively recently (within the last couple of weeks). My home directory is under hg and many subtrees are ignored: --8<---------------cut here---------------start------------->8--- $ time hg status -mardui -C . | cut -f1 -d' ' | sort | uniq -c | sort -n' 1 A 5 M 19 ? 185661 I real 0m11.587s user 0m10.745s sys 0m1.103s --8<---------------cut here---------------end--------------->8--- as you see, the hg command completes fast but emacs, apparently, chokes on the 180k ignored files. In GNU Emacs 25.0.50.9 (x86_64-apple-darwin14.0.0, NS appkit-1343.16 Version 10.10.1 (Build 14B25)) of 2014-12-08 on sds-MacBook-Pro.local Repository revision: 7fb8fc35ebf980ed299ce9dfd1694fa0f1ea169b Windowing system distributor `Apple', version 10.3.1343 Configured using: `configure --with-ns' Configured features: IMAGEMAGICK ACL GNUTLS LIBXML2 ZLIB Important settings: value of $LANG: C locale-coding-system: utf-8-unix Major mode: Shell Minor modes in effect: diff-auto-refine-mode: t rcirc-track-minor-mode: t which-function-mode: t url-handler-mode: t show-paren-mode: t desktop-save-mode: t shell-dirtrack-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 column-number-mode: t line-number-mode: t Recent messages: Spell-checking region using aspell with default dictionary... Exited spell-checking Sending... Mark set [2 times] Sending via mail... Type "q" in help window to delete it. Sending email Sending email done gnutls.c: [0] (Emacs) fatal error: The TLS connection was non-properly terminated. Sending...done next-line: End of buffer [3 times] Load-path shadows: None found. Features: (help-mode gnutls smtpmail ispell cl-indent pp shadow sort bbdb-message mailalias cookie1 mail-extr gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range gnus-win skeleton emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs disp-table network-stream nsm starttls tls time-stamp ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff misearch multi-isearch tramp-cache mule-util tramp-sh tramp tramp-compat tramp-loaddefs trampver remember bug-reference add-log sh-script smie dired-aux python json pig-mode vc-hg make-mode view noutline outline vc-git diff-mode easy-mmode vc-dir ewoc vc vc-dispatcher package epg-config dired midnight warnings gnus gnus-ems nnheader mail-utils wid-edit bbdb-mua bbdb-com crm mailabbrev bbdb-loaddefs bbdb bbdb-site timezone rcirc server which-func imenu url-handlers url-parse auth-source cl-macs eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core gnus-util mm-util mail-prsvr password-cache url-vars paren help-at-pt desktop frameset cus-start cus-load ido ess-toolbar ess-mouse mouseme thingatpt browse-url ess-menu ess-swv ess-noweb ess-noweb-font-lock-mode ess-bugs-l essd-els ess-sas-d ess-sas-l ess-sas-a shell pcomplete ess-sta-d ess-sta-l cc-vars cc-defs make-regexp ess-sp6-d ess-sp3-d ess-julia ess-r-d compile ess-tracebug format-spec ess-roxy advice help-fns hideshow ess-help ess-developer ess-r-args ess-s-l ess ess-inf comint ansi-color ring ess-mode ess-noweb-mode ess-utils ess-custom executable easymenu ess-compat ess-site cl gv cl-loaddefs cl-lib time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar 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 minibuffer 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 make-network-process cocoa ns multi-tty emacs) Memory information: ((conses 16 2340516 126226) (symbols 48 65311 0) (miscs 40 101868 767) (strings 32 286040 38685) (string-bytes 1 13454818) (vectors 16 148643) (vector-slots 8 1800520 46530) (floats 8 612 1030) (intervals 56 578435 12684) (buffers 976 60)) -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1343 http://www.childpsy.net/ http://americancensorship.org http://mideasttruth.com http://honestreporting.com http://iris.org.il People hear what they want to hear and discard the rest. ------------=_1454126463-1735-3--