From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 24 21:07:34 2017 Received: (at submit) by debbugs.gnu.org; 25 Mar 2017 01:07:34 +0000 Received: from localhost ([127.0.0.1]:42955 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1craB3-00028A-MZ for submit@debbugs.gnu.org; Fri, 24 Mar 2017 21:07:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50329) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1craB1-00027v-Vp for submit@debbugs.gnu.org; Fri, 24 Mar 2017 21:07:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1craAu-00084b-CA for submit@debbugs.gnu.org; Fri, 24 Mar 2017 21:07:26 -0400 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, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59555) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1craAu-00084X-8V for submit@debbugs.gnu.org; Fri, 24 Mar 2017 21:07:24 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1craAs-0006wa-87 for bug-gnu-emacs@gnu.org; Fri, 24 Mar 2017 21:07:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1craAq-00083q-1S for bug-gnu-emacs@gnu.org; Fri, 24 Mar 2017 21:07:22 -0400 Received: from mail-vk0-x22f.google.com ([2607:f8b0:400c:c05::22f]:32980) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1craAp-00083m-Qz for bug-gnu-emacs@gnu.org; Fri, 24 Mar 2017 21:07:19 -0400 Received: by mail-vk0-x22f.google.com with SMTP id d188so6156708vka.0 for ; Fri, 24 Mar 2017 18:07:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=D699oedk9mv2IbVnLcOB8YpWTXWnhma+dnIVzOy4QL8=; b=TtiR2taiIOgmHLz4eQs3zIec3vUscdWo1L44WbE/l3Eyp+9pFn4zeNyyFSPdgQQLtn R0xHEK1H8JK2HtPUpdQ2CUl8VUTe9f4KP5w8C9D+MlUeGT2L4+vZc0GOO8nRmOeOmIHj /oENi1BftEcgd2Ovk+6DhaDlNJ2mMEWF2FS0Ndv/rakzY2BAGTMNUsf26/chroLOnENN OYeVVckE9NiKzEYa+MAmGJFtGOpxFBtWEd5abcXg4J3+GgEIwy9h/1LeIVTAW6f9C72G CVt0WinLLUMXx/2bcNj/3KeI1eR0JH9n4R84jblh6i70ufJhU0PbPHZyW0TMrE3ZtfGX yZeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=D699oedk9mv2IbVnLcOB8YpWTXWnhma+dnIVzOy4QL8=; b=WSIC+E6T7+F9SsUlMIyYoesUW11ZPWRqFon6OBA2GFrZuXuE1zUqTtsRVzU4nbQ6N5 Dy+RcnRNi+E4GCAZWjqoUDgEgMWGTwlZEiLeDOM8Lakl4oiypCdPycfhQ0uyoGdZeKZu KzfIOdphyBv8tMSCqlvWVUgjx3EroxXgHV2e1J6kM9S+resO0N9xfEujvEd046YJVmqq EY0h1K3EoUD+jmljzr/itsNFLsrrRNnSdu+K20sE62cKPqJDnxjbD4qKXz4bGMjgS4JX vWZdSmnVi3Cgqn1JyQRtQ41BN8Vy99ZZnsJMqTmtk3zZQCqLOmVL1wQlRW8b5b3xGZZF /dZA== X-Gm-Message-State: AFeK/H2ERnJRbmTQFKGy3MCk70pGr7d3I6kqX1R2wte9WDveamW5N+1MtrzpQNCuh55zS35JMtZ/lZm+iaHKrQ== X-Received: by 10.159.40.102 with SMTP id c93mr2229372uac.91.1490404038475; Fri, 24 Mar 2017 18:07:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.37.196 with HTTP; Fri, 24 Mar 2017 18:07:18 -0700 (PDT) From: Jim Blandy Date: Fri, 24 Mar 2017 18:07:18 -0700 X-Google-Sender-Auth: BIANIVJAYqmi3eyRQ3vh1ZTXjI0 Message-ID: Subject: 26.0.50; vc-hg.el assumes wrong default ignore pattern syntax To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=94eb2c047d9649087d054b83bb15 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) 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: -3.8 (---) --94eb2c047d9649087d054b83bb15 Content-Type: text/plain; charset=UTF-8 The problem requires vc-hg-state-fast to try to take the fast path, so you need to follow these instructions exactly (except that ~/emacs/src/emacs can be whatever your development emacs executable is): $ hg init snoo $ cd snoo $ echo '\.py(c|o)$' > .hgignore $ hg add .hgignore $ echo hi > file $ ~/emacs/src/emacs -Q file You should see this error in the minibuffer: Error: (invalid-regexp "Unmatched ) or \\)") The problem is that vc-hg--slurp-hgignore-1 believes that default-syntax should be vc-hg--hgignore-add-glob, but the default syntax in an .hgignore file is actually Python/Perl regular expressions. Changing the default value to vc-hg--hgignore-add-pcre seems to fix the problem: modified lisp/vc/vc-hg.el @@ -826,7 +826,7 @@ vc-hg--hgignore-add-path prefix))) (defun vc-hg--slurp-hgignore-1 (hgignore prefix) - (let ((default-syntax 'vc-hg--hgignore-add-glob)) + (let ((default-syntax 'vc-hg--hgignore-add-pcre)) (with-temp-buffer (let ((attr (file-attributes hgignore))) (when attr (insert-file-contents hgignore)) In GNU Emacs 26.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.10) of 2017-03-24 built on shibui Repository revision: 211d41a6fe23fefef0e29d036d8599716e484657 Windowing system distributor 'Fedora Project', version 11.0.11901000 System Description: Fedora release 25 (Twenty Five) Recent messages: Running git commit -- [2 times] Diffing changes to be committed (C-g to abort diffing) [2 times] When done with a buffer, type C-c C-c Type C-c C-c to finish, or C-c C-k to cancel Quit Saving file /home/jimb/emacs/.git/COMMIT_EDITMSG... Wrote /home/jimb/emacs/.git/COMMIT_EDITMSG Git finished [2 times] Quit [3 times] C-h x is undefined Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 LIBSYSTEMD Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: magit-auto-revert-mode: t auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t shell-dirtrack-mode: t diff-auto-refine-mode: t icomplete-mode: t rcirc-track-minor-mode: t tooltip-mode: t global-eldoc-mode: t mouse-wheel-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 line-number-mode: t transient-mark-mode: t Load-path shadows: /home/jimb/elisp/haskell-mode-2.4/haskell-font-lock hides /home/jimb/.emacs.d/elpa/haskell-mode-20170204.556/haskell-font-lock /home/jimb/elisp/haskell-mode-2.4/haskell-cabal hides /home/jimb/.emacs.d/elpa/haskell-mode-20170204.556/haskell-cabal /home/jimb/elisp/haskell-mode-2.4/haskell-mode hides /home/jimb/.emacs.d/elpa/haskell-mode-20170204.556/haskell-mode /home/jimb/elisp/haskell-mode-2.4/inf-haskell hides /home/jimb/.emacs.d/elpa/haskell-mode-20170204.556/inf-haskell /home/jimb/elisp/haskell-mode-2.4/haskell-doc hides /home/jimb/.emacs.d/elpa/haskell-mode-20170204.556/haskell-doc /home/jimb/elisp/haskell-mode-2.4/haskell-decl-scan hides /home/jimb/.emacs.d/elpa/haskell-mode-20170204.556/haskell-decl-scan /home/jimb/elisp/haskell-mode-2.4/haskell-indent hides /home/jimb/.emacs.d/elpa/haskell-mode-20170204.556/haskell-indent Features: (shadow sort mail-extr gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc nnoo gnus-spec gnus-int gnus-range gnus-win gnus nnheader emacsbug vc-annotate vc vc-dispatcher conf-mode eieio-opt speedbar sb-image ezimage dframe 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 crm magit-section magit-popup git-commit log-edit message puny rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader pcvs-util add-log with-editor async-bytecomp async tramp-sh tramp tramp-compat tramp-loaddefs trampver shell pcomplete parse-time format-spec magit-utils jka-compr misearch multi-isearch vc-git diff-mode debug cus-edit wid-edit help-fns radix-tree vc-hg cc-mode cc-fonts cc-guess cc-menus cc-cmds icomplete cus-start cus-load rcirc-reconnect easy-mmode rcirc sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils patchutils jimb-patch page-ext server alt-dired-view dired dired-loaddefs diff-find-mq-file mozilla-c-style google-c-style cc-styles cc-align cc-engine cc-vars cc-defs jimb-frames ffap org-install bugzilla url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap jimb-js compile comint ansi-color mercurial-queues cl flycheck-rust flycheck json map find-func rx company racer f s ucs-normalize rust-mode etags xref project ring dash multiple-cursors mc-hide-unmatched-lines-mode mc-separate-operations rectangular-region-mode mc-mark-pop mc-mark-more thingatpt mc-cycle-cursors mc-edit-lines multiple-cursors-core advice rect typo edmacro kmacro rust-book-md finder-inf info package epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt subr-x gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase 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 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 613476 13950) (symbols 48 43918 6) (miscs 40 302 811) (strings 32 105682 19279) (string-bytes 1 3435161) (vectors 16 66603) (vector-slots 8 1059747 15804) (floats 8 311 503) (intervals 56 31616 4429) (buffers 976 30)) --94eb2c047d9649087d054b83bb15 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
The problem requires vc-hg-state-fast to try to take the f= ast path, so you need to follow these instructions exactly (except that ~/e= macs/src/emacs can be whatever your development emacs executable is):
$ hg init snoo
$ cd snoo
$ echo '\.py(c|o)$' > .hgignore=
$ hg add .hgignore
$ echo hi > file
$ ~/emacs/src/emacs -Q fil= e

You should see this error in the minibuffer:

Error: (invali= d-regexp "Unmatched ) or \\)")

The problem is that vc-hg--= slurp-hgignore-1 believes that default-syntax should be vc-hg--hgignore-add= -glob, but the default syntax in an .hgignore file is actually Python/Perl = regular expressions. Changing the default value to vc-hg--hgignore-add-pcre= seems to fix the problem:

modified=C2=A0=C2=A0 lisp/vc/vc-hg.el
= @@ -826,7 +826,7 @@ vc-hg--hgignore-add-path
=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 prefix)))
=C2=A0
=C2=A0(defun vc-hg--slurp-hgignore-1 (hgignore p= refix)
-=C2=A0 (let ((default-syntax 'vc-hg--hgignore-add-glob))
= +=C2=A0 (let ((default-syntax 'vc-hg--hgignore-add-pcre))
=C2=A0=C2= =A0=C2=A0=C2=A0 (with-temp-buffer
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (= let ((attr (file-attributes hgignore)))
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 (when attr (insert-file-contents hgignore))

In GN= U Emacs 26.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.10)
=C2= =A0of 2017-03-24 built on shibui
Repository revision: 211d41a6fe23fefef0= e29d036d8599716e484657
Windowing system distributor 'Fedora Project&= #39;, version 11.0.11901000
System Description:=C2=A0=C2=A0=C2=A0 Fedora= release 25 (Twenty Five)

Recent messages:
Running git commit -- = [2 times]
Diffing changes to be committed (C-g to abort diffing) [2 time= s]
When done with a buffer, type C-c C-c
Type C-c C-c to finish, or C= -c C-k to cancel
Quit
Saving file /home/jimb/emacs/.git/COMMIT_EDITMS= G...
Wrote /home/jimb/emacs/.git/COMMIT_EDITMSG
Git finished [2 times= ]
Quit [3 times]
C-h x is undefined

Configured features:
XP= M JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTI= FY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLK= IT_SCROLL_BARS GTK3 X11 LIBSYSTEMD

Important settings:
=C2=A0 val= ue of $LANG: en_US.UTF-8
=C2=A0 value of $XMODIFIERS: @im=3Dibus
=C2= =A0 locale-coding-system: utf-8-unix

Major mode: Fundamental

= Minor modes in effect:
=C2=A0 magit-auto-revert-mode: t
=C2=A0 auto-r= evert-mode: t
=C2=A0 global-git-commit-mode: t
=C2=A0 async-bytecomp-= package-mode: t
=C2=A0 shell-dirtrack-mode: t
=C2=A0 diff-auto-refine= -mode: t
=C2=A0 icomplete-mode: t
=C2=A0 rcirc-track-minor-mode: t=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 mouse-whee= l-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mod= e: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 a= uto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-co= mpression-mode: t
=C2=A0 line-number-mode: t
=C2=A0 transient-mark-mo= de: t

Load-path shadows:
/home/jimb/elisp/haskell-mode-2.4/haskel= l-font-lock hides /home/jimb/.emacs.d/elpa/haskell-mode-20170204.556/haskel= l-font-lock
/home/jimb/elisp/haskell-mode-2.4/haskell-cabal hides /home/= jimb/.emacs.d/elpa/haskell-mode-20170204.556/haskell-cabal
/home/jimb/el= isp/haskell-mode-2.4/haskell-mode hides /home/jimb/.emacs.d/elpa/haskell-mo= de-20170204.556/haskell-mode
/home/jimb/elisp/haskell-mode-2.4/inf-haske= ll hides /home/jimb/.emacs.d/elpa/haskell-mode-20170204.556/inf-haskell
= /home/jimb/elisp/haskell-mode-2.4/haskell-doc hides /home/jimb/.emacs.d/elp= a/haskell-mode-20170204.556/haskell-doc
/home/jimb/elisp/haskell-mode-2.= 4/haskell-decl-scan hides /home/jimb/.emacs.d/elpa/haskell-mode-20170204.55= 6/haskell-decl-scan
/home/jimb/elisp/haskell-mode-2.4/haskell-indent hid= es /home/jimb/.emacs.d/elpa/haskell-mode-20170204.556/haskell-indent
Features:
(shadow sort mail-extr gnus-msg gnus-art mm-uu mml2015 mm-vie= w mml-smime
smime dig gnus-sum gnus-group gnus-undo gnus-start gnus-clou= d nnimap
nnmail mail-source tls gnutls utf7 netrc nnoo gnus-spec gnus-in= t
gnus-range gnus-win gnus nnheader emacsbug vc-annotate vc vc-dispatche= r
conf-mode eieio-opt speedbar sb-image ezimage dframe magit-obsoletemagit-blame magit-stash magit-bisect magit-remote magit-commit
magit-se= quence magit-notes magit-worktree magit-branch magit-files
magit-refs ma= git-status magit magit-repos magit-apply magit-wip
magit-log magit-diff = smerge-mode magit-core magit-autorevert autorevert
filenotify magit-proc= ess magit-margin magit-mode magit-git crm
magit-section magit-popup git-= commit log-edit message puny rfc822 mml
mml-sec epa derived epg gnus-uti= l rmail rmail-loaddefs mm-decode
mm-bodies mm-encode mail-parse rfc2231 = mailabbrev gmm-utils mailheader
pcvs-util add-log with-editor async-byte= comp async tramp-sh tramp
tramp-compat tramp-loaddefs trampver shell pco= mplete parse-time
format-spec magit-utils jka-compr misearch multi-isear= ch vc-git
diff-mode debug cus-edit wid-edit help-fns radix-tree vc-hg cc= -mode
cc-fonts cc-guess cc-menus cc-cmds icomplete cus-start cus-loadrcirc-reconnect easy-mmode rcirc sendmail rfc2047 rfc2045 ietf-drums
mm= -util mail-prsvr mail-utils patchutils jimb-patch page-ext server
alt-di= red-view dired dired-loaddefs diff-find-mq-file mozilla-c-style
google-c= -style cc-styles cc-align cc-engine cc-vars cc-defs jimb-frames
ffap org= -install bugzilla url url-proxy url-privacy url-expand
url-methods url-h= istory url-cookie url-domsuf url-util mailcap jimb-js
compile comint ans= i-color mercurial-queues cl flycheck-rust flycheck
json map find-func rx= company racer f s ucs-normalize rust-mode etags
xref project ring dash = multiple-cursors mc-hide-unmatched-lines-mode
mc-separate-operations rec= tangular-region-mode mc-mark-pop mc-mark-more
thingatpt mc-cycle-cursors= mc-edit-lines multiple-cursors-core advice
rect typo edmacro kmacro rus= t-book-md finder-inf info package epg-config
url-handlers url-parse auth= -source cl-seq eieio eieio-core cl-macs
eieio-loaddefs password-cache ur= l-vars seq byte-opt subr-x gv bytecomp
byte-compile cl-extra help-mode e= asymenu cconv cl-loaddefs pcase 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 fring= e 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 t= ai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slova= k czech european
ethiopic indian cyrillic chinese composite charscript c= ase-table
epa-hook jka-cmpr-hook help simple abbrev obarray minibuffercl-preloaded nadvice loaddefs button faces cus-face macroexp files
tex= t-properties overlay sha1 md5 base64 format env code-pages mule
custom w= idget hashtable-print-readable backquote dbusbind inotify
dynamic-settin= g system-font-setting font-render-setting move-toolbar gtk
x-toolkit x m= ulti-tty make-network-process emacs)

Memory information:
((conses= 16 613476 13950)
=C2=A0(symbols 48 43918 6)
=C2=A0(miscs 40 302 811)=
=C2=A0(strings 32 105682 19279)
=C2=A0(string-bytes 1 3435161)
= =C2=A0(vectors 16 66603)
=C2=A0(vector-slots 8 1059747 15804)
=C2=A0(= floats 8 311 503)
=C2=A0(intervals 56 31616 4429)
=C2=A0(buffers 976 = 30))

--94eb2c047d9649087d054b83bb15-- From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 09 22:53:45 2017 Received: (at 26249-done) by debbugs.gnu.org; 10 Apr 2017 02:53:45 +0000 Received: from localhost ([127.0.0.1]:40379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cxPSb-0007gg-EW for submit@debbugs.gnu.org; Sun, 09 Apr 2017 22:53:45 -0400 Received: from mail-wr0-f180.google.com ([209.85.128.180]:35647) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cxPSZ-0007gS-PK for 26249-done@debbugs.gnu.org; Sun, 09 Apr 2017 22:53:44 -0400 Received: by mail-wr0-f180.google.com with SMTP id o21so111199324wrb.2 for <26249-done@debbugs.gnu.org>; Sun, 09 Apr 2017 19:53:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=i2ECoefzwRU+E13S8wUoSf1ks5P0e+O4+P/bD9ch2qw=; b=U1mcuky5BM5H4PEA+a5seoQ2qFuI8QZipwLRx8lJlueinrVCDBmMt+YhHYKVddmble w9x9Bro0XSUyRvPWPHoc0sDaEWpsIQWUtktnedJAD1jjiVnsNrfQZxFP4gEu0qcKCyN5 cEDTj54j2lhwTz2rPq8i4FB2CTTRaq/vO9uxjOEHSc3cZlEZ3zJjQ9NcW/5uE7Qnddf+ JIyGHBYKYNYfwJ/CuMZMEphNd8aWIxqoX4+DWMMjDHVbZTATtzH8YgI1U7iuI+qVHaj+ uN0bunJqFGatnZ8K3qiWkxYCeB2trincTPUMeovW7Q70R2jjUhly8vVgFtw6goqxVmq8 s69g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=i2ECoefzwRU+E13S8wUoSf1ks5P0e+O4+P/bD9ch2qw=; b=lyFZIhvwuztgW+uZipx4Ddu/xisSTT0MoLYjq/o8Xp4K3dN4S2fybNTw0beDNkwgPc rFlnzaRnqN/yTh7P4TiDtJchkAUUGzkg+/EW3AZBO13mWD+W/kW3Wcmb1d1ksLc0txoG yYDFjTk3tNoeZu1RT/TlLrpPAUpyxpXiU7+jEF1phEHz/k/lzbSwAsvfZlapFQyMYAqP CnForxRKG27GIJQjIUDOyHe2vygNwu0CuuttOWiJtFcHJxLXmRPRN+kHi+FNnRpVhc4I niqKod3D6PS4NJ2WTAdVoITbTSuQZ+YcT+5z4Bt6MHs7LmNhzmUw9xnEQvl4A1y9YaW7 QZZQ== X-Gm-Message-State: AFeK/H14UIu/6eHd3PmCA2sIRZQDg6/tD/mbllbIjbafh8iPRDtlT13nJ6QkPUr7x9Oqtw== X-Received: by 10.223.142.45 with SMTP id n42mr22180242wrb.131.1491792817972; Sun, 09 Apr 2017 19:53:37 -0700 (PDT) Received: from [192.168.1.3] ([185.105.173.156]) by smtp.googlemail.com with ESMTPSA id 24sm15519546wrw.46.2017.04.09.19.53.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Apr 2017 19:53:37 -0700 (PDT) Subject: Re: bug#26249: 26.0.50; vc-hg.el assumes wrong default ignore pattern syntax To: Jim Blandy , 26249-done@debbugs.gnu.org References: From: Dmitry Gutov Message-ID: Date: Mon, 10 Apr 2017 05:53:35 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 26249-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: -2.1 (--) Version: 26.1 On 25.03.2017 03:07, Jim Blandy wrote: > The problem is that vc-hg--slurp-hgignore-1 believes that default-syntax > should be vc-hg--hgignore-add-glob, but the default syntax in an > .hgignore file is actually Python/Perl regular expressions. Changing the > default value to vc-hg--hgignore-add-pcre seems to fix the problem: > > modified lisp/vc/vc-hg.el > @@ -826,7 +826,7 @@ vc-hg--hgignore-add-path > prefix))) > > (defun vc-hg--slurp-hgignore-1 (hgignore prefix) > - (let ((default-syntax 'vc-hg--hgignore-add-glob)) > + (let ((default-syntax 'vc-hg--hgignore-add-pcre)) > (with-temp-buffer > (let ((attr (file-attributes hgignore))) > (when attr (insert-file-contents hgignore)) Thanks! Applied. From unknown Sat Jun 14 03:57:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 08 May 2017 11:24:05 +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