From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25779 invoked by alias); 28 Jun 2014 12:58:48 -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: 32816 Received: (qmail 16629 invoked from network); 28 Jun 2014 12:58:43 -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 autolearn=ham version=3.3.2 Date: Sat, 28 Jun 2014 14:58:39 +0200 From: Axel Beckert To: zsh-workers@zsh.org Subject: Fwd: [Pkg-zsh-devel] Bug#691714: zsh: please add completion for bpython [origin: sebastian@ramacher.at] Message-ID: <20140628125839.GE5355@sym.noone.org> Mail-Followup-To: zsh-workers@zsh.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="i13qRg9tmWEwo36p" Content-Disposition: inline X-Operating-System: Linux 3.2.0-4-amd64 X-Machine: sym2 x86_64 X-Editor: GNU Emacs 23.4.1 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAAAAAC3mUtaAAAABGdBTUEAALGPC/xhBQAAADh0RVh0U29mdHdhcmUAWFYgVmVyc2lvbiAzLjEwYSAgUmV2OiAxMi8yOS85NCAoUE5HIHBhdGNoIDEuMindFS5JAAACGElEQVQ4jXXQMU8UYRDG8f8shNjdDH4AbpfGDjAWlKiJiZ0ajL1aGCvsNCbGaCGG1koLaztaTYz6ATy+gOyehYmF3MxVxgg3FnDsHcTpJr/M+8w7Rf6nCsaVTTDqxbg9hoOXmw83H71+Eyfg4E1d7/Z2fG9rGkZbTQiu+K+3U/C+76lmkvAhJuDndnoAiftou4V84okAGclop4U/jYACZDTxrYWP0gkxVfAm/W//GLZpxIzwIN0Hn8dw0B+IWkZmQmRsj2HfhwokEklHfNCCiQCRgAR7YyhQVRVTCKCzP4Y5zBBE0t0zY3Q8oQaBqqAMlVEcgVQd9706zGirAFium8HXumlMIeMwqQCInju+2+uB6MRENupdpMt8pRlHZyuAW0F+Mb6XSIVqtxjD+iVmVqqystLEzFTGT92YqRaXpNT5eTVjeJhbALPnrTxLUZUKZsgxcNm64hAOYisT/xhF+oKTGU5RegtC3Rt6eEDi/QnIevdTx9Md2EMmYBRmCQR1026FCGQQJJExsRUqgkMGaWSbwYLnoO4T6VgpbQbdELPMBAHWWrhYrcxXnYgAsatPWygkFCBD4K62MAsOTqA6szYRPpsu6e6Y8mPiVrBMNuGIMrgwBUu4p2DgG1Ownu6hpuTv7hScefHAzAC/yRRw5U5pALMbJ4AUALvHSZhxgHPXTsHcdWD1GadAHr9avP+c0wCr7263Df8ASLwXWHWs+KIAAAAHdElNRQfYBQEBODPr Organization: DeuxChevaux.org -- The =?iso-8859-1?Q?Citr?= =?iso-8859-1?B?b+tu?= 2CV Database User-Agent: Mutt/1.5.21 (2010-09-15) --i13qRg9tmWEwo36p Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, attached a new completion for the bpython command. Initially reported in Debian at https://bugs.debian.org/691714 . Kind regards, Axel -- /~\ Plain Text Ribbon Campaign | Axel Beckert \ / Say No to HTML in E-Mail and News | abe@deuxchevaux.org (Mail) X See http://www.nonhtmlmail.org/campaign.html | abe@noone.org (Mail+Jabber) / \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web) --i13qRg9tmWEwo36p Content-Type: message/rfc822 Content-Disposition: inline Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on sym2.noone.org X-Spam-Level: X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID autolearn=ham version=3.3.1 X-Original-To: abe@deuxchevaux.org Delivered-To: abe@sym2.noone.org Received: from wagner.debian.org (wagner.debian.org [217.196.43.132]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by sym2.noone.org (Postfix) with ESMTPS id 17B106462BA for ; Sun, 28 Oct 2012 23:16:01 +0100 (CET) Received: from localhost ([::1] helo=wagner.debian.org) by wagner.debian.org with esmtp (Exim 4.72) (envelope-from ) id 1TSb9E-0006Tw-Ox for abe@debian.org; Sun, 28 Oct 2012 22:16:00 +0000 Received: from buxtehude.debian.org ([140.211.166.26]) by wagner.debian.org with esmtp (Exim 4.72) (envelope-from ) id 1TSb8Q-0005yz-RR for pkg-zsh-devel@lists.alioth.debian.org; Sun, 28 Oct 2012 22:15:11 +0000 Received: from debbugs by buxtehude.debian.org with local (Exim 4.72) (envelope-from ) id 1TSb8K-0008Lo-F9; Sun, 28 Oct 2012 22:15:04 +0000 X-Loop: owner@bugs.debian.org Resent-From: Sebastian Ramacher Resent-To: debian-bugs-dist@lists.debian.org Resent-CC: sebastian+debian@ramacher.at, Debian Zsh Maintainers X-Loop: owner@bugs.debian.org Resent-Date: Sun, 28 Oct 2012 22:15:01 +0000 Resent-Message-ID: X-Debian-PR-Message: report 691714 X-Debian-PR-Package: zsh X-Debian-PR-Keywords: patch X-Debian-PR-Source: zsh Received: via spool by submit@bugs.debian.org id=B.135146229230885 (code B); Sun, 28 Oct 2012 22:15:01 +0000 Received: (at submit) by bugs.debian.org; 28 Oct 2012 22:11:32 +0000 Received: from alphacentauri.ramacher.at ([78.47.122.157] ident=Debian-exim) by buxtehude.debian.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1TSb4u-00081k-9Q for submit@bugs.debian.org; Sun, 28 Oct 2012 22:11:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ramacher.at; s=mail; h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date; bh=GWfpO5KsoPyPZraGMvDl0o0avgOPg7I5SAmlS+AUu7o=; b=Nhk3Qmk6cUZ860o8rZUFNhiNQkado790Y8iLhMxXItXzUnp6yqt+w299Z03sVrQhm9seWJei9YhWKTwi99zqYp702BU2B52WxlflzHHAqqIVa+Kj/Pa+1wHc0rWBLesY5Zn1rBVvCR39fF2a9irMt1jqUBPxjzZUZ2QAQL9W6s8=; Received: from [2002:5473:826c:2:226:5aff:fe05:9908] (helo=earth.ramacher.at) by alphacentauri.ramacher.at with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1TSb4o-00037t-Aj for submit@bugs.debian.org; Sun, 28 Oct 2012 23:11:28 +0100 Received: from sebastian by earth.ramacher.at with local (Exim 4.80) (envelope-from ) id 1TSb0O-00009o-N8 for submit@bugs.debian.org; Sun, 28 Oct 2012 23:06:52 +0100 Date: Sun, 28 Oct 2012 23:06:52 +0100 From: Sebastian Ramacher To: Debian Bug Tracking System Message-ID: <20121028220652.GA502@earth.ramacher.at> MIME-Version: 1.0 X-Reportbug-Version: 6.4.3 User-Agent: Mutt/1.5.21 (2010-09-15) Delivered-To: submit@bugs.debian.org Resent-Sender: Debian BTS x-debian-approved: yes Subject: [Pkg-zsh-devel] Bug#691714: zsh: please add completion for bpython X-BeenThere: pkg-zsh-devel@lists.alioth.debian.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Sebastian Ramacher , 691714@bugs.debian.org List-Id: Development Mailinglist for the Debian packaging of Zsh List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============2036978252249884641==" Sender: pkg-zsh-devel-bounces+abe=debian.org@lists.alioth.debian.org Errors-To: pkg-zsh-devel-bounces+abe=debian.org@lists.alioth.debian.org X-SA-Exim-Connect-IP: ::1 X-SA-Exim-Mail-From: pkg-zsh-devel-bounces+abe=debian.org@lists.alioth.debian.org X-SA-Exim-Scanned: No (on wagner.debian.org); SAEximRunCond expanded to false X-Keywords: X-UID: 95118 --===============2036978252249884641== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="z6Eq5LdranGa6ru8" Content-Disposition: inline --z6Eq5LdranGa6ru8 Content-Type: multipart/mixed; boundary="9amGYk9869ThD9tj" Content-Disposition: inline --9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Package: zsh Version: 5.0.0-2 Severity: wishlist Tags: patch Please add completion for bpython and its variants. The attached file implements Completion for bpython, -urwid and -gtk. Regards -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (650, 'unstable'), (601, 'testing'), (600, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.5-trunk-amd64 (SMP w/4 CPU cores) Locale: LANG=3Den_US.UTF-8, LC_CTYPE=3Den_US.UTF-8 (charmap=3DUTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages zsh depends on: ii libc6 2.13-36 ii libcap2 1:2.22-1.2 ii libtinfo5 5.9-10 Versions of packages zsh recommends: ii libc6 2.13-36 ii libncursesw5 5.9-10 ii libpcre3 1:8.31-1 Versions of packages zsh suggests: ii zsh-doc 4.3.17-1 -- no debconf information -- debsums errors found: debsums: changed file /usr/share/zsh/functions/Completion/Debian/_dpkg (fro= m zsh package) debsums: changed file /usr/share/zsh/functions/Completion/Debian/_apt (from= zsh package) debsums: changed file /usr/share/zsh/functions/Completion/Unix/_python (fro= m zsh package) --=20 Sebastian Ramacher --9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=_bpython #compdef bpython bpython-gtk bpython-urwid local -a all_opts urwid_opts gtk_opts all_opts=( '--config[configuration file]:config file:_files' '-h --help[show help message]' '(-i --interactive)'{-i,--interactive}'[drop to bpython after running a file]' '(-q --quiet)'{-q,--quiet}'[do not flush the output to stdout]' '(-V --version)'{-V,--version}'[print version]' '1:script:_files -g "*.u#py(-.)"' '*:arguments:' ) urwid_opts=( '(-r --reactor)'{-r,--reactor}'[use Twisted reactor instead of the event loop]:reactor:' '--help-reactors[display list of available Twisted reactors]' '(-p --plugin)'{-p,--plugin}'[exectue a twistd plugin]:plugin:' '(-s --server)'{-s,--server}'[run an eval server on the given port]:port:' ) gtk_opts=( '--socket-id[embed bpython]:socket id:' ) case "$service" in bpython) _arguments \ "$all_opts[@]" && return 0 ;; bpython-urwid) _arguments \ "$all_opts[@]" \ "$urwid_opts[@]" && return 0 ;; bpython-gtk) _arguments \ "$all_opts[@]" \ "$gtk_opts[@]" && return 0 ;; esac # vim:autoindent expandtab shiftwidth=2 tabstop=2 softtabstop=2 filetype=zsh --9amGYk9869ThD9tj-- --z6Eq5LdranGa6ru8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJQjax3AAoJEGny/FFupxmTxngP/jpHjYi/8BJX2gF1U4uwg8uH rkp+l8rj8SAFru9W8h1UE4a7xVV6W9lKJ8lOrzQxThrcMv0N1kSBNgwYtepmfPj5 YK0L9o6kLV+Zbqb5zFXLJ+jDDOA8dtASwSEWfPkSokXK8qc/2QkBjFvraQ9pUzaO k5CfRZhOXDb3uRZYiSgyXowwBXFahQ+6FYYm1ZQAGZxSYQVNoyxYknxXnvPqU+vp E3hZyhFc+YW+C0oZehL/sDW3o167+VrwGqjB3TMf6kThCi2HBWHyE+vqk8FHiWnG MLbcBnxlpPKFRfWMtO3dn9kgfgNaDU1FS+KX9WKiIX5AUom0LUci5Ap0CmUXohFu zGyjDAegOE+2GTse4nyxALu6U4jazaL9YU2+AXxu13BZcrqFUF9h743Mti+wnOAG n1j8vRgdwwNTVopbQpNxphfuQ1Acc7t4j7FRsw2l664c0lKQv0uK8Qip0jthi1X/ RL0pxNICaMig578SOX56V68JdeBLmH9J95jWsfwehWZyq1a4Zs5+wCuP1ZWfvgWZ 5p4BvN5qoKpwI4eC/2AwICpy+3+quA7wbFeWhN3eePdBVeG7Wpzd81wg2b4TSGWY JkZuUVDoh/sDpFDK/daNmZlMkTzxUU9kMJCXQxOLLr0kDSIo3FTKDlUqNKC550h+ pm3y4v892V6TjdYi5mCm =Jw9N -----END PGP SIGNATURE----- --z6Eq5LdranGa6ru8-- --===============2036978252249884641== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Pkg-zsh-devel mailing list Pkg-zsh-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-zsh-devel --===============2036978252249884641==-- --i13qRg9tmWEwo36p--