[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: org-mode and mode hooks.
From: |
Luc Teirlinck |
Subject: |
Re: org-mode and mode hooks. |
Date: |
Mon, 6 Jun 2005 20:19:47 -0500 (CDT) |
Richard Stallman wrote:
To clarify, this is how comint enables Font Lock:
(defcustom comint-mode-hook '(turn-on-font-lock)
Shouldn't we remove that? Is it a desirable thing, nowadays,
for some modes to enable Font Lock on their own, instead of letting
the user do so if he wants?
Unless Miles objects, I will install the following mini-patch to comint.el:
===File ~/comint-diff=======================================
*** comint.el 26 May 2005 09:05:21 -0500 1.319
--- comint.el 06 Jun 2005 20:01:06 -0500
***************
*** 423,429 ****
(make-obsolete-variable 'comint-use-prompt-regexp-instead-of-fields
'comint-use-prompt-regexp "22.1")
! (defcustom comint-mode-hook '(turn-on-font-lock)
"Hook run upon entry to `comint-mode'.
This is run before the process is cranked up."
:type 'hook
--- 423,429 ----
(make-obsolete-variable 'comint-use-prompt-regexp-instead-of-fields
'comint-use-prompt-regexp "22.1")
! (defcustom comint-mode-hook nil
"Hook run upon entry to `comint-mode'.
This is run before the process is cranked up."
:type 'hook
============================================================
- Re: org-mode and mode hooks., (continued)
- Re: org-mode and mode hooks., Luc Teirlinck, 2005/06/07
- Re: org-mode and mode hooks., Stefan Monnier, 2005/06/07
- Re: org-mode and mode hooks., Luc Teirlinck, 2005/06/07
- Re: org-mode and mode hooks., Stefan Monnier, 2005/06/08
- Re: org-mode and mode hooks., Luc Teirlinck, 2005/06/08
- Re: org-mode and mode hooks., Richard Stallman, 2005/06/08
- Re: org-mode and mode hooks., Luc Teirlinck, 2005/06/03
- Re: org-mode and mode hooks., Carsten Dominik, 2005/06/02
Re: org-mode and mode hooks., Luc Teirlinck, 2005/06/01
Re: org-mode and mode hooks., Stefan Monnier, 2005/06/01
Re: org-mode and mode hooks.,
Luc Teirlinck <=
Re: org-mode and mode hooks., Stefan Monnier, 2005/06/07
Re: org-mode and mode hooks., Richard Stallman, 2005/06/08
Re: org-mode and mode hooks., Lute Kamstra, 2005/06/27
Re: org-mode and mode hooks., Lute Kamstra, 2005/06/27