Hi ! I use an IM within emacs which hides its buffer by calling them with a leading space (Ex: `` *Netsoul Textbox*'').
When a zone is made in a window showing such a buffer, it leaves with another buffer. Reason is just that zone kills its own buffer, leaving the next one shown (which can't be one with a leading space). I'm wondering if a patch like the following could be applied. *** zone.el 2005-09-18 14:32:51.000000000 +0200 --- zone-.el 2005-10-06 16:52:59.000000000 +0200 *************** *** 135,140 **** --- 135,141 ---- (defun zone () "Zone out, completely." (interactive) + (save-window-excursion (let ((f (selected-frame)) (outbuf (get-buffer-create "*zone*")) (text (buffer-substring (window-start) (window-end))) *************** *** 187,193 **** (funcall restore) (ding) (message "Zoning...sorry"))) ! (when restore (funcall restore))))) ;;;; Zone when idle, or not. --- 188,194 ---- (funcall restore) (ding) (message "Zoning...sorry"))) ! (when restore (funcall restore)))))) ;;;; Zone when idle, or not. Thanks guys ! -- Michael Cadilhac, a.k.a. Micha [mika] | Epita/LRDE promo 2007 | Please note that you should 2 rue de la Convention | 08.70.65.13.14 | s/[EMAIL PROTECTED]/@/ my mail address. 94270 Le Kremlin Bicetre | 06.23.20.31.30 |
pgp1dR9NL2mnA.pgp
Description: PGP signature
_______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel