From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.devel Subject: Re: "Snippet" database Date: Fri, 06 Jan 2012 20:56:18 +0100 Organization: aich tea tea pea dicky riley dot net Message-ID: References: Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1325879809 23492 80.91.229.12 (6 Jan 2012 19:56:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 6 Jan 2012 19:56:49 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 06 20:56:44 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RjFu7-0003Pr-Ew for ged-emacs-devel@m.gmane.org; Fri, 06 Jan 2012 20:56:44 +0100 Original-Received: from localhost ([::1]:42135 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjFu6-0005g0-Tg for ged-emacs-devel@m.gmane.org; Fri, 06 Jan 2012 14:56:42 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:35823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjFu2-0005fv-9O for emacs-devel@gnu.org; Fri, 06 Jan 2012 14:56:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjFty-0005qb-Az for emacs-devel@gnu.org; Fri, 06 Jan 2012 14:56:38 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:49220) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjFty-0005qX-56 for emacs-devel@gnu.org; Fri, 06 Jan 2012 14:56:34 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RjFtw-0003Kp-8E for emacs-devel@gnu.org; Fri, 06 Jan 2012 20:56:32 +0100 Original-Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Jan 2012 20:56:32 +0100 Original-Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Jan 2012 20:56:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 15 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 85.183.18.158 Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:gAjUr1YcU/jvQVsrDSm26HjGXSQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:147409 Archived-At: Lars Magne Ingebrigtsen writes: > In my various guises I find myself sending out the same rote email > answer to many people. "Thanks for the patch; applied" and stuff. It > would be nice if one could just mark the region, ask Emacs to pull it > into a database of snippets, and then have a command that would insert > them again. > > Surely something like this already exists in Emacs, but I just can't > seem to find it. Probably looking for the wrong thing... Why not just use abbrev and define some nicer hotkeys? (FWIW, I never got yasnippet working with org etc but never really tried that hard either tbh).