From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.bugs Subject: bug#17346: 24.4.50; Why is the goal column limited to C-n and C-p ? Date: Thu, 9 Oct 2014 18:30:32 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1412872286 13533 80.91.229.3 (9 Oct 2014 16:31:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Oct 2014 16:31:26 +0000 (UTC) Cc: 17346@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 09 18:31:19 2014 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 1XcGcY-0001se-SW for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Oct 2014 18:31:19 +0200 Original-Received: from localhost ([::1]:43835 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcGcY-0001yL-Fp for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Oct 2014 12:31:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcGcO-0001xi-V5 for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2014 12:31:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XcGcI-0000vz-QJ for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2014 12:31:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47840) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcGcI-0000vv-NR for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2014 12:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XcGcI-0005po-3r for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2014 12:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Oct 2014 16:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17346 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17346-submit@debbugs.gnu.org id=B17346.141287224722403 (code B ref 17346); Thu, 09 Oct 2014 16:31:02 +0000 Original-Received: (at 17346) by debbugs.gnu.org; 9 Oct 2014 16:30:47 +0000 Original-Received: from localhost ([127.0.0.1]:39404 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XcGc2-0005pH-Hk for submit@debbugs.gnu.org; Thu, 09 Oct 2014 12:30:46 -0400 Original-Received: from mail-lb0-f173.google.com ([209.85.217.173]:40837) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XcGbx-0005ou-9S for 17346@debbugs.gnu.org; Thu, 09 Oct 2014 12:30:42 -0400 Original-Received: by mail-lb0-f173.google.com with SMTP id 10so1502394lbg.18 for <17346@debbugs.gnu.org>; Thu, 09 Oct 2014 09:30:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=qZq9YhRDh6ZHMJhGoMmh4AhazQI7qFVa8qZ9+DKjxzE=; b=JYax/JoJkShxBGg5GlG3ykPs/YbrucG0ortjqESu/KOSfBkP/cfTAuOn2pCxCJCDzl beynDMf2Be/WKS9Wh9BgmN8Oa9xW6rTRSA2O8WV5j1a4FCmLbDDmqqDs4fAJwq9C55xa nNFyIuqZcs/NVrji2Pm/pbdLK57B0p5GyetjgORET6vQ5PWv42PwdqVHkxWNPaEeEkFP N7tAqu7hYmVmH9lcxy7VUgafIZE+cv/dD0SfIlhE9nHRpdUPEyZxFIZ6lYmp5V0w94L4 9gOvbnoywppy2fEBheLJkOGucVLhQaoJ0W+WxQUEthSW9ovdNSwdqzih7HJUpfBtAG7G 57GQ== X-Received: by 10.112.56.198 with SMTP id c6mr19177001lbq.43.1412872232785; Thu, 09 Oct 2014 09:30:32 -0700 (PDT) Original-Received: by 10.114.63.226 with HTTP; Thu, 9 Oct 2014 09:30:32 -0700 (PDT) In-Reply-To: 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:94342 >> I think it would be fine to make C-l preserve `temporary-goal-column'. >> Currently, only next-line and previous-line do that, and this is >> hardcoded in `line-move' and `line-move-visual'. >> >> We could change that hardcoded list by replacing it with a symbol >> property `preserve-temporary-goal-column' and then add that property to >> recenter-top-bottom. > > Sounds right to me. > > Note also that, as I said before in this thread, any command intended > for _vertical_ motion of the cursor (scroll-up-command, > scroll-down-command, scroll-bar-toolkit-scroll, mwheel-scroll, ...) > should try to preserve the goal column (whether semi-permanet or > temporary). Therefore, `preserve-goal-column' would be a better name for the property, since it would refer to both types of goal columns. -- Dani Moncayo