unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Bozhidar Batsov <bozhidar@batsov.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>,
	Sebastian Wiesner <lunaryorn@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Mark custom function for interactive use only
Date: Mon, 25 Nov 2013 12:54:46 +0200	[thread overview]
Message-ID: <etPan.52932c76.3d1b58ba.16016@Bozhidars-MacBook-Pro.local> (raw)
In-Reply-To: <CALf2awSV1hXQDCw_mnKvGPADeQB7HvmbjLPOHc2R7DKS1e_org@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1217 bytes --]

The changes look good to me. Once they are approved by Stefan make sure to mention them in the NEWS.

-- 
Cheers,
Bozhidar

On November 25, 2013 at 12:43:14 PM, Sebastian Wiesner (lunaryorn@gmail.com) wrote:

2013/11/25 Sebastian Wiesner <lunaryorn@gmail.com>:  
> 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.  

Ok, *now* it's attached. Sorry  
- interactive-only-property.patch, 9 KB

[-- Attachment #2: Type: text/html, Size: 2138 bytes --]

  reply	other threads:[~2013-11-25 10:54 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
2013-11-25 10:42         ` Sebastian Wiesner
2013-11-25 10:54           ` Bozhidar Batsov [this message]
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=etPan.52932c76.3d1b58ba.16016@Bozhidars-MacBook-Pro.local \
    --to=bozhidar@batsov.com \
    --cc=emacs-devel@gnu.org \
    --cc=lunaryorn@gmail.com \
    --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).