From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.bugs Subject: bug#8415: 23.3.50; Extensible Emacs Registers Date: Sun, 03 Apr 2011 10:21:45 -0700 Message-ID: <4D98ACA9.6040207@gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig91C229ED1D035B1BA341F571" X-Trace: dough.gmane.org 1301852249 30750 80.91.229.12 (3 Apr 2011 17:37:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 3 Apr 2011 17:37:29 +0000 (UTC) Cc: Davis Herring , 8415@debbugs.gnu.org To: Leo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 03 19:37:25 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q6REo-0006G5-WE for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Apr 2011 19:37:23 +0200 Original-Received: from localhost ([127.0.0.1]:39974 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6REo-0008RE-Ji for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Apr 2011 13:37:22 -0400 Original-Received: from [140.186.70.92] (port=36263 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6REj-0008R8-Al for bug-gnu-emacs@gnu.org; Sun, 03 Apr 2011 13:37:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q6REi-000309-9A for bug-gnu-emacs@gnu.org; Sun, 03 Apr 2011 13:37:17 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44504) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q6REi-000302-6p for bug-gnu-emacs@gnu.org; Sun, 03 Apr 2011 13:37:16 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Q6R0w-0006F8-Ij; Sun, 03 Apr 2011 13:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Colascione Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Apr 2011 17:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8415 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 8415-submit@debbugs.gnu.org id=B8415.130185132623931 (code B ref 8415); Sun, 03 Apr 2011 17:23:02 +0000 Original-Received: (at 8415) by debbugs.gnu.org; 3 Apr 2011 17:22:06 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q6R01-0006Dw-H2 for submit@debbugs.gnu.org; Sun, 03 Apr 2011 13:22:05 -0400 Original-Received: from mail-px0-f170.google.com ([209.85.212.170]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q6Qzv-0006DO-D0 for 8415@debbugs.gnu.org; Sun, 03 Apr 2011 13:22:04 -0400 Original-Received: by pxi19 with SMTP id 19so2245953pxi.29 for <8415@debbugs.gnu.org>; Sun, 03 Apr 2011 10:21:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:x-enigmail-version:content-type; bh=qtTlE2eBIm9RPbHqbGCIk+/e6eOtGBlYgFBu5RvsKxY=; b=kr8swc0s2BQYYmVrjHjV5Gjp+aBDHBb3rySNqRXemgKls7Samv0Sr6gI6gF54S0BHS iv7p+vrmnv2ZyiNifZKm3/J6oJmalWQWA095IcN17fv9fY9imQqgzy3nSgboE6+N6g2v rTvfxYeUCihIwkeErSMXJgxzNrPd71ycQVkYM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type; b=whfmxKvfTXZhDPwO+Qj+OB2aruAXW2ZTTMI3QX7zUR8zrJNTxSuNc7D5WI6VQbLeDL hhN06jeEszKehgEVzFS6pHZbmA8qda2xYxutOZNG32VVbGHyISjx5YaG4poXtBHXpA4k hp5yvQWQHPtP8dbs6scf8G1HqAKVZ6w0iDzVA= Original-Received: by 10.143.21.31 with SMTP id y31mr5531607wfi.377.1301851313342; Sun, 03 Apr 2011 10:21:53 -0700 (PDT) Original-Received: from [192.168.1.2] (c-67-183-23-114.hsd1.wa.comcast.net [67.183.23.114]) by mx.google.com with ESMTPS id n4sm6315432wfl.14.2011.04.03.10.21.51 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 03 Apr 2011 10:21:52 -0700 (PDT) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 In-Reply-To: X-Enigmail-Version: 1.1.1 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 03 Apr 2011 13:23:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:45589 Archived-At: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig91C229ED1D035B1BA341F571 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Leo, On 4/3/11 5:29 AM, Leo wrote: > I would like to propose the following patch that makes the register > system easier to hook into. With this change, for example, if one wants= > to make a command to save a keyboard macro to a register. There is no > need to change register.el. 3rd party libraries such as undo-tree.el ca= n > add registers of undo state that one can jump to with C-x r j. >=20 > With this change, register is now a compound data structure. I have als= o > removed one inconsistent use of the argument REGISTER. In the new code > it always refers to the register object and never the name. Thanks for doing this work. Why is window configuration special-cased instead of going through the function hooking mechanism? "Any customized data" might be parsed as referring to the customize mechanism; "any value" would suffice. increment and append don't have extension points. It'd be reasonable for a non-text register type to support these operations in some sense. Other than that, it good okay to me. Thanks, Daniel Colascione --------------enig91C229ED1D035B1BA341F571 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) iEYEARECAAYFAk2YrK4ACgkQ17c2LVA10VvWygCgukfUR6g43LZivn+vQOKiQ0GB /lkAoLFHyqDfY47szmy5SiPp6Cnzr7SY =KX0H -----END PGP SIGNATURE----- --------------enig91C229ED1D035B1BA341F571--