From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dieter Wilhelm Newsgroups: gmane.emacs.help Subject: Re: Jumping between matching braces Date: Sat, 02 Sep 2006 00:10:10 +0200 Organization: The Church of Emacs Message-ID: <873bbb8chp.fsf@hans.local.net> References: <20751-23406@sneakemail.com> <878xl486n0.fsf@hans.local.net> <18742-47785@sneakemail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1157148645 15609 80.91.229.2 (1 Sep 2006 22:10:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Sep 2006 22:10:45 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 02 00:10:43 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GJHDf-0007js-Lm for geh-help-gnu-emacs@m.gmane.org; Sat, 02 Sep 2006 00:10:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GJHDf-0003DY-1F for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Sep 2006 18:10:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GJHDR-0003Ad-D9 for help-gnu-emacs@gnu.org; Fri, 01 Sep 2006 18:10:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GJHDP-0003AR-3y for help-gnu-emacs@gnu.org; Fri, 01 Sep 2006 18:10:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GJHDO-0003AN-QF for help-gnu-emacs@gnu.org; Fri, 01 Sep 2006 18:10:18 -0400 Original-Received: from [212.227.126.188] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GJHNK-0006hi-JB for help-gnu-emacs@gnu.org; Fri, 01 Sep 2006 18:20:34 -0400 Original-Received: from [84.167.23.93] (helo=duenenhof-wilhelm.de) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis), id 0ML21M-1GJHDN1mqT-0002lo; Sat, 02 Sep 2006 00:10:17 +0200 Original-Received: by duenenhof-wilhelm.de (Postfix, from userid 1000) id 391DF7584C; Sat, 2 Sep 2006 00:10:10 +0200 (CEST) Original-To: "Yang" In-Reply-To: <18742-47785@sneakemail.com> (Yang's message of "Fri, 1 Sep 2006 09:02:21 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:d7ab225b98a136e1c2910381f940ecb9 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:37113 Archived-At: "Yang" writes: > Just to make sure I wasn't introducing a problem myself, I moved aside > my .emacs and .emacs.d and tried again, to no avail. Does this mean you were starting Emacs with emacs -q --no-site-file or did you move/rename the files instead? > > I also just asked this in #emacs and someone else said they saw the What is #emacs? > same problem. They said it may have something to do with the syntax > tables and/or the fact that the {} is a comment, but I'm not sure how > to address this. Just start Emacs with the command line options above and create a file "some_file.txt" - you end up in text mode with the respective syntax table. Copy your bracket stuff into the buffer and the sexp commands should work. > > Is there any way to fix/work around this? I'm running Emacs 21.4.1 on > FC5, if that matters. Thanks. > > On 9/1/06, Dieter Wilhelm dieter-at-duenenhof-wilhelm.de |emacs-help| > <...> wrote: >> "Yang" writes: >> >> > Hi all, I found that I can't jump between matching {} and [] in >> > certain files. E.g. in my .emacs, i have the following, but >> > forward-sexp doesn't work across the {{{}}}: >> > >> > ;; {{{ >> > (blah (blah blah ... >> > ... )) >> > ;; }}} >> > >> > Is there any way to fix this? Thanks in advance. >> >> For me the regular movement commands for sexps are working in your >> example also for { (in the mail buffer). I.e.: C-M-f/b, C-M-u/d (the >> slash means or). >> >> -- >> Best wishes >> >> H. Dieter Wilhelm >> Darmstadt, Germany >> -- Best wishes H. Dieter Wilhelm Darmstadt, Germany