From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#739: Suggested small functions to plug symmetry gaps Date: Thu, 12 Apr 2012 14:19:25 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1334254801 3504 80.91.229.3 (12 Apr 2012 18:20:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 12 Apr 2012 18:20:01 +0000 (UTC) Cc: Lars Magne Ingebrigtsen , 739@debbugs.gnu.org To: Reuben Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 12 20:20:00 2012 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 1SIOcd-0005uf-8F for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Apr 2012 20:19:55 +0200 Original-Received: from localhost ([::1]:50716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIOcc-00054U-Je for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Apr 2012 14:19:54 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIOcZ-00054E-2c for bug-gnu-emacs@gnu.org; Thu, 12 Apr 2012 14:19:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SIOcX-0001qj-Bk for bug-gnu-emacs@gnu.org; Thu, 12 Apr 2012 14:19:50 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58139) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIOcX-0001pn-86 for bug-gnu-emacs@gnu.org; Thu, 12 Apr 2012 14:19:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SIOdi-0005zo-5e for bug-gnu-emacs@gnu.org; Thu, 12 Apr 2012 14:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Apr 2012 18:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 739 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 739-submit@debbugs.gnu.org id=B739.133425484223016 (code B ref 739); Thu, 12 Apr 2012 18:21:02 +0000 Original-Received: (at 739) by debbugs.gnu.org; 12 Apr 2012 18:20:42 +0000 Original-Received: from localhost ([127.0.0.1]:54677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SIOdN-0005zA-Ty for submit@debbugs.gnu.org; Thu, 12 Apr 2012 14:20:42 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:50882) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SIOdL-0005z3-R0 for 739@debbugs.gnu.org; Thu, 12 Apr 2012 14:20:40 -0400 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q3CIJPUm027293; Thu, 12 Apr 2012 14:19:25 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 33E18B4066; Thu, 12 Apr 2012 14:19:25 -0400 (EDT) In-Reply-To: (Reuben Thomas's message of "Thu, 12 Apr 2012 17:17:40 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4190=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4190> : streams <746295> : uri <1098483> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:58913 Archived-At: >>> But, please don't define a new function/command, just put a interactive >>> property on `move-to-column' instead. >> `move-to-column' already has an interactive spec. =A0:-) > It does, but it could still be extended to prompt for a number if one > isn't given; Agreed. Patch welcome. > at the moment, as I originally noted, there is no > columnar equivalent to goto-char and goto-line. If it's not > appropriate to add this behavior to move-to-column, it could be a new > function, as I suggested; this also has the advantage that users might > reasonably infer the existence of goto-column from the other goto- > functions, and be surprised (as I was!) when they don't find it. I could maybe be persuaded to add a `goto-column' alias. As for copy-rectangle-as-kill, that sounds perfectly fine to me. [ Tho I'd much rather do it with M-x push-rectangle-mark RET ...move to other corner... M-w. E.g. by letting `mark-active' take a third possible value `rectangle'. ] Stefan