unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: d7@thispla.net
To: help-gnu-emacs@gnu.org
Subject: Re: Writing Emacs-function: how?
Date: Tue, 21 Apr 2009 08:17:15 -0700 (PDT)	[thread overview]
Message-ID: <f9abf8e2-1efe-4094-acb9-f54e27947112@u8g2000yqn.googlegroups.com> (raw)
In-Reply-To: m2d4b6rtss.fsf@free.fr

On Apr 21, 4:00 pm, harven <har...@free.fr> wrote:

> Only commands can be bound to keys. A command is a function
> that can be called interactively with the M-x prefix e.g. M-x my-replace
> The (interactive) line above turns the function my-replace into a command.
> Finally, you don't need to use re-search-forward, which deals with
> regular expressions, but just the simpler command search-forward.
>
> Hope this helps

Thanks very much,

Ulrich


      reply	other threads:[~2009-04-21 15:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-21 11:37 Writing Emacs-function: how? Ulrich Scholz
2009-04-21 12:04 ` Richard Riley
2009-04-21 13:35   ` d7
2009-04-21 13:52     ` Anselm Helbig
2009-04-21 14:00 ` harven
2009-04-21 15:17   ` d7 [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f9abf8e2-1efe-4094-acb9-f54e27947112@u8g2000yqn.googlegroups.com \
    --to=d7@thispla.net \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).