Article View: gnu.emacs.bug
Article #87240Can't dump font-lock
From: Tom Tromey
Date: Wed, 05 Oct 1994 23:30
Date: Wed, 05 Oct 1994 23:30
39 lines
1781 bytes
1781 bytes
Emacs 19.26.
I tried to dump an emacs including font-lock. It failed during the
dump saying "Can't fontify on an ASCII terminal".
Appended is a patch to font-lock.el that fixes the problem. I'm not
sure if this patch is optimal or not. It is fine is faces are ever
going to be supported on ttys. (Aside: is the faces-on-ttys patch I
saw on gnu.emacs.sources going to be included in Emacs?)
Tom
---
tromey@busco.lanl.gov Member, League for Programming Freedom
Art? That's a man's name.
-- Andy Warhol
cd /home/syzygy/emacs-19.26/lisp/
diff -c /home/syzygy/emacs-19.26/lisp/font-lock.el.\~1\~ /home/syzygy/emacs-19.26/lisp/font-lock.el
*** /home/syzygy/emacs-19.26/lisp/font-lock.el.~1~ Fri Aug 5 22:45:15 1994
--- /home/syzygy/emacs-19.26/lisp/font-lock.el Wed Oct 5 17:17:07 1994
***************
*** 54,61 ****
;;; Code:
! (or window-system
! (error "Can't fontify on an ASCII terminal"))
(defvar font-lock-comment-face
'italic
--- 54,61 ----
;;; Code:
! ;;(or window-system
! ;; (error "Can't fontify on an ASCII terminal"))
(defvar font-lock-comment-face
'italic
Technical Details
Message-ID:
<9410052326.AA29421@busco.lanl.gov>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!busco.lanl.gov!tromeyShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,609cd4c77b2282b6,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1994-10-05 19:08:09 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!busco.lanl.gov!tromey From: tromey@busco.lanl.gov (Tom Tromey) Newsgroups: gnu.emacs.bug Subject: Can't dump font-lock Date: 5 Oct 1994 19:30:44 -0400 Organization: GNUs Not Usenet Lines: 40 Sender: daemon@cis.ohio-state.edu Approved: bug-gnu-emacs@prep.ai.mit.edu Distribution: gnu Message-ID: <9410052326.AA29421@busco.lanl.gov>