From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.bugs Subject: bug#15234: 24.3.50; Make C-x u repeatable Date: Sun, 01 Sep 2013 22:15:27 +0530 Message-ID: <87a9jwbie0.fsf@gmail.com> References: <87k3j0bull.fsf@gmail.com> <43f0049b-2988-41e6-be88-709563ccee98@default> <877gf0bj7l.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1378053861 872 80.91.229.3 (1 Sep 2013 16:44:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Sep 2013 16:44:21 +0000 (UTC) Cc: 15234@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 01 18:44:21 2013 Return-path: Envelope-to: geb-bug-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 1VGAlA-00073P-N2 for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Sep 2013 18:44:20 +0200 Original-Received: from localhost ([::1]:34759 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGAlA-0004s7-CO for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Sep 2013 12:44:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGAl1-0004qL-OX for bug-gnu-emacs@gnu.org; Sun, 01 Sep 2013 12:44:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VGAkt-00075U-78 for bug-gnu-emacs@gnu.org; Sun, 01 Sep 2013 12:44:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54938) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGAkt-00075Q-3D for bug-gnu-emacs@gnu.org; Sun, 01 Sep 2013 12:44:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VGAks-0005GX-4J for bug-gnu-emacs@gnu.org; Sun, 01 Sep 2013 12:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jambunathan K Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Sep 2013 16:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15234 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15234-submit@debbugs.gnu.org id=B15234.137805381120189 (code B ref 15234); Sun, 01 Sep 2013 16:44:01 +0000 Original-Received: (at 15234) by debbugs.gnu.org; 1 Sep 2013 16:43:31 +0000 Original-Received: from localhost ([127.0.0.1]:34996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VGAkM-0005FZ-Gw for submit@debbugs.gnu.org; Sun, 01 Sep 2013 12:43:30 -0400 Original-Received: from mail-pa0-f50.google.com ([209.85.220.50]:44453) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VGAkI-0005FI-0y for 15234@debbugs.gnu.org; Sun, 01 Sep 2013 12:43:27 -0400 Original-Received: by mail-pa0-f50.google.com with SMTP id fb10so4287169pad.9 for <15234@debbugs.gnu.org>; Sun, 01 Sep 2013 09:43:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=srhHz1y6+Zjp6BtssndlaD1bSaWE5K0dO7MBoi+zw04=; b=AS+C0+FvzrxGIlB651jWTHv/aWF5U0S5mB4guyyhrDmBHUJvYFNtascl4FWVLuXFo2 U3mjgCipuNkpkMIC/HtT7qd5rZBJEiWnmfHZv5qJ7Q3dCBo5srROQNNwoMVL7eZySDsQ 4fqtA16rcX2/6FM8LEbnyNoGsZwdnkEfHH0tAo0VDv7Mm0/IIJA/sn7ZPrk8xiXxpoF/ +gi5cxOG1egmQZ27IL5hY7NZW0iGVV27SWBXqMnye3iD4r0JXq1rcJqq23tFH+Dfdxkn Z4J3Rza6C/NvcaBqZxkNTZVCT6emFKYptIpeWTFUfn5fJUkOTp6dlQPYtaUdh7qzaBa9 iOIw== X-Received: by 10.66.189.98 with SMTP id gh2mr22187984pac.60.1378053799691; Sun, 01 Sep 2013 09:43:19 -0700 (PDT) Original-Received: from porunai ([115.241.49.173]) by mx.google.com with ESMTPSA id xe9sm10600406pbc.21.1969.12.31.16.00.00 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Sun, 01 Sep 2013 09:43:19 -0700 (PDT) In-Reply-To: <877gf0bj7l.fsf@mail.jurta.org> (Juri Linkov's message of "Sun, 01 Sep 2013 19:27:42 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:77863 Archived-At: Juri Linkov writes: > You can make any command repeatable more easily with: > > (advice-add 'undo :after Thanks. I need to catch up with new advice functions. ---------------------------------------------------------------- Emacs Lisp is quite scary. I don't mind customizing my Emacs but I want an interface that is simple. (mapc (put 'undo 'repeat t) (list 'undo 'command-1 'command-2 'command-3)) May be a post-command hook that checks the 'repeat property and does it's temporary overlay magic. To top it all have a defcustom where I can add the list of commands. ---------------------------------------------------------------- So the point really not that it be doable but that it be readily (made) available (in a way that the user can relate) with no second thought.