emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: syntax for ?= in sh-mode


From: Stefan
Subject: Re: syntax for ?= in sh-mode
Date: Mon, 20 Sep 2004 01:59:48 -0400
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (darwin)

>     I've been meaning to add precedence annotations to syntax-tables (so
>     you can get precedence-aware sexp movement and/or indentation, like
>     I did in my sml-mode code).

> It sounds interesting, but what change in behavior is there?  Can you
> show us a specific case where this would do something different?

Here is an example with indentation:

        foo
        + bar
          * baz
        + toto
          / titi

And in sml-mode, if point is just before the first + and you hit C-M-t
you end up with

        bar
          * baz
        + foo
        + toto
          / titi


-- Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]