From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.bugs Subject: bug#9782: 24.0.90; move-to-window-line not taking header line into account Date: Tue, 18 Oct 2011 14:03:13 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1318939469 16888 80.91.229.12 (18 Oct 2011 12:04:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 18 Oct 2011 12:04:29 +0000 (UTC) To: 9782@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 18 14:04:23 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RG8P7-0007Wh-KE for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Oct 2011 14:04:21 +0200 Original-Received: from localhost ([::1]:38152 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RG8P6-0007TC-TJ for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Oct 2011 08:04:20 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:59274) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RG8P0-0007Sp-EU for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2011 08:04:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RG8Os-0005oy-9i for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2011 08:04:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RG8Or-0005on-Su for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2011 08:04:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RG8Pm-0003Rx-DJ for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2011 08:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Engster Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Oct 2011 12:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9782 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.131893948813235 (code B ref -1); Tue, 18 Oct 2011 12:05:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Oct 2011 12:04:48 +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 1RG8PX-0003RP-FZ for submit@debbugs.gnu.org; Tue, 18 Oct 2011 08:04:47 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RG8PT-0003RB-W1 for submit@debbugs.gnu.org; Tue, 18 Oct 2011 08:04:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RG8OO-0005fg-Ha for submit@debbugs.gnu.org; Tue, 18 Oct 2011 08:03:41 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:53913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RG8OO-0005fS-BH for submit@debbugs.gnu.org; Tue, 18 Oct 2011 08:03:36 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RG8OI-00071A-E0 for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2011 08:03:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RG8OH-0005dh-3T for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2011 08:03:30 -0400 Original-Received: from randomsample.de ([83.169.19.17]:34501) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RG8OG-0005cL-R0 for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2011 08:03:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From; bh=PLvN+HUL41j09wcV/SKXAxPJRDBA0xaaVVtSq1/OtkE=; b=Z2mxaxPwDt/vkbO7CSv2dpi3phWNfBAr8SnQ69JpRHfWfVj+UsIEwrKRAax2lIRrrVJFiz6FQtPq4eiTmEeM1OjTV2lcC1uAvCI3JxHlqeg9oTZdWrny1YrVCvEDKulf; Original-Received: from ibookg4-c2.pc.gwdg.de ([134.76.4.219]) by randomsample.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1RG8O8-0003V9-1l for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2011 14:03:20 +0200 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 18 Oct 2011 08:05:02 -0400 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:52781 Archived-At: Recipe: * emacs -Q * Enter in scratch buffer: (move-to-window-line (cdr (posn-actual-col-row (posn-at-point)))) and enter an additional newline so this is not the last line in the buffer. * Move behind last bracket an hit C-x C-e * Cursor will move to beginning of line, as expected. * Now do M-: (setq header-line-format "") RET * Evaluate the above again. You'll see that cursor now will move to the beginning of the next line, which is wrong. This behavior occurs since rev. 106022, which fixed posn-actual-col-row when a header-line is active, but it seems move-to-window-line now has to be fixed as well. Cheers, David