Richard Stallman | 1 Oct 2007 03:37
Picon
Picon

Re: GNU Emacs crashes with longlines-mode and outline-mode

Does this fail for you with the latest sources?

Date: Tue, 25 Sep 2007 00:17:25 +0100
From: Jason Rumney <jasonr <at> gnu.org>
MIME-Version: 1.0
To: emacs-pretest-bug <at> gnu.org
In-Reply-To: <46F6E479.3070309 <at> gnu.org>
Content-Type: text/plain; charset=ISO-8859-1
Cc: 
Subject: Re: GNU Emacs crashes with longlines-mode and outline-mode

A reduced test case below. I am still looking for what outline mode does
that triggers the crash. Setting up the invisibility spec to show
ellipses, creating an overlay at the end of the buffer and making it
invisible was not sufficient. Perhaps someone more familiar with outline
mode and/or the parts of redisplay that deal with invisibility and
ellipses might have an idea where to look?

-*- mode: text; mode: outline -*-
(put-text-property (- (point-max) 1) (point-max) 'display "X")
Evaluate the above line (C-x C-e), then hide the leaf node below (C-c C-l):

* One chapter

Some text. Some text that must be longer than one line, to test

_______________________________________________
Emacs-devel mailing list
Emacs-devel <at> gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
(Continue reading)

raman | 1 Oct 2007 04:35

23.0.50; Cannot run calculator on TTY

I can no longer run M-x calculator with emacs running on the
Linux console (outside X).
Error I get is:
ad-Orig-split-window-vertically: Window height 2 too small (after
splitting)

Here is a backtrace:
ad-Orig-split-window-vertically: Window height 2 too small (after splitting)

Debugger entered--Lisp error: (error "Window height 2 too small (after splitting)")
  split-window(nil 10)
  ad-Orig-split-window-vertically(-2)
  split-window-vertically(-2)
  ad-Orig-calculator()
  calculator()
  call-interactively(calculator)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)

In GNU Emacs 23.0.50.26 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
 of 2007-09-27 on labrador
configured using `configure  '--prefix=/usr/local' '--with-gtk' '--with-gpm' '--with-rsvg'
'--with-png' '--with-jpeg' '--with-gif''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
(Continue reading)

Zhang Wei | 1 Oct 2007 08:13
Picon

23.0.50; compile error: Symbol's function definition is void: terminal-id


--8<---------------cut here---------------start------------->8---
D:\emacs-gbk\nt>cd ../lisp

D:\emacs-gbk\lisp>make recompile EMACS=../src/oo-spd/i386/emacs
"../src/oo-spd/i386/emacs" -batch --no-init-file --no-site-file --multibyte -f b
atch-byte-compile D:/emacs-gbk/lisp/progmodes/cc-mode.el
Loading subst-jis...
Loading subst-ksc...
Loading subst-big5...
Loading subst-gb2312...
Loading subst-gbk...
Symbol's function definition is void: terminal-id
make: [D:/emacs-gbk/lisp/progmodes/cc-mode.elc] Error -1 (ignored)
"../src/oo-spd/i386/emacs" -batch --no-init-file --no-site-file --multibyte --ev
al "(batch-byte-recompile-directory 0)" D:/emacs-gbk/lisp
Symbol's function definition is void: terminal-id
make: *** [recompile] Error -1
--8<---------------cut here---------------end--------------->8---

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
c:/Emacs/etc/DEBUG for instructions.

In GNU Emacs 23.0.50.1 (i386-mingw-nt5.1.2600)
 of 2007-09-17 on BREPHOME
modified by Zhangwei <id.brep <at> gmail.com>.
Windowing system distributor `Microsoft Corp.', version 5.1.2600
(Continue reading)

martin rudalics | 1 Oct 2007 07:54
Picon
Picon

