help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Info file in emacs.gives Lisp error: (beginning-of-buffer) (end-of-b


From: Christopher Dimech
Subject: Re: Info file in emacs.gives Lisp error: (beginning-of-buffer) (end-of-buffer)
Date: Wed, 23 Dec 2020 18:35:36 +0100

I had debug-on-error.  Am now doing a cycle function for debug "on"
and "off".

Can I improve on the following?

(defvar debug-cycle-state 1)
(defun debug-cycle ()
   (interactive)

   (pcase typh-frame-size-state
     (1 (setq debug-on-error nil)
        (setq typh-frame-size-state 2))
     (2 (setq debug-on-error t)
        (setq debug-ignored-errors nil)
        (setq debug-on-message "unescaped character literals")
        (setq typh-frame-size-state 1)) ))

(global-set-key (kbd "H-g") #'debug-cycle)




> Sent: Wednesday, December 23, 2020 at 10:48 PM
> From: "Daniel Martín" <mardani29@yahoo.es>
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> Subject: Re: Info file in emacs.gives Lisp error: (beginning-of-buffer) 
> (end-of-buffer)
>
> Christopher Dimech <dimech@gmx.com> writes:
> 
> > I am displaying an info file in emacs.  But when I use the arrow keys to 
> > move up and down
> > the document I get
> >
> > Debugger entered--Lisp error: (beginning-of-buffer)
> >   signal(beginning-of-buffer nil)
> >   previous-line(1 1)
> >   funcall-interactively(previous-line 1 1)
> >   call-interactively(previous-line nil nil)
> >   command-execute(previous-line)
> >
> >
> > Debugger entered--Lisp error: (end-of-buffer)
> >   signal(end-of-buffer nil)
> >   next-line(1 1)
> >   funcall-interactively(next-line 1 1)
> >   call-interactively(next-line nil nil)
> >   command-execute(next-line)
> 
> I can't reproduce this problem.  Could you give some more detailed steps
> to reproduce it?  How much content does the Info file have?  Can you
> reproduce the problem from "emacs -Q"? Thanks.
>



reply via email to

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