[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Jumping between matching braces
From: |
Dieter Wilhelm |
Subject: |
Re: Jumping between matching braces |
Date: |
Sat, 02 Sep 2006 00:10:10 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
"Yang" <yvq9x4402@sneakemail.com> 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" <yvq9x4402@sneakemail.com> 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