From: "T.V. Raman" <tv.raman.tv@gmail.com>
To: Andreas Schwab <schwab@linux-m68k.org>, emacs-devel@gnu.org
Subject: fix interactive spec for kill-region
Date: Mon, 3 Sep 2012 17:01:37 -0700 [thread overview]
Message-ID: <CADkJX2gmjpUBefi-k-G06hAu0Vz-KwYk49PSozoFmqZLo4_f9A@mail.gmail.com> (raw)
In-Reply-To: <m2zk58bhpq.fsf@igel.home>
The signature doesn't match, and you get byte compiler warnings.
--
--
On 9/2/12, Andreas Schwab <schwab@linux-m68k.org> wrote:
> "T.V. Raman" <tv.raman.tv@gmail.com> writes:
>
>> The definition of kill-region appears not to match its
>> interactive spec --- the optional third arg does not appear in
>> the interactive spec.
>> See
>> (defun kill-region (beg end &optional yank-handler)
>> vs
>> (interactive (list (point) (mark)))
>
> Why is that a problem?
>
> Andreas.
>
> --
> Andreas Schwab, schwab@linux-m68k.org
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
> "And now for something completely different."
>
next prev parent reply other threads:[~2012-09-04 0:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-02 14:33 fix interactive spec for kill-region T.V. Raman
2012-09-02 14:52 ` Andreas Schwab
2012-09-04 0:01 ` T.V. Raman [this message]
2012-09-04 3:45 ` Stefan Monnier
2012-09-07 16:00 ` T.V. Raman
2012-09-07 19:37 ` Stefan Monnier
2012-09-08 15:00 ` T.V. Raman
2012-09-08 16:14 ` Andreas Schwab
2012-10-26 18:02 ` Stefan Monnier
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=CADkJX2gmjpUBefi-k-G06hAu0Vz-KwYk49PSozoFmqZLo4_f9A@mail.gmail.com \
--to=tv.raman.tv@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=schwab@linux-m68k.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).