emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Again: Point stuck with adjacent overlays and invisibility spec


From: Martin Buchmann
Subject: Again: Point stuck with adjacent overlays and invisibility spec
Date: Tue, 04 Jul 2006 14:35:09 +0200
User-agent: Thunderbird 1.5.0.4 (Macintosh/20060516)

The following bug was reported by Ralf Angeli on Tue, 21 Feb 2006 and
was solved. But now I have similar problems with a recent CVS CarbonEmacs again.

Evaluating the following form will create two adjacent overlays and
point will be stuck at the top of the buffer (at least visually; there
still is feedback, e.g. beeping, if you hold `C-n' long enough and hit
the bottom of the buffer).

(progn
  (pop-to-buffer (get-buffer-create "*foo*"))
  (insert "text\ntext\ntext\ntext\n")
  (goto-char (point-min))
  (add-to-invisibility-spec '(outline . t))
  (let ((ov (make-overlay (line-beginning-position 2)
                          (line-beginning-position 3))))
    (overlay-put ov 'display "xxx"))
  (let ((ov (make-overlay (line-beginning-position 3)
                          (line-end-position 3))))
    (overlay-put ov 'invisible 'outline)))

Such a constellation of overlays may occur if the folding feature of
AUCTeX is used in conjunction with Outline Minor mode.


In GNU Emacs 22.0.50.1 (powerpc-apple-darwin8.6.0)
 of 2006-06-28 on metallw08.timewe.uni-jena.de
X server distributor `Apple Computers', version 10.4.7
configured using `configure '--without-x' '--prefix=/usr/local' 'CFLAGS=-DUSE_ATSUI''

Important settings:
  value of $LC_ALL: de_DE.UTF-8
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  TeX-PDF-mode: t
  encoded-kbd-mode: t
  mac-print-mode: t
  recentf-mode: t
  iswitchb-mode: t
  msb-mode: t
  display-time-mode: t
  show-paren-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> <menu-bar> <Filesets>
<1 Dissertation> <6 kapitel/> <7 experimente.tex> <help-echo>
C-c C-o b <down-mouse-1> <mouse-1> C-c @ C-c <down>
<right> C-e C-x b <return> C-y <down-mouse-1> <mouse-1>
C-x C-e <help-echo> <down-mouse-1> <mouse-1> <down>
<down> <down> <left> <up> C-n C-n C-n C-n C-n C-n C-n
C-n <help-echo> <down-mouse-1> <mouse-1> <down-mouse-1>
<mouse-movement> <mouse-movement> <drag-mouse-1> <down-mouse-1>
<mouse-1> <down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1>
<help-echo> <down-mouse-1> <mouse-1> C-x k <return>
<down-mouse-1> <mouse-1> <help-echo> <down-mouse-2>
<mouse-2> <down-mouse-1> <mouse-movement> <mouse-movement>
<drag-mouse-1> M-w <down-mouse-1> <mouse-movement>
<mouse-movement> <drag-mouse-1> M-w <down-mouse-1>
<mouse-1> <menu-bar> <help-menu> <report-emacs-bug>
C-g <help-echo> <menu-bar> <help-menu> <report-ema
cs-bug>

Recent messages:
Loading /Users/Martin/Doktor/Dissertation/kapitel/auto/anhang.el (source)...done
Applying style hooks... done
Loading vc-svn...done
Loading vc...done
Loading texmathp...done
Unable to load color "BrightBlack"
Mark set
outline
Mark set
Loading emacsbug...done
Quit




reply via email to

[Prev in Thread] Current Thread [Next in Thread]