From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.bugs Subject: bug#17346: 24.4.50; Why is the goal column limited to C-n and C-p ? Date: Fri, 25 Apr 2014 12:20:05 -0400 Message-ID: <874n1hbcui.fsf@maru2.md5i.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1398442890 8768 80.91.229.3 (25 Apr 2014 16:21:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Apr 2014 16:21:30 +0000 (UTC) Cc: 17346@debbugs.gnu.org To: Dani Moncayo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 25 18:21:22 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 1WdisK-0007oq-CR for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Apr 2014 18:21:20 +0200 Original-Received: from localhost ([::1]:59060 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WdisJ-0003dK-Uw for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Apr 2014 12:21:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57988) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WdisB-0003b1-SR for bug-gnu-emacs@gnu.org; Fri, 25 Apr 2014 12:21:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wdis2-00073P-OJ for bug-gnu-emacs@gnu.org; Fri, 25 Apr 2014 12:21:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50638) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wdis2-00073G-Ie for bug-gnu-emacs@gnu.org; Fri, 25 Apr 2014 12:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wdis2-0001Ys-0Q for bug-gnu-emacs@gnu.org; Fri, 25 Apr 2014 12:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Welsh Duggan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Apr 2014 16:21:01 +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.13984428115908 (code B ref 17346); Fri, 25 Apr 2014 16:21:01 +0000 Original-Received: (at 17346) by debbugs.gnu.org; 25 Apr 2014 16:20:11 +0000 Original-Received: from localhost ([127.0.0.1]:58795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WdirC-0001XC-E9 for submit@debbugs.gnu.org; Fri, 25 Apr 2014 12:20:10 -0400 Original-Received: from md5i.com ([75.151.244.229]:52416 helo=maru2.md5i.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wdir8-0001X1-8k for 17346@debbugs.gnu.org; Fri, 25 Apr 2014 12:20:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com; s=dkim; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=uG10NE/jENBMtKEYpnI9tjXtiJCUinoFBxXBz01t0M8=; b=OAB48V08QXysmuhNztvzwv817cxAFRUUQuJPIXP+TiHq97TSb6cC1FOsQyD18MyO6dUrgm/PEnGGpm0/3eVh1vYrF9CXrzZqPch4AdjWD9YaHqszsTiBAa3meDBmrrDj; Original-Received: from md5i by maru2.md5i.com with local (Exim 4.82) (envelope-from ) id 1Wdir7-0000TX-DV; Fri, 25 Apr 2014 12:20:05 -0400 In-Reply-To: (Dani Moncayo's message of "Fri, 25 Apr 2014 13:29:26 +0200") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.4.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:88300 Archived-At: Dani Moncayo writes: > I've just tried to set a goal column (with "C-x C-n") and then scroll > through some buffer (which has text indented at different columns) > using the wheel of my mouse. > > I expected that, while scrolling with the mouse, the cursor tried to > stay at the goal column I set. That would have been helpful for > spotting those lines with that level of indentation. > > But I've seen that the "goal column" feature seems to be limited only > to C-n and C-p (according to my test and the docstring of > "set-goal-column"). > > I think that it would make sense to extend this feature to other > vertical-scrolling commands like C-v, M-v, scroll-bar-toolkit-scroll > or mwheel-scroll. Try setting scroll-preserve-screen-position. (setq scroll-preserve-screen-position t) -- Michael Welsh Duggan (md5i@md5i.com)