[Top][All Lists]

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

Re: Mysterious fontification/C++ context issue

From: martin rudalics
Subject: Re: Mysterious fontification/C++ context issue
Date: Sun, 10 Dec 2006 12:58:42 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> The behaviour of beginning-of-defun has been changed ONLY for when
> opic0ids gets set to nil.  The only other file.el within Emacs which
> does this is progmodes/python.el.  Any Python users here?  Dave Love,
> are you listening?

`python-mode' provides it's own `beginning-of-defun-function' which
doesn't seem to rely on `beginning-of-defun-raw'.  Hence, setting that
in `python-mode' is likely just paranoia.

> There is also this baffling comment in net/tramp.el:
> ;; Fontification is messed up when
> ;; `open-paren-in-column-0-is-defun-start' set to t.

That comment should probably serve to justify why the subsequent code in
the doc-string is indented.

Anyway: `open-paren-in-column-0-is-defun-start' is a user option
explained thoroughly in the Emacs manual.  If a major mode does not
override the default setting, users should know where
`beginning-of-defun' gets them when they customize it to nil.

reply via email to

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