all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* transpose-words on $? $@
@ 2005-10-19 22:48 Dan Jacobson
  2005-10-20 16:08 ` Kevin Rodgers
  2005-10-20 17:01 ` Richard M. Stallman
  0 siblings, 2 replies; 4+ messages in thread
From: Dan Jacobson @ 2005-10-19 22:48 UTC (permalink / raw)


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.

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

* Re: transpose-words on $? $@
  2005-10-19 22:48 transpose-words on $? $@ Dan Jacobson
@ 2005-10-20 16:08 ` Kevin Rodgers
  2005-10-20 17:01 ` Richard M. Stallman
  1 sibling, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2005-10-20 16:08 UTC (permalink / raw)


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

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

* Re: transpose-words on $? $@
  2005-10-19 22:48 transpose-words on $? $@ Dan Jacobson
  2005-10-20 16:08 ` Kevin Rodgers
@ 2005-10-20 17:01 ` Richard M. Stallman
  2005-10-21 23:21   ` Dan Jacobson
  1 sibling, 1 reply; 4+ messages in thread
From: Richard M. Stallman @ 2005-10-20 17:01 UTC (permalink / raw)
  Cc: bug-gnu-emacs

    Put the cursor between
    $? $@

You're trying to curse at Emacs?  I guess the cursor is you ;-).

    and do transpose-words, ESC t.

Maybe Emacs was angry that you cursed at it ;-).

Indeed there are no words there to transpose.

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

* Re: transpose-words on $? $@
  2005-10-20 17:01 ` Richard M. Stallman
@ 2005-10-21 23:21   ` Dan Jacobson
  0 siblings, 0 replies; 4+ messages in thread
From: Dan Jacobson @ 2005-10-21 23:21 UTC (permalink / raw)
  Cc: bug-bash

This happened in Makefile mode. Well OK, they aren't words. By the
way, in bash, one at least gets a beep and the cursor doesn't move.

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

end of thread, other threads:[~2005-10-21 23:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-19 22:48 transpose-words on $? $@ Dan Jacobson
2005-10-20 16:08 ` Kevin Rodgers
2005-10-20 17:01 ` Richard M. Stallman
2005-10-21 23:21   ` Dan Jacobson

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.