From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 23 15:33:59 2014 Received: (at submit) by debbugs.gnu.org; 23 Mar 2014 19:33:59 +0000 Received: from localhost ([127.0.0.1]:46181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WRo9e-0006yW-CY for submit@debbugs.gnu.org; Sun, 23 Mar 2014 15:33:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47815) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WRo9c-0006yO-7i for submit@debbugs.gnu.org; Sun, 23 Mar 2014 15:33:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WRo9V-0007zl-38 for submit@debbugs.gnu.org; Sun, 23 Mar 2014 15:33:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51994) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WRo9U-0007zh-WE for submit@debbugs.gnu.org; Sun, 23 Mar 2014 15:33:49 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WRo9O-0006bX-Q5 for bug-gnu-emacs@gnu.org; Sun, 23 Mar 2014 15:33:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WRo9I-0007z7-H4 for bug-gnu-emacs@gnu.org; Sun, 23 Mar 2014 15:33:42 -0400 Received: from mout.web.de ([212.227.17.12]:59277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WRo9I-0007y8-6h for bug-gnu-emacs@gnu.org; Sun, 23 Mar 2014 15:33:36 -0400 Received: from drachen.dragon ([90.187.94.104]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0MIeYe-1WPcHs1SAq-002DHL for ; Sun, 23 Mar 2014 20:33:34 +0100 From: Michael Heerdegen To: bug-gnu-emacs@gnu.org Subject: 24.3.50; file-symlink-p doesn't return t as described in the doc Date: Sun, 23 Mar 2014 20:33:08 +0100 Message-ID: <877g7k1zij.fsf@web.de> MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:AxVK5ymCCg9LgcUapKkqf2vG2BcvspAURH/WYMWs3OuTaUmxHeB OZypz2H3TC/SmzwXc38IJODE+KlLiWqUxxdvj3lPYT2SChwMs5zZAkRR1KErHB6UPiDADru HiLun51Q/zLLHdCwi/dVmqkxQhNt/fpfuN1JovIdXlgzkZWn18zUKLMYJECV+OfJoSYF3Il pTwC/LWV/268Ycdslhjcw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hello, the doc of `file-symlink-p' says: This function returns t when given the name of a symlink that points to a nonexistent file. But this is not the case here. Instead, it returns the resolved file name, which is a nonexisting file. This is with emacs -Q, and with all Emacs versions I tried, which were 23, 24 that come with Debian testing, and a recent built from trunk. Tested on Debian testing. Thanks, Michael. In GNU Emacs 24.3.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.7) of 2014-03-14 on drachen Windowing system distributor `The X.Org Foundation', version 11.0.11500000 System Description: Debian GNU/Linux testing (jessie) From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 23 19:34:23 2014 Received: (at 17073) by debbugs.gnu.org; 23 Mar 2014 23:34:23 +0000 Received: from localhost ([127.0.0.1]:46411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WRruI-0007UD-Ot for submit@debbugs.gnu.org; Sun, 23 Mar 2014 19:34:23 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:52603) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WRruF-0007U3-Hy for 17073@debbugs.gnu.org; Sun, 23 Mar 2014 19:34:20 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WRruE-0003SQ-M6; Sun, 23 Mar 2014 19:34:18 -0400 From: Glenn Morris To: Michael Heerdegen Subject: Re: bug#17073: 24.3.50; file-symlink-p doesn't return t as described in the doc References: <877g7k1zij.fsf@web.de> X-Spook: mailbomb Ansar al-Islam sweep Ft. Knox Treasury DRM X-Ran: |&=sHZ^!Ja$j0&qrOqbqB)OR,B/PAx`#d{[R;~cde!33'fwu^%`91ejePF78e%h (Michael Heerdegen's message of "Sun, 23 Mar 2014 20:33:08 +0100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 17073 Cc: 17073@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) Michael Heerdegen wrote: > the doc of `file-symlink-p' says: > > This function returns t when given the name of a symlink that > points to a nonexistent file. > > But this is not the case here. Instead, it returns the resolved file > name, which is a nonexisting file. Then I guess it means t in the sense of non-nil. From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 23 19:39:05 2014 Received: (at 17073-done) by debbugs.gnu.org; 23 Mar 2014 23:39:06 +0000 Received: from localhost ([127.0.0.1]:46416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WRryr-0007cE-Dj for submit@debbugs.gnu.org; Sun, 23 Mar 2014 19:39:05 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:52683) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WRryq-0007c6-5r for 17073-done@debbugs.gnu.org; Sun, 23 Mar 2014 19:39:04 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WRryo-0004hx-Dv; Sun, 23 Mar 2014 19:39:02 -0400 From: Glenn Morris To: 17073-done@debbugs.gnu.org Subject: Re: bug#17073: 24.3.50; file-symlink-p doesn't return t as described in the doc References: <877g7k1zij.fsf@web.de> X-Spook: freedom ANC blackjack CipherTAC-2000 MP5K-SD Ceridian X-Ran: 8XW`>tCdzbg/uB&XmrjC6]L.r2wO|oAAYSgN0VN$T}U;?UTn*S9o/&*~>+KFQJp5[lj>#V X-Hue: red X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sun, 23 Mar 2014 19:39:02 -0400 In-Reply-To: (Glenn Morris's message of "Sun, 23 Mar 2014 19:34:18 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 17073-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) Version: 24.4 Doc fixed. From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 23 20:26:21 2014 Received: (at 17073) by debbugs.gnu.org; 24 Mar 2014 00:26:21 +0000 Received: from localhost ([127.0.0.1]:46438 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WRsia-0000P4-Sw for submit@debbugs.gnu.org; Sun, 23 Mar 2014 20:26:21 -0400 Received: from mail-yh0-f49.google.com ([209.85.213.49]:54952) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WRsiX-0000Ov-Eo for 17073@debbugs.gnu.org; Sun, 23 Mar 2014 20:26:18 -0400 Received: by mail-yh0-f49.google.com with SMTP id z6so4487866yhz.22 for <17073@debbugs.gnu.org>; Sun, 23 Mar 2014 17:26:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=4i4Cqxs73mKMNEGd7PUn8i/dsT9AF5m/SZREA5rL7bg=; b=GckeNLAbJ5kI7ttR2Bs7MMBLjkPYlgxL8dDJF/Omxc01btOABCd3W+Y4Bs5NKlRRUg YM8DeazL1AwY6nOD0IqnpvOk1gYb3IYIc0eFZh3ZbtD75H+etl4MLqlhrs2fzYduO5R5 IVpk5sJ+MgIP8EC0CtxzgYz5dWlJsNsZ4RslrGejw1ESfQ/ohEMKjl9LraDIfIpcBltT Pf2tB22hmmBYhIKR01Kns2VQ2PRyGgg09xDIqV5VUmWLDaA8wgKbsPqdbFHXuUHgDDQm vDVHWYgv+KYRkGGTWmZIe0Ujn4Xa8LcMArNvD2C1SCYkGFnzuacB7ZlWyTvpOUdFLRlo ftFQ== X-Received: by 10.236.18.227 with SMTP id l63mr27411yhl.101.1395620776563; Sun, 23 Mar 2014 17:26:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.170.163.3 with HTTP; Sun, 23 Mar 2014 17:25:36 -0700 (PDT) In-Reply-To: References: <877g7k1zij.fsf@web.de> From: Juanma Barranquero Date: Mon, 24 Mar 2014 01:25:36 +0100 Message-ID: Subject: Re: bug#17073: 24.3.50; file-symlink-p doesn't return t as described in the doc To: 17073@debbugs.gnu.org, Glenn Morris , Michael Heerdegen Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17073 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Perhaps it's me, but I don't find the doc for this function (in the elisp reference) particularly clear -- Function: file-symlink-p filename If the file FILENAME is a symbolic link, the `file-symlink-p' function returns the (non-recursive) link target as a string. Here it agrees with your interpretation, so at least that is clear. (Determining the file name that the link points to from the target is nontrivial.) First, this function recursively follows symbolic links at all levels of parent directories. IIUC, it's saying (above) that it does not follow symbolic links to files recursively. But (below) that it does follow recursively symbolic links to directories, until it finds a file (or a symbolic link to a file). Is that? J From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 23 23:52:48 2014 Received: (at 17073) by debbugs.gnu.org; 24 Mar 2014 03:52:48 +0000 Received: from localhost ([127.0.0.1]:46604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WRvwN-0008GZ-Kv for submit@debbugs.gnu.org; Sun, 23 Mar 2014 23:52:48 -0400 Received: from mtaout28.012.net.il ([80.179.55.184]:39859) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WRvwK-0008GO-UX for 17073@debbugs.gnu.org; Sun, 23 Mar 2014 23:52:45 -0400 Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0N2X00B008E1EV00@mtaout28.012.net.il> for 17073@debbugs.gnu.org; Mon, 24 Mar 2014 05:52:33 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N2X008YI9FKUK60@mtaout28.012.net.il>; Mon, 24 Mar 2014 05:52:33 +0200 (IST) Date: Mon, 24 Mar 2014 05:52:31 +0200 From: Eli Zaretskii Subject: Re: bug#17073: 24.3.50; file-symlink-p doesn't return t as described in the doc In-reply-to: X-012-Sender: halo1@inter.net.il To: Juanma Barranquero Message-id: <83vbv41ce8.fsf@gnu.org> References: <877g7k1zij.fsf@web.de> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17073 Cc: michael_heerdegen@web.de, rgm@gnu.org, 17073@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Juanma Barranquero > Date: Mon, 24 Mar 2014 01:25:36 +0100 > > Perhaps it's me, but I don't find the doc for this function (in the > elisp reference) particularly clear > > -- Function: file-symlink-p filename > If the file FILENAME is a symbolic link, the `file-symlink-p' > function returns the (non-recursive) link target as a string. > > Here it agrees with your interpretation, so at least that is clear. > > (Determining the file name that the link points to from the target > is nontrivial.) First, this function recursively follows symbolic > links at all levels of parent directories. > > IIUC, it's saying (above) that it does not follow symbolic links to > files recursively. But (below) that it does follow recursively > symbolic links to directories, until it finds a file (or a symbolic > link to a file). Is that? The difference is between the file (a.k.a. "basename") part of the file name, and the leading directories part. And yes, it is true. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 24 00:01:18 2014 Received: (at 17073) by debbugs.gnu.org; 24 Mar 2014 04:01:18 +0000 Received: from localhost ([127.0.0.1]:46608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WRw4c-0008W2-Bd for submit@debbugs.gnu.org; Mon, 24 Mar 2014 00:01:18 -0400 Received: from mail-yh0-f54.google.com ([209.85.213.54]:50991) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WRw4a-0008Vs-B1 for 17073@debbugs.gnu.org; Mon, 24 Mar 2014 00:01:17 -0400 Received: by mail-yh0-f54.google.com with SMTP id f73so4661347yha.13 for <17073@debbugs.gnu.org>; Sun, 23 Mar 2014 21:01:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=GJ9nRXLkuDXXWdCKO08/TNza2p3LTpt2fDqsPU/A1wA=; b=lVd8GYPABF0vv8NN/gCrLPucvSPgOUG4Qvqz4xRQUftmFOiQc3A/sQJN/bQEf2XOZ0 STpVUV/78QY3uc4xZYt5LuvTgDfRAUYXMj1uFS9Z0zHoArgj4/YysXOfRNB+h+p22k9b ijsy7NHAFjuE/QKxrieeYnhH63yS9tBtwmsFQPA28TXnNNOCpy3t8P4sHeLCCXmr5ZCF c8HDWF/Zq4dlislPJ/sSXT5IynvO1EG+S1w573fdhlc4ZrHR+RR/kkYE1s6I2M3551ZH Ug/B7bDGdZh822XDoIORoYXK/Pnh4SMw1d4CST08PDdmIddMzS/I5wMMK6me2/Z/jCSH oz/w== X-Received: by 10.236.148.71 with SMTP id u47mr47410675yhj.82.1395633674336; Sun, 23 Mar 2014 21:01:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.170.163.3 with HTTP; Sun, 23 Mar 2014 21:00:34 -0700 (PDT) In-Reply-To: <83vbv41ce8.fsf@gnu.org> References: <877g7k1zij.fsf@web.de> <83vbv41ce8.fsf@gnu.org> From: Juanma Barranquero Date: Mon, 24 Mar 2014 05:00:34 +0100 Message-ID: Subject: Re: bug#17073: 24.3.50; file-symlink-p doesn't return t as described in the doc To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17073 Cc: Michael Heerdegen , Glenn Morris , 17073@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Mon, Mar 24, 2014 at 4:52 AM, Eli Zaretskii wrote: > The difference is between the file (a.k.a. "basename") part of the > file name, and the leading directories part. And yes, it is true. Well, as I said, I think that docstring could benefit from a little love. J From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 24 00:02:55 2014 Received: (at 17073) by debbugs.gnu.org; 24 Mar 2014 04:02:55 +0000 Received: from localhost ([127.0.0.1]:46612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WRw6A-00007D-OZ for submit@debbugs.gnu.org; Mon, 24 Mar 2014 00:02:54 -0400 Received: from mail-yk0-f176.google.com ([209.85.160.176]:46464) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WRw68-000070-95 for 17073@debbugs.gnu.org; Mon, 24 Mar 2014 00:02:53 -0400 Received: by mail-yk0-f176.google.com with SMTP id 19so13301536ykq.7 for <17073@debbugs.gnu.org>; Sun, 23 Mar 2014 21:02:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=g3WdflgqyYlcZ6OZ0p1pZYwednB9faEHdiWx3tWAS74=; b=KQXbp5Z8WV4mH6MDeWvyiVOrsNAjQHI4fDTFnoWsP8RE86Pia8ZENQ8lec9VgIXsdj Bb/IDdexNZh8rsSDjYLtFnxyeP23KWp/S2UeprbCONdJpTmEUP/ZwlU3Xv+DQMC/mPCI qvXonK5bhbrmKnlUq/Zda/hN+8JkEzC7XjO9RY3EFF6nVXbBSnvyNip6TqZpChLTwFZq WM+/MqLawcQas9Yom8i++GHKQH3+r7LH0Bi95d5MRG3VgBhBE5RqRbumVgAJjbYn7jX+ uiqGfZcNwez+MV4qwc4zc8FmJqb1AV7ukuiEasKjUDNoxm7SMhZEBiXts/nymtau+ZSG 6SDw== X-Received: by 10.236.127.68 with SMTP id c44mr60155088yhi.1.1395633771641; Sun, 23 Mar 2014 21:02:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.170.163.3 with HTTP; Sun, 23 Mar 2014 21:02:11 -0700 (PDT) In-Reply-To: References: <877g7k1zij.fsf@web.de> <83vbv41ce8.fsf@gnu.org> From: Juanma Barranquero Date: Mon, 24 Mar 2014 05:02:11 +0100 Message-ID: Subject: Re: bug#17073: 24.3.50; file-symlink-p doesn't return t as described in the doc To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17073 Cc: Michael Heerdegen , Glenn Morris , 17073@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Mon, Mar 24, 2014 at 5:00 AM, Juanma Barranquero wrote: > Well, as I said, I think that docstring could benefit from a little love. s/docstring/manual entry/ From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 24 12:49:28 2014 Received: (at 17073) by debbugs.gnu.org; 24 Mar 2014 16:49:28 +0000 Received: from localhost ([127.0.0.1]:47876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WS840-00080T-4g for submit@debbugs.gnu.org; Mon, 24 Mar 2014 12:49:28 -0400 Received: from mtaout29.012.net.il ([80.179.55.185]:35454) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WS83x-00080J-Ps for 17073@debbugs.gnu.org; Mon, 24 Mar 2014 12:49:26 -0400 Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0N2Y00I0094DZV00@mtaout29.012.net.il> for 17073@debbugs.gnu.org; Mon, 24 Mar 2014 18:52:08 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N2Y00ANU9IVOO50@mtaout29.012.net.il>; Mon, 24 Mar 2014 18:52:08 +0200 (IST) Date: Mon, 24 Mar 2014 18:49:11 +0200 From: Eli Zaretskii Subject: Re: bug#17073: 24.3.50; file-symlink-p doesn't return t as described in the doc In-reply-to: X-012-Sender: halo1@inter.net.il To: Juanma Barranquero Message-id: <83r45r1r08.fsf@gnu.org> References: <877g7k1zij.fsf@web.de> <83vbv41ce8.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17073 Cc: michael_heerdegen@web.de, rgm@gnu.org, 17073@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Juanma Barranquero > Date: Mon, 24 Mar 2014 05:00:34 +0100 > Cc: 17073@debbugs.gnu.org, Glenn Morris , > Michael Heerdegen > > On Mon, Mar 24, 2014 at 4:52 AM, Eli Zaretskii wrote: > > > The difference is between the file (a.k.a. "basename") part of the > > file name, and the leading directories part. And yes, it is true. > > Well, as I said, I think that docstring could benefit from a little love. Not sure which part needs love. Could you perhaps point out the unclear parts? From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 24 13:01:53 2014 Received: (at 17073) by debbugs.gnu.org; 24 Mar 2014 17:01:53 +0000 Received: from localhost ([127.0.0.1]:47887 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WS8Fz-0008Or-NU for submit@debbugs.gnu.org; Mon, 24 Mar 2014 13:01:52 -0400 Received: from mail-yh0-f47.google.com ([209.85.213.47]:49184) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WS8Ft-0008Oe-40 for 17073@debbugs.gnu.org; Mon, 24 Mar 2014 13:01:49 -0400 Received: by mail-yh0-f47.google.com with SMTP id 29so5425980yhl.6 for <17073@debbugs.gnu.org>; Mon, 24 Mar 2014 10:01:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=+/W1OTrVDJc1whsHRcmtzR/reDPJc32hYxrnuEv9AA8=; b=GD+D2p+kJHcQsZd2fniXCRmRRYAs4V+/DUs9pS+a6RpzgrJyiCh765tQf4BYOoiMP9 JIcmIW8kCIuUV1orPMyCaT7VoeASCxSfluO7aChAUWV506ZeMBomafvf0Mx6u9FWrN/R KEw3Dhviea8vtkWLxJnnYtnPfvX0rgSBgAuHK1xsWIQWhPPhcBXzImhX+nNMujoLM+o2 GmUZui11DGwVoko+FQ5Gact5GAEglqtJwStQ/eYSepGEIu9HtS18fuhYUrKBgYrekgk8 t0C8qZ7PZeeaAN1qLhxlJZ1x4Ny4XpvMvSdq+8BoV+wxUS+WEp4ymJRNP0/sku8iq6iE /EDA== X-Received: by 10.236.169.33 with SMTP id m21mr3157961yhl.137.1395680504433; Mon, 24 Mar 2014 10:01:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.170.163.3 with HTTP; Mon, 24 Mar 2014 10:01:04 -0700 (PDT) In-Reply-To: <83r45r1r08.fsf@gnu.org> References: <877g7k1zij.fsf@web.de> <83vbv41ce8.fsf@gnu.org> <83r45r1r08.fsf@gnu.org> From: Juanma Barranquero Date: Mon, 24 Mar 2014 18:01:04 +0100 Message-ID: Subject: Re: bug#17073: 24.3.50; file-symlink-p doesn't return t as described in the doc To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17073 Cc: Michael Heerdegen , 17073@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Mon, Mar 24, 2014 at 5:49 PM, Eli Zaretskii wrote: > Not sure which part needs love. Could you perhaps point out the > unclear parts? First, this function recursively follows symbolic links at all levels of parent directories. On one hand, though I suppose "First, this function recursively follows..." means "This function, first of all, recursively follows...", my instinct is that it is the start of an enumeration, so I expect a "Second, it ...". On the other hand, you've explained that this: If the file FILENAME is a symbolic link, the `file-symlink-p' function returns the (non-recursive) link target as a string. talks about the 'file (a.k.a. "basename") part of the file name', and this First, this function recursively follows symbolic links at all levels of parent directories. talks about the 'leading directories part'. Well, I don't find that clear. J From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 25 12:10:25 2014 Received: (at 17073) by debbugs.gnu.org; 25 Mar 2014 16:10:26 +0000 Received: from localhost ([127.0.0.1]:49522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSTvj-0005Pb-JD for submit@debbugs.gnu.org; Tue, 25 Mar 2014 12:10:24 -0400 Received: from mtaout25.012.net.il ([80.179.55.181]:45857) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSTvg-0005PM-No for 17073@debbugs.gnu.org; Tue, 25 Mar 2014 12:10:21 -0400 Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0N3000B0023IAP00@mtaout25.012.net.il> for 17073@debbugs.gnu.org; Tue, 25 Mar 2014 18:09:03 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N30004PV273K570@mtaout25.012.net.il>; Tue, 25 Mar 2014 18:09:03 +0200 (IST) Date: Tue, 25 Mar 2014 18:10:12 +0200 From: Eli Zaretskii Subject: Re: bug#17073: 24.3.50; file-symlink-p doesn't return t as described in the doc In-reply-to: X-012-Sender: halo1@inter.net.il To: Juanma Barranquero Message-id: <83vbv2z2cb.fsf@gnu.org> References: <877g7k1zij.fsf@web.de> <83vbv41ce8.fsf@gnu.org> <83r45r1r08.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17073 Cc: michael_heerdegen@web.de, 17073@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Juanma Barranquero > Date: Mon, 24 Mar 2014 18:01:04 +0100 > Cc: Michael Heerdegen , 17073@debbugs.gnu.org > > On Mon, Mar 24, 2014 at 5:49 PM, Eli Zaretskii wrote: > > > Not sure which part needs love. Could you perhaps point out the > > unclear parts? > > First, this function recursively follows symbolic > links at all levels of parent directories. > > On one hand, though I suppose "First, this function recursively > follows..." means "This function, first of all, recursively > follows...", my instinct is that it is the start of an enumeration, so > I expect a "Second, it ...". > > On the other hand, you've explained that this: > > If the file FILENAME is a symbolic link, the `file-symlink-p' > function returns the (non-recursive) link target as a string. > > talks about the 'file (a.k.a. "basename") part of the file name', and this > > First, this function recursively follows symbolic > links at all levels of parent directories. > > talks about the 'leading directories part'. Well, I don't find that clear. I tried to clarify and improve the documentation in revision 116859 on the emacs-24 branch, please take a look. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 25 12:30:11 2014 Received: (at 17073) by debbugs.gnu.org; 25 Mar 2014 16:30:11 +0000 Received: from localhost ([127.0.0.1]:49530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSUEs-0005zm-CA for submit@debbugs.gnu.org; Tue, 25 Mar 2014 12:30:10 -0400 Received: from mail-yk0-f176.google.com ([209.85.160.176]:62035) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSUEp-0005z1-Bb for 17073@debbugs.gnu.org; Tue, 25 Mar 2014 12:30:08 -0400 Received: by mail-yk0-f176.google.com with SMTP id 19so1796825ykq.7 for <17073@debbugs.gnu.org>; Tue, 25 Mar 2014 09:30:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=FZKsdGibGK0xqSu17vmg52idspKWMXgSktD55V6BaqA=; b=P5/ht1JHqlNEeUeeKhuLOhRwhA8p/8He/+HN3nnXkAAJko2xS5wbOGXtwizmK3RaGv QASfhR9mL03ZE6PryJK305R7BaGRiLwoQi9aPfrMDwlJ1TASzLQ4ATRp+xB1Th0ivFhR 6W7YDMwN3LtC4PREXNzaH6IySjuHye++3VjcKj7U2YfmK1Urtm8czSGjonHMzjkS0pOg 4Qa01eZ07CmBufcYfjf51r0V8AzqN6OfrST8xmXZh0vdIpXZ7vVq99qhKXgwxgBcSsfs eBP9oUyzUlxw1JK2BILEtAxFcs3bsatdFz3ghouE5ka0oQ3lwWXAe6xCxF1oYHySv4qV eY+g== X-Received: by 10.236.27.108 with SMTP id d72mr2367919yha.137.1395765006603; Tue, 25 Mar 2014 09:30:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.170.163.3 with HTTP; Tue, 25 Mar 2014 09:29:26 -0700 (PDT) In-Reply-To: <83vbv2z2cb.fsf@gnu.org> References: <877g7k1zij.fsf@web.de> <83vbv41ce8.fsf@gnu.org> <83r45r1r08.fsf@gnu.org> <83vbv2z2cb.fsf@gnu.org> From: Juanma Barranquero Date: Tue, 25 Mar 2014 17:29:26 +0100 Message-ID: Subject: Re: bug#17073: 24.3.50; file-symlink-p doesn't return t as described in the doc To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17073 Cc: Michael Heerdegen , 17073@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Tue, Mar 25, 2014 at 5:10 PM, Eli Zaretskii wrote: > I tried to clarify and improve the documentation in revision 116859 on > the emacs-24 branch, please take a look. Superb! Thanks. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 25 14:03:28 2014 Received: (at 17073) by debbugs.gnu.org; 25 Mar 2014 18:03:28 +0000 Received: from localhost ([127.0.0.1]:49605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSVhA-0000Jr-46 for submit@debbugs.gnu.org; Tue, 25 Mar 2014 14:03:28 -0400 Received: from mtaout29.012.net.il ([80.179.55.185]:42162) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSVh7-0000Jd-EI for 17073@debbugs.gnu.org; Tue, 25 Mar 2014 14:03:26 -0400 Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0N3000E0077FSD00@mtaout29.012.net.il> for 17073@debbugs.gnu.org; Tue, 25 Mar 2014 20:06:08 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N3000FJB7M79S10@mtaout29.012.net.il>; Tue, 25 Mar 2014 20:06:08 +0200 (IST) Date: Tue, 25 Mar 2014 20:03:16 +0200 From: Eli Zaretskii Subject: Re: bug#17073: 24.3.50; file-symlink-p doesn't return t as described in the doc In-reply-to: X-012-Sender: halo1@inter.net.il To: Juanma Barranquero Message-id: <83pplayx3v.fsf@gnu.org> References: <877g7k1zij.fsf@web.de> <83vbv41ce8.fsf@gnu.org> <83r45r1r08.fsf@gnu.org> <83vbv2z2cb.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17073 Cc: michael_heerdegen@web.de, 17073@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Juanma Barranquero > Date: Tue, 25 Mar 2014 17:29:26 +0100 > Cc: Michael Heerdegen , 17073@debbugs.gnu.org > > On Tue, Mar 25, 2014 at 5:10 PM, Eli Zaretskii wrote: > > > I tried to clarify and improve the documentation in revision 116859 on > > the emacs-24 branch, please take a look. > > Superb! Thanks. Thanks. Can this be closed, then? From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 25 14:05:16 2014 Received: (at 17073-done) by debbugs.gnu.org; 25 Mar 2014 18:05:16 +0000 Received: from localhost ([127.0.0.1]:49609 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSVit-0000NO-N8 for submit@debbugs.gnu.org; Tue, 25 Mar 2014 14:05:15 -0400 Received: from mail-yk0-f173.google.com ([209.85.160.173]:48288) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSVir-0000NE-7K for 17073-done@debbugs.gnu.org; Tue, 25 Mar 2014 14:05:13 -0400 Received: by mail-yk0-f173.google.com with SMTP id 10so2134483ykt.4 for <17073-done@debbugs.gnu.org>; Tue, 25 Mar 2014 11:05:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=/E0ah/dsPNZvs16uFmv/6liY2ggquMwXtGyne9rGlpI=; b=m7ppYvu5bypWrvJqlyUMfrPuphULvlGD2EWlT88dlRh1ythcPLEK6L+6MsI7T0nyzX AMqrCIIr8rPbVq92YqYIxtzLtNpMPpa7Zs3UIxc/ptDiyBK7BdR9QTzrG7gdfWz9BsPF C6a5zo2KaNB+N0uNj7Q7qC0K+8kQ8z61Q/WDjGmILj7gXvlxVFRushtuj2DFmEKTswFf lYU8mvwsEdbq/Jf3TMFG8SgLMrvwjsvUwC2pkILicY3st4KGyFt1juFrV/RmKSKn7kJ/ Nadht2NCO335PoUbOKwxeBNn+vLdWoMThk1LJ0w25YO9uzVIFWdtFNvokozmONpfsD1j EP9g== X-Received: by 10.236.149.2 with SMTP id w2mr4606965yhj.114.1395770712412; Tue, 25 Mar 2014 11:05:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.170.163.3 with HTTP; Tue, 25 Mar 2014 11:04:32 -0700 (PDT) In-Reply-To: <83pplayx3v.fsf@gnu.org> References: <877g7k1zij.fsf@web.de> <83vbv41ce8.fsf@gnu.org> <83r45r1r08.fsf@gnu.org> <83vbv2z2cb.fsf@gnu.org> <83pplayx3v.fsf@gnu.org> From: Juanma Barranquero Date: Tue, 25 Mar 2014 19:04:32 +0100 Message-ID: Subject: Re: bug#17073: 24.3.50; file-symlink-p doesn't return t as described in the doc To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17073-done Cc: Michael Heerdegen , 17073-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Version: 24.3.50 > Can this be closed, then? Sure. Done. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 25 14:37:53 2014 Received: (at 17073) by debbugs.gnu.org; 25 Mar 2014 18:37:53 +0000 Received: from localhost ([127.0.0.1]:49647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSWES-0001Os-Su for submit@debbugs.gnu.org; Tue, 25 Mar 2014 14:37:53 -0400 Received: from mout.web.de ([212.227.15.4]:60413) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSWEN-0001Oe-Tt for 17073@debbugs.gnu.org; Tue, 25 Mar 2014 14:37:48 -0400 Received: from drachen.dragon ([90.186.68.213]) by smtp.web.de (mrweb001) with ESMTPSA (Nemesis) id 0MaJc8-1WmEwE0OKG-00JsfO; Tue, 25 Mar 2014 19:37:46 +0100 From: Michael Heerdegen To: Eli Zaretskii Subject: Re: bug#17073: 24.3.50; file-symlink-p doesn't return t as described in the doc References: <877g7k1zij.fsf@web.de> <83vbv41ce8.fsf@gnu.org> <83r45r1r08.fsf@gnu.org> <83vbv2z2cb.fsf@gnu.org> <83pplayx3v.fsf@gnu.org> Date: Tue, 25 Mar 2014 19:37:43 +0100 In-Reply-To: <83pplayx3v.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 25 Mar 2014 20:03:16 +0200") Message-ID: <87d2ha15vs.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:YKxr9NDazsmdj+cQXjpVXgZcyjGXGRXySjBSlBVAo5aMT9sAImu YPAGbWeUUBZ2iTe7klz/Uk8xuWePZxiL8vWokVVftTJpOO/lzdU65lWbvVTSxsve5kvkVcS DlubOhJLjVTToiadKLU2KymWFvefYgzndqK6tlova1j4E12kQGbPdIOewziTFv8T8GQvIfI 0XNZNBKD76iVS34LE6Gkg== X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 17073 Cc: Juanma Barranquero , 17073@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) Eli Zaretskii writes: > Thanks. Can this be closed, then? The changes in the manual look great, thanks. Sorry if this is a dumb question, but: If the leading directories of @var{filename} include symbolic links, this function recursively follows them. Is this obvious? If not - doesn't it also belong in the docstring? Thanks, Michael. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 25 15:02:33 2014 Received: (at 17073) by debbugs.gnu.org; 25 Mar 2014 19:02:33 +0000 Received: from localhost ([127.0.0.1]:49669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSWcK-0003H5-P0 for submit@debbugs.gnu.org; Tue, 25 Mar 2014 15:02:33 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:35056) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSWcH-0003Gu-IE for 17073@debbugs.gnu.org; Tue, 25 Mar 2014 15:02:30 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N3000C00A023900@a-mtaout20.012.net.il> for 17073@debbugs.gnu.org; Tue, 25 Mar 2014 21:02:27 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N3000CM5A820830@a-mtaout20.012.net.il>; Tue, 25 Mar 2014 21:02:27 +0200 (IST) Date: Tue, 25 Mar 2014 21:02:20 +0200 From: Eli Zaretskii Subject: Re: bug#17073: 24.3.50; file-symlink-p doesn't return t as described in the doc In-reply-to: <87d2ha15vs.fsf@web.de> X-012-Sender: halo1@inter.net.il To: Michael Heerdegen Message-id: <83mwgeyudf.fsf@gnu.org> References: <877g7k1zij.fsf@web.de> <83vbv41ce8.fsf@gnu.org> <83r45r1r08.fsf@gnu.org> <83vbv2z2cb.fsf@gnu.org> <83pplayx3v.fsf@gnu.org> <87d2ha15vs.fsf@web.de> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17073 Cc: lekktu@gmail.com, 17073@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Michael Heerdegen > Cc: Juanma Barranquero , 17073@debbugs.gnu.org > Date: Tue, 25 Mar 2014 19:37:43 +0100 > > If the leading directories of @var{filename} include symbolic links, > this function recursively follows them. > > Is this obvious? Hard to say. I think it's pretty obvious to those who are used to semantics of symlinks (I actually find strange and even confusing the fact that the manual insists on telling which functions follow links and in which parts of the filename). For those who are not used to symlinks, I'm pretty sure even the above sentence does not say enough. > If not - doesn't it also belong in the docstring? Well, we don't normally say about each file-related function whether it does or doesn't follow symlinks. So why this one? From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 25 15:21:57 2014 Received: (at 17073) by debbugs.gnu.org; 25 Mar 2014 19:21:57 +0000 Received: from localhost ([127.0.0.1]:49678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSWv7-0003on-3d for submit@debbugs.gnu.org; Tue, 25 Mar 2014 15:21:57 -0400 Received: from mout.web.de ([212.227.17.11]:56408) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSWv3-0003ob-QN for 17073@debbugs.gnu.org; Tue, 25 Mar 2014 15:21:54 -0400 Received: from drachen.dragon ([90.186.68.213]) by smtp.web.de (mrweb002) with ESMTPSA (Nemesis) id 0MZDki-1WnMcu1ICa-00Kw8A; Tue, 25 Mar 2014 20:21:52 +0100 From: Michael Heerdegen To: Eli Zaretskii Subject: Re: bug#17073: 24.3.50; file-symlink-p doesn't return t as described in the doc References: <877g7k1zij.fsf@web.de> <83vbv41ce8.fsf@gnu.org> <83r45r1r08.fsf@gnu.org> <83vbv2z2cb.fsf@gnu.org> <83pplayx3v.fsf@gnu.org> <87d2ha15vs.fsf@web.de> <83mwgeyudf.fsf@gnu.org> Date: Tue, 25 Mar 2014 20:21:44 +0100 In-Reply-To: <83mwgeyudf.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 25 Mar 2014 21:02:20 +0200") Message-ID: <878ury13uf.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:wOEH8g8vn5+3MIXWQGiGmTbZhep2NxIWqXPq4K4pVrlrtmqSWft fnrQlBeh6BuqKIdo+CdwfPIVpuCT0b8MPVV/Ym26A0wjzKbYMKB3GDRdkjhkevh5KH4QxAA jSMTMAZuriJansNzPE22MGkrpakdORQpaNnf+gO3OiZTuh5zsK1h7tUsIk3lLv3D8YM37vi vo44eSvVfjrBwB0Oacwvw== X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 17073 Cc: lekktu@gmail.com, 17073@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) Eli Zaretskii writes: > > If the leading directories of @var{filename} include symbolic links, > > this function recursively follows them. > > > > Is this obvious? > > Hard to say. I think it's pretty obvious to those who are used to > semantics of symlinks I understand it now after thinking about it a bit. Yes, it's quite obvious. > > If not - doesn't it also belong in the docstring? > > Well, we don't normally say about each file-related function whether > it does or doesn't follow symlinks. So why this one? Ok, I agree. So I too think we are ready here. Thanks, Michael. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 25 20:41:58 2014 Received: (at 17073) by debbugs.gnu.org; 26 Mar 2014 00:41:58 +0000 Received: from localhost ([127.0.0.1]:49831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSbuo-0004uO-9n for submit@debbugs.gnu.org; Tue, 25 Mar 2014 20:41:58 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:34840) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSbul-0004uC-Md for 17073@debbugs.gnu.org; Tue, 25 Mar 2014 20:41:56 -0400 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s2Q0frkm028105; Tue, 25 Mar 2014 20:41:53 -0400 Received: by pastel.home (Postfix, from userid 20848) id 6EE856013D; Tue, 25 Mar 2014 20:41:53 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#17073: 24.3.50; file-symlink-p doesn't return t as described in the doc Message-ID: References: <877g7k1zij.fsf@web.de> <83vbv41ce8.fsf@gnu.org> <83r45r1r08.fsf@gnu.org> <83vbv2z2cb.fsf@gnu.org> <83pplayx3v.fsf@gnu.org> <87d2ha15vs.fsf@web.de> <83mwgeyudf.fsf@gnu.org> Date: Tue, 25 Mar 2014 20:41:53 -0400 In-Reply-To: <83mwgeyudf.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 25 Mar 2014 21:02:20 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4892=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4892> : inlines <646> : streams <1144648> : uri <1709961> X-Spam-Score: -1.7 (-) X-Debbugs-Envelope-To: 17073 Cc: Michael Heerdegen , lekktu@gmail.com, 17073@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) >> If the leading directories of @var{filename} include symbolic links, >> this function recursively follows them. >> Is this obvious? > Hard to say. I think it's pretty obvious to those who are used to > semantics of symlinks (I actually find strange and even confusing the > fact that the manual insists on telling which functions follow links > and in which parts of the filename). For those who are not used to > symlinks, I'm pretty sure even the above sentence does not say enough. I think the sentence is more confusing than helpful. To me it makes it sound like there something special going on, whereas it's just business as usual. And as you say, for people not used to the semantics of symlinks it's not helpful either (and putting it in file-symlink-p is confusing since it gives the impression that symlinks only affect file-symlink-p). Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 25 23:53:36 2014 Received: (at 17073) by debbugs.gnu.org; 26 Mar 2014 03:53:36 +0000 Received: from localhost ([127.0.0.1]:49900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSeuF-00025A-GI for submit@debbugs.gnu.org; Tue, 25 Mar 2014 23:53:35 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:48792) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSeuD-000250-4z for 17073@debbugs.gnu.org; Tue, 25 Mar 2014 23:53:34 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N3000G00Y71GF00@a-mtaout20.012.net.il> for 17073@debbugs.gnu.org; Wed, 26 Mar 2014 05:53:31 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N3000F9GYT6ZP90@a-mtaout20.012.net.il>; Wed, 26 Mar 2014 05:53:31 +0200 (IST) Date: Wed, 26 Mar 2014 05:53:25 +0200 From: Eli Zaretskii Subject: Re: bug#17073: 24.3.50; file-symlink-p doesn't return t as described in the doc In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83k3bhzkcq.fsf@gnu.org> References: <877g7k1zij.fsf@web.de> <83vbv41ce8.fsf@gnu.org> <83r45r1r08.fsf@gnu.org> <83vbv2z2cb.fsf@gnu.org> <83pplayx3v.fsf@gnu.org> <87d2ha15vs.fsf@web.de> <83mwgeyudf.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17073 Cc: michael_heerdegen@web.de, lekktu@gmail.com, 17073@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Stefan Monnier > Cc: Michael Heerdegen , lekktu@gmail.com, > 17073@debbugs.gnu.org > Date: Tue, 25 Mar 2014 20:41:53 -0400 > > >> If the leading directories of @var{filename} include symbolic links, > >> this function recursively follows them. > >> Is this obvious? > > Hard to say. I think it's pretty obvious to those who are used to > > semantics of symlinks (I actually find strange and even confusing the > > fact that the manual insists on telling which functions follow links > > and in which parts of the filename). For those who are not used to > > symlinks, I'm pretty sure even the above sentence does not say enough. > > I think the sentence is more confusing than helpful. To me it makes it > sound like there something special going on, whereas it's just business > as usual. But the same is true for all the other places in files.texi which document what functions follow symlinks and in which part(s) of their arguments. This one is just one such place, one of many. From unknown Sat Jun 21 10:40:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 23 Apr 2014 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator