From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.bugs Subject: bug#22890: 25.1.50; Wishlist: There should be file-attribute accessors Date: Fri, 04 Mar 2016 12:00:22 -0800 Message-ID: References: <87h9goje5d.fsf@gnus.org> <87d1ral5v8.fsf@gnus.org> Reply-To: John Wiegley NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1457121686 11289 80.91.229.3 (4 Mar 2016 20:01:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Mar 2016 20:01:26 +0000 (UTC) Cc: 22890@debbugs.gnu.org, Lars Magne Ingebrigtsen , Andy Moreton To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 04 21:01:15 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 1abvuU-0008UC-8C for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Mar 2016 21:01:14 +0100 Original-Received: from localhost ([::1]:43288 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abvuQ-0005Nu-KS for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Mar 2016 15:01:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51870) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abvuN-0005Na-1r for bug-gnu-emacs@gnu.org; Fri, 04 Mar 2016 15:01:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abvuI-0004iB-UU for bug-gnu-emacs@gnu.org; Fri, 04 Mar 2016 15:01:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36964) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abvuI-0004hp-Re for bug-gnu-emacs@gnu.org; Fri, 04 Mar 2016 15:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1abvuI-0000eo-Ii for bug-gnu-emacs@gnu.org; Fri, 04 Mar 2016 15:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: John Wiegley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Mar 2016 20:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22890 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 22890-submit@debbugs.gnu.org id=B22890.14571216332482 (code B ref 22890); Fri, 04 Mar 2016 20:01:02 +0000 Original-Received: (at 22890) by debbugs.gnu.org; 4 Mar 2016 20:00:33 +0000 Original-Received: from localhost ([127.0.0.1]:34091 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abvto-0000dy-MK for submit@debbugs.gnu.org; Fri, 04 Mar 2016 15:00:32 -0500 Original-Received: from mail-pa0-f52.google.com ([209.85.220.52]:33753) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abvtn-0000dl-4P for 22890@debbugs.gnu.org; Fri, 04 Mar 2016 15:00:31 -0500 Original-Received: by mail-pa0-f52.google.com with SMTP id fl4so40031574pad.0 for <22890@debbugs.gnu.org>; Fri, 04 Mar 2016 12:00:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:reply-to:mime-version; bh=kwH2a3dhAAh/mDN7/EYrEyufk1l0q72ek6LL951w0Jw=; b=T5g7Am58tV8UEamRbGs1f62sRl62lMbbtl4F6fLOt46RIlU1ILuk3elW5itiOszq1F bbNA9MpcJauwXMmgvSypp53otduCOBCLGh4S+BWEOKVWuC06rprIuJud4DsZdUYt/NZw CMbGgIJo7XpliNLoysOYlzxZ+D9OCKjjfNr4QAYwGRTx9prn4cgYepa5friu3OMkoFzt eCHwOhHHbDwc8G5dPn81E7Xw28kk9KAXqFlSY3Dk0DYCkxG2nIDTgZhuUHewr/oPEIx5 GACl4lw5FSskz/BlG413BQxmZdQ9Xf6dn4saUU53rUXfco8HQfG4GuirwVhmnBVYfpI6 S0BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :references:user-agent:reply-to:mime-version; bh=kwH2a3dhAAh/mDN7/EYrEyufk1l0q72ek6LL951w0Jw=; b=OB8U/KSJRioECobcmDnWSBAyajIN7yQ+fMkSSRnBDgAcgb2VbbE0j9rbYqaPXTAtYy MNfYpA9lJAIa5Ld/JdL4MmqVAO8qIH2aO/bJXSM/DzDb3UtmOlPezyJ2qgkM3psuoAUh RqmlPs6xxg2EjH9sDpW3HqiqeKMI0R6ruLFAlOK+lK/A8QskU8Qgrel7vafBfmz/TK0E Q/ASYylDT73e7K5VyI7eRmc92QE16wr6nQeec1ITz5VXf3pMAHBuQBAxZD3Ad+gtNWPw O1uzfgGpiIMwgVKa05LjTl89VD3+tTtMFfL2zbryOXsu768kgx0jZtr0Rit91Oxegawf HyEw== X-Gm-Message-State: AD7BkJLVgnzKdC+xxoRHoJYFskuhb/+qOEOuHh0g0LEi0Gla9SqagDvVWdFHj91Qqi22eg== X-Received: by 10.67.6.10 with SMTP id cq10mr14811753pad.120.1457121625606; Fri, 04 Mar 2016 12:00:25 -0800 (PST) Original-Received: from Vulcan.local (76-234-68-79.lightspeed.frokca.sbcglobal.net. [76.234.68.79]) by smtp.gmail.com with ESMTPSA id v4sm7381460pfa.21.2016.03.04.12.00.24 (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 04 Mar 2016 12:00:24 -0800 (PST) X-Google-Original-From: "John Wiegley" Original-Received: by Vulcan.local (Postfix, from userid 501) id 35767133EADBE; Fri, 4 Mar 2016 12:00:24 -0800 (PST) In-Reply-To: (Drew Adams's message of "Fri, 4 Mar 2016 11:51:41 -0800 (PST)") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin) 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:114422 Archived-At: >>>>> Drew Adams writes: >> Is there a way to get the byte compiler to output warnings about using >> `nth' on output from `file-attributes'? That would be awesome. > It would not be awesome. It would be annoying. There is nothing to WARN > about here. You could add something of that effect to elint, for example. I'm not sure if elint supports "level", or disabling certain warnings, but if it's bad style, it would be nice to have an indication of it in a non-intrusive way. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2