unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How does M-k work?
@ 2004-03-01 15:51 Kai Grossjohann
  2004-03-01 19:01 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Kai Grossjohann @ 2004-03-01 15:51 UTC (permalink / raw)


Say I have this text snippet in LaTeX mode (AUC-TeX):

    \caption{Foo bar.  Quux quux.}

I position point after the first period and hit M-k:

    \caption{Foo bar.

I'm surprised that the "}" is gone.  I expected the "}" to stay.  Why
is this behavior good?  Can it be changed?  Is there another command
that does what I expect?  Can I change what I expect so that I'm not
surprised?

(If the sentence to kill is long, I might easily miss that there was a
parenthesis before, so my LaTeX code might end up wrong.)

Kai

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

* Re: How does M-k work?
  2004-03-01 15:51 How does M-k work? Kai Grossjohann
@ 2004-03-01 19:01 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2004-03-01 19:01 UTC (permalink / raw)


> I position point after the first period and hit M-k:
>     \caption{Foo bar.
> I'm surprised that the "}" is gone.  I expected the "}" to stay.  Why

Sounds like a bug.  You might be able to fix it by fiddling with
`sentence-end'.  Maybe you should post it to gnu.emacs.bug.


        Stefan

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

end of thread, other threads:[~2004-03-01 19:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-01 15:51 How does M-k work? Kai Grossjohann
2004-03-01 19:01 ` Stefan Monnier

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).