unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [BUG] mode-line-process (Emacs 23)
@ 2008-02-28  2:25 Nick Roberts
  2008-02-28  6:00 ` Kenichi Handa
  0 siblings, 1 reply; 2+ messages in thread
From: Nick Roberts @ 2008-02-28  2:25 UTC (permalink / raw)
  To: emacs-devel


Set debug-on-error to t.
Create a shell buffer, M-x shell.
Try to do list-buffers (C-x C-b):

Debugger entered--Lisp error: (error "Attempt to modify read-only object")
  format-mode-line((#(":%s" 0 3 (auto-composed t))) nil nil #<buffer *shell*>)
  list-buffers-noselect(nil)
  list-buffers(nil)
  call-interactively(list-buffers nil nil)

I always thought that mode-line-process had to be a string, but it looks like
it can be a list with a string element, but evidently not a propertized one.
The same error occurs when the compilation buffer is running.  I don't know
what auto-composed means.  It doesn't appear to be described in the manual.

--
Nick                                           http://www.inet.net.nz/~nickrob




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [BUG] mode-line-process (Emacs 23)
  2008-02-28  2:25 [BUG] mode-line-process (Emacs 23) Nick Roberts
@ 2008-02-28  6:00 ` Kenichi Handa
  0 siblings, 0 replies; 2+ messages in thread
From: Kenichi Handa @ 2008-02-28  6:00 UTC (permalink / raw)
  To: Nick Roberts; +Cc: emacs-devel

In article <18374.7045.918543.857740@kahikatea.snap.net.nz>, Nick Roberts <nickrob@snap.net.nz> writes:

> Set debug-on-error to t.
> Create a shell buffer, M-x shell.
> Try to do list-buffers (C-x C-b):

> Debugger entered--Lisp error: (error "Attempt to modify read-only object")

I've just installed a change not to make composition for
string.  So the above error should not happen with the
latest code.

---
Kenichi Handa
handa@ni.aist.go.jp




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-28  6:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-28  2:25 [BUG] mode-line-process (Emacs 23) Nick Roberts
2008-02-28  6:00 ` Kenichi Handa

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).