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 11:05:55 +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 1385373966 26444 80.91.229.3 (25 Nov 2013 10:06:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Nov 2013 10:06:06 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 25 11:06:12 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 1Vkt3T-0002If-8C for ged-emacs-devel@m.gmane.org; Mon, 25 Nov 2013 11:06:11 +0100 Original-Received: from localhost ([::1]:51391 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vkt3S-0002L3-Od for ged-emacs-devel@m.gmane.org; Mon, 25 Nov 2013 05:06:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vkt3J-0002Ki-48 for emacs-devel@gnu.org; Mon, 25 Nov 2013 05:06:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vkt3E-00025T-0F for emacs-devel@gnu.org; Mon, 25 Nov 2013 05:06:01 -0500 Original-Received: from mail-qe0-x234.google.com ([2607:f8b0:400d:c02::234]:49828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vkt3D-00025O-Su for emacs-devel@gnu.org; Mon, 25 Nov 2013 05:05:55 -0500 Original-Received: by mail-qe0-f52.google.com with SMTP id ne12so3605226qeb.39 for ; Mon, 25 Nov 2013 02:05:55 -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=aIcTBG8Eeawdn1raSvkOgXUSBI9y25bQCK6Ta6NJLsE=; b=JiaaTkm7IDRtove+xCthjt3o4mGhg3rwrVzS+zwnLjop9FdWo9907wISOFH5uoGYME V9bPDXoQAOI+GjX+hxYMPD64/cKh5RI/YfBC3YK3QjkfFMPyCSh0Ya11/hhFIlJjLn9j +boTRhpGxS6CK8csgXqfEDKX2DiJbLxJRk7fo5fJSwU/Ku0kGOR+ARbTH4DhpFJGL+ti ZNXTEEQG6OEuDm1zZZk9CP1bBoqp9pDT9oB6fNqdpvswEWsVjym5c7s7qQwlBAuStKN4 i6yhLSr+g871xYfv7R74+Vw9TvRrA57XZZLVq82x4M43CjRdtrYEVoR/9X4fnYMkokGQ ASSw== X-Received: by 10.49.94.71 with SMTP id da7mr43719130qeb.22.1385373955456; Mon, 25 Nov 2013 02:05:55 -0800 (PST) Original-Received: by 10.224.207.73 with HTTP; Mon, 25 Nov 2013 02:05:55 -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::234 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:165683 Archived-At: 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). What should the value of the new symbol property be? Just t, for the same semantics as the variable, or probably a string, which points to the alternative supposed to be used from Lisp?