From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: "Mark A. Hershberger" Newsgroups: gmane.emacs.bugs Subject: bug#39285: 28.0.50; vc-dir on gitdir results in error Date: Sat, 25 Jan 2020 16:55:21 -0500 Message-ID: <87lfpvqjzq.fsf@everybody.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="119233"; mail-complaints-to="usenet@ciao.gmane.io" To: 39285@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 25 22:56:15 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ivTPb-000UzI-Fs for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Jan 2020 22:56:15 +0100 Original-Received: from localhost ([::1]:57786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ivTPa-0006V3-Kl for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Jan 2020 16:56:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39300) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ivTPQ-0006Us-Jx for bug-gnu-emacs@gnu.org; Sat, 25 Jan 2020 16:56:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ivTPO-0007UB-Pn for bug-gnu-emacs@gnu.org; Sat, 25 Jan 2020 16:56:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50442) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ivTPO-0007TY-Ll for bug-gnu-emacs@gnu.org; Sat, 25 Jan 2020 16:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ivTPO-0006S8-LD for bug-gnu-emacs@gnu.org; Sat, 25 Jan 2020 16:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Mark A. Hershberger" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Jan 2020 21:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39285 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.157998934024773 (code B ref -1); Sat, 25 Jan 2020 21:56:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Jan 2020 21:55:40 +0000 Original-Received: from localhost ([127.0.0.1]:56415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ivTP2-0006RU-3f for submit@debbugs.gnu.org; Sat, 25 Jan 2020 16:55:40 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:43390) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ivTP0-0006RN-UN for submit@debbugs.gnu.org; Sat, 25 Jan 2020 16:55:39 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39258) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ivTOz-0006Q2-ES for bug-gnu-emacs@gnu.org; Sat, 25 Jan 2020 16:55:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ivTOx-00051K-JS for bug-gnu-emacs@gnu.org; Sat, 25 Jan 2020 16:55:37 -0500 Original-Received: from nospam.nichework.com ([206.71.169.33]:49772) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ivTOx-0004ei-BR for bug-gnu-emacs@gnu.org; Sat, 25 Jan 2020 16:55:35 -0500 Original-Received: from localhost (localhost.localdmain [127.0.0.1]) by nospam.nichework.com (Postfix) with ESMTP id 14BF0B0031 for ; Sat, 25 Jan 2020 16:54:14 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at nospam.nichework.com Original-Received: from nospam.nichework.com ([127.0.0.1]) by localhost (nospam.nichework.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xKKQZuAndIGl for ; Sat, 25 Jan 2020 16:54:13 -0500 (EST) Original-Received: from mail.nichework.com (mail.nichework.com [108.161.151.158]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by nospam.nichework.com (Postfix) with ESMTPS id 7F6A1B0030 for ; Sat, 25 Jan 2020 16:54:13 -0500 (EST) Original-Received: from mail.nichework.com (localhost.localdomain [127.0.0.1]) by mail.nichework.com (Postfix) with ESMTPS id DB6C14E1C21 for ; Sat, 25 Jan 2020 13:55:30 -0800 (PST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.nichework.com (Postfix) with ESMTP id CE89E4E0D31 for ; Sat, 25 Jan 2020 13:55:30 -0800 (PST) X-Virus-Scanned: amavisd-new at mail.nichework.com Original-Received: from mail.nichework.com ([127.0.0.1]) by localhost (mail.nichework.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id f74vGg-AVwNO for ; Sat, 25 Jan 2020 13:55:30 -0800 (PST) Original-Received: from silk.everybody.org (unknown [24.115.224.241]) by mail.nichework.com (Postfix) with ESMTPSA id 76A944E0799 for ; Sat, 25 Jan 2020 13:55:30 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.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: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:175287 Archived-At: While trying projectile's "Browse dirty projects", I hit an error. I was able to reproduce this error using (vc-dir "/home/mah/work/code/emacs/.git/") or any other git dir. Here is the backtrace: substring(nil 0 0) replace-regexp-in-string("^stash@" " " nil) vc-git-stash-list() vc-git-dir-extra-headers("/home/mah/work/code/emacs/.git/") apply(vc-git-dir-extra-headers "/home/mah/work/code/emacs/.git/") vc-call-backend(Git dir-extra-headers "/home/mah/work/code/emacs/.git/") vc-dir-headers(Git "/home/mah/work/code/emacs/.git/") vc-dir-refresh() vc-dir-mode() vc-dir("/home/mah/work/code/emacs/.git/") eval((vc-dir "/home/mah/work/code/emacs/.git/") t) eval-expression((vc-dir "/home/mah/work/code/emacs/.git/") nil nil 127) funcall-interactively(eval-expression (vc-dir "/home/mah/work/code/emacs/.git/") nil nil 127) call-interactively(eval-expression nil nil) command-execute(eval-expression) In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5, cairo version 1.16.0) of 2020-01-24 built on silk Repository revision: ff630b56939541752097e5cc87c3db1de68d4c5f Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Debian GNU/Linux 10 (buster) Recent messages: Entering debugger... Mark set next-line: End of buffer [10 times] Saved text from " substring(nil 0 0) replace-regexp-in" Back to top level Quit Making completion list... user-error: Beginning of history; no preceding item user-error: End of history; no default available [2 times] Configured using: 'configure --with-modules --with-xwidgets --with-gconf --with-cairo --with-imagemagick' Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: VC dir Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-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: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils thingatpt help-fns radix-tree cl-print debug backtrace help-mode find-func vc-git diff-mode easymenu easy-mmode vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs vc-dir seq byte-opt gv bytecomp byte-compile cconv ewoc vc cl-loaddefs cl-lib vc-dispatcher 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 tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer 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 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 threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting xwidget-internal cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 63534 5598) (symbols 48 7744 1) (strings 32 22875 1739) (string-bytes 1 697483) (vectors 16 12421) (vector-slots 8 155309 11316) (floats 8 27 73) (intervals 56 347 0) (buffers 1000 16))