From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Missing snprintf in ucrt mingw + vc-refresh in find-file hook? Date: Tue, 13 Feb 2024 15:13:50 +0200 Message-ID: <86y1bopkvl.fsf@gnu.org> References: <86zfw5rbpb.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28770"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Arthur Miller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Feb 13 14:14:42 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 1rZscT-0007J7-Iz for ged-emacs-devel@m.gmane-mx.org; Tue, 13 Feb 2024 14:14:41 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZsbl-0003h4-5I; Tue, 13 Feb 2024 08:13:57 -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 1rZsbj-0003gu-Gh for emacs-devel@gnu.org; Tue, 13 Feb 2024 08:13:55 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rZsbi-0007zt-Qo; Tue, 13 Feb 2024 08:13:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=DHU51ZqaOfUsxTm9xIeavrecQ/3ej3VVplWnB2daOtY=; b=WKugKMRqNVNd EUP6/trICnkPeSt2KdF9SlxD0JrFDQYToBYjCres1jEzD/KxGBYHeaqcCsp3KFwFB/IocQRqSZqME pF5FpcaQcD+9WQJPZmJlFTa9wIAysm9J0rRuZ3nmiMzYQjZjlicGc2t4C0xKFBGLEhR69Qrfm/+AO EZSFc01dqxczpjCcefQAApwUSIYA5qYPPP6gSK0PEBK5VTYj8cbLhlWWbmbXKcq8pXSmAjVERDr7J lCfgZhQnyZw5mqRt4SeFlQ1HAFHkvhcJDbCTPJiGMjniy2/r0oxVuc5BMFUgh+OFgs0bnQwSb8cnN orSi++eDg90j89KWeNiHTQ==; In-Reply-To: (message from Arthur Miller on Tue, 13 Feb 2024 11:44:43 +0100) 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:316174 Archived-At: > From: Arthur Miller > Cc: emacs-devel@gnu.org > Date: Tue, 13 Feb 2024 11:44:43 +0100 > > > We show the VC status on the mode line. > > If that is *the only* reason, can we make that status refresh optional? We decided to make it the default long ago, and never heard any significant complaints -- until now. So changing the default after all those years is not an option. But you can customize the default value of mode-line-format to omit the '(vc-mode vc-mode) part from it, and then I think you will get what you want, locally. > It can trigger checks even in files I am not currently working on. For example I > have .emacs.d as a git repo so I can back it up, and I believe I am not the only > one. Save place and recentf for example, and basically every other configuration > that saves something is saving it in .emacs.d. It can be quite many status > checks if it automatically checks git status for all files. There can be other > reasons why I wouldn't like/need those checks in some repos. You can see the > answer to Dmitry for a suggestion. These checks are very fast, so I see no reason to avoid them by default.