From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sharon Kimble Newsgroups: gmane.emacs.help Subject: Re: How to quit/kill a paradox buffer? Date: Tue, 14 Apr 2015 16:43:18 +0100 Message-ID: <87h9sin2ax.fsf@skimble.plus.com> References: <87oamu94nv.fsf@skimble.plus.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1429026204 8982 80.91.229.3 (14 Apr 2015 15:43:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Apr 2015 15:43:24 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 14 17:43:13 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Yi2zY-0004Lo-MS for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Apr 2015 17:43:12 +0200 Original-Received: from localhost ([::1]:56613 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yi2zX-00079y-Q0 for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Apr 2015 11:43:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56432) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yi2zL-00079r-T5 for help-gnu-emacs@gnu.org; Tue, 14 Apr 2015 11:43:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yi2zG-0002Lb-Qj for help-gnu-emacs@gnu.org; Tue, 14 Apr 2015 11:42:59 -0400 Original-Received: from avasout05.plus.net ([84.93.230.250]:51873) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yi2zG-0002Kh-Kl for help-gnu-emacs@gnu.org; Tue, 14 Apr 2015 11:42:54 -0400 Original-Received: from london.london ([87.115.160.187]) by avasout05 with smtp id Frin1q00642tQ4f01rioo7; Tue, 14 Apr 2015 16:42:48 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=O8+3vXNW c=1 sm=1 tr=0 a=ak2sIv4L+uDZMpnLm/5ahQ==:117 a=ak2sIv4L+uDZMpnLm/5ahQ==:17 a=0Bzu9jTXAAAA:8 a=acKW_TVRZv8A:10 a=EBOSESyhAAAA:8 a=LlzXLoV6AAAA:8 a=iI7HsYTVAAAA:8 a=D-08UMHzOoIbYkp3PAIA:9 a=wDCrQV_sSijcxMzH:21 a=0zN9PuCLDm5KKsjV:21 a=FSufZhgffgj1fcX-Ss4A:9 X-AUTH: skimble@:2500 In-Reply-To: <87oamu94nv.fsf@skimble.plus.com> (Sharon Kimble's message of "Sat, 11 Apr 2015 14:27:00 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 84.93.230.250 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103716 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Sharon Kimble writes: > I've discovered a problem with using paradox for package management, > in that when I've finished downloading/installing packages, I then > quit using "Quit" from the package menu dropdown. But, the paradox > package is still live and shows "Paradox Menu" as its buffer > heading. > > How can I quit it completely and close its buffer, please? > I've found that this function works extremely well - =2D-8<---------------cut here---------------start------------->8--- #+BEGIN_SRC emacs-lisp (defun kill-this-buffer () (interactive) (kill-buffer (current-buffer))) =20=20 (bind-key "C-x C-k" 'kill-this-buffer) #+END_SRC [2015-04-14 Tue 05:02] #+BEGIN_SRC emacs-lisp (bind-keys :map paradox-menu-mode-map ("q" . kill-this-buffer)) #+END_SRC =2D-8<---------------cut here---------------end--------------->8--- Thanks all Sharon. =2D-=20 A taste of linux =3D http://www.sharons.org.uk TGmeds =3D http://www.tgmeds.org.uk Debian testing, fluxbox 1.3.7, emacs 24.4.1.0 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJVLTWWAAoJEDaBgBkK+INbL/AP/R56Pfcm4g+BnVoMzHxbibHa z6L1s3FEO5+aHIQmfilfL72aQl14ig/NwP7XDD2l97RJM88ML28IibtEVX0yKgdT kYkfmF0rmJKXeiD57Nw95RouYfmTyAp2H0rqHOMvGkKzY8rJ4IwfqcgHB/uyj4G3 VNmYh0HhxLfqd+ApHL5wr+cNx186chtcjUWeu2KQvyc2bq9zsWDzJghNBydn2PZy Ez+GVM6w2XR0e7xWOFxomA6wRxNrPtYxTpBPog5nSf/uAkmy6H2ywo1z17F1QOA4 k9QRSy2AMOiNyc8XVvwO52UHdB0uHJ/t6+qr+FKdgNXRkrQ7rzJr+WjsOktyG4dS yPqPYg5AwRd92YnmVbIxZ0q0Uc80317vw5OXH0YYFeFKDEx29qnryI+Z76MSOMnO FXs4awKYDCClW0e4NPWwUszPMJW4IKCNKuIslOBvndRXelf02Y/DSd4cswlfVbTw 7SSHvQTvNf6rExXB4t4He2vL/Sie5EAVqS9p+TKQOAIUbXWk4BSJdYnXqzd2QOBP CpJzB7G28aVo9xOeLkStGrFk0Y1KEfbACU4s7QByhZwTijito6cf+6iu8/41awei WSNHGPiFXSlz3UQYRNcbixH0YAGa+LX2LeDCXGXjyGwi2tl48u5qz2Mbo7iWiYs5 Q+bgou9BFU/Nl3X+C7TT =4xgA -----END PGP SIGNATURE----- --=-=-=--