From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Down arrow key skips lines when window too short Date: Tue, 12 Mar 2013 18:16:45 +0200 Message-ID: <83txogk2z6.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1363105056 26624 80.91.229.3 (12 Mar 2013 16:17:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Mar 2013 16:17:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 12 17:18:01 2013 Return-path: Envelope-to: geh-help-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 1UFRtn-0006TD-IO for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Mar 2013 17:17:59 +0100 Original-Received: from localhost ([::1]:60717 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFRtR-0002dg-43 for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Mar 2013 12:17:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFRt7-0002Pc-LA for help-gnu-emacs@gnu.org; Tue, 12 Mar 2013 12:17:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFRt5-0005EW-2A for help-gnu-emacs@gnu.org; Tue, 12 Mar 2013 12:17:17 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:59246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFRt4-0005E3-OQ for help-gnu-emacs@gnu.org; Tue, 12 Mar 2013 12:17:14 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MJK00D002IVAP00@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Tue, 12 Mar 2013 18:16:49 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MJK00BU92K0I961@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Tue, 12 Mar 2013 18:16:49 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89489 Archived-At: > Date: Mon, 11 Mar 2013 15:31:45 -0400 > From: Andrew Pennebaker > > When I use Emacs in full screen mode, the Down arrow key works just fine > for navigating down a source code buffer. But when the window gets too > short (e.g., C-x 2), then pressing Down begins to skip "paragraphs" of > code, making it hard to edit the desired line. > > This behavior occurs for the Down arrow key, `C-n`, and `M-x next-line`, as > well as for the reverse functions Up, `C-l`, and `M-x previous-line`. > > Can someone help me modify my `~/.emacs` to prevent these line skips from > happening? > > I'm using Homebrew Emacs 24.2.1 on Mac OS X 10.8.2. This might or might not be a bug. Can you try the latest Emacs 24.3, released just yesterday? If the problem persists there, come back here and describe the way of reproducing the problem starting with "emacs -Q". Maybe it's a feature, in which case there are some scroll-* variables whose customization could help you. Or maybe it's a bug that wasn't yet fixed.