From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Missing snprintf in ucrt mingw + vc-refresh in find-file hook? Date: Mon, 12 Feb 2024 15:44:14 +0200 Message-ID: <6aed5106-b78c-49f1-8caa-a7f9d34c161b@gutov.dev> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36433"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: Arthur Miller , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 12 14:45:10 2024 Return-path: Envelope-to: ged-emacs-devel@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 1rZWcP-0009E3-D9 for ged-emacs-devel@m.gmane-mx.org; Mon, 12 Feb 2024 14:45:10 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZWbk-0002Vs-Rg; Mon, 12 Feb 2024 08:44:28 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rZWbh-0002Va-1X for emacs-devel@gnu.org; Mon, 12 Feb 2024 08:44:25 -0500 Original-Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rZWbe-0003VW-0a for emacs-devel@gnu.org; Mon, 12 Feb 2024 08:44:23 -0500 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id E45933200A6A; Mon, 12 Feb 2024 08:44:17 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 12 Feb 2024 08:44:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1707745457; x=1707831857; bh=U6jrwqKKa1crnwpaCj37KfV6QuR7Dyb8b/3YkOCvAZI=; b= A9JdvgXjgbZ8akFBGf9s7OCnTWbVJLSxHAUEdr18IA4e7dJuJY/ilfluDnu2yXa2 ttEftPT7E1gIJ7iqS4mWCgA25xPezL0WV5afFrP09KZiZyyM7/ivt/5uOyOWj7PF QXyJzCtnlli99HXOKGqP7kQDDHWIRvibm7eoV8SqAsxPiPQ/7IDIXCc7cxBgVrzB 1oUpBkZe2ggIT0ngEmwmlwlQNR8T6MGXesCmh8bCoLYJRYlelKnuTTQLqU/9k3M2 HsQRSFD1BFEvL2Bp36shL+AckbIx7r3HCDw1ow3o/rlsQ0Izxa5CNMY2fhpnL3KV lfeshLs+tGvEf/5uSRRmfQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1707745457; x= 1707831857; bh=U6jrwqKKa1crnwpaCj37KfV6QuR7Dyb8b/3YkOCvAZI=; b=D V6cyT9T/SysJ1s+6aPi1G5xl/ag0sxy7vJcDqe2kyRPF5QAfDnag0lJOpieV0ugQ wIGKPw8oE3dehYLZb4Bw2np8IQYlgXdRIS67x9aVHVknYCb2hIcbqpRXAolV7AoK xt+qjMrinaSaboFmt+SJUyzGO0366anCxNJVhjKp+zCDM4pQDNMNnK05xe7dKhsD rvaE1txKtwsR8Ci6jDbjp1eK4fewSMeKt8MlRnnlAowA+ADgQQiVnEo8idGRBE+h LDukYZ+XDZCkVxuN9VNAWKBw7iFpdcdxX6HMIq3TcBENeFoWelZmef40OhL8ybum m/+vDLjytnm0GmTRW7Fqw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudefgdehfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhithhr hicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrthhtvg hrnheptdfhuedvtdevleegueelvedvjeevheffveevhedvuefftdefhfdvueeggfetgfdt necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepughmih htrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 12 Feb 2024 08:44:16 -0500 (EST) Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=64.147.123.21; envelope-from=dmitry@gutov.dev; helo=wout5-smtp.messagingengine.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_SBL_A=0.1 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:316133 Archived-At: On 12/02/2024 12:06, Arthur Miller wrote: > Also, calling vc-refresh obviously results in a quite expensive call to git > process everytime I open a file from git repo. Is it really a good default > option? At least I interpret it so since emacs -q has vc-refresh in > find-file-hook. Why do we even need vc-refresh by default in find-file-hook? To have the mode-line indicator up-to-date, I imagine.