Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: font-lock, or: When is "require" required?
       [not found]   ` <ut5k70g7qoy.fsf@havengel.ii.uib.no>
@ 2004-04-16 17:32     ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2004-04-16 17:32 UTC (permalink / raw)


> | > Please read the INSTALL.CVS file.  Including the last 2 lines.
> |
> | Oops: someone pointed out that what I meant was not in the last two
> | lines any more.  So let's say "the last 4 lines before the Note on
> | SHH access to CVS".

> The point of my posting was that this problem led me to two questions:
> Would it be right to use (require 'font-lock) to fix this problem?

That's one correct way to fix it, yes.
Another (better IMO) would be to customize your faces in a different way,
e.g. by using M-x customize-face.

> When (and how) do you know when to use (require)?

Good question.  My take on it is that if you need (require 'foo) it's
either that you're not doing things in the recommended way, or that there's
a bug/misfeature (a missing autoload or somesuch).
But sometimes the bug/misfeatures is too difficult to fix compared to the
benefit, so such problems do exist without being fixed.


        Stefan


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: font-lock, or: When is "require" required?
       [not found] ` <jwvk70hgqo5.fsf-monnier+gnu.emacs.gnus@gnu.org>
@ 2004-04-15 16:54   ` Stefan Monnier
       [not found]   ` <ut5k70g7qoy.fsf@havengel.ii.uib.no>
  1 sibling, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2004-04-15 16:54 UTC (permalink / raw)


>> I just installed Emacs from CVS, 21.3.50.3.  On startup, it complains:
> Please read the INSTALL.CVS file.  Including the last 2 lines.

Oops: someone pointed out that what I meant was not in the last two lines
any more.  So let's say "the last 4 lines before the Note on SHH access
to CVS".


        Stefan


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-04-16 17:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <ut5brlt9rhv.fsf@havengel.ii.uib.no>
     [not found] ` <jwvk70hgqo5.fsf-monnier+gnu.emacs.gnus@gnu.org>
2004-04-15 16:54   ` font-lock, or: When is "require" required? Stefan Monnier
     [not found]   ` <ut5k70g7qoy.fsf@havengel.ii.uib.no>
2004-04-16 17:32     ` Stefan Monnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).