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:36:05 +0200 Message-ID: <86sf1wpjui.fsf@gnu.org> References: <6aed5106-b78c-49f1-8caa-a7f9d34c161b@gutov.dev> <207528e2-6bec-436e-8868-8e7b707133f6@gutov.dev> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26280"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dmitry@gutov.dev, 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:36:53 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 1rZsxx-0006bV-6u for ged-emacs-devel@m.gmane-mx.org; Tue, 13 Feb 2024 14:36:53 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZsxG-0003n2-S1; Tue, 13 Feb 2024 08:36:10 -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 1rZsxE-0003kK-IH for emacs-devel@gnu.org; Tue, 13 Feb 2024 08:36:08 -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 1rZsxD-0004Fm-Tx; Tue, 13 Feb 2024 08:36:07 -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=Oi03hKXWaCGPb8gOPgi/ksA6PpfsWvJsjiw4lwrnNGA=; b=XdIPr9aEl6FK KOTOyHmsw2ZWTKHFBNK159U16DK9f8YXkfPM+YIHj6/whCbjYTHLc5E9/56j1xWEHo+ZS9+zCPEjt HETLA7ishcuZjerJDRXUONAiDNGRBtv2C/wxGxwDoChsTEQrQM3ZqZBfaOItUQU5l7GO9qdwnzAWl zV1AD5Ahy+eBFwdZ817KZpho+LDiDoaPvnKKHHr9V1SQVrwMyTvHXfCWLnACq6JvDllN8p5rHYU+H n90129q4SqMt+2+M+VBrgJbjePcUNqaAjcfbfpQso866hUqcsN7V/fvcKXFzf2Qq3ZPyVM7mP46x8 WTlktgLYS7A6XAGvdYHb5g==; In-Reply-To: (message from Arthur Miller on Tue, 13 Feb 2024 10:47:33 +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:316175 Archived-At: > From: Arthur Miller > Cc: emacs-devel@gnu.org > Date: Tue, 13 Feb 2024 10:47:33 +0100 > > I wasn't even aware this was going on, untill yesterday. I understand that some > users like to see diverse stuff in their modeline, statusbars, powerlines, > command prompts and other widgets. That is fine; if users want it, give it to > them. > > But I am not such a user, and this feels a bit too much to have it auto > on. This can get triggered automatically in save places; for example I have save > place on, so when I open a file, Emacs will display cursor at the same place > where I left. I see that it gets triggred in some places with Helm > completion. Basically everything I have nowdays is in Git, inclusive my entire > emacs.d folder. That means I am constantly starting and killing git processes, > and I don't even care about that info on my modeline. I look barely at modeline; > sometimes I take a look at the clock or line/column number. I understand your POV, but this is turned on by default in Emacs long ago. So the default cannot be changed just because you personally dislike it. Instead, I suggest that you change the default value of mode-line format locally. Or remove vc-refresh-state from find-file-hook. Or try playing with the value of vc-display-status. Or some other change that could do what you want; look in vc-hooks.el for ideas. > If you consider that people are complaining quite a lot about Emacs been too > slow on Windows, than I would consider if this is something that has to be on by > default. Git is not slow on MS-Windows; I posted the numbers I measured to show that. Git is just much faster on GNU/Linux, so people who are accustomed to its speed on the latter complain when they need to work on the former. IOW, it's a "relative complaint", not an "absolute complaint".