all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to quit/kill a paradox buffer?
@ 2015-04-11 13:27 Sharon Kimble
  2015-04-11 20:09 ` Tassilo Horn
  2015-04-14 15:43 ` Sharon Kimble
  0 siblings, 2 replies; 3+ messages in thread
From: Sharon Kimble @ 2015-04-11 13:27 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 1210 bytes --]

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?

Currently I use "C-x C-k" to quit/kill the buffer, but it doesn't
actually kill it cleanly, because when I start gnus afterwards I get
this message showing in the "*Messages*" buffer -

╭────
│gnutls.c: [0] (Emacs) fatal error: The TLS connection was non-properly terminated.
╰────

This occasionally stops me from sending an email that I've just
written. So far the only workaround that I've found that works, is
to comment out this line from my "init.org"

--8<---------------cut here---------------start------------->8---
;; (setq starttls-use-gnutls t
;;       starttls-gnutls-program "/usr/bin/gnutls-cli")
--8<---------------cut here---------------end--------------->8---

Thanks
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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to quit/kill a paradox buffer?
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Tassilo Horn @ 2015-04-11 20:09 UTC (permalink / raw)
  To: Sharon Kimble; +Cc: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 710 bytes --]

Sharon Kimble <boudiccas@skimble.plus.com> writes:

Hi Sharon,

> ╭────
> │gnutls.c: [0] (Emacs) fatal error: The TLS connection was non-properly terminated.
> ╰────

I don't use paradox so I can't comment on that, but...

> This occasionally stops me from sending an email that I've just
> written. So far the only workaround that I've found that works, is to
> comment out this line from my "init.org"
>
> ;; (setq starttls-use-gnutls t
> ;;       starttls-gnutls-program "/usr/bin/gnutls-cli")

I doubt that this really solves the issue because this setting doesn't
change anything.  t and gnutls-cli are the default values of these two
variables.

Bye,
Tassilo

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 212 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to quit/kill a paradox buffer?
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Sharon Kimble @ 2015-04-14 15:43 UTC (permalink / raw)
  To: help-gnu-emacs

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-14 15:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.