From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resqmta-ch2-06v.sys.comcast.net (resqmta-ch2-06v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:38]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 4E3337AEF7 for ; Sat, 18 Apr 2015 06:10:40 -0700 (PDT) Received: from resomta-ch2-08v.sys.comcast.net ([69.252.207.104]) by resqmta-ch2-06v.sys.comcast.net with comcast id HR901q0032Fh1PH01R9bvn; Sat, 18 Apr 2015 13:09:35 +0000 Received: from eklhad ([IPv6:2601:4:5380:4ee:21e:4fff:fec2:a0f1]) by resomta-ch2-08v.sys.comcast.net with comcast id HR9a1q00P5LMg2101R9alk; Sat, 18 Apr 2015 13:09:35 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke References: <20150316174053.eklhad@comcast.net> <20150418125413.GL5949@toaster.adamthompson.me.uk> User-Agent: edbrowse/3.5.3+ Date: Sat, 18 Apr 2015 09:09:34 -0400 Message-ID: <20150318090934.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1429362575; bh=vGskOZ/YskA9UAjKPT4KgPMntmRsoE1SPw5khvayxYA=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=WUdpzoqUjCKvpXGXT9jG7KgU6wgCuwLPhLEPWT8jsMb1sHewr39o8GeRx4RpubfMe 5SeQr8IuvgCJNMz8YrSQxmIuS3Miwr6A2/OonuvwGyYH5UIKuAm1+K/hu+CIaCMsUu Eqdbg63I2CNWnKIUy+3ihSN5SeV+KxL1Mf8dLOgE8F27+sVncgw//1ssHEVeg4vGIu cEuFmlFuIpJo3Nf8fTxe9NL2/96LFurVW0AKvxTtoFxJTDaWlthG15U/UUZAMhlvZP o+0sOsAG5kTDcLqNenDSEFNWsnpFIYLqqsdgPHUB2JM96DtpqDZ7APMnWKvHaF/baK W6d8pw2CWgDWA== Subject: [Edbrowse-dev] wordexp again X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Apr 2015 13:10:40 -0000 The problem that the glob check solves is subtle, and it only has to do with error messages. Imagine you want to read a file into the current buffer. You use the shorthand r z* because you believe this will grab the correct file. But z* doesn't match anything. Since we are globbing you get the error message shell pattern doesn't match any files or something like that. Now if you're sure the file is called z*, or even zz, and you type r zz you don't want to get that error message. But that's what you get if you glob. I know that you didn't want to glob, and didn't mean to glob, and I give the other error message cannot open file zz Other than clear error messages corresponding to what you are trying to do, the check probably doesn't change a thing. Karl Dahlke