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: command-separator char Date: Mon, 22 Jun 2015 22:47:25 +0200 Organization: Aioe.org NNTP Server Message-ID: <87d20n1ndu.fsf@debian.uxu> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1435005920 13279 80.91.229.3 (22 Jun 2015 20:45:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Jun 2015 20:45:20 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 22 22:45:19 2015 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 1Z78al-0006aJ-5U for geh-help-gnu-emacs@m.gmane.org; Mon, 22 Jun 2015 22:45:19 +0200 Original-Received: from localhost ([::1]:41947 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z78ak-0000Qs-MB for geh-help-gnu-emacs@m.gmane.org; Mon, 22 Jun 2015 16:45:18 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!1.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 44 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:7CWaY+6b9rQP6V8kvZCHdtF9g6c= Mail-Copies-To: never Original-Xref: usenet.stanford.edu gnu.emacs.help:212802 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:105087 Archived-At: Andreas Röhler writes: > several languages know about a character separating > expressions resp. commands: ";" for example. > > Reflecting a generic level of navigations, it would > be helpful if the language-modes would set such > a constant. This seems like a good idea - but is it? If you use Emacs long enough which I think you have isn't it better to just use the common point-moving keys? G*d knows there are alot of them by now. Also combine them with the M-{1..9} to move say three `forward-word'. (Or use the otherwise `digit-argument' keys which include C-{1..9} for you non-Linux VT user. - or use C-u.) Also write code to fit the style: Short words that are simple to type and navigate, with short lines. If you intend to use Emacs for a variety of programming modes this seems like good money to start putting in the bank early on. It makes sense being an accordion player only because those chords will appear over and over... Remember, "what you once feared, now makes you free." On the other "hand", if you will just use but a few programming modes, say for Lisp and C, apart from still being much helped by the first approach, you can use the mode-specific functions on top of that: `forward-sexp', for example. What I see you are trying to do is put a third level in-between then mode-specific and then all-out general Emacs point-movement commands. It is a good idea on the drawing board but a don't see myself ever using it. But of course, I am not you. -- underground experts united http://user.it.uu.se/~embe8573