From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Newsgroups: gmane.emacs.help Subject: Re: Abbrevs for the most frequent elisp symbols Date: Mon, 29 Dec 2014 15:49:45 +0000 (UTC) Message-ID: References: <87sifzkrwn.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1419868222 27650 80.91.229.3 (29 Dec 2014 15:50:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Dec 2014 15:50:22 +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 16:50:17 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 1Y5caF-0002L3-At for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Dec 2014 16:50:15 +0100 Original-Received: from localhost ([::1]:33774 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5caE-00055E-O0 for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Dec 2014 10:50:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5ca4-00053g-4O for help-gnu-emacs@gnu.org; Mon, 29 Dec 2014 10:50:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y5ca0-00068K-VF for help-gnu-emacs@gnu.org; Mon, 29 Dec 2014 10:50:04 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:35787) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5ca0-00068B-Od for help-gnu-emacs@gnu.org; Mon, 29 Dec 2014 10:50:00 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y5cZx-00027J-Qz for help-gnu-emacs@gnu.org; Mon, 29 Dec 2014 16:49:57 +0100 Original-Received: from 94-21-191-89.pool.digikabel.hu ([94.21.191.89]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Dec 2014 16:49:57 +0100 Original-Received: from adatgyujto by 94-21-191-89.pool.digikabel.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Dec 2014 16:49:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 39 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 94.21.191.89 (Mozilla/5.0 (Windows NT 6.1; rv:34.0) Gecko/20100101 Firefox/34.0) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:101758 Archived-At: Emanuel Berg student.uu.se> writes: > > Tom gmail.com> writes: > > But even so, what if some guy is the other way around, > e.g., he prefers `garbage-collect' to `goto-char'? Is > that easily rerouted in some automatically generated > (but after that manually editable) abbrev table? Something like this could be added, but I don't see the reason, because I think the elisp sources are fairly representative of the usage frequency of symbols. I'm pretty sure most people use goto-char more often than garbage-collect. The aim was to provide a very convenient way to type the most frequent symbols. For the less frequent one you always have some kind of completion. I was tired of typing save-exursion, etc. all the time and while I use completion (company) for elisp symbols it's still cumbersome to type for the most frequent symbols while typing simply 'se' is very convenient. > My second concern is that if this is abbrevs, don't > you get crazy from them expanding all the time as you > type? There was one problematic abbrev I found when I tried it 'if' which mapped to some lesser used function, don't remember which, so I deleted it manually. Otherwise, the abbrevs are surprisingly unique and didn't interfere with normal typing, though I haven't tested it extensively.