From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: PR: dired-do-create-files now checks for trailing slashes in the target Date: Thu, 30 Sep 2021 09:29:00 +0200 Message-ID: <8735pm5xoj.fsf@gnus.org> References: <831r58k0cx.fsf@gnu.org> <87tui4qyni.fsf@gnu.org> <83tui4iift.fsf@gnu.org> <874ka43rp1.fsf@gnu.org> <83ee97il43.fsf@gnu.org> <87zgrv33mf.fsf@gnu.org> <838rzfijnj.fsf@gnu.org> <87r1d73312.fsf@gnu.org> <837deziiwz.fsf@gnu.org> <87ee97bgxt.fsf@gnus.org> <87fstn2ydc.fsf@gnu.org> <87bl4a7g2m.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38390"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , emacs-devel@gnu.org, rudiwillalwaysloveyou@gmail.com, Stefan Kangas To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 30 09:29:54 2021 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 1mVqVu-0009n1-Fl for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Sep 2021 09:29:54 +0200 Original-Received: from localhost ([::1]:33440 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVqVt-0004PI-7C for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Sep 2021 03:29:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39532) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVqVB-0003iB-CS for emacs-devel@gnu.org; Thu, 30 Sep 2021 03:29:09 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:56650) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVqV9-0006aD-Pg; Thu, 30 Sep 2021 03:29:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=arJ4avGiSXUdcLwT1S6nVTWNzwwr6MtuYzhr9i2VkEQ=; b=myBg60Wi+7ZH79gBK8xI8Ifb1N 5EY3x+Ken8vnPowKeqQLlOqvHnv4/2J49KznHBc9q8UA5wDig0j/EjT9x25bLar2+2j2uuHaAgG04 0gkil8AdEYxvbcwv7uyTy9TCgkgwQTDsUiPr42ezjvWODhVKsXkd0aDVHdZShFXHFBWU=; Original-Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mVqV4-00032i-2N; Thu, 30 Sep 2021 09:29:04 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEVIREOyfVvY0Mr/ //8OWTgqAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+UJHgcbAwL77ukAAAFsSURBVCjPXdExa+MwGAbg V8U2NJPvSId6vlvyK5xAy40ZToJ4bgLRr/B16NDJDcRcNfnAFtH3K/tKhjacFvNIn8T3vQaA8kbb yWpp8ZtQupkkYscjIoQ9sc2IswvTJIK3W6A4u91+T/SLGkXvjkYT/rFFYSQ0sUweO3w3PtiE5wHf rlEaM6Wy/l+Hstn1Ca8EGnHzA0MbYV3CGBGs8xEXJPQJgbBeEnK2rQgfEZcy7grYLvUh4geh6iwD h4vIc/OQJzwBWb55UCpiJJZYq0I6BKIsea2Qge0QWwZkWKZ5576DOnr5A8vdHaewB1nERHPd1TVR xQZW/qSPTl8iikpe1pU7JFgR7xrnLytgI39l4oaMgrtC3ldrTQ2CZSHnn8gbkRMDYE/8EQtvXgZ+ pK5qVHvjElBmWLwLu0Z1SZOfj3GeGWAGLX6txoQ8gu9/Qcd7ESdiPLRzdhupMdgZtWKGwxwq1//o whXePhHwAczvt1Ahz9izAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTA5LTMwVDA3OjI3OjAyKzAw OjAwxjFxogAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wOS0zMFQwNzoyNzowMiswMDowMLdsyR4A AAAASUVORK5CYII= X-Now-Playing: The Notwist's _Superheroes, Ghostvillains & Stuff (1)_: "Close To The Glass" In-Reply-To: <87bl4a7g2m.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 30 Sep 2021 08:06:25 +0200") Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:275863 Archived-At: Lars Ingebrigtsen writes: > I guess I'm concerned that the semantics here are too subtle (even if > we add a user option to switch between behaviours). On the other hand, perhaps it does make sense. There's some precedence for this behaviour in Emacs -- `C-x C-w /tmp' will query you if you wish to overwrite /tmp, while `C-x C-w /tmp/' will write to a file in /tmp/ (with the same name as the buffer name), and that seems to work without confusing people. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no