From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: A Modest Proposal Date: Sat, 30 Apr 2016 17:14:14 -0700 Message-ID: References: <874mai4qhz.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1462061729 7194 80.91.229.3 (1 May 2016 00:15:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 May 2016 00:15:29 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 01 02:15:22 2016 Return-path: Envelope-to: ged-emacs-devel@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 1awf2f-0004G5-I7 for ged-emacs-devel@m.gmane.org; Sun, 01 May 2016 02:15:21 +0200 Original-Received: from localhost ([::1]:60158 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awf2Y-0001In-HP for ged-emacs-devel@m.gmane.org; Sat, 30 Apr 2016 20:15:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awf2F-00014Q-Sz for emacs-devel@gnu.org; Sat, 30 Apr 2016 20:15:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1awf23-0007fW-US for emacs-devel@gnu.org; Sat, 30 Apr 2016 20:14:50 -0400 Original-Received: from mail-ob0-x235.google.com ([2607:f8b0:4003:c01::235]:32973) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awf22-0007cd-ML for emacs-devel@gnu.org; Sat, 30 Apr 2016 20:14:43 -0400 Original-Received: by mail-ob0-x235.google.com with SMTP id x1so48276093obt.0 for ; Sat, 30 Apr 2016 17:14:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:in-reply-to:date:message-id:references:user-agent :mail-followup-to:mime-version; bh=v46HBk+nLcy0NcxQWJQ/xOWEnkApfgrS2Mf2cnVWxYw=; b=vkg+jMNT9eKsIW4ehZIxxQMPj08ZjySUwJmoBKXs/mMciThgWLq/nx2ARzrykLCLEV G4KlDuBr7ll+RuslYM/eMpWVXVw/La5LFuvfKtl9Ml9N/8sK0OQQVAEARfgHRCwUbtyL Z9q3e8uiLwJeD5hlRn3lyHoPGiMFjKC0ZnXck0l25EFszfazLkbPYp/eEP9APg10dvuf oPNR4Q9S8jBi39QDVWQ2NdjcWEF5Nm4Rj43YhG9iDyh9lFf1l+esLiSXq26lN41LIPit Mk3ZwEvYORRwg/d4NZOZEe01UrAf1XLWYPBBBkIw800kDCwyzjMXAbCYTjMyfNpvn8Se DO9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:in-reply-to:date:message-id :references:user-agent:mail-followup-to:mime-version; bh=v46HBk+nLcy0NcxQWJQ/xOWEnkApfgrS2Mf2cnVWxYw=; b=WfgvAbRek94dJkVbmm7oVph76j9iCyeKTR99cf9w7d0unSAPwgc35TIaT+tOgyup4W a1QdTInqFraeuQ3uhDkHATWl0tMIzxXYhF5M0KF4RQ+I51Gao75SYiFkONgwbUbDegR8 ghdrTu5biQtjtqy5SC4rESbzS1KdfHU1TmhDmG3UeH+UrBb517U9pD82oNUQ1bGY/XB7 P155M77MOHGSYB8FmeZCiaYbb829UVOKHkRBORw35tMI2xBEPEViO0WX4QG2wEd5z9ct w5m4/QUqsMROhdSbGxoj1OCzdVbpsxpwPBZ+WNTlt+jNwMr5O/JjlqZly+KvrXLk3p80 4fqA== X-Gm-Message-State: AOPr4FWkfHhxZD8guspLJs78q+ClFPthhGbxuIpP/sCXUUINezmDiOHSl/T3jLyXgKpaLw== X-Received: by 10.182.159.69 with SMTP id xa5mr12806435obb.75.1462061663768; Sat, 30 Apr 2016 17:14:23 -0700 (PDT) Original-Received: from Vulcan.local (76-234-68-79.lightspeed.frokca.sbcglobal.net. [76.234.68.79]) by smtp.gmail.com with ESMTPSA id r188sm8061252oia.0.2016.04.30.17.14.21 for (version=TLS1 cipher=AES128-SHA bits=128/128); Sat, 30 Apr 2016 17:14:21 -0700 (PDT) X-Google-Original-From: "John Wiegley" Original-Received: by Vulcan.local (Postfix, from userid 501) id 90BBE1478B459; Sat, 30 Apr 2016 17:14:20 -0700 (PDT) In-Reply-To: <874mai4qhz.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 01 May 2016 01:38:00 +0200") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.93 (darwin) Mail-Followup-To: emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c01::235 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:203467 Archived-At: >>>>> Lars Ingebrigtsen writes: > I think the basic design is misguided. There is so much talk about matching > up "ls" parameters to internal stuff that it makes my head swim. (Even if > I'm not feverish.) C'mon. We're not barbarians. We can read directories > ourselves. Maybe the default behavior for dired should be to just use opendir. That sounds like a good idea to me. However, dired does a heck of a lot more than just call "ls": It lets you act on anything with the same basic format, such as output from "find" or "ack". So, the regexps are handy in that they're allowing a common, "group of files" browsing metaphor on lots of stuff that just looks like, well, a group of files. Another random idea that just occurred to me: Given any compilation buffer, create a dired buffer from it containing only the files that had errors. Sometimes useful when I want to search/replace across every non-compiling file. Resuming: I wonder how would your proposal normalize that information? Would it use a Dired API to populate the buffer, rather than filling it with text and applying a bunch of regexps after the fact? -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2