Article View: gnu.emacs.bug
Article #98577lisp-indent-line in emacs-lisp mode
From: David S. Browning
Date: Sun, 28 Apr 1991 05:09
Date: Sun, 28 Apr 1991 05:09
73 lines
3347 bytes
3347 bytes
Briefly, C-j and TAB don't work correctly for me when editing a
emacs-lisp file. This is on an SGI Iris, running Irix 3.3.2.
For debugging purposes, I'll execute "emacs -q", then try to edit a
NEW .emacs file. I've provided the *Backtrace* buffer, but it's
mostly byte-codes. If necessary, I'll try to recreate it using
the uncompiled lisp-mode.el, but it's a little extra work since I
don't have ownership of the emacs files. Thanks, and good luck. If
I've left out any necessary information, let me know.
-- David
|============================================================================|
| Internet: browning@nas.nasa.gov Phone: (415) 604-4321 |
| UUCP: {hplabs, mailrus, ucbvax, etc.}!ames!amelia!browning |
|----------------------------------------------------------------------------|
|"the nice thing about true hopelessness is that you don't have to try again"|
| -- jules shear |
|============================================================================|
Here's the run down:
After typing
(open-dribble-file "~/dribble")C-j
in the *scratch* buffer I typed the following, represented here by
~/dribble:
-------------------- ~/dribble: --------------------
(setq debug-on-error t)
(emacs-version)
.emacs
-------------------- end of ~/dribble --------------
(I typed a C-j at the end of the last line, which generated the error.)
Here are the contents of the buffers:
------------------- begin *scratch* ----------------
(open-dribble-file "~/dribble")
nil
(setq debug-on-error t)
t
(emacs-version)
"GNU Emacs 18.55.9 of Wed Oct 3 1990 on wk202 (irix)"
------------------- end *scratch* --------------------
------------------- begin .emacs -- (note: Mode = emacs-lisp)
(setq text-mode-hook '(lambda ()
------------------- end .emacs -----------------------
------------------- begin *Backtrace* ----------------
Signalling: (invalid-function 5)
5()
byte-code(" G
fi::lisp-find-char(58 "lambda" t)
byte-code("GH\nC#GH\n\" I
fi::lisp-get-method("lambda")
byte-code("iB
fi:lisp-indent-hook(34 (2 23 31 nil nil nil 0))
funcall(fi:lisp-indent-hook 34 (2 23 31 nil nil nil 0))
byte-code("
fi::calculate-lisp-indent()
byte-code("EI EEEd`ZJ ` KL!MN!$
fi:lisp-indent-line()
funcall(fi:lisp-indent-line)
byte-code("AB!" [indent-line-function nil funcall] 2)
indent-according-to-mode()
byte-code("@A`BC!`\"DcE " [nil delete-region skip-chars-backward " " 10 indent-according-to-mode] 4)
newline-and-indent()
call-interactively(newline-and-indent)
--------------------- end *Backtrace* ---------------------
Technical Details
Message-ID:
<9104280509.AA22333@ew10.nas.nasa.gov>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!unreplyable!garbageShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,1cc495991bbbca9d,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1991-04-27 22:09:50 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!unreplyable!garbage From: browning@EW10.NAS.NASA.GOV (David S. Browning) Newsgroups: gnu.emacs.bug Subject: lisp-indent-line in emacs-lisp mode Message-ID: <9104280509.AA22333@ew10.nas.nasa.gov> Date: 28 Apr 91 05:09:50 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 73 Approved: bug-gnu-emacs@prep.ai.mit.edu