From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26198 invoked by alias); 24 Sep 2016 18:44:06 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 21960 Received: (qmail 8287 invoked from network); 24 Sep 2016 18:44:06 -0000 X-Qmail-Scanner-Diagnostics: from out2-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(66.111.4.26):SA:0(0.0/5.0):. Processed in 0.625471 secs); 24 Sep 2016 18:44:06 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: larryv@macports.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at macports.org does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=2yYbJ56UecSlEnA FM2FweBHc7Qo=; b=YuFzSNDX/ybVv2JTRk+ucvSpTwVqKF9FLGpU2FoTdBoWW3Y GgW9L34waeoNsHJ6migYU+c2fzgwLppqBVhrmYOfRNU2oR39NyVBpAlqlBi2DKx/ IPUUjXZbx5CpNeqvryUK2h9cmgt+ql17M5UbxeEeoSsYw1ui9xOSfb5NRYpY= X-Sasl-enc: LgQWlO338hPN47eeRzwBIauIu6UrMRRHnIbltt5t1N7j 1474742633 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Feature request: set extension for =( ) created file From: =?utf-8?Q?Lawrence_Vel=C3=A1zquez?= In-Reply-To: Date: Sat, 24 Sep 2016 14:43:53 -0400 Content-Transfer-Encoding: 7bit Message-Id: <4DC55226-A041-42E5-B8B1-3AB1E7E6AB53@macports.org> References: To: zsh-users@zsh.org X-Mailer: Apple Mail (2.3124) > On Sep 24, 2016, at 1:55 PM, Vadim Zeitlin wrote: > > How could the shell possibly do anything that would be better than the > usual workaround of > > vim -c 'setf java' =(...) > > ? You would still need to specify the extension somehow and specifying the > file type for Vim directly is exactly as simple and doesn't require any > changes to the shell. I posit that it is not the shell's responsibility to guess file types just so an editor will show the right colors. vq