all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Jumping between matching braces
@ 2006-09-01  1:18 Yang
  2006-09-01  6:04 ` Dieter Wilhelm
  0 siblings, 1 reply; 4+ messages in thread
From: Yang @ 2006-09-01  1:18 UTC (permalink / raw)


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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Jumping between matching braces
  2006-09-01  1:18 Jumping between matching braces Yang
@ 2006-09-01  6:04 ` Dieter Wilhelm
  2006-09-01 13:02   ` Yang
  0 siblings, 1 reply; 4+ messages in thread
From: Dieter Wilhelm @ 2006-09-01  6:04 UTC (permalink / raw)
  Cc: help-gnu-emacs

"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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Jumping between matching braces
  2006-09-01  6:04 ` Dieter Wilhelm
@ 2006-09-01 13:02   ` Yang
  2006-09-01 22:10     ` Dieter Wilhelm
  0 siblings, 1 reply; 4+ messages in thread
From: Yang @ 2006-09-01 13:02 UTC (permalink / raw)


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.

I also just asked this in #emacs and someone else said they saw the
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.

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
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Jumping between matching braces
  2006-09-01 13:02   ` Yang
@ 2006-09-01 22:10     ` Dieter Wilhelm
  0 siblings, 0 replies; 4+ messages in thread
From: Dieter Wilhelm @ 2006-09-01 22:10 UTC (permalink / raw)
  Cc: help-gnu-emacs

"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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-09-01 22:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-01  1:18 Jumping between matching braces Yang
2006-09-01  6:04 ` Dieter Wilhelm
2006-09-01 13:02   ` Yang
2006-09-01 22:10     ` Dieter Wilhelm

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.