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

Re: Customize problem



If you can run that in an emacs session without emacspeak, it'lll
help isolate the problem.

>>>>> "Robert" == Robert D Crawford <rdc1x@xxxxxxxxxxx> writes:
    Robert> 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.
    Robert> 
    Robert> I have not run into the problem in customize but I
    Robert> have gotten a similar backtrace.  I have the
    Robert> following code in my .emacs file:
    Robert> 
    Robert> (add-hook 'emacs-lisp-mode-hook '(lambda ()
    Robert> (make-local-hook 'after-save-hook) (add-hook
    Robert> 'after-save-hook '(lambda () (byte-compile-file
    Robert> buffer-file-name)) nil t)))
    Robert> 
    Robert> and get this backtrace:
    Robert> 
    Robert> Debugger entered--Lisp error: (args-out-of-range 155
    Robert> 2666) count-lines(2666 155) tpu-current-line()
    Robert> ad-Orig-newline(nil) newline()
    Robert> display-warning(bytecomp "Args out of range: 155,
    Robert> 2666" :error "*Compile-Log*")
    Robert> byte-compile-log-warning("Args out of range: 155,
    Robert> 2666" nil :error)
    Robert> byte-compile-report-error((args-out-of-range 155
    Robert> 2666)) byte-compile-from-buffer(#<buffer *Compiler
    Robert> Input*> "/home/rdc/.emacs")
    Robert> ad-Orig-byte-compile-file("~/.emacs" nil)
    Robert> byte-compile-file("~/.emacs" nil)
    Robert> call-interactively(byte-compile-file)
    Robert> execute-extended-command(nil)
    Robert> call-interactively(execute-extended-command)
    Robert> 
    Robert> when I try to save elisp files.  I get much the same
    Robert> when trying to use M-x byte-compile-file.  I had not
    Robert> yet made an attempt to track it down.
    Robert> 
    >> 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?
    Robert> 
    Robert> I still get the option to save the changes, but here
    Robert> is a backtrace generated using your instructions.
    Robert> 
    Robert> Debugger entered--Lisp error: (args-out-of-range 32
    Robert> 301) count-lines(301 32) tpu-current-line()
    Robert> ad-Orig-newline(nil) newline()
    Robert> describe-text-properties-1(454 #<buffer *Help*>)
    Robert> describe-text-properties(454)
    Robert> call-interactively(describe-text-properties)
    Robert> execute-extended-command(nil)
    Robert> call-interactively(execute-extended-command)
    Robert> 
    >> 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.
    Robert> 
    Robert> You are correct, sir.
    Robert> 
    Robert> Versions here are:
    Robert> 
    Robert> emacspeak 26.0 revision 5060 m
    Robert> 
    Robert> GNU Emacs 22.1.50.1 (i686-pc-linux-gnu) of 2007-08-02
    Robert> on t40
    Robert> 
    Robert> rdc -- Robert D. Crawford rdc1x@xxxxxxxxxxx
    Robert> 
    Robert> Q: What is the sound of one cat napping?  A: Mu.
    Robert> 
    Robert> -----------------------------------------------------------------------------
    Robert> To unsubscribe from the emacspeak list or change your
    Robert> address on the emacspeak list send mail to
    Robert> "emacspeak-request@xxxxxxxxxxx" with a subject of
    Robert> "unsubscribe" or "help"

-- 
Best Regards,
--raman

      
Email:  raman@xxxxxxxxxxx
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: tv.raman.tv@xxxxxxxxxxx
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs

-----------------------------------------------------------------------------
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

Emacspeak Files | Emacspeak Blog