From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3925 invoked by alias); 2 Sep 2013 01:41:54 -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: 17964 Received: (qmail 27487 invoked from network); 2 Sep 2013 01:41:40 -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=-0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HK_RANDOM_FROM,HTML_FONT_FACE_BAD, HTML_MESSAGE,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.220.180 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=mgL+plxpXtEV9qv67jPsO8QFWtLQavb+70ur9sJbAmA=; b=X65pSDIvVtSGl4DA2XivtMQr+JqA4vr5oWl88r1ZoKqgIBdIPOqjxQzIm59yfE7+/x E/Yk5BaCWGzbSVRXEZLXDQakA937EPd8iXKldJ8ZHbIksPoa3EcCTOD3f38EZORlZv03 WwJS1VtXVke3Y5+9RE3kzq4MX02atiSQvLjP1hoL6iatnd9GX8Q5ZhZu5TbCPHPYkkyF XNeoNDRaNnnHacQy5r+bWObBGiq74tKPUjLRVl339Zzp25iU/A3IwWvEslJu47CUGzn4 6Sw6y05efzHC68mMtkFvh3QFGkQdEaZhMxE2ffu6psoJ18SbUW6joKJk5qG37HSGBzBi ulLw== MIME-Version: 1.0 X-Received: by 10.52.117.44 with SMTP id kb12mr16998315vdb.8.1378086094289; Sun, 01 Sep 2013 18:41:34 -0700 (PDT) Date: Mon, 2 Sep 2013 09:41:34 +0800 Message-ID: Subject: Does zsh functions have this feature? From: vinurs To: zsh-users@zsh.org Content-Type: multipart/alternative; boundary=bcaec548587c1ec1c904e55cac97 --bcaec548587c1ec1c904e55cac97 Content-Type: text/plain; charset=UTF-8 Hi all, As time goes on, my functions will be more and more. But, I won't all of them will be treated as shell commands. In zsh, is there any feature like emacs lisp that when I write a function if I want it to be call by M-x, I should add (interactive) in it; if not, it will only be called by lisp programs. --bcaec548587c1ec1c904e55cac97--