From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14445 invoked by alias); 18 Jul 2012 13:28:13 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 30574 Received: (qmail 25107 invoked from network); 18 Jul 2012 13:28:11 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at m.gmane.org designates 80.91.229.3 as permitted sender) X-Injected-Via-Gmane: http://gmane.org/ To: zsh-workers@zsh.org From: Stefan =?iso-8859-1?Q?Reich=F6r?= Subject: (:a) specifier for not existent files Date: Wed, 18 Jul 2012 15:12:49 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: gw.gleichmann.cust.net.lagis.at User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) Cancel-Lock: sha1:BEmkTmDw0jvydtySHANVKi0h4fU= Hi, I am using the (:a) specifier to get absoulte file paths. But this works only for existing files. Is there a way to make it work for not existing files also? These are some experiments: % echo .(:a) /home/stefan/work % echo tgz(:a) /home/stefan/work/tgz % echo tgz2(:a) zsh: no matches found: tgz2(:a) And here is the function that uses the above feature: function ec { emacsclient --no-wait $1(:a) } It would be nice to allow the creation of not existing files in emacsclient... Thanks, Stefan.