From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Add a widget for command functions? Date: Mon, 12 Oct 2009 22:52:16 +0200 Message-ID: References: <87r5t8ts8c.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1255380792 16689 80.91.229.12 (12 Oct 2009 20:53:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Oct 2009 20:53:12 +0000 (UTC) Cc: Emacs-Devel devel To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 12 22:53:02 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MxRt5-0001Lx-Dz for ged-emacs-devel@m.gmane.org; Mon, 12 Oct 2009 22:52:59 +0200 Original-Received: from localhost ([127.0.0.1]:42082 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxRt4-0005jX-Nw for ged-emacs-devel@m.gmane.org; Mon, 12 Oct 2009 16:52:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MxRso-0005dK-2M for emacs-devel@gnu.org; Mon, 12 Oct 2009 16:52:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MxRsj-0005aD-JO for emacs-devel@gnu.org; Mon, 12 Oct 2009 16:52:41 -0400 Original-Received: from [199.232.76.173] (port=38365 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxRsj-0005a8-DU for emacs-devel@gnu.org; Mon, 12 Oct 2009 16:52:37 -0400 Original-Received: from mail-yx0-f175.google.com ([209.85.210.175]:55178) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MxRsj-0003Q4-34 for emacs-devel@gnu.org; Mon, 12 Oct 2009 16:52:37 -0400 Original-Received: by yxe5 with SMTP id 5so1966259yxe.24 for ; Mon, 12 Oct 2009 13:52:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=9S0g3RqM3SP0W/tkQxeCOoJUUIF5Qu+9fx3exaorfo8=; b=p6H5MitwT27ifHEJJxR2JR8sdyhiuziTggCwAQmV93E9GAJ21j0BR7Jl8dUXb/fpXS PC629J9PbUEWnKyaHoAhf3idNbxDA7Yrtgig6ljEeuMXsaQPzsNjfxU+ocGnntWPj1uD n8wJfY4wBbnuYol9Mh+gJF4QZLEqNl6Te0CFs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=pvZd5peh5RgXElKggqHQEpoe6D6fSs+u7tt2fT9TQUqgm5lpU9i5Ek+mYvt8iaHirp zXqXRSeDpp41TwEIn3x5G5Tnr+Ps8veCHgZkjWeVuk74+jB8/gLSWmJCM50RgevEnl+z NGwo8hRTWNMN7ozr8NC4BP/7RN0ykKkfmUkbQ= Original-Received: by 10.101.183.1 with SMTP id k1mr6028768anp.18.1255380756336; Mon, 12 Oct 2009 13:52:36 -0700 (PDT) In-Reply-To: <87r5t8ts8c.fsf@mail.jurta.org> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:116105 Archived-At: On Mon, Oct 12, 2009 at 10:32 PM, Juri Linkov wrote: >> Could a widget for command functions perhaps be added to Emacs? >> >> (define-widget 'command 'restricted-sexp >> =C2=A0 "A command function." > > I think the original implementation (where the widget `command' > inherited from `function') was much better. =C2=A0But I know no reason > why it is not in wid-edit.el now :( =C2=A0You can find it here: > http://thread.gmane.org/gmane.emacs.devel/8116 Ok ;-) Anyone of them would do. Should I send my widget for major modes now, or?