From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastian Wiesner Newsgroups: gmane.emacs.devel Subject: Re: Mark custom function for interactive use only Date: Mon, 25 Nov 2013 12:34:42 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1385379289 24956 80.91.229.3 (25 Nov 2013 11:34:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Nov 2013 11:34:49 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Bozhidar Batsov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 25 12:34:57 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VkuRK-0002pH-3P for ged-emacs-devel@m.gmane.org; Mon, 25 Nov 2013 12:34:54 +0100 Original-Received: from localhost ([::1]:51879 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VkuRJ-00034i-MT for ged-emacs-devel@m.gmane.org; Mon, 25 Nov 2013 06:34:53 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49669) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VkuRA-0002wN-T6 for emacs-devel@gnu.org; Mon, 25 Nov 2013 06:34:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VkuR9-0004wL-G4 for emacs-devel@gnu.org; Mon, 25 Nov 2013 06:34:44 -0500 Original-Received: from mail-qe0-x22a.google.com ([2607:f8b0:400d:c02::22a]:50679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VkuR9-0004wE-93 for emacs-devel@gnu.org; Mon, 25 Nov 2013 06:34:43 -0500 Original-Received: by mail-qe0-f42.google.com with SMTP id b4so2718611qen.29 for ; Mon, 25 Nov 2013 03:34:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=YXazGKuPwWCr2faTbLZBiXy+svevaEOCjsF/cBExjlk=; b=CQRxKWs0+Zeej+9g/GP26Ik6jT/eTI8ucXq9Mjijs2WBB0hhd5phxCCGU7bLSLABOw NnqA1GdzJ7XFJ/qaT2t3GF4WDovZ/T1r4dRF2VRUnq/177RqdzKuB03PL2vwxdWFzkZL QMgbquhp+n699Db5Fs65Q6AZvjLv8oKYthKCyt9I26zVlatusIADhdg4S5dWZmD3nHxU dIS/PnmiXiJ5TMkXMtrXzJ4B4DdZkZJEtsmQSoicQDZv5laSehzHkcBxOTlGqk3CVLCW kfC/Jwjtm8BJ+796KIYSA+tcxUYLsc7YTdYL/lH0e5ymy34U0YU9OyiMh0Xtv8nO/9VW ugCA== X-Received: by 10.224.92.147 with SMTP id r19mr31150832qam.83.1385379282573; Mon, 25 Nov 2013 03:34:42 -0800 (PST) Original-Received: by 10.224.207.73 with HTTP; Mon, 25 Nov 2013 03:34:42 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c02::22a X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:165689 Archived-At: 2013/11/25 Bozhidar Batsov : > The changes look good to me. Once they are approved by Stefan make sure to > mention them in the NEWS. Uhm, sorry, what am I supposed to do? I am not familiar with Emacs' development process and policies, and thus have no clue what you mean. Besides, I have no intention to get deeply involved, so I'd prefer if someone else did all this organizational stuff. > -- > Cheers, > Bozhidar > > On November 25, 2013 at 12:43:14 PM, Sebastian Wiesner (lunaryorn@gmail.com) > wrote: > > 2013/11/25 Sebastian Wiesner : >> 2013/11/25 Stefan Monnier : >>>> 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