From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: Re: C-z (Re: Two GTK related feature requests) Date: Mon, 27 Oct 2003 12:46:04 +0000 (UTC) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87oew8so3g.fsf@cs.cmu.edu> Reply-To: bob@rattlesnake.com NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1067272909 11951 80.91.224.253 (27 Oct 2003 16:41:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Oct 2003 16:41:49 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Oct 27 15:15:15 2003 Return-path: Original-Received: from mail-relay.eunet.no ([193.71.71.242]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AE88f-0004ih-00 for ; Mon, 27 Oct 2003 15:14:34 +0100 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by mail-relay.eunet.no (8.12.2/8.12.2/GN) with ESMTP id h9RD81Ji056085 for ; Mon, 27 Oct 2003 14:08:01 +0100 (CET) (envelope-from emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org) Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AE6mj-000691-00 for ; Mon, 27 Oct 2003 13:47:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AE6lj-0008Er-Kl for emacs-devel@quimby.gnus.org; Mon, 27 Oct 2003 07:46:47 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AE6ld-00089t-BQ for emacs-devel@gnu.org; Mon, 27 Oct 2003 07:46:41 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AE6l6-0007Se-2b for emacs-devel@gnu.org; Mon, 27 Oct 2003 07:46:39 -0500 Original-Received: from [140.186.114.245] (helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AE6l3-0007Pd-GW for emacs-devel@gnu.org; Mon, 27 Oct 2003 07:46:06 -0500 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.115) Mon, 27 Oct 2003 12:46:04 +0000 (UTC) Original-To: emacs-devel@gnu.org In-reply-to: (message from Richard Stallman on Mon, 27 Oct 2003 02:02:24 -0500) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17462 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17462 what else useful could we put on c-z instead of iconify? it wd not be available on text terminals. One possibility is to make it a prefix reserved for users, like C-c followed by a letter. For example, someone might bind keys to to show syslog using live-find-file, to remove text properties that are visible in a window, or to list and kill processes. [These can be derived from (defun remove-window-text-properties () "Remove facemenu-created text properties visible in window." (interactive) (facemenu-remove-all (window-start) (window-end))) (defun show-syslog () "Show the syslog using live-find-file. You and/or the file must have the correct permissions." (interactive) (let ((log-buffer (get-file-buffer "/var/log/syslog"))) (cond (log-buffer (switch-to-buffer log-buffer)) ((file-readable-p "/var/log/syslog") (live-find-file "/var/log/syslog")) (t (error "syslog file not readable by user `%s'" (user-real-login-name)))))) and Kyle Jones' 1989 `vkill.el', or something more recent.] -- Robert J. Chassell Rattlesnake Enterprises http://www.rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.teak.cc bob@rattlesnake.com