From: Sharon Kimble <boudiccas@skimble.plus.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: How to quit/kill a paradox buffer?
Date: Tue, 14 Apr 2015 16:43:18 +0100 [thread overview]
Message-ID: <87h9sin2ax.fsf@skimble.plus.com> (raw)
In-Reply-To: <87oamu94nv.fsf@skimble.plus.com> (Sharon Kimble's message of "Sat, 11 Apr 2015 14:27:00 +0100")
[-- Attachment #1: Type: text/plain, Size: 1065 bytes --]
Sharon Kimble <boudiccas@skimble.plus.com> 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 -
--8<---------------cut here---------------start------------->8---
#+BEGIN_SRC emacs-lisp
(defun kill-this-buffer ()
(interactive)
(kill-buffer (current-buffer)))
(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
--8<---------------cut here---------------end--------------->8---
Thanks all
Sharon.
--
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.7, emacs 24.4.1.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
prev parent reply other threads:[~2015-04-14 15:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-11 13:27 How to quit/kill a paradox buffer? Sharon Kimble
2015-04-11 20:09 ` Tassilo Horn
2015-04-14 15:43 ` Sharon Kimble [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h9sin2ax.fsf@skimble.plus.com \
--to=boudiccas@skimble.plus.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).