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#10170: 24.0.91; scroll-conservatively in a c-mode buffer Date: Wed, 30 Nov 2011 15:54:04 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=20cf302d49843e24ea04b2f4e8d7 X-Trace: dough.gmane.org 1322664915 14445 80.91.229.12 (30 Nov 2011 14:55:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 30 Nov 2011 14:55:15 +0000 (UTC) To: 10170@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 30 15:55:11 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 1RVlZ0-0007IK-ON for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Nov 2011 15:55:10 +0100 Original-Received: from localhost ([::1]:55713 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVlZ0-0004sW-75 for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Nov 2011 09:55:10 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:42009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVlYt-0004oK-8y for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2011 09:55:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RVlYo-0005cy-U2 for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2011 09:55:03 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45319) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVlYo-0005cp-RD for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2011 09:54:58 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RVlYs-0001ER-1n for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2011 09:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Nov 2011 14:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10170 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.13226648644676 (code B ref -1); Wed, 30 Nov 2011 14:55:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Nov 2011 14:54:24 +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 1RVlYG-0001DN-5s for submit@debbugs.gnu.org; Wed, 30 Nov 2011 09:54:24 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVlYE-0001DG-BL for submit@debbugs.gnu.org; Wed, 30 Nov 2011 09:54:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RVlY5-0005Tz-5J for submit@debbugs.gnu.org; Wed, 30 Nov 2011 09:54:18 -0500 Original-Received: from lists.gnu.org ([140.186.70.17]:35016) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVlY5-0005Tv-3i for submit@debbugs.gnu.org; Wed, 30 Nov 2011 09:54:13 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:46052) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVlY4-0004m9-5v for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2011 09:54:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RVlXy-0005Su-K0 for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2011 09:54:12 -0500 Original-Received: from mail-yw0-f41.google.com ([209.85.213.41]:43984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVlXy-0005S7-HX for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2011 09:54:06 -0500 Original-Received: by ywm14 with SMTP id 14so846459ywm.0 for ; Wed, 30 Nov 2011 06:54:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=if5vwFkpqRXeaLauSB9Fm4xEVEgCvT96/SN6eJMQ1To=; b=bcrdEt9stWMBhskWluc4u9Cu3Dbk2HUrqdnI12vpldqzzOtIsK4abUosqbA6NR79iS vt+Q1kS9iaGxgNld1HyuteFqnPqPHXfHPG23MoFtSnqv1nQRZcSEg6b+GsFAMDYeOEus wM44LA3k3t7/id+/1yBlF4pyJStufxeQYZezI= Original-Received: by 10.236.155.170 with SMTP id j30mr4079470yhk.56.1322664844993; Wed, 30 Nov 2011 06:54:04 -0800 (PST) Original-Received: by 10.236.161.201 with HTTP; Wed, 30 Nov 2011 06:54:04 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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: Wed, 30 Nov 2011 09:55:02 -0500 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:54481 Archived-At: --20cf302d49843e24ea04b2f4e8d7 Content-Type: text/plain; charset=ISO-8859-1 Recipe from "emacs -Q": 1. Eval: (setq scroll-conservatively 101) 2. Eval: (setq scroll-margin 1) 3. Eval: (custom-set-faces '(mode-line ((t (:box (:line-width 1)))))) 4. Visit the attached file (c-mode should be activated automatically). 5. Type: `C-s p' The point jumps to line "/*p1*/" but an instant later the buffer is scrolled vertically by 1 line. This last scrolling should be avoided, i.e., the buffer should be displayed in the right position without having to correct its location afterwards. In GNU Emacs 24.0.91.1 (i386-mingw-nt5.1.2600) of 2011-11-25 on DANI-PC Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.6) --cflags -fno-omit-frame-pointer' -- Dani Moncayo --20cf302d49843e24ea04b2f4e8d7 Content-Type: text/x-csrc; charset=US-ASCII; name="test.c" Content-Disposition: attachment; filename="test.c" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gvmgcxge0 LyogdGhpcyBpcyBhIHRlc3QgKi8NCg0KDQoNCg0KDQoNCg0KDQoNCg0KDQoNCg0KDQoNCg0KDQoN Cg0KDQoNCg0KDQoNCg0KDQoNCg0KDQoNCg0KDQoNCg0KDQoNCg0KDQoNCg0KDQoNCg0KDQoNCg0K DQovKnAxKi8NCg0KDQoNCg0KDQoNCg0KDQoNCg== --20cf302d49843e24ea04b2f4e8d7--