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

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

narrowing *shell* buffer causes odd error


From: Chris Moore
Subject: narrowing *shell* buffer causes odd error
Date: Sat, 31 Mar 2007 03:12:39 +0200

I just tried to delete the contents of my *shell* buffer with C-x h C-w, 
because it was getting too big.

The buffer appeared empty, so I guessed it had worked.

Later, I tried hitting return to get a new prompt and saw:

Debugger entered--Lisp error: (args-out-of-range 15737454 15737485)
  add-text-properties(15737454 15737485 (font-lock-face 
comint-highlight-prompt))
  comint-snapshot-last-prompt()
  comint-send-input()
  call-interactively(comint-send-input)

I couldn't work out what was going on, until I spotted that it said
'Narrow' on the mode-line.

Widening the buffer allowed me to carry on working as normal.

I don't know how the buffer got narrowed - maybe I didn't type what I
thought I did, but rather than the cryptic "args out of range" error,
could it say something about how the buffer is narrowed, preventing
the mode from functioning properly?


In GNU Emacs 22.0.96.19 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
 of 2007-03-30 on trpaslik
Windowing system distributor `The X.Org Foundation', version 11.0.70101000
configured using `configure  '--with-gtk' '--prefix' '/usr/local' '--with-xpm' 
'--with-jpeg' '--with-png' '--with-gif''




reply via email to

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