From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#4096: 23.1.50; forward-char sometimes steps over overlay 'display Date: Sun, 9 Aug 2009 22:28:55 +0200 Message-ID: References: Reply-To: Lennart Borgman , 4096@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1249850852 3443 80.91.229.12 (9 Aug 2009 20:47:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Aug 2009 20:47:32 +0000 (UTC) To: 4096@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 09 22:47:26 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MaFIa-0004a6-Dp for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Aug 2009 22:47:24 +0200 Original-Received: from localhost ([127.0.0.1]:57638 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MaFIZ-0003oe-Ut for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Aug 2009 16:47:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MaFI9-0003Oo-RA for bug-gnu-emacs@gnu.org; Sun, 09 Aug 2009 16:46:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MaFI4-0003Fz-Eb for bug-gnu-emacs@gnu.org; Sun, 09 Aug 2009 16:46:56 -0400 Original-Received: from [199.232.76.173] (port=45010 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MaFI4-0003Fp-8H for bug-gnu-emacs@gnu.org; Sun, 09 Aug 2009 16:46:52 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:48693) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MaFI3-0006cA-C4 for bug-gnu-emacs@gnu.org; Sun, 09 Aug 2009 16:46:51 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n79Kkmoc014053; Sun, 9 Aug 2009 13:46:49 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n79KZ7G3012988; Sun, 9 Aug 2009 13:35:07 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Lennart Borgman Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 09 Aug 2009 20:35:07 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4096 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4096-submit@emacsbugs.donarmstrong.com id=B4096.124984974212449 (code B ref 4096); Sun, 09 Aug 2009 20:35:07 +0000 Original-Received: (at 4096) by emacsbugs.donarmstrong.com; 9 Aug 2009 20:29:02 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail-yw0-f175.google.com (mail-yw0-f175.google.com [209.85.211.175]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n79KT0dp012444 for <4096@emacsbugs.donarmstrong.com>; Sun, 9 Aug 2009 13:29:02 -0700 Original-Received: by ywh5 with SMTP id 5so3466298ywh.13 for <4096@emacsbugs.donarmstrong.com>; Sun, 09 Aug 2009 13:28:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=qyccWnK9Z966vrNHBNDmv6mRVU43ZUvylyMW9IFmIWI=; b=J0zqczy/DtHm03YfAFCQ8pqOk8tBbyaCto/YXHddBTNPXbkGikyyeTWxIZyQOjT3jM ygBTDwaJGFMDCEedbDW4Z+IhLzgCxPRaGKZlErnYvMFOsgng1cmGl/i4UbLdoxTHWmUM 5PYZAGUOmdAxgDjMfabzH+s3pBMhDHqaksBRA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=TpCMtkOHhzbeTjUqCea9CBhW7GU3UqAP6RZ+uJhdaxGmzLYGnsanBYIzs+8vS6UoqS sSjQc+PVD8k06BXEydr7Fm2thtvb2UWRJOPlLx+GtHavP9KphVG2w0zGtcMo3aici39M vQRFJKK0or0iGumZgEmxYs79ZvVd4360dLYwA= Original-Received: by 10.100.208.8 with SMTP id f8mr2693417ang.42.1249849735478; Sun, 09 Aug 2009 13:28:55 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 09 Aug 2009 16:46:56 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:30027 Archived-At: (Please merge this with 4094.) I think the problem might be in adjust_for_invis_intang or the use of it. This function checks for insertion type. This is different for the overlays I have mentioned here. One is created by outline-minor-mode and one by hs-minor-mode. One of them set insertion type for the beginning of the overlay, the other does not. In one of the cases at least forward-char works, in the other it does not. (backward-char still does not work.) However it must be a mistake to check for insertion type here. Forward char has nothing to do with that. (Note: adjust_for_invis_intang is called by set_point_both.)