From unknown Fri Sep 05 11:01:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#28924: 25.3; All hg entries on single line possibly due to typo in vc-hg-root-log-format. Resent-From: gavenkoa@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Oct 2017 15:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28924 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 28924@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15085990515369 (code B ref -1); Sat, 21 Oct 2017 15:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Oct 2017 15:17:31 +0000 Received: from localhost ([127.0.0.1]:54450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5vWl-0001OX-49 for submit@debbugs.gnu.org; Sat, 21 Oct 2017 11:17:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54343) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5vWi-0001OJ-Vz for submit@debbugs.gnu.org; Sat, 21 Oct 2017 11:17:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5vWc-0006Sc-M7 for submit@debbugs.gnu.org; Sat, 21 Oct 2017 11:17:23 -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.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41659) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e5vWc-0006SY-Id for submit@debbugs.gnu.org; Sat, 21 Oct 2017 11:17:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5vWb-0005Jo-Hc for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2017 11:17:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5vWY-0006RV-CR for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2017 11:17:21 -0400 Received: from mail-lf0-x232.google.com ([2a00:1450:4010:c07::232]:55796) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e5vWY-0006PU-4Y for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2017 11:17:18 -0400 Received: by mail-lf0-x232.google.com with SMTP id p184so15914988lfe.12 for ; Sat, 21 Oct 2017 08:17:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=0RZzqEF3tHTfuY1h1Q1UFmdjFIjoHJw6eiEEL/Mejlg=; b=e2f+unu9pm8ck4HiM7HAnmubBRcimhCsHNLdF6EZdQhS5Cs82C2CBsIAg6RSH74yhN yGV75EoHoSDqrdQr05JDMZQPh3Ck1Haim/5hWQlMF/3Lve5AAfT+J9D4Sj3Q+SPLAXhz s2kecLtfI6VzinsrLqVs48Km4BQnWbou33k5X0bPRqazpnbf4XH50qe2PlZAVN1ma0BH BDHikrMDGULvCxxBA+TDJVQAeEuQR9JqRQ0g1EKJLj0DavWQsXXMt7k3kJYQi7kWTY/+ 3GAskfb4ZikO2M+Br2V9LtkKG6fSoMVglecH3GjDSnI57jT0VlU7wazgR/ZKJGqc09/a g4Yg== 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:mime-version; bh=0RZzqEF3tHTfuY1h1Q1UFmdjFIjoHJw6eiEEL/Mejlg=; b=igPSbRk7HtPkYsT+bekqjY8MLbaXmWQ7kI+x23Iu19GLtnj57PWY/AYYdZjeRtUZ+U /UmFvxt/MJtxG73SFIhJ/wdPXhT2nSzlCP3Pi9Kaiuk3bTWOtjxnZL9yWdpZDIN3rIIR YLHt95sz0uEMzvvdaKgkqMl7J5yn1CMAFm4kjpBO9xQBPDKRnh/UESQhj8V79ZFBFr3z CFM/coyGXGEXPIx4+WKURinGiTeNKxomDJCRxxATHf/Ny/USndEJt5Zk/NuLD2VKHYTp MDEeN1/8pzagcKyTZB5rFCFepRnzDyYBqt3zfPTcppcB7tm+LeuLaMN1r+tg6WKv3o2A 3Dnw== X-Gm-Message-State: AMCzsaW+720a4W0FXyL4xPySRyRHdObQlBwI3ITLxIlbL9jOw3efwNkl TQfyi+j3cn1Q972Z0BPPro54QA== X-Google-Smtp-Source: ABhQp+RfI5fP5PLRkSW92awY2a0Lwy63vYt9KeZDVKuJlXEEh0sq3thgWxtePCuCfzfIK7qN5TrK0w== X-Received: by 10.25.84.134 with SMTP id b6mr2783487lfl.168.1508599035180; Sat, 21 Oct 2017 08:17:15 -0700 (PDT) Received: from msi ([46.118.15.174]) by smtp.gmail.com with ESMTPSA id k37sm622243lfi.27.2017.10.21.08.17.13 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 21 Oct 2017 08:17:14 -0700 (PDT) From: gavenkoa@gmail.com X-Google-Original-From: user@gavenkoa.example.com Date: Sat, 21 Oct 2017 18:17:13 +0300 Message-ID: <86a80ka5ty.fsf@gavenkoa.example.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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.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: -4.0 (----) In GNU Emacs 25.3.1 (x86_64-w64-mingw32) of 2017-09-17 built on LAPHROAIG Windowing system distributor 'Microsoft Corp.', version 10.0.15063 All changelog entries placed on one line on vc-print-root-log for HG with \n symbols between entries. When I changed: (defcustom vc-hg-root-log-format `(,(concat "{rev}:{ifeq(branch, 'default','', '{branch}')}" ":{bookmarks}:{tags}:{author|person}" - " {date|shortdate} {desc|firstline}\\n") + " {date|shortdate} {desc|firstline}\n") it starts working fine. I use hg.exe wrapper around Cygwin Python script hg, stripped version is: int main(int argc, char **argv) { execvp(cmd, argv); } It comes after hg in PATH so execvp loads script instead itself. -- http://defun.work/ From unknown Fri Sep 05 11:01:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#28924: 25.3; All hg entries on single line possibly due to typo in vc-hg-root-log-format. Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Oct 2017 17:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28924 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: gavenkoa@gmail.com Cc: 28924@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 28924-submit@debbugs.gnu.org id=B28924.150886586823431 (code B ref 28924); Tue, 24 Oct 2017 17:25:01 +0000 Received: (at 28924) by debbugs.gnu.org; 24 Oct 2017 17:24:28 +0000 Received: from localhost ([127.0.0.1]:60139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e72wG-00065r-DQ for submit@debbugs.gnu.org; Tue, 24 Oct 2017 13:24:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e72wE-00065a-Ip for 28924@debbugs.gnu.org; Tue, 24 Oct 2017 13:24:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e72w5-0001Va-G1 for 28924@debbugs.gnu.org; Tue, 24 Oct 2017 13:24:21 -0400 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]:50633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e72w5-0001VW-CM; Tue, 24 Oct 2017 13:24:17 -0400 Received: from [176.228.60.248] (port=4203 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e72w4-0003To-DQ; Tue, 24 Oct 2017 13:24:17 -0400 Date: Tue, 24 Oct 2017 20:24:00 +0300 Message-Id: <83y3o08nnz.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <86a80ka5ty.fsf@gavenkoa.example.com> References: <86a80ka5ty.fsf@gavenkoa.example.com> 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-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 (-----) > From: gavenkoa@gmail.com > Date: Sat, 21 Oct 2017 18:17:13 +0300 > > All changelog entries placed on one line on vc-print-root-log for HG with \n > symbols between entries. > > When I changed: > > (defcustom vc-hg-root-log-format > `(,(concat "{rev}:{ifeq(branch, 'default','', '{branch}')}" > ":{bookmarks}:{tags}:{author|person}" > - " {date|shortdate} {desc|firstline}\\n") > + " {date|shortdate} {desc|firstline}\n") > > it starts working fine. I tried to reproduce this, but couldn't. Can you show a complete recipe, starting with "emacs -Q", and using some public hg repository one can clone? > I use hg.exe wrapper around Cygwin Python script hg, stripped version is: > > int main(int argc, char **argv) { > execvp(cmd, argv); > } > > It comes after hg in PATH so execvp loads script instead itself. It's possible that this intermediary wrapper is the culprit. Is it possible for you to use the native hg.exe? From unknown Fri Sep 05 11:01:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#28924: 25.3; All hg entries on single line possibly due to typo in vc-hg-root-log-format. Resent-From: Oleksandr Gavenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Oct 2017 21:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28924 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Cc: 28924@debbugs.gnu.org Received: via spool by 28924-submit@debbugs.gnu.org id=B28924.150888108517655 (code B ref 28924); Tue, 24 Oct 2017 21:39:01 +0000 Received: (at 28924) by debbugs.gnu.org; 24 Oct 2017 21:38:05 +0000 Received: from localhost ([127.0.0.1]:60341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e76th-0004ah-0J for submit@debbugs.gnu.org; Tue, 24 Oct 2017 17:38:05 -0400 Received: from mail-io0-f170.google.com ([209.85.223.170]:53948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e76te-0004aA-VX for 28924@debbugs.gnu.org; Tue, 24 Oct 2017 17:38:03 -0400 Received: by mail-io0-f170.google.com with SMTP id 189so25460383iow.10 for <28924@debbugs.gnu.org>; Tue, 24 Oct 2017 14:38:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:cc; bh=OXa3OoNDCc5ntnd8dZr2JmMYpB6HML7sJw+UiELcqwE=; b=V2xqyvFDhSeenb6dUOypQFjpPF52sq/qqwwDtJycQJplPzc6L59hm4Eg1iUDeYnZOG rUsnSOQV5t6phElTUqkXf0YAL0WDoB4gz8fL6FHuMtkmoNybkseW3gT8DsiGZvwVICxG ioxlz37BQOEtpzReM6JL8P3SsLZccT6UwD87Uw0k3c5m0yR2GunYdY2jA/VQGKwrliZ+ /jRCcdNE0cWk/0AN6jaWgksTH2dEF86NT81d6wxJoH5Ykv/l1nNmB8XrtpbFC437/T3k eM07Q/Z/fzL3kVaPOCag4sBqmjbOGAajyequNYJgOlpHnIQ+0VuJTjgUzdJlO8LalJP9 F4YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:cc; bh=OXa3OoNDCc5ntnd8dZr2JmMYpB6HML7sJw+UiELcqwE=; b=C3W/Kgd1rhtHPfgKfs/zb4JnGo1mkFptf8wU9KTddj/PQrFQOuCQVPXSzKOESjvybO 0YxkM5Abh/SZbpo3/BbdYUu+ZHsr68+rlxOUPSLRecGcXW122NdTzJzwY9oNfzeCQaLg 9sRljv+yKUUdYwJ3bBnTbu+gjuSyRvP2OVZG3R+TbK8yWXilG22T9yaiz5+Z8naUcPZO FXm9Fwe/kZicotg875lRw0zI7ijYh/BlUa9VHRaeYvUIp4GSQzoD7c6QZrOEMSTgzb7E 8Puw2D5vMSIBqqQblKI7kvF08EFqRs8IYiqrJbJF9PKpKOm1i5ixyH3SlpA05SA/7MDS K+uA== X-Gm-Message-State: AMCzsaUx67ZZWKn0EEvmOioPeiX7CyHzADewLwUzFxCZv8Ypqlcm+IXi /kx5nHUTVzWtt2kYZhM+EX9LoALiBiCgjl8g4GCLIw== X-Google-Smtp-Source: ABhQp+QR9QtxCMjbfHLx2maIIDtrL/qfUn1OeO6QUEk571FYEU5GtEho+n2w3yZCWCdJpHk5ML2+/NxYuQox76SbjKI= X-Received: by 10.107.18.67 with SMTP id a64mr25248329ioj.165.1508881076873; Tue, 24 Oct 2017 14:37:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.192.79 with HTTP; Tue, 24 Oct 2017 14:37:56 -0700 (PDT) In-Reply-To: <83y3o08nnz.fsf@gnu.org> References: <86a80ka5ty.fsf@gavenkoa.example.com> <83y3o08nnz.fsf@gnu.org> From: Oleksandr Gavenko Date: Wed, 25 Oct 2017 00:37:56 +0300 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -1.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: -1.1 (-) On Tue, Oct 24, 2017 at 8:24 PM, Eli Zaretskii wrote: >> All changelog entries placed on one line on vc-print-root-log for HG with \n >> symbols between entries. >> >> When I changed: >> >> (defcustom vc-hg-root-log-format >> `(,(concat "{rev}:{ifeq(branch, 'default','', '{branch}')}" >> ":{bookmarks}:{tags}:{author|person}" >> - " {date|shortdate} {desc|firstline}\\n") >> + " {date|shortdate} {desc|firstline}\n") >> >> it starts working fine. > > I tried to reproduce this, but couldn't. Can you show a complete > recipe, starting with "emacs -Q", and using some public hg repository > one can clone? > Hi! I troubleshooted another issue recently and found that CYGWIN=noglob option cause problem when arguments passed from native Windows app (Emacs) to Cygwin app. In our situation with my fix \n resolved to new line character code by Emacs and Cygwin is happy with it. With double slashes single one is passed (with "n") to Cygwin application and I see long: 1544:::tip:Oleksandr Gavenko 2017-10-23 Make function silent if file is modified.\n1543::::Oleksandr Gavenko 2017-10-22 Prefer Python 3 for interactive shell.\n1542::::Oleksandr Gavenko 2017-10-21 Use UTF-8 on Windows fpr processes.\n1541::::Oleksandr Gavenko 2017-10-11 Set font size depending on DPI.\n1540::::Oleksandr Gavenko 2017-10-10 Mistaken s-TAB key binding broke my workflow.\n....... That is native Emacs with Cygwin wrapper to Cygwin hg. It can be that no one on a planet works like that. I believe that people use native ports of HG/GIT/ag/ack/etc. Actually everything with backslash escaping is broken when CYGWIN=noglob. I live with: + ;; Workaround for Cygwin shell, when set 'CYGWIN=noglob'. By default 'shell-quote-argument' + ;; quoted by double '\' chars this cause failure. + (defun shell-quote-argument (argument) + (concat "'" argument "'")) since 2011-08-05 and this has only one drawback - when quoted string contains single quote... Most of the time it's not a problem. Sometime I forget about this and debugging session refreshes my memory when I face a problem )) Cygwin Emacs w32 is not stable to day long usage. Due to BLODA fork() it sticks once or twice a day. Ideally I would like to have Cygwin Emacs with native Windows exec() instead of unstable fork(). Emacs isn't server app that is needed the fork(). Native Emacs don't have pty (and M-x term) and lack of smooth integration with Cygwin. I use cygwin-mount.el and wrappers with .exe suffix around Cygwin scripts to increase Emacs usefulness... Without CYGWIN=noglob Emacs fail on some vc-hg.el commands as commands passes '{rev}' and curly braces from native application are expanded (stripped) by Cygwin apps. Windows is extremely unpleasant platform for Emacs usage. With stable Cygwin Emacs w32 this can be changed )) Now we have Cygwin Emacs with native Windows widgets (emacs-w32). In Cygwin list maintainer responded that it would accept patch for replacing gam_server.exe with native port to Windows API to detect file changes. I would like to replace each Emacs Cygwin fork() with exec(). I'll ask on dev list if it's possible and acceptable when I have enough spare time for experiment. From unknown Fri Sep 05 11:01:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#28924: 25.3; All hg entries on single line possibly due to typo in vc-hg-root-log-format. Resent-From: Ken Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Oct 2017 22:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28924 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Oleksandr Gavenko Cc: 28924@debbugs.gnu.org Received: via spool by 28924-submit@debbugs.gnu.org id=B28924.150888247220074 (code B ref 28924); Tue, 24 Oct 2017 22:02:02 +0000 Received: (at 28924) by debbugs.gnu.org; 24 Oct 2017 22:01:12 +0000 Received: from localhost ([127.0.0.1]:60353 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e77G4-0005Di-AK for submit@debbugs.gnu.org; Tue, 24 Oct 2017 18:01:12 -0400 Received: from limerock02.mail.cornell.edu ([128.84.13.242]:55760) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e77G3-0005DT-Bo for 28924@debbugs.gnu.org; Tue, 24 Oct 2017 18:01:11 -0400 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu [10.16.197.8]) by limerock02.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id v9OM154J032319; Tue, 24 Oct 2017 18:01:05 -0400 Received: from [10.13.22.3] (65-112-130-194.dia.static.qwest.net [65.112.130.194]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id v9OM12FT015238 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 24 Oct 2017 18:01:04 -0400 References: <86a80ka5ty.fsf@gavenkoa.example.com> <83y3o08nnz.fsf@gnu.org> From: Ken Brown Message-ID: <2df379b4-595f-765e-fd56-c1dcbcaee115@cornell.edu> Date: Tue, 24 Oct 2017 18:01:00 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.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-PMX-Cornell-Gauge: Gauge=X X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-Spam-Score: -2.3 (--) 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.3 (--) On 10/24/2017 5:37 PM, Oleksandr Gavenko wrote: > Cygwin Emacs w32 is not stable to day long usage. Due to BLODA fork() > it sticks once or twice a day. Are you using 32-bit Cygwin or 64-bit Cygwin? I've never had fork issues with 64-bit Cygwin. Ken From unknown Fri Sep 05 11:01:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#28924: 25.3; All hg entries on single line possibly due to typo in vc-hg-root-log-format. Resent-From: Oleksandr Gavenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Oct 2017 10:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28924 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ken Brown Cc: 28924@debbugs.gnu.org Received: via spool by 28924-submit@debbugs.gnu.org id=B28924.150892866132273 (code B ref 28924); Wed, 25 Oct 2017 10:51:02 +0000 Received: (at 28924) by debbugs.gnu.org; 25 Oct 2017 10:51:01 +0000 Received: from localhost ([127.0.0.1]:60680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7JH3-0008OT-0I for submit@debbugs.gnu.org; Wed, 25 Oct 2017 06:51:01 -0400 Received: from mail-it0-f49.google.com ([209.85.214.49]:47203) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7JH1-0008O9-2U for 28924@debbugs.gnu.org; Wed, 25 Oct 2017 06:50:59 -0400 Received: by mail-it0-f49.google.com with SMTP id p138so531127itp.2 for <28924@debbugs.gnu.org>; Wed, 25 Oct 2017 03:50:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=g2fV+ne0KZmzBnn0RQeUfU9RqRspyWxpYDFKMDUPE74=; b=jFQdsAnkaEHjXwz/WNdSiloZ48x0NEKxPvhoE+FRQ7MEwdddzL5yuMCMf5ejYr1o6L 4lXVpK1AkPLw36grbzUPW1oLV660/sWvH1Xhe+tMAap20tHH6X5oSU8Qfpjr31W72AeM JMSio0WBMAPBmvsH+XULmNqoi/NFPq+/zp59QawVKN0UYNvfAAHMHReECnau4f5jqG0o fCLDOiReyrszpjPNJ4WjTh0ICtt9Cp60k3zSqt3HNNQMoZUoSwRnGxnZ2eENSNtA7TN2 WaatCI9i6VCH3Xo558VLjordvhviJVcEnH7CFUoITb4oZds9iQjU8zgGfbQNOxz6Xgzm 6N9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=g2fV+ne0KZmzBnn0RQeUfU9RqRspyWxpYDFKMDUPE74=; b=uDdz0HyQ7Iel6jIYi6o5zZzQvatF0a4OpQtPx7NpHfOw/yR4tSnJEYzyH14RL89R7u ASS6hn9f2AZLtqu6D/x8GWx4glkg5v1Aur3UMbxYjWJoblSHT9U/SLbCuBtH0z+/XOj5 gSxB6djlZdLNDmJgBw0mbmb94VB1+a2CiSOZsd44s3dr47PK56RrTDoUnRCWKus+C0B7 ahQfHG2gYYnb408RbC1eLpzOkRHn+DuQleaaGUeHzeL+dUBQQzlWv0QWBgoRwOFGNvYC bLKkz1GNHNAeNns7DehovNpvvz4InXIdhHeTutWGJdy24E1l1/7IzD4yy0tua7rd+8YM Er8g== X-Gm-Message-State: AMCzsaWwHm8bOePOBrXIGMqo24myZ569Dc0FLfmmhsdQd28tLl4VlGbY osy/ub9J7vS33hTi7KtCwwO7jXhssB6znqTRF8A= X-Google-Smtp-Source: ABhQp+T/7pvrCvHcuawwbAZa6oYDDCJmPGpadPbco925OtSMmAmHMrQOZr/Nv+HQJyKf20fiZ8H7i7P4UNkxGMkSKUM= X-Received: by 10.36.214.13 with SMTP id o13mr1524639itg.117.1508928653006; Wed, 25 Oct 2017 03:50:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.192.79 with HTTP; Wed, 25 Oct 2017 03:50:52 -0700 (PDT) In-Reply-To: <2df379b4-595f-765e-fd56-c1dcbcaee115@cornell.edu> References: <86a80ka5ty.fsf@gavenkoa.example.com> <83y3o08nnz.fsf@gnu.org> <2df379b4-595f-765e-fd56-c1dcbcaee115@cornell.edu> From: Oleksandr Gavenko Date: Wed, 25 Oct 2017 13:50:52 +0300 Message-ID: Content-Type: text/plain; charset="UTF-8" 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 Wed, Oct 25, 2017 at 1:01 AM, Ken Brown wrote: > On 10/24/2017 5:37 PM, Oleksandr Gavenko wrote: >> >> Cygwin Emacs w32 is not stable to day long usage. Due to BLODA fork() >> it sticks once or twice a day. > > Are you using 32-bit Cygwin or 64-bit Cygwin? I've never had fork issues > with 64-bit Cygwin. > 64-bit Cygwin. I forgot exact details when problem happen. I see forked Emacs which I usually terminate. It's unclear what process is going to be started. I work with files under Git or Hg so Emacs makes a lot of forks during a day. Cygwin installation is in exclusion in Windows Defender. Here's my report: https://cygwin.com/ml/cygwin/2017-06/msg00126.html Sometimes Emacs sticks on forking... Other also reported same instability but they have 3rd party anti virus software. I am glad to disable Windows Defender but for Windows 10 Home edition they don't provide official way... From unknown Fri Sep 05 11:01: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: gavenkoa@gmail.com Subject: bug#28924: closed (Re: bug#28924: 25.3; All hg entries on single line possibly due to typo in vc-hg-root-log-format.) Message-ID: References: <83mv4f8eud.fsf@gnu.org> <86a80ka5ty.fsf@gavenkoa.example.com> X-Gnu-PR-Message: they-closed 28924 X-Gnu-PR-Package: emacs Reply-To: 28924@debbugs.gnu.org Date: Wed, 25 Oct 2017 14:48:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1508942882-7897-1" This is a multi-part message in MIME format... ------------=_1508942882-7897-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #28924: 25.3; All hg entries on single line possibly due to typo in vc-hg-r= oot-log-format. 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 28924@debbugs.gnu.org. --=20 28924: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D28924 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1508942882-7897-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 28924-done) by debbugs.gnu.org; 25 Oct 2017 14:47:13 +0000 Received: from localhost ([127.0.0.1]:33446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7Mxc-00021r-Q3 for submit@debbugs.gnu.org; Wed, 25 Oct 2017 10:47:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59213) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7Mxb-00021c-Ci for 28924-done@debbugs.gnu.org; Wed, 25 Oct 2017 10:47:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7MxS-0001q4-3r for 28924-done@debbugs.gnu.org; Wed, 25 Oct 2017 10:47:06 -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.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39276) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7MxS-0001pu-0K; Wed, 25 Oct 2017 10:47:02 -0400 Received: from [176.228.60.248] (port=4880 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e7MxR-00088U-G0; Wed, 25 Oct 2017 10:47:01 -0400 Date: Wed, 25 Oct 2017 17:46:50 +0300 Message-Id: <83mv4f8eud.fsf@gnu.org> From: Eli Zaretskii To: Oleksandr Gavenko In-reply-to: (message from Oleksandr Gavenko on Wed, 25 Oct 2017 00:37:56 +0300) Subject: Re: bug#28924: 25.3; All hg entries on single line possibly due to typo in vc-hg-root-log-format. References: <86a80ka5ty.fsf@gavenkoa.example.com> <83y3o08nnz.fsf@gnu.org> 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: 28924-done Cc: 28924-done@debbugs.gnu.org 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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Oleksandr Gavenko > Date: Wed, 25 Oct 2017 00:37:56 +0300 > Cc: 28924@debbugs.gnu.org > > Hi! I troubleshooted another issue recently and found that > CYGWIN=noglob option cause problem when arguments passed from native > Windows app (Emacs) to Cygwin app. > > In our situation with my fix \n resolved to new line character code by > Emacs and Cygwin is happy with it. With double slashes single one is > passed (with "n") to Cygwin application and I see long: > > 1544:::tip:Oleksandr Gavenko 2017-10-23 Make function silent if file > is modified.\n1543::::Oleksandr Gavenko 2017-10-22 Prefer Python 3 for > interactive shell.\n1542::::Oleksandr Gavenko 2017-10-21 Use UTF-8 on > Windows fpr processes.\n1541::::Oleksandr Gavenko 2017-10-11 Set font > size depending on DPI.\n1540::::Oleksandr Gavenko 2017-10-10 Mistaken > s-TAB key binding broke my workflow.\n....... > > That is native Emacs with Cygwin wrapper to Cygwin hg. It can be that > no one on a planet works like that. I believe that people use native > ports of HG/GIT/ag/ack/etc. Thanks for telling us. Since your situation is very special, and since vc-hg-root-log-format is a defcustom, I think for you to customize the value to make it work in your setup is exactly the right solution of this problem. So I'm closing this bug report, as I think nothing has to be done for it in Emacs core. ------------=_1508942882-7897-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 21 Oct 2017 15:17:31 +0000 Received: from localhost ([127.0.0.1]:54450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5vWl-0001OX-49 for submit@debbugs.gnu.org; Sat, 21 Oct 2017 11:17:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54343) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5vWi-0001OJ-Vz for submit@debbugs.gnu.org; Sat, 21 Oct 2017 11:17:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5vWc-0006Sc-M7 for submit@debbugs.gnu.org; Sat, 21 Oct 2017 11:17:23 -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.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41659) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e5vWc-0006SY-Id for submit@debbugs.gnu.org; Sat, 21 Oct 2017 11:17:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5vWb-0005Jo-Hc for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2017 11:17:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5vWY-0006RV-CR for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2017 11:17:21 -0400 Received: from mail-lf0-x232.google.com ([2a00:1450:4010:c07::232]:55796) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e5vWY-0006PU-4Y for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2017 11:17:18 -0400 Received: by mail-lf0-x232.google.com with SMTP id p184so15914988lfe.12 for ; Sat, 21 Oct 2017 08:17:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=0RZzqEF3tHTfuY1h1Q1UFmdjFIjoHJw6eiEEL/Mejlg=; b=e2f+unu9pm8ck4HiM7HAnmubBRcimhCsHNLdF6EZdQhS5Cs82C2CBsIAg6RSH74yhN yGV75EoHoSDqrdQr05JDMZQPh3Ck1Haim/5hWQlMF/3Lve5AAfT+J9D4Sj3Q+SPLAXhz s2kecLtfI6VzinsrLqVs48Km4BQnWbou33k5X0bPRqazpnbf4XH50qe2PlZAVN1ma0BH BDHikrMDGULvCxxBA+TDJVQAeEuQR9JqRQ0g1EKJLj0DavWQsXXMt7k3kJYQi7kWTY/+ 3GAskfb4ZikO2M+Br2V9LtkKG6fSoMVglecH3GjDSnI57jT0VlU7wazgR/ZKJGqc09/a g4Yg== 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:mime-version; bh=0RZzqEF3tHTfuY1h1Q1UFmdjFIjoHJw6eiEEL/Mejlg=; b=igPSbRk7HtPkYsT+bekqjY8MLbaXmWQ7kI+x23Iu19GLtnj57PWY/AYYdZjeRtUZ+U /UmFvxt/MJtxG73SFIhJ/wdPXhT2nSzlCP3Pi9Kaiuk3bTWOtjxnZL9yWdpZDIN3rIIR YLHt95sz0uEMzvvdaKgkqMl7J5yn1CMAFm4kjpBO9xQBPDKRnh/UESQhj8V79ZFBFr3z CFM/coyGXGEXPIx4+WKURinGiTeNKxomDJCRxxATHf/Ny/USndEJt5Zk/NuLD2VKHYTp MDEeN1/8pzagcKyTZB5rFCFepRnzDyYBqt3zfPTcppcB7tm+LeuLaMN1r+tg6WKv3o2A 3Dnw== X-Gm-Message-State: AMCzsaW+720a4W0FXyL4xPySRyRHdObQlBwI3ITLxIlbL9jOw3efwNkl TQfyi+j3cn1Q972Z0BPPro54QA== X-Google-Smtp-Source: ABhQp+RfI5fP5PLRkSW92awY2a0Lwy63vYt9KeZDVKuJlXEEh0sq3thgWxtePCuCfzfIK7qN5TrK0w== X-Received: by 10.25.84.134 with SMTP id b6mr2783487lfl.168.1508599035180; Sat, 21 Oct 2017 08:17:15 -0700 (PDT) Received: from msi ([46.118.15.174]) by smtp.gmail.com with ESMTPSA id k37sm622243lfi.27.2017.10.21.08.17.13 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 21 Oct 2017 08:17:14 -0700 (PDT) From: gavenkoa@gmail.com X-Google-Original-From: user@gavenkoa.example.com To: bug-gnu-emacs@gnu.org Subject: 25.3; All hg entries on single line possibly due to typo in vc-hg-root-log-format. Date: Sat, 21 Oct 2017 18:17:13 +0300 Message-ID: <86a80ka5ty.fsf@gavenkoa.example.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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.0 (----) 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.0 (----) In GNU Emacs 25.3.1 (x86_64-w64-mingw32) of 2017-09-17 built on LAPHROAIG Windowing system distributor 'Microsoft Corp.', version 10.0.15063 All changelog entries placed on one line on vc-print-root-log for HG with \n symbols between entries. When I changed: (defcustom vc-hg-root-log-format `(,(concat "{rev}:{ifeq(branch, 'default','', '{branch}')}" ":{bookmarks}:{tags}:{author|person}" - " {date|shortdate} {desc|firstline}\\n") + " {date|shortdate} {desc|firstline}\n") it starts working fine. I use hg.exe wrapper around Cygwin Python script hg, stripped version is: int main(int argc, char **argv) { execvp(cmd, argv); } It comes after hg in PATH so execvp loads script instead itself. -- http://defun.work/ ------------=_1508942882-7897-1--