From: Sebastian Wiesner <lunaryorn@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Mark custom function for interactive use only
Date: Mon, 25 Nov 2013 11:41:55 +0100 [thread overview]
Message-ID: <CALf2awTKRtgSamZfFLThWkXSDY+pZUewY_Neh7jC2a7Mw_1zMA@mail.gmail.com> (raw)
In-Reply-To: <jwviovhuqgy.fsf-monnier+emacs@gnu.org>
2013/11/25 Stefan Monnier <monnier@iro.umontreal.ca>:
>> I presume I'd just patch `byte-compile-form' in bytecomp.el to also
>> look at a corresponding property, e.g. `interactive-use-only`.
>> Anything else?
>
> We should also make byte-compile-interactive-only-functions obsolete and
> default it to nil (i.e. move its contents to symbol properties).
Attached is a patch to Emacs trunk, which introduces a
`interactive-only' symbol property as either a string with a "use
instead" message or just t, sets this property on all functions from
byte-compile-interactive-only-functions, and makes
byte-compile-interactive-only-functions as obsolete.
Documentation and tests are missing. If you can point me to the
proper places and tell me how to run the Emacs tests, I can add these
as well.
next prev parent reply other threads:[~2013-11-25 10:41 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-24 15:29 Mark custom function for interactive use only Sebastian Wiesner
2013-11-24 18:22 ` Stefan Monnier
2013-11-24 19:52 ` Sebastian Wiesner
2013-11-25 3:10 ` Stefan Monnier
2013-11-25 10:05 ` Sebastian Wiesner
2013-11-25 10:41 ` Sebastian Wiesner [this message]
2013-11-25 10:42 ` Sebastian Wiesner
2013-11-25 10:54 ` Bozhidar Batsov
2013-11-25 11:34 ` Sebastian Wiesner
2013-11-25 13:11 ` Bozhidar Batsov
2013-11-25 11:33 ` Sebastian Wiesner
2013-11-25 14:58 ` Stefan Monnier
2013-11-25 15:42 ` Sebastian Wiesner
2013-11-25 17:17 ` Bozhidar Batsov
2013-11-25 17:48 ` Sebastian Wiesner
2013-11-25 19:36 ` Bozhidar Batsov
2013-11-26 3:18 ` Glenn Morris
2013-11-26 6:46 ` Bozhidar Batsov
2013-11-26 9:06 ` Andreas Schwab
2013-11-26 9:24 ` Bozhidar Batsov
[not found] ` <CALf2awQ3TJcNq2GiXObEgPBm+JOqrveNrEaTak0E0ws+jrh3dw@mail.gmail.com>
2013-11-26 9:55 ` Bozhidar Batsov
2013-11-26 19:46 ` Glenn Morris
2013-11-26 21:16 ` Sebastian Wiesner
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=CALf2awTKRtgSamZfFLThWkXSDY+pZUewY_Neh7jC2a7Mw_1zMA@mail.gmail.com \
--to=lunaryorn@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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).