From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Boruch Baum Newsgroups: gmane.emacs.bugs Subject: bug#43961: read carefully: dired-file-name-at-point vs dired-filename-at-point Date: Tue, 13 Oct 2020 00:08:07 -0400 Message-ID: <20201013040807.xk2q54jnquthda7y@E15-2016.optimum.net> References: <20201012142522.m24zmrzzuiiao4ck@E15-2016.optimum.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32979"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: NeoMutt/20180716 Cc: 43961@debbugs.gnu.org To: Richard Stallman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 13 06:09:32 2020 Return-path: Envelope-to: geb-bug-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 1kSBcx-0008Tp-MO for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 13 Oct 2020 06:09:31 +0200 Original-Received: from localhost ([::1]:50438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kSBcw-0008Er-HF for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 13 Oct 2020 00:09:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSBcU-0008ER-AR for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2020 00:09:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33280) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kSBcU-0001Ts-1W for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2020 00:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kSBcT-00027B-SL for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2020 00:09:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Boruch Baum Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Oct 2020 04:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43961 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 43961-submit@debbugs.gnu.org id=B43961.16025621008075 (code B ref 43961); Tue, 13 Oct 2020 04:09:01 +0000 Original-Received: (at 43961) by debbugs.gnu.org; 13 Oct 2020 04:08:20 +0000 Original-Received: from localhost ([127.0.0.1]:44826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSBbn-00026B-Q9 for submit@debbugs.gnu.org; Tue, 13 Oct 2020 00:08:20 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:45621) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSBbk-00025s-Mr for 43961@debbugs.gnu.org; Tue, 13 Oct 2020 00:08:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1602562090; bh=Svl+Z/TqPsgxyZoonaIRFhey3xQGkkr3CV5g/BzKaYo=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:References:In-Reply-To; b=Curpf7OGL3WAXOtG56xnhSzGGTjz8iBCcYgH9CUSZjlnzGG9lah99497RcPDAbGpA Yj6ECVuixDvOXTAkV7dO8n2TRT+QeeW3GlpHZLnhbUErOsHUiZvdzUWGnjc1qw1Rnt LfckQKfzMxSKqXaa332wTlD4IjFlvlHne18o9OlU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from E15-2016.optimum.net ([72.89.170.172]) by mail.gmx.com (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MtfNf-1kCAUQ3c1H-00v5aZ; Tue, 13 Oct 2020 06:08:10 +0200 Content-Disposition: inline In-Reply-To: X-Provags-ID: V03:K1:chUAHXKv4u+nFxho3u4KPpmcjDFVBzrcLtxKm/VHGicTjzCObaQ heioRh1W1PVyFP7BMi6rRDZWeCCe5e8OQoOglsNVdcqY5kqCbMUIbhbIDRaub5F+rFJz4/+ 2WqybeCSYNskeihpl7XqmzG1cgkK8uO0FPDwGZPxS3rv//3jCKaQamLIUMpeMgkf+jN8HuL 8j3j67xrA3FCXFj1uVAYQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:UN60/RJq2vY=:1tUeVBtb7kTt1UBZ6ezjAA i3zzgMgL2hW9TNDU+0S1pGu+aFe7xz5OJdHxwv4I7OIopj/kIiqqiGEU3WlYMzAOEYXy16+Pu hjrRQnDLcVIM4nBmQWn8QMnajxErlhXEIOtVlpHlWKH5/ETpf01Q3Z0I+znhIxUNHzG8U5Hqs 930DameHjEmhVFavj0jA2lnYX3V89aXThFHV+lQwL4PK+uDpMYJTZveQalB0t0exIMuuPL0oN ClISVWyavuxAqf43ncHjmWO+UpsE6G7lAt4JHwQTCpzc5Ep47pH6CoAbOwKaIrSzTfM//W6Co S5ObGhWtUvJ5cA6+hDCbvpItWE+Ql/TNf+0BCpPMy5eqo4VCK8cUvBo5ggCQ/2zpXPBq4Z8DT BuEzeUbst1uzQVR/rCQ3wcdQPJ6AUuXfT2aTBkmAoyTkAQperIGofxJ0Xtl4AAJkR6JaaxPLy zw/fur4mdXgPjbUIRtI/w65hIkBMstKfw1Xnnkeb/AbcAnBY/LN5e946m8XFipw2RLRJMupJc TFhKLUovpvr3URPzP8VvTrENJQYjAXNcv1juxmq63nzpQ90fdvxIwwtT5BMtGtLqKVb2VEnJV ckfD/5LWxNvx3QyjUD1MU/yflDVAWwNCqjNi1QKbjKyqaPRhY5SPONWoH4OJnhrmbK1ZrZKsn Rmr+/bjQu5ms+sM1ZCZdhLdr5y2TvLS8vloPQs6fZ1N5nI+6SvFxZIvfgTS5RxLAJ4rykngRU PzgNxb0A88BttLw/XjoEYCVPdebTnN3EIY86omxDylKd+irAgfyHCD2y4Q51R3G5/mfv+jM0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:190392 Archived-At: On 2020-10-12 23:49, Richard Stallman wrote: > > + dired-filename-at-point is moved from dired-x.el to a position > > alongside its sister function > > What is the reason for keeping that function at all? I couldn't possibly account for all the possible emacs users who may have written private extensions over the years using one or the other of the two functions, so in order to be courteous and not break anyone's personal emacs I left both original symbol names extant and suggested a deprecation warning that could be followed in a later version with an EOL. As I think I mentioned, once (if) the patch is approved, a next step is to grep the emacs core code-base and replace the function names. > What makes it usefully different from dired-file-name-at-point? They return different values. One returns an expanded (canonical) path-name, and the other an abbreviated one. This quickly becomes an emacs history/archaeology exercise (not my PhD): the functions were written by different people at different times for different packages. One function entered emacs core when package dired-x (1993-, Sebastian Kremer) was integrated. My hunch is that modifications and bug fixes over time were only applied the dired.el version. =2D- hkp://keys.gnupg.net CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0