help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Die IDN!


From: Magnus Henoch
Subject: Re: Die IDN!
Date: Wed, 28 Nov 2007 15:03:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (berkeley-unix)

jadamson@partners.org (Joel J. Adamson) writes:

> Is there some way I can automatically kill idn: it comes on when I use
> org mode, then ties up my flash drive (i.e. process doesn't die when
> it's done doing whatever it does).  The same thing happens with aspell
> (but only when I invoke ispell).  I'm not sure which Emacs function
> starts idn, although obviously ispell starts aspell.

Not automatically, but at least interactively:

(defun delete-process-interactively (process)
  "Delete PROCESS.  Query interactively."
  (interactive (list
                (completing-read-multiple
                 "Delete process(es): "
                 (mapcar #'(lambda (p)
                             (cons (process-name p) nil))
                         (process-list))
                 nil t)))
  (mapc 'delete-process process))

Magnus





reply via email to

[Prev in Thread] Current Thread [Next in Thread]