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#11133: 24.0.94; Cursor gets "stuck" on an indented line with wrapped overlay Date: Fri, 30 Mar 2012 16:47:05 +0200 Message-ID: <5871DE9D-63E6-40A5-9D1D-6D07F4AA2343@gmail.com> NNTP-Posting-Host: plane.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 1333118927 19879 80.91.229.3 (30 Mar 2012 14:48:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 30 Mar 2012 14:48:47 +0000 (UTC) To: 11133@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 30 16:48:45 2012 Return-path: Envelope-to: geb-bug-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 1SDd89-0002yN-3w for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Mar 2012 16:48:45 +0200 Original-Received: from localhost ([::1]:38671 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDd88-0003Hi-Ik for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Mar 2012 10:48:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDd82-0003AM-AJ for bug-gnu-emacs@gnu.org; Fri, 30 Mar 2012 10:48:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SDd7u-000442-EL for bug-gnu-emacs@gnu.org; Fri, 30 Mar 2012 10:48:37 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40338) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDd7u-00043v-82 for bug-gnu-emacs@gnu.org; Fri, 30 Mar 2012 10:48:30 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SDdcQ-0004bd-Ib for bug-gnu-emacs@gnu.org; Fri, 30 Mar 2012 11:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ivan Andrus Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Mar 2012 15:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11133 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.133312080017691 (code B ref -1); Fri, 30 Mar 2012 15:20:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Mar 2012 15:20:00 +0000 Original-Received: from localhost ([127.0.0.1]:47170 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SDdcO-0004bG-2S for submit@debbugs.gnu.org; Fri, 30 Mar 2012 11:20:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45392) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SDdcL-0004b9-6p for submit@debbugs.gnu.org; Fri, 30 Mar 2012 11:19:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SDd7h-00042P-Rs for submit@debbugs.gnu.org; Fri, 30 Mar 2012 10:48:23 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:34170) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDd7h-00042K-M5 for submit@debbugs.gnu.org; Fri, 30 Mar 2012 10:48:17 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50888) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDd7a-00033I-V2 for bug-gnu-emacs@gnu.org; Fri, 30 Mar 2012 10:48:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SDd7T-000415-OF for bug-gnu-emacs@gnu.org; Fri, 30 Mar 2012 10:48:10 -0400 Original-Received: from mail-bk0-f41.google.com ([209.85.214.41]:52925) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDd7T-00040v-BJ for bug-gnu-emacs@gnu.org; Fri, 30 Mar 2012 10:48:03 -0400 Original-Received: by bkwq16 with SMTP id q16so722268bkw.0 for ; Fri, 30 Mar 2012 07:48:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=hJRKyr+V7KspmnwPlGOkoIB6zlr0LoyvRoljMZGankc=; b=UZVHTHbl8v59lMw9/T7kXdnUGESwO2k3z52Xvffe+bqpYg61SRoilL395YMzyBfvSH H8YOa2sS3oyDxaTzPEJmsjseIAX5EC2m9aYs8VrT5WipHArYvPAYnb7pjW08mMIsC/RZ yFLor7GncRdvQbQws7zuCWX2sS5Ti0cYdoSPy06rPfuS8FL1f76sxtRFceezY+k4Ukif Y/5LNEIcov8KYU1pSMgs30M0zho8yO314Gg2hVgUl0D2O3YRDtYxn4CAlgWxEZTrRSLL KOkjj8gcm2xMC9V89315t9hGnoJmOg5XB0w2lUrY8PEc/rbWTbefmdmwDUXypbrRbOqV y4lg== Original-Received: by 10.204.150.73 with SMTP id x9mr1076161bkv.7.1333118880225; Fri, 30 Mar 2012 07:48:00 -0700 (PDT) Original-Received: from [172.16.54.102] ([193.225.200.92]) by mx.google.com with ESMTPS id r8sm1554348bki.2.2012.03.30.07.47.08 (version=SSLv3 cipher=OTHER); Fri, 30 Mar 2012 07:47:59 -0700 (PDT) X-Mailer: Apple Mail (2.1084) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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.13 Precedence: list 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:58341 Archived-At: Put the following (including comments) in a buffer and evaluate. #+begin_src emacs-lisp ;; Note that the next line is indented ;; This buffer is for notes you don't want to save, and for Lisp = evaluation.;; If you want to create a file, visit that file with C-x = C-f,;; then enter the text in that file's own buffer. ;; evaluate this (let ((ov (make-overlay (progn (goto-char (point-min)) (forward-line) (back-to-indentation) (point)) (progn (end-of-line) (point)) nil t nil))) (overlay-put ov 'display (make-string 500 ?b))) #+end_src Now run `previous-line' several times and it will get stuck at the indentation of the bbbbb line. If you have an extremely wide screen you may need to shrink the emacs window so that the bbbb line wraps. Also note that running `previous-line' with a large prefix-argument will move past the line, and once it is stuck, running with a prefix-argument = of 2 or greater will allow you to move past. FWIW, I ran into this while writing a LaTeX file with preview-mode and a large equation that wrapped on my screen. This does not seem to be a problem in Emacs 22.1.1 in a terminal which is the only other emacs I have easy access to. Thanks, Ivan In GNU Emacs 24.0.94.10 (i386-apple-darwin10.8.0, NS = apple-appkit-1038.36) of 2012-03-30 on oroszlan.local Windowing system distributor `Apple', version 10.3.1038 Configured using: `configure '--with-ns' '-C'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: UTF-8 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: f i x SPC - a r g u m e n t SPC o f SPC=20 2 SPC o r SPC g r e a t e r SPC w i l l SPC a l l o=20 w y SPC SPC y o u SPC t o SPC m o v e SPC=20 p a s t =20 C-e . C-x C-e =20 =20 X E =20 C-x C-e =20 =20 =20 =20 C-3 =20 C-3 =20 C-2 =20 C-e C-2 =20 C-e C-2 =20 C-2 =20 C-w=20 . C-k , SPC e v e n=20 ( =20 =20 C-x C-e C-2=20 C-2 C-3=20 C-3 C-5 =20 =20 =20 =20 SPC l a r e g g e =20 C-k , SPC a n d C-l M-l=20 , C-e C-x C-s=20 M-x r e p o r Recent messages: byte-code: End of buffer Undo! [3 times] Auto-saving...done byte-code: Beginning of buffer [4 times] = "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb= bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb= bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb= bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb= bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb= bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb= bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb" [2 times] byte-code: End of buffer [6 times] Auto-saving...done = "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb= bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb= bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb= bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb= bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb= bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb= bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb" Saving file /Users/gvol/vcs/emacs/preview-picture-bug.el... Wrote /Users/gvol/vcs/emacs/preview-picture-bug.el Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr filecache emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils vc-hg time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs)