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

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

Re: Segmentation violation in display_string


From: Kim F. Storm
Subject: Re: Segmentation violation in display_string
Date: Mon, 30 May 2005 16:10:24 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Milan Zamazal <address@hidden> writes:

> I'm able to reproduce the bug now on my Debian GNU/Linux i386 system.


Which version of CVS emacs do you use?

The following function doesn't work with the latest CVS emacs.

(defun speechd-speak-read-mode-line ()
  "Read mode line.
This function works only in Emacs 21.4 or higher."
  (interactive)
  (when (fboundp 'format-mode-line)
    (speechd-speak--interactive
     (speechd-speak--text (format-mode-line)))))


You need to explicitly give the mode-line-format as arg to
format-mode-line, i.e.

     (speechd-speak--text (format-mode-line mode-line-format)))))

To eliminate text properties in the return value, use this call:

     (speechd-speak--text (format-mode-line mode-line-format 0)))))

It's been like that since this change:

2005-01-06  Nick Roberts  <address@hidden>

        * xdisp.c (Fformat_mode_line): First arg now required.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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