[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: transpose-words on $? $@
From: |
Kevin Rodgers |
Subject: |
Re: transpose-words on $? $@ |
Date: |
Thu, 20 Oct 2005 10:08:44 -0600 |
User-agent: |
Mozilla Thunderbird 0.9 (X11/20041105) |
Dan Jacobson wrote:
> Put the cursor between
> $? $@
> and do transpose-words, ESC t.
> Nothing much seems to happen.
> Well maybe nothing should, but it doesn't feel good.
Since none of those characters have word syntax, it seems right --
although why then is point moved from before the second `$' to before
the `@'?
But in Shell-script mode (which I suspect is where that text occurs),
one might expect C-M-t to work because there the `?' and the `@' are
fontified and displayed using font-lock-variable-name-face. Should
font-lock set the syntax-table property for such characters? If it did,
and parse-sexp-lookup-properties were set, then the transpose commands
would work as expected, right?
--
Kevin Rodgers