From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: jonetsu Newsgroups: gmane.emacs.help Subject: Re: Saving and recalling registers, using the same key sequence ? Date: Thu, 21 Mar 2019 10:20:10 -0400 Message-ID: <20190321102010.0ceb8c1f@mistral> References: <20190320134439.51ea2240@mistral> <87lg19qrhz.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="12290"; mail-complaints-to="usenet@blaine.gmane.org" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 21 15:20:57 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h6yYz-000343-0A for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Mar 2019 15:20:57 +0100 Original-Received: from localhost ([127.0.0.1]:38139 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6yYx-00014o-VY for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Mar 2019 10:20:56 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6yYa-00012d-Nx for help-gnu-emacs@gnu.org; Thu, 21 Mar 2019 10:20:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h6yYZ-0002Zi-KL for help-gnu-emacs@gnu.org; Thu, 21 Mar 2019 10:20:32 -0400 Original-Received: from pmta31.teksavvy.com ([76.10.157.38]:51666) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1h6yYZ-0002Ye-9P for help-gnu-emacs@gnu.org; Thu, 21 Mar 2019 10:20:31 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2FeUwBBnZNc/0Tb1BhkGgEBAQEBHwIBA?= =?us-ascii?q?QEBAwEBAQGBToEpZoFZEieEDoh7jE81AY4LEYtgOgGEOgICAQEChHQjOBIBAQM?= =?us-ascii?q?BAQEIAQMCAgJpKIVMAQQBIzMoCwgDCRECBSECAg8qHhmFAAMNCKpxgS+IAiGCC?= =?us-ascii?q?yJpJAEBAQEBAQEBi0GBP0CDdS4+hRGCPYJXA6UHCYNAj2slDIFkAYkZiGmgQiK?= =?us-ascii?q?BVnAVgyeQZyYwgQEBBgEBARUIEwUFAQGMUAEB?= X-IPAS-Result: =?us-ascii?q?A2FeUwBBnZNc/0Tb1BhkGgEBAQEBHwIBAQEBAwEBAQGBToE?= =?us-ascii?q?pZoFZEieEDoh7jE81AY4LEYtgOgGEOgICAQEChHQjOBIBAQMBAQEIAQMCAgJpK?= =?us-ascii?q?IVMAQQBIzMoCwgDCRECBSECAg8qHhmFAAMNCKpxgS+IAiGCCyJpJAEBAQEBAQE?= =?us-ascii?q?Bi0GBP0CDdS4+hRGCPYJXA6UHCYNAj2slDIFkAYkZiGmgQiKBVnAVgyeQZyYwg?= =?us-ascii?q?QEBBgEBARUIEwUFAQGMUAEB?= X-IronPort-AV: E=Sophos;i="5.60,253,1549947600"; d="scan'208";a="87758955" Original-Received: from 24-212-219-68.cable.teksavvy.com (HELO mistral) ([24.212.219.68]) by smtp.teksavvy.com with ESMTP; 21 Mar 2019 10:20:10 -0400 In-Reply-To: <87lg19qrhz.fsf@telefonica.net> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 76.10.157.38 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:119705 Archived-At: On Wed, 20 Mar 2019 20:23:52 +0100 =C3=93scar Fuentes wrote: > You can use `set-register' to set your registers programatically in > your .emacs file: >=20 > (set-register ?i "#include <>") >=20 > IMO abbrevs are a better choice for what you want. See `Abbrevs' in > the Emacs manual. >=20 > Depending on your specific needs and preferences, the Yasnippet > package can be even better. Thanks ! Much appreciated. Cheers.