From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Andrus Newsgroups: gmane.emacs.bugs Subject: bug#9324: 24.0.50; Movement past end of screen causes weird jump Date: Fri, 19 Aug 2011 18:19:47 +0200 Message-ID: <0FDD993E-173A-482A-937B-8DE5E330D4F4@gmail.com> References: <00373C62-5B35-44BB-8770-CC91E8161366@gmail.com> <87bovm5ssx.fsf@gmail.com> <8362ltst7w.fsf@gnu.org> <04093F70-5A0B-4123-8C18-38FAAD2A6DEC@gmail.com> <831uwhsmx7.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1313770926 26276 80.91.229.12 (19 Aug 2011 16:22:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 19 Aug 2011 16:22:06 +0000 (UTC) Cc: 9324@debbugs.gnu.org, antoine.levitt@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 19 18:22:02 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 1QuRpZ-0000Yj-5f for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Aug 2011 18:22:01 +0200 Original-Received: from localhost ([::1]:48934 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuRpY-0005aA-N1 for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Aug 2011 12:22:00 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:36769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuRpV-0005a5-T5 for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2011 12:21:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QuRpU-0006Yw-TR for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2011 12:21:57 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34580) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuRpU-0006Yr-Qd for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2011 12:21:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QuRrW-0000zK-1v; Fri, 19 Aug 2011 12:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ivan Andrus Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Aug 2011 16:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9324 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9324-submit@debbugs.gnu.org id=B9324.13137709953742 (code B ref 9324); Fri, 19 Aug 2011 16:24:01 +0000 Original-Received: (at 9324) by debbugs.gnu.org; 19 Aug 2011 16:23:15 +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 1QuRql-0000yJ-5v for submit@debbugs.gnu.org; Fri, 19 Aug 2011 12:23:15 -0400 Original-Received: from mail-fx0-f44.google.com ([209.85.161.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QuRqi-0000yB-Sv for 9324@debbugs.gnu.org; Fri, 19 Aug 2011 12:23:14 -0400 Original-Received: by fxe6 with SMTP id 6so2071776fxe.3 for <9324@debbugs.gnu.org>; Fri, 19 Aug 2011 09:21:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=yqi6AIv4n+acaE+AHG99b126+fZk827hqUvs5lG3gbY=; b=QknCGJhNKQo92fqCNEFX44X9rGwr6Xe7re9GEfNP0QJR8TDyjK10tYk2q4AIVv3ZbO K1DepWG7xlOdI/n+qsbGn6f/HOZbUPT3xIXhckylNQPSC9rH2/thipD42ix2UJKAOiXE Rqesw/ir7uD8mV6hmzgdpNMoM0iC8DESjycHA= Original-Received: by 10.223.98.130 with SMTP id q2mr3090169fan.137.1313770789337; Fri, 19 Aug 2011 09:19:49 -0700 (PDT) Original-Received: from [10.0.2.16] (catv-80-99-177-48.catv.broadband.hu [80.99.177.48]) by mx.google.com with ESMTPS id l22sm2683917fam.37.2011.08.19.09.19.47 (version=SSLv3 cipher=OTHER); Fri, 19 Aug 2011 09:19:48 -0700 (PDT) In-Reply-To: <831uwhsmx7.fsf@gnu.org> X-Mailer: Apple Mail (2.1084) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 19 Aug 2011 12:24:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) 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:50157 Archived-At: On Aug 19, 2011, at 12:41 PM, Eli Zaretskii wrote: >> From: Ivan Andrus >> Date: Fri, 19 Aug 2011 12:02:58 +0200 >> Cc: Antoine Levitt , >> 9324@debbugs.gnu.org >>=20 >> I just noticed something. I use `hl-sexp-mode' from = http://edward.oconnor.cx/elisp/hl-sexp.el to highlight the current sexp = that I am in (or touching if at the top level). This means when point = is right after a top level sexp that sexp is highlighted. Immediately = after running the forward-sexp the defadvice sexp is highlighted. >=20 > Didn't you say that all this happens in "emacs -Q"? Then how come > hl-sexp happens to be loaded? Sorry for the confusion. Of course this doesn't happen with emacs -Q, = only when running it with my .emacs. I just thought it might be = helpful. >> Of course, any sort of movement changes the highlighting, but it = seems to indicate that: >>=20 >> 1. it moves point correctly >> 2. realizes that it has to recenter >> 3. recenters the cursor but not the buffer display. >=20 > With your original recipe, and without loading hl-sexp in any way, > what does "C-x =3D" say about point, after running forward-sexp? Ah. Well today starting from emacs -Q I can't reproduce it. However, = if I load my .emacs I still can't reproduce it in that same emacs. One = difference that I notice today is that after running the progn I can = read the top line namely "208. ..." instead of only the continuation of = that line. I swear it worked yesterday, that is that I saw the bug in = emacs -Q. In case you are interested in what happens in my contaminated emacs, if = I run C-x =3D after (forward-sexp) then it says a left parenthesis, but = if I use `(progn (forward-sexp)(what-cursor-position))` then it says the = next character is C-j. Furthermore, changing it to (prog2 = (forward-sexp) (what-cursor-position) (redisplay)) causes it to work = properly (i.e. no bug). I guess I'm probably on my own on this one, since even I can't reproduce = it reliably in emacs -Q, so what functions that I should start = debugging? Thanks, Ivan=