From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Proposed Minor-mode] Speed of thought Lisp Date: Sun, 25 Jan 2015 09:49:57 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422197427 27482 80.91.229.3 (25 Jan 2015 14:50:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Jan 2015 14:50:27 +0000 (UTC) Cc: emacs-devel To: Artur Malabarba Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 25 15:50:21 2015 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 1YFOW1-0000MY-Kk for ged-emacs-devel@m.gmane.org; Sun, 25 Jan 2015 15:50:17 +0100 Original-Received: from localhost ([::1]:37975 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFOW1-0007QL-2K for ged-emacs-devel@m.gmane.org; Sun, 25 Jan 2015 09:50:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFOVo-0007Pv-L1 for emacs-devel@gnu.org; Sun, 25 Jan 2015 09:50:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YFOVl-0007S6-D7 for emacs-devel@gnu.org; Sun, 25 Jan 2015 09:50:04 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:51082) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFOVl-0007Rs-9G for emacs-devel@gnu.org; Sun, 25 Jan 2015 09:50:01 -0500 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t0PEnvkg008833; Sun, 25 Jan 2015 09:49:58 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id BD0C9660FB; Sun, 25 Jan 2015 09:49:57 -0500 (EST) In-Reply-To: (Artur Malabarba's message of "Sat, 24 Jan 2015 14:38:53 -0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5197=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5197> : inlines <1943> : streams <1379225> : uri <1843766> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:181746 Archived-At: > - C-c f :: Find function under point. If it is not defined, create a > definition for it below the current function and leave point inside. > - C-c v :: Same, but for variable. For variables (and macros and defsubst), it's important that the declaration be *before* rather than "below". For plain functions I also like to define them before I use them, tho it's not indispensable. > Cheers to all, and please let me hear your thoughts! Sounds neat. Even neater would be to make the list dynamic. As suggested on g.e.h, it could do a "completion with `initials' style", selecting the first completion, with sorting based on frequency hints. Stefan