From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: syntax highlighting Date: Tue, 18 Nov 2014 03:00:30 +0100 Organization: Aioe.org NNTP Server Message-ID: <87mw7pmfnl.fsf@debian.uxu> References: <87d28m1usd.fsf@robertthorpeconsulting.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1416276027 21065 80.91.229.3 (18 Nov 2014 02:00:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Nov 2014 02:00:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 18 03:00:22 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XqY5d-0000fk-Pu for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Nov 2014 03:00:21 +0100 Original-Received: from localhost ([::1]:50951 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqY5d-0004Q6-I9 for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Nov 2014 21:00:21 -0500 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: feB02bRejf23rfBm51Mt7Q.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:dQ/qeExIz99tHPRBkiNwAhC3PgA= Mail-Copies-To: never Original-Xref: usenet.stanford.edu gnu.emacs.help:208731 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101008 Archived-At: Bob Proulx writes: > I rather dislike controls that toggle. Whether they > are programmatic interfaces or physical buttons. In programming they shouldn't be because of the state problem you bring up. I myself don't have a problem with hitting physical buttons twice, but I agree an on/off physical switch is optimal, however with computing you have the keyboard to do everything - and even if you could have dedicated, specialized hardware for everything that would be to slow because you would have to move your hands between the throttles and switches and then back to typing position. But: how about toggling not with a key, but an M-x command? An example I can give you straight from the holster is the mode line. I don't care for the major mode to show, because I know them by now. So I have it not shown. But sometimes I don't know for a new mode and then I want to know. Whenever so, I have a M-x command ("modes") to have it show up in the mode line (only for that buffer). That's toggling just the same but I don't do it often enough to bind it to a key. Check it out: http://user.it.uu.se/~embe8573/conf/emacs-init/mode-line.el -- underground experts united