From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Making new files Date: Sun, 05 May 2024 14:03:39 -0400 Message-ID: References: <4HK_I0Mv8CyU7VO6ja06MTTe-F6SzrEwBOpB_DA05NJYCvTMDyGdCtEuslRObI9WErzhS6K8Ri3O5kxpHh7fnW0IERy9ZIa5L3tavY6y97Q=@protonmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40749"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: help-gnu-emacs@gnu.org To: Heime Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 05 20:04:36 2024 Return-path: Envelope-to: geh-help-gnu-emacs@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 1s3gDz-000AMH-Fq for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 05 May 2024 20:04:35 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3gDD-0003TW-EX; Sun, 05 May 2024 14:03:47 -0400 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 1s3gDA-0003Sd-UJ for help-gnu-emacs@gnu.org; Sun, 05 May 2024 14:03:45 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s3gD8-0002Ew-Tg for help-gnu-emacs@gnu.org; Sun, 05 May 2024 14:03:44 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 6B4924409F4; Sun, 5 May 2024 14:03:41 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1714932220; bh=FuwjVoTOfR1ZGsJmrJOF0xVZ1xvOWbpKFyXiqnt94IU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=AoWy1H2nJiOrmIbzWYuG3wf70FPOodVEjGjmBD9HcRNDyKkvmz9xY879JrAFNCvsn ybJxkpdRIE4Fkeox1hUeR+ykTR3H2hw5ccuS9k9I3REjsqkoHfTPDxRQMsZ28n4K4i sdno5ThAZOfBTRQMiU84VXjAiM9Tq0bgBDV75Sf/KfTujTHZE8KXzav7VlZYtn/AgW ciaOlD1OROgovCLUwTIBnTkv6PWs2d8fSVyPxomOLzV+N46vEXIbwygM/Ut028kxHY QYH69dfiarLvx05VtxEEHwJHhUUuTyUvkkgXNY1P2gWHjUZlDbBWT8RHQ7HCzyUn9k Szak9NbjFzgYA== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 32CDE4414E0; Sun, 5 May 2024 14:03:40 -0400 (EDT) Original-Received: from alfajor (unknown [45.72.201.215]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 0CB10120675; Sun, 5 May 2024 14:03:40 -0400 (EDT) In-Reply-To: (Heime's message of "Sun, 05 May 2024 16:37:22 +0000") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:146565 Archived-At: > Will do things a different way, disregarding the existence of "Visit > New File". I think before treating people of stupid, I'd advise to understand why we do things differently from what you're used to, and I get the impression that you don't understand that yet. Basically, in Emacs we don't distinguish whether you're opening an existing file or a new file. You just `C-x C-f` and then put the name of the file. The name of the file tells Emacs where to save backups, which mode to use, which project it belongs to, etc... If the user just says "give me a new file buffer", we can't provide a very good experience because we don't know where this file will be saved, which project it will belong to, and most importantly which mode it should use. LibreOffice has a similar problem so when you ask for a "new document" it has to prompt you back to choose the kind of document, which is akin to our major modes, except we have many more major modes. Choosing a file name is usually not harder for you than choosing a major mode, and it gives Emacs more information. Stefan