From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bozhidar Batsov Newsgroups: gmane.emacs.devel Subject: Re: Mark custom function for interactive use only Date: Mon, 25 Nov 2013 21:36:01 +0200 Message-ID: References: <3F18D207-3DA2-4003-B995-A8867E8F0140@gmail.com> <38AAD699-0A61-4425-9D2D-84B14E19B28A@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c3367659087804ec057990 X-Trace: ger.gmane.org 1385408167 28284 80.91.229.3 (25 Nov 2013 19:36:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Nov 2013 19:36:07 +0000 (UTC) Cc: Stefan Monnier , emacs-devel To: Sebastian Wiesner Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 25 20:36:13 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 1Vl1x6-00059q-6d for ged-emacs-devel@m.gmane.org; Mon, 25 Nov 2013 20:36:12 +0100 Original-Received: from localhost ([::1]:54648 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vl1x5-0003qv-IT for ged-emacs-devel@m.gmane.org; Mon, 25 Nov 2013 14:36:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vl1x2-0003qe-0w for emacs-devel@gnu.org; Mon, 25 Nov 2013 14:36:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vl1ww-0004Ol-HN for emacs-devel@gnu.org; Mon, 25 Nov 2013 14:36:07 -0500 Original-Received: from mail-oa0-x230.google.com ([2607:f8b0:4003:c02::230]:35318) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vl1ww-0004Od-AQ for emacs-devel@gnu.org; Mon, 25 Nov 2013 14:36:02 -0500 Original-Received: by mail-oa0-f48.google.com with SMTP id l6so4833033oag.21 for ; Mon, 25 Nov 2013 11:36:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=MG2PPl9F37hFHa0Q06q1/134BV0ZCihMYXtxGRPXL84=; b=lSbEBW07U3Uvw7YNQEpR4pN+l+WDuc0twKYpfcyV+SyG3Me+L/RuPYYguAF1HCzOA1 P9kYJdyO3oGLh5yGcFMLTgmgOIqwP634L41B7TxNhxZfrepH5gkRAC7qKkX0yZ03PSie LxYco+bVYKEwZLTrn4EP+gqFMSHJ527n6e65W56IVkADJjhyIuJesLDEpu0AQqvI0/PS kQV6zfN8lUR1WEQavXBJy1551Nn785wIpLuY3BktZE7AEBDQtdG0ZRl5BWSjNto+2GsH DNyyp89BwPKolcTPJDHEmJGpnIAyhxrwjynO+5K+N7jSDelTdXk5jxEwgZKuPgXtyEyC F9og== X-Received: by 10.182.230.135 with SMTP id sy7mr25988724obc.24.1385408161709; Mon, 25 Nov 2013 11:36:01 -0800 (PST) Original-Received: by 10.76.21.207 with HTTP; Mon, 25 Nov 2013 11:36:01 -0800 (PST) In-Reply-To: <38AAD699-0A61-4425-9D2D-84B14E19B28A@gmail.com> X-Google-Sender-Auth: tvyz9bt2H57fBoVqSfgkCCe2bKY X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c02::230 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:165721 Archived-At: --001a11c3367659087804ec057990 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I don't think the old behavior was documented at all, but I think the "functions" or "byte-compilation" sections of the Emacs Lisp manual would be good places for the documentation of this functionality. The "functions" section of the manual is in doc/lispref/functions.texi On 25 November 2013 19:48, Sebastian Wiesner wrote: > > Installed. Thanks! > > > Thank you :) > > I noticed, however, that you did not add documentation. Should I write > some? I=E2=80=99m familiar with Texinfo, but I don=E2=80=99t know where = to find the source=E2=80=A6 > > -- > Cheers, > Bozhidar > > On November 25, 2013 at 5:43:17 PM, Sebastian Wiesner (lunaryorn@gmail.co= m) > wrote: > > > >> +(put 'comint-run 'interactive-only t) > > > > The non-interactive replacement is `make-comint'. > > > >> +(put 'delete-backward-char 'interactive-only t) > > > > Replaced by `delete-char'. > > > > Looks good, thanks. > > Updated. > > ------------------------------ > - interactive-only-property.patch, 9.2 KB > > > --001a11c3367659087804ec057990 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I don't think the old behavior was documented at = all, but I think the "functions" or "byte-compilation" = sections of the Emacs Lisp manual would be good places for the documentatio= n of this functionality. The "functions" section of the manual is= in doc/lispref/functions.texi


On 25 N= ovember 2013 19:48, Sebastian Wiesner <lunaryorn@gmail.com> wrote:
Installed. Thanks!

Thank you :)

I noticed, however, that you did not add documentation= . =C2=A0Should I write some? =C2=A0I=E2=80=99m familiar with Texinfo, but I= don=E2=80=99t know where to find the source=E2=80=A6

--=C2=A0
Cheers,
Bozhidar

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

=

>> +(put 'comint-run 'interactive-only t)
> =20
> The non-interactive replacement is `make-comint'.
> =20
>> +(put 'delete-backward-char 'interactive-only t)
> =20
> Replaced by `delete-char'.
> =20
> Looks good, thanks.

Updated.


- interactive-only-property.patch, 9.2 KB


--001a11c3367659087804ec057990--