* Re: Dynamic expansion in html-mode
[not found] <mailman.6597.1157659250.9609.help-gnu-emacs@gnu.org>
@ 2006-09-13 10:54 ` Andreas Roehler
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Roehler @ 2006-09-13 10:54 UTC (permalink / raw)
Ewen Cartwright wrote:
> Hi there,
>
> I'm using html-mode to edit ColdFusion files in Emacs 22.0.50.1
> on win32. Previously, in Emacs 21, dynamic expansion would
> allow me to expand names like 'whatever' if, for instance,
> 'form.whatever' was defined in a buffer. Likewise, if the
> cursor was positioned over the 'whatever' in 'form.whatever',
> then M-. would default to the tag name 'whatever'.
>
> However, Emacs 22 will only recognize 'form.whatever' as an
> expansion, and will pick up 'form.whatever' as the tag name to
> find. I'd far rather have the Emacs 21 behaviour for these
> operations, and I'm guessing that somewhere in sgml-mode or
> html-mode I need to tell emacs that '.' is a word separator in
> order to achieve this. Could anyone point me in the right
> direction?
>
> Thanks in advance,
>
> /ewen
Can't reproduce this with
GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2006-09-11
it behaves as you described first.
>From here it seems a matter of the win-port.
__
Andreas Roehler
^ permalink raw reply [flat|nested] 2+ messages in thread
* Undo'ing cursor movement keys
@ 2006-09-07 17:17 Bob
2006-09-07 17:55 ` Dynamic expansion in html-mode Ewen Cartwright
0 siblings, 1 reply; 2+ messages in thread
From: Bob @ 2006-09-07 17:17 UTC (permalink / raw)
Coming from the Windows world, one of the items that I became highly
accustomed to with my editor, Codewright, was that you could UNDO
printable characters as well as the cursor positioning/movement keys.
Is there any equivalent for emacs? Can anyone point me to where/how to
accomplish this?
For example, in codewright if I were at the top of the screen pressed
'a', right arrow, 'b', right arrow, 'c', then page down, page down. I
would move down 2 pages worth of text. If I then did undo once, I
would undo the page down, undo'ing a second time would undo the page
down, a 3rd undo undoes the 'c', 4th undoes the right arrow key press,
Another undo undoes the 'b', the next undo undoes the right arrow, and
the last undoes the 'a'. The important thing is that the the cursor
movement keys were also pushed onto the undo stack. This is what I
want to do in emacs.
Thanks
Bob
^ permalink raw reply [flat|nested] 2+ messages in thread
* Dynamic expansion in html-mode
2006-09-07 17:17 Undo'ing cursor movement keys Bob
@ 2006-09-07 17:55 ` Ewen Cartwright
0 siblings, 0 replies; 2+ messages in thread
From: Ewen Cartwright @ 2006-09-07 17:55 UTC (permalink / raw)
Hi there,
I'm using html-mode to edit ColdFusion files in Emacs 22.0.50.1 on
win32. Previously, in Emacs 21, dynamic expansion would allow me to
expand names like 'whatever' if, for instance, 'form.whatever' was
defined in a buffer. Likewise, if the cursor was positioned over the
'whatever' in 'form.whatever', then M-. would default to the tag name
'whatever'.
However, Emacs 22 will only recognize 'form.whatever' as an expansion,
and will pick up 'form.whatever' as the tag name to find. I'd far rather
have the Emacs 21 behaviour for these operations, and I'm guessing that
somewhere in sgml-mode or html-mode I need to tell emacs that '.' is a
word separator in order to achieve this. Could anyone point me in the
right direction?
Thanks in advance,
/ewen
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-09-13 10:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.6597.1157659250.9609.help-gnu-emacs@gnu.org>
2006-09-13 10:54 ` Dynamic expansion in html-mode Andreas Roehler
2006-09-07 17:17 Undo'ing cursor movement keys Bob
2006-09-07 17:55 ` Dynamic expansion in html-mode Ewen Cartwright
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).