emacs-pretest-bug
[Top][All Lists]
Advanced

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

cannot activate font-lock-mode


From: Francesco Potorti`
Subject: cannot activate font-lock-mode
Date: Fri, 20 Apr 2007 08:35:03 +0200

I have a ~/.procmailrc file that has these lines at the end:

# Local Variables:
# mode: indented-text
# fill-column: 95
# mode: font-lock
# font-lock-keywords: ("^\\s-*:0" "##+")
# End:

Now, when desktop.el loads it, it asks if I want to apply the
font-lock-keywords customisation, because it is risky (is it?).  I
answer y, but I get the message:
 Toggling font-lock-mode off; better pass an explicit argument.
and font lock is apparently inactive, as I see no colours.  If I toggle
it, it says
 Font-Lock mode disabled
I then again do M-x font-lock-mode RET, and it says
 Font-Lock mode enabled
but I still see no colours.

I append at the end the contents of my custm.el customisations.

================

In GNU Emacs 22.0.96.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.8.20)
 of 2007-04-02 on tucano.isti.cnr.it
configured using `configure  '--with-gtk''

Important settings:
  value of $LC_ALL: C
  value of $LC_COLLATE: address@hidden
  value of $LC_CTYPE: address@hidden
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: C
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Text

Minor modes in effect:
  display-time-mode: t
  shell-dirtrack-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t

Recent input:
O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A 
ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC 
O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A 
ESC [ 5 ~ ESC [ 5 ~ ESC [ 5 ~ ESC [ 5 ~ ESC O B ESC 
O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B 
ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC 
O B ESC O B ESC O B ESC [ 6 ~ ESC [ 6 ~ ESC [ 6 ~ ESC 
[ 6 ~ ESC [ 6 ~ C-x k RET C-x k RET C-x k RET ESC x 
f o n t TAB m o TAB RET ESC x ESC O A RET ESC [ 6 ~ 
ESC [ 6 ~ ESC [ 5 ~ ESC [ 5 ~ ESC o ESC o ESC [ 6 ~ 
ESC [ 5 ~ ESC 1 ESC x ESC O A RET ESC [ 6 ~ ESC [ 5 
~ ESC > C-@ ESC O A ESC O A ESC O A ESC O A ESC O A 
ESC O A ESC O A ESC w ESC x e m a c s SPC b u TAB TAB 
TAB DEL TAB DEL ESC DEL b u g TAB TAB ESC DEL C-g C-h 
a b u g RET C-x 0 ESC [ 6 ~ ESC [ 6 ~ C-c b ESC x r 
e p o r t SPC e m a TAB RET

Recent messages:
View mode: type C-h for help, h for commands, q to quit.
Mark saved where search started
Mark set [2 times]
Font-Lock mode disabled
Font-Lock mode enabled [2 times]
Mark set [2 times]
Quit
Loading apropos...done
Type C-x 1 to remove help window.  
Loading emacsbug...done

===File ~/.emacs.d/custom.el================================
(custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(canlock-password "76b652aa792d2c570b6628f4fa885abd301f4ba7")
 '(openwith-associations (quote (("\\.\\(pdf\\|e?ps\\)\\'" "evince" (file)) 
("\\.mp3\\'" "xmms" (file)) ("\\.\\(?:mpe?g\\|avi\\|wmv\\)\\'" "mplayer" 
("-idx" file)) ("\\.\\(?:jpe?g\\|png\\)\\'" "display" (file)) 
("\\.\\(doc\\|rtf\\|ppt\\|od[ptg]\\)\\'" "ooffice" (file)) ("\\.xls\\'" 
"gnumeric" (file)))))
 '(openwith-confirm-invocation t)
 '(safe-local-variable-values (quote ((unibyte . t) (backup-by-copying . t) 
(auto-save-interval . 0) (auto-save-timeout . 0) (c-font-lock-extra-types 
"FILE" "bool" "language" "linebuffer" "fdesc" "node" "regexp") (c-file-style . 
gnu)))))
(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 )
============================================================




reply via email to

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