Tim Cross <tcross@xxxxxxxxxxx> writes:
> I've been looking into the problem with customize not providing an option to
> save changes when you activate the "state" button. As part of this, I've
> encountered another problem which also appears to be emacspeak specific.
I have not run into the problem in customize but I have gotten a similar
backtrace. I have the following code in my .emacs file:
(add-hook 'emacs-lisp-mode-hook
'(lambda ()
(make-local-hook 'after-save-hook)
(add-hook 'after-save-hook
'(lambda ()
(byte-compile-file buffer-file-name))
nil t)))
and get this backtrace:
Debugger entered--Lisp error: (args-out-of-range 155 2666)
count-lines(2666 155)
tpu-current-line()
ad-Orig-newline(nil)
newline()
display-warning(bytecomp "Args out of range: 155, 2666" :error "*Compile-Log*")
byte-compile-log-warning("Args out of range: 155, 2666" nil :error)
byte-compile-report-error((args-out-of-range 155 2666))
byte-compile-from-buffer(#<buffer *Compiler Input*> "/home/rdc/.emacs")
ad-Orig-byte-compile-file("~/.emacs" nil)
byte-compile-file("~/.emacs" nil)
call-interactively(byte-compile-file)
execute-extended-command(nil)
call-interactively(execute-extended-command)
when I try to save elisp files. I get much the same when trying to use
M-x byte-compile-file. I had not yet made an attempt to track it down.
> could anyone else who is running from the SVN version of emacspeak and running
> emacs 22 see if they can get the same results, especially if they have also
> observed the lack of a save option when trying to save changes to a custom item?
I still get the option to save the changes, but here is a backtrace
generated using your instructions.
Debugger entered--Lisp error: (args-out-of-range 32 301)
count-lines(301 32)
tpu-current-line()
ad-Orig-newline(nil)
newline()
describe-text-properties-1(454 #<buffer *Help*>)
describe-text-properties(454)
call-interactively(describe-text-properties)
execute-extended-command(nil)
call-interactively(execute-extended-command)
> If you do get the backtrace, try again, but this time, make sure the first line
> in the window is also the first line of the customize buffer. When you do this,
> you shouldn't bet a backtrace, but instead a window showing the text properties
> associated witht he state button widget.
You are correct, sir.
Versions here are:
emacspeak 26.0 revision 5060 m
GNU Emacs 22.1.50.1 (i686-pc-linux-gnu) of 2007-08-02 on t40
rdc
--
Robert D. Crawford rdc1x@xxxxxxxxxxx
Q: What is the sound of one cat napping?
A: Mu.
-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help"
If you have questions about this archive or had problems using it, please send mail to:
priestdo@xxxxxxxxxxx No Soliciting!Emacspeak List Archive | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998