From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: "Snippet" database Date: Fri, 06 Jan 2012 21:06:52 -0600 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1325917523 5331 80.91.229.12 (7 Jan 2012 06:25:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 7 Jan 2012 06:25:23 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 07 07:25:20 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 1RjPiQ-000866-So for ged-emacs-devel@m.gmane.org; Sat, 07 Jan 2012 07:25:19 +0100 Original-Received: from localhost ([::1]:48910 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjPiQ-0006Ux-3q for ged-emacs-devel@m.gmane.org; Sat, 07 Jan 2012 01:25:18 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:33814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjPiN-0006Ur-8m for emacs-devel@gnu.org; Sat, 07 Jan 2012 01:25:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjPiJ-0001jt-UO for emacs-devel@gnu.org; Sat, 07 Jan 2012 01:25:15 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:44992) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjPiJ-0001jp-O1 for emacs-devel@gnu.org; Sat, 07 Jan 2012 01:25:11 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RjPiI-00084h-Qh for emacs-devel@gnu.org; Sat, 07 Jan 2012 07:25:10 +0100 Original-Received: from c-98-215-105-167.hsd1.il.comcast.net ([98.215.105.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Jan 2012 07:25:10 +0100 Original-Received: from jwiegley by c-98-215-105-167.hsd1.il.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Jan 2012 07:25:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 14 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-98-215-105-167.hsd1.il.comcast.net User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (darwin) Cancel-Lock: sha1:WErVitUqKQV/U9cax3E25xVklA8= 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:147434 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... I copy the region, then run yas/new-snippet (from yasnippet, bound to C-c y n). I have many e-mail templates now. John