From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glauber Alex Dias Prado Newsgroups: gmane.emacs.help Subject: Re: Navigating Mode-Specific Language Tokens Date: Wed, 13 Jan 2010 14:44:29 -0200 Message-ID: <86r5puq7iq.fsf@gmail.com> References: <37ad191f-d186-4a25-9f9c-45db5b32c89d@m3g2000yqf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1263401173 31273 80.91.229.12 (13 Jan 2010 16:46:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Jan 2010 16:46:13 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: =?utf-8?Q?Nordl=C3=B6w?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 13 17:46:06 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NV6M8-0000xP-4e for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Jan 2010 17:46:04 +0100 Original-Received: from localhost ([127.0.0.1]:34949 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NV6M8-0004JI-RR for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Jan 2010 11:46:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NV6Lf-0004Ho-GH for help-gnu-emacs@gnu.org; Wed, 13 Jan 2010 11:45:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NV6Le-0004H3-Iv for help-gnu-emacs@gnu.org; Wed, 13 Jan 2010 11:45:34 -0500 Original-Received: from [199.232.76.173] (port=46964 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NV6Le-0004Gg-6a for help-gnu-emacs@gnu.org; Wed, 13 Jan 2010 11:45:34 -0500 Original-Received: from qw-out-1920.google.com ([74.125.92.144]:8970) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NV6Ld-00024Y-Qi for help-gnu-emacs@gnu.org; Wed, 13 Jan 2010 11:45:33 -0500 Original-Received: by qw-out-1920.google.com with SMTP id 4so616qwk.24 for ; Wed, 13 Jan 2010 08:45:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :face:date:in-reply-to:message-id:user-agent:mime-version :content-type:content-transfer-encoding; bh=Wr6TB9cZi4/thGafXHLRKoiquIWIz5e72KwZFJ1VJmM=; b=a7qd7M6CYm7gz5z6iOwm6M/geymFLatR7U2AxE0n7r38hwcYtRTNS0dDwxhkqAo658 wXH5dJGPstFoOD39DmxVUYsgoAC1xENri9BwgOkXQPPsGozOihDklx80e1VBX24A9YDi 4btx4r4eD/KMpXQ8WB8ta+R6nt9exs5V2AsyI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; b=wVRz13ori2wY05UubDUdXxbIAg1bEza/oLefhkiGMj99mttgSe1vo/LmadS3sqls0W 2wyGqEdI8SLkQvMD8LZVFED3RK8EHrrlQ4t8lFQgwZXmBnNm4cJN5P8xWwNaFd/r65sK 4f9PYM5Pljx0cy4RUJvUGtxVVMOmXyET0x3VE= Original-Received: by 10.229.111.77 with SMTP id r13mr389949qcp.85.1263401132450; Wed, 13 Jan 2010 08:45:32 -0800 (PST) Original-Received: from localhost ([187.2.113.26]) by mx.google.com with ESMTPS id 21sm1673411qyk.4.2010.01.13.08.45.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 13 Jan 2010 08:45:31 -0800 (PST) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAACVBMVEX9/Py9sZ6FcE5gCec3 AAAACXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAwAAAAMADO7oxXAAABGklEQVQoz02RPW6E MBCFx6uQwlWKJQUHSJFTUKUmUowiVylWSOtT7BEoshRUKQCt3ykz4x+wKfCnGea9eRDxUX8UjzIX qpYMDlsPE6EC0ANjBL5NwBqg7j36Fb4LAIPZAGHGG8PG4AXeeQBmfsYdvA2gBbBaLGcWtQEc/FPL tU8hx9IC1AhZTEFK8U3gFjd4BQYgtKmf2Nmm3ZQIB6+aF3VsPUAzipEIA3gMNsiLDbWk5jSgeVD3 bDMsvOEVse1FDP2ecijUoyNMKcoTJ+AyEH+r55yrmLoXQKaE+lFAU1b0tYSyTfsCqq8S0u87h9EJ hpB6Gq0vopOMKtlyF3XdUSH9TZW90d5XuzaLuOl+GNDYDtMqJpXOBzv7B2mugjLxx2cLAAAAQnRF WHRjb21tZW50AENSRUFUT1I6IGdkLWpwZWcgdjEuMCAodXNpbmcgSUpHIEpQRUcgdjYyKSwgcXVh bGl0eSA9IDEwMAowBf9PAAAAJXRFWHRjcmVhdGUtZGF0ZQAyMDA5LTA1LTI2VDA3OjM2OjUwLTAz OjAw8P7KDgAAABF0RVh0anBlZzpjb2xvcnNwYWNlADIsdVWfAAAAIHRFWHRqcGVnOnNhbXBsaW5n LWZhY3RvcgAyeDIsMXgxLDF4MUn6prQAAAAldEVYdG1vZGlmeS1kYXRlADIwMDktMDUtMjZUMDc6 MzY6NTAtMDM6MDCvT7w6AAAAAElFTkSuQmCC In-Reply-To: <37ad191f-d186-4a25-9f9c-45db5b32c89d@m3g2000yqf.googlegroups.com> (=?utf-8?Q?=22Nordl=C3=B6w=22's?= message of "Wed, 13 Jan 2010 02:33:45 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:71203 Archived-At: Nordl=C3=B6w writes: > Has anyone written a function for navigating/iterating/forward/ > backward mode-specifc (lexical) language tokens? It is called languide and is part of versor: http://emacs-versor.sourceforge.net/ > > I always get frustrated when I navigate C-syntax-styled code in Emacs > after being used to the elegant way of navigating expression-list- > trees in lisp-mode. > > I really believe the coding experience of Emacs would be enhanced > greatly enhanced in these cc-like modes if we had forward/backward- > token(). I think I would bind to M-f/b. > > The function semantic-flex or semantic-lex-c-... can be used do the > job but how do I know at what character to start the first time I do > forward/backward-token? > > Thanks in advance, > Nordl=C3=B6w