From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: next emacs version? Date: Sat, 20 Mar 2010 16:26:02 -0700 Message-ID: <15F967F7C7B2462D889160D499BF7B5E@us.oracle.com> References: <56D10E2523764AC98D99CEBC55DBAD93@us.oracle.com><83iq8sigyq.fsf@gnu.org><83d3z0i3nu.fsf@gnu.org><911BA1D06CEB4306924D0069BA2D3DFF@us.oracle.com><83bpeki18a.fsf@gnu.org><85D696D9907C42A389AA65E4BC83CDD7@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1269127611 4967 80.91.229.12 (20 Mar 2010 23:26:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 20 Mar 2010 23:26:51 +0000 (UTC) Cc: 'Eli Zaretskii' , emacs-devel@gnu.org To: "'Stefan Monnier'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 21 00:26:47 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nt846-0001G0-7L for ged-emacs-devel@m.gmane.org; Sun, 21 Mar 2010 00:26:46 +0100 Original-Received: from localhost ([127.0.0.1]:41149 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nt845-0004p4-8Y for ged-emacs-devel@m.gmane.org; Sat, 20 Mar 2010 19:26:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nt840-0004ot-Kw for emacs-devel@gnu.org; Sat, 20 Mar 2010 19:26:40 -0400 Original-Received: from [140.186.70.92] (port=50495 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nt83y-0004ok-ST for emacs-devel@gnu.org; Sat, 20 Mar 2010 19:26:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nt83x-0004AN-Fq for emacs-devel@gnu.org; Sat, 20 Mar 2010 19:26:38 -0400 Original-Received: from acsinet11.oracle.com ([141.146.126.233]:34635) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nt83x-0004A9-7R; Sat, 20 Mar 2010 19:26:37 -0400 Original-Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by acsinet11.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o2KNQY80023107 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 20 Mar 2010 23:26:36 GMT Original-Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o2KNJ1Q8001299; Sat, 20 Mar 2010 23:26:33 GMT Original-Received: from abhmt001.oracle.com by acsmt353.oracle.com with ESMTP id 102748361269127559; Sat, 20 Mar 2010 16:25:59 -0700 Original-Received: from dradamslap1 (/24.5.179.75) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 20 Mar 2010 16:25:58 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcrId8cS+Lm4dbiIQx2Ki2OtJt7uGAAACi8AAAMKPqA= In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: acsmt355.oracle.com [141.146.40.155] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090202.4BA559A9.00FC:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:122390 Archived-At: > And as I said, I cannot even reproduce the bug itself on > Windows, starting with emacs -Q, in any release that I have. > That seems to indicate that the bug (and hence your approach) > might be platform-specific. (Or perhaps the bug report and > fix description are not clear.) Indeed, the bug history does indicates that this is platform-specific. As you yourself said in the bug history, it depends whether your `ls' supports --dired. The bug history then says that it fails if you set `dired-use-ls-dired' to nil. So that could presumably be tested in the "unit-test" code you suggest inserting. But even that isn't true on Windows (perhaps because it uses `ls-lisp'). Setting `dired-use-ls-dired' to nil does not manifest the bug. > Whereas a simple `emacs-version' test has to work (since the > fix is in only in newer versions), code that addresses the > bug case directly will do the wrong thing on any platforms > where the bug was not manifested. The buggy file name can > only serve to identify which regexp is which if in fact one > of the regexps (the old one) is buggy on the current platform.