From: Jesper Harder <harder@myrealbox.com>
Subject: Re: Zap-up-to-char in Emacs
Date: Fri, 06 Dec 2002 00:10:26 +0100 [thread overview]
Message-ID: <m3bs40qcyl.fsf@defun.localdomain> (raw)
In-Reply-To: Pine.LNX.4.44.0212052347090.25403-100000@nymfe33.fi.muni.cz
Jiri Pejchal <xpejchal@nymfe33.fi.muni.cz> writes:
> function zap-to-char
>
> `M-z CHAR'
> Kills through the next occurrence of CHAR (`zap-to-char').
>
> is there a function in Emacs similar to zap-up-to-char in XEmacs that
> would kill up to and not including the next occurencce of CHAR?
Emacs (21) _has_ the function `zap-up-to-char' by default bound to the
same key as in XEmacs:
,----[ C-h k M-z ]
| M-z runs the command zap-to-char
| which is an interactive compiled Lisp function in `simple'.
| (zap-to-char ARG CHAR)
|
| Kill up to and including ARG'th occurrence of CHAR.
| Case is ignored if `case-fold-search' is non-nil in the current buffer.
| Goes backward if ARG is negative; error if CHAR not found.
`----
next prev parent reply other threads:[~2002-12-05 23:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-05 22:56 Zap-up-to-char in Emacs Jiri Pejchal
2002-12-05 23:10 ` Jesper Harder [this message]
2002-12-05 23:17 ` Benjamin Lewis
2002-12-06 6:34 ` Fredrik Staxeng
2002-12-06 14:50 ` Kai Großjohann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3bs40qcyl.fsf@defun.localdomain \
--to=harder@myrealbox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.