Christian Nybø <chr(a)mediascience.no> writes:
> A convenient way of killing is combined with searching:
`M-z'
> (`zap-to-char') reads a character and kills from point up to (but not
> including) the next occurrence of that character in the buffer.
The manual is wrong (unfortunately). This behavior has always
irritated me, but here we are.
...
What should zap-to-char do?
What it does.
I wish changing the function rather than the doc was a viable
option,
as it seems more useful for interactive use if zapping up to, but not
including, the character.
It's worked the way it does for a very long time. Perhaps we could
add `zap-up-to-char'? After all the Roman Numeral editor handles both
with `d f <char>' and `d t <char>'. I must admit to using the latter
far more often than the former.