From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23643: 25.0.50; Documentation of file-name-sans-extension seems wrong Date: Sun, 29 May 2016 18:02:22 +0300 Message-ID: <838tysykjl.fsf@gnu.org> References: <1464487146-sup-1981@wolff.csail.mit.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1464534213 28382 80.91.229.3 (29 May 2016 15:03:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 May 2016 15:03:33 +0000 (UTC) Cc: 23643-done@debbugs.gnu.org To: Thomas Emile Bourgeat Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 29 17:03:16 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b72FI-00044I-8r for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 May 2016 17:03:16 +0200 Original-Received: from localhost ([::1]:56159 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b72FH-0001Tr-IA for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 May 2016 11:03:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b72F8-0001MA-0i for bug-gnu-emacs@gnu.org; Sun, 29 May 2016 11:03:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b72F4-0004cc-0p for bug-gnu-emacs@gnu.org; Sun, 29 May 2016 11:03:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34211) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b72F3-0004cQ-UB for bug-gnu-emacs@gnu.org; Sun, 29 May 2016 11:03:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b72F3-00028p-Oi for bug-gnu-emacs@gnu.org; Sun, 29 May 2016 11:03:01 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 May 2016 15:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 23643 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 23643@debbugs.gnu.org, eliz@gnu.org, bthom@mit.edu Original-Received: via spool by 23643-done@debbugs.gnu.org id=D23643.14645341408178 (code D ref 23643); Sun, 29 May 2016 15:03:01 +0000 Original-Received: (at 23643-done) by debbugs.gnu.org; 29 May 2016 15:02:20 +0000 Original-Received: from localhost ([127.0.0.1]:46546 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b72EN-00027q-VY for submit@debbugs.gnu.org; Sun, 29 May 2016 11:02:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41720) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b72EM-00027e-WD for 23643-done@debbugs.gnu.org; Sun, 29 May 2016 11:02:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b72ED-0004LA-N5 for 23643-done@debbugs.gnu.org; Sun, 29 May 2016 11:02:13 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55035) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b72ED-0004Kw-JW; Sun, 29 May 2016 11:02:09 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3156 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b72EB-000458-Nj; Sun, 29 May 2016 11:02:08 -0400 In-reply-to: <1464487146-sup-1981@wolff.csail.mit.edu> (message from Thomas Emile Bourgeat on Sat, 28 May 2016 22:04:40 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:118835 Archived-At: > From: Thomas Emile Bourgeat > Date: Sat, 28 May 2016 22:04:40 -0400 > > (file-name-sans-extension "foo.bar") produces "foo" when the > documentation suggests it should produce "foo.": > > > Return FILENAME sans final "extension". > > The extension, in a file name, is the part that follows the last ‘.’, > > except that a leading ‘.’, if any, doesn’t count. Thanks for the report. I'm not quite sure which part of the doc string led you to believe that "foo." should be produced: the "follows" part or the "leading `.'" part. So I went ahead and clarified both for the next release.