From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: Abbrevs for the most frequent elisp symbols Date: Mon, 29 Dec 2014 05:55:00 +0100 Organization: Aioe.org NNTP Server Message-ID: <87h9wfkqcb.fsf@debian.uxu> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1419828924 1926 80.91.229.3 (29 Dec 2014 04:55:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Dec 2014 04:55:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 29 05:55:18 2014 Return-path: Envelope-to: geh-help-gnu-emacs@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 1Y5SMQ-0007KP-42 for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Dec 2014 05:55:18 +0100 Original-Received: from localhost ([::1]:60178 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5SMP-0000Ad-GY for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Dec 2014 23:55:17 -0500 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!newsfeed.tele2net.at!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 39 Original-NNTP-Posting-Host: feB02bRejf23rfBm51Mt7Q.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:gBQNqo2t3LZ+35eH/CYICsB8YbU= Mail-Copies-To: never Original-Xref: usenet.stanford.edu gnu.emacs.help:209465 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101744 Archived-At: Andreas Röhler writes: > The question is: does the occurrence inside the > manual or the source provide indication WRT > probability of personal usage? That would have to be done on-the-fly which would be too slow (?) unless the person doing it could feed it with a personal Elisp library or some sufficiently large amount of Elisp in his prefered way to counterweight the source learning data - it could be a weighted measure, like if the source says 9 to 1, and the personal code says the opposite, only in much less quantity, the personal code would still win because it is more likely the person who wrote that will write something similar again. Also, the program could simply ask at ambiguities which the prefered one is. Then that would then be added as a rule. Or how about, right after expansion, one could iterate expansions by a keystroke - e.g., like with yanking: first do C-y (`yank'), then do M-y (`yank-pop`), and even (defun yank-pop-back (&optional arg) (interactive "*p") (yank-pop (if arg (* arg -1) -1)) ) It also depends how many ambiguities there are. If they are everywhere, whatever you do it will bite you hard more often than anyone would like. (Now I'm only discussing this from your perspective because I think nothing beats typing.) -- underground experts united