Re: 23.0.50; error when M-x menu-bar-open

 > I get the following when attempting to open the menu-bar via the keyboard:
 >
 >
 >>Debugger entered--Lisp error: (error "Attempt to delete minibuffer or sole ordinary window")
 >>  enlarge-window(-52)
 >>  fit-window-to-buffer(#<window 3 on *Completions*≥ nil)
 >>  Electric-pop-up-window("*Completions*")

Can you still reproduce this?  If so, could you please debug
`fit-window-to-buffer' to find out how it sets `delta' to -52?
martin rudalics | 1 Oct 2007 08:16
Picon
Picon

Re: 23.0.50; Cannot run calculator on TTY

> I can no longer run M-x calculator with emacs running on the
> Linux console (outside X).
> Error I get is:
> ad-Orig-split-window-vertically: Window height 2 too small (after
> splitting)
> 
> Here is a backtrace:
> ad-Orig-split-window-vertically: Window height 2 too small (after splitting)
> 
> Debugger entered--Lisp error: (error "Window height 2 too small (after splitting)")
>   split-window(nil 10)
>   ad-Orig-split-window-vertically(-2)
>   split-window-vertically(-2)
>   ad-Orig-calculator()
>   calculator()
>   call-interactively(calculator)
>   execute-extended-command(nil)
>   call-interactively(execute-extended-command)

What do the "ad-Orig-..." do?  What is the value of `window-min-height'
when they attempt to split the window?
Thien-Thi Nguyen | 1 Oct 2007 08:41
Favicon

Re: show-trailing-whitespace makes M-x zone look ugly

() "Chris Moore" <christopher.ian.moore <at> gmail.com>
() Mon, 1 Oct 2007 00:20:45 +0200

   If I enable show-trailing-whitespace and run M-x zone then the display
   looks bad.  In the mode where zone is dropping z's down the screen,
   there are horizontal stripes, because the buffer is full of trailing
   whitespace.

   A quick fix for this would probably be to locally bind
   show-trailing-whitespace to nil while zone is running.

thanks for the suggestion.  i have let-bound show-trailing-whitespace to
nil in `zone'.  perhaps this fix will be both quick and enduring.

thi
Jason Rumney | 1 Oct 2007 11:48
Picon

Re: GNU Emacs crashes with longlines-mode and outline-mode

Richard Stallman wrote:
> Does this fail for you with the latest sources?
>   

Yes. I've revised the test case below to make it clearer. The problem
seems to occur when the character at point-max is hidden by outline-mode
and has a display text property on it. There seems to be something
peculiar to the way outline-mode hides text that I have missed, as I
haven't managed to eliminate outline-mode from this by setting the
invisible property directly.

-*- mode: text; mode: outline -*-
(put-text-property (- (point-max) 1) (point-max) 'display "X")
Evaluate the above line (C-x C-e), then hide the leaf node below (C-c C-l):

* One chapter

Some text. This line must not end with a newline
T. V. Raman | 1 Oct 2007 15:17

Re: 23.0.50; Cannot run calculator on TTY


Apologies about the Ad-orig -- that's because everything has been
advised by Emacspeak.

window-min-height is 4 -- I've not changed it.

>>>>> "martin" == martin rudalics <rudalics <at> gmx.at> writes:
    >> I can no longer run M-x calculator with emacs running on
    >> the Linux console (outside X).  Error I get is:
    >> ad-Orig-split-window-vertically: Window height 2 too small
    >> (after splitting)
    >> 
    >> Here is a backtrace: ad-Orig-split-window-vertically:
    >> Window height 2 too small (after splitting)
    >> 
    >> Debugger entered--Lisp error: (error "Window height 2 too
    >> small (after splitting)") split-window(nil 10)
    >> ad-Orig-split-window-vertically(-2)
    >> split-window-vertically(-2) ad-Orig-calculator()
    >> calculator() call-interactively(calculator)
    >> execute-extended-command(nil)
    >> call-interactively(execute-extended-command)
    martin> 
    martin> What do the "ad-Orig-..." do?  What is the value of
    martin> `window-min-height' when they attempt to split the
    martin> window?

--

-- 
Best Regards,
--raman
(Continue reading)

martin rudalics | 1 Oct 2007 17:41
Picon
Picon

Re: 23.0.50; Cannot run calculator on TTY

 > Apologies about the Ad-orig -- that's because everything has been
 > advised by Emacspeak.

I understand.  The problem is that apparently

   ad-Orig-calculator()

wants to do

   split-window-vertically(-2)

which eventually has `split-window' complain.  If you bind
`window-min-height' to 2 around this the complaints should go away,
hopefully.

 > window-min-height is 4 -- I've not changed it.

Did you change it earlier?
Richard Stallman | 1 Oct 2007 19:40
Picon
Picon

Re: show-trailing-whitespace makes M-x zone look ugly

    A quick fix for this would probably be to locally bind
    show-trailing-whitespace to nil while zone is running.

Sounds good.  Would someone please do it?

Gmane