* global-font-lock-mode
@ 2003-07-30 15:19 Frederik Fouvry
0 siblings, 0 replies; only message in thread
From: Frederik Fouvry @ 2003-07-30 15:19 UTC (permalink / raw)
Cc: xemacs-beta
This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.
Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.
In GNU Emacs 21.2.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2002-08-29 on astest
configured using `configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefiix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-gcc --with-pop --with-sound'
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: POSIX
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: de_DE@euro
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_GB
locale-coding-system: iso-latin-1
default-enable-multibyte-characters: t
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
After loading pcvs.el, the variable global-font-lock-mode is for
Emacs defined in pcvs-info.el (shown by C-h v
global-font-lock-mode RET in the buffer *Help*). In *Help*
however, it cannot find the definition in pcvs-info.el (by
clicking on "Defined in `pcvs-info'." at the end of the buffer):
is says:
Cannot find definition of `global-font-lock-mode' in library
`pcvs-info'
Actually global-font-lock-mode is defined for a second time in
pcvs-info.el: (from emacs/21.2/lisp/pcvs-info.el):
----------------------------------------------------------------------
(defvar global-font-lock-mode)
(defvar font-lock-auto-fontify)
(defcustom cvs-highlight
(or (and (boundp 'font-lock-auto-fontify) font-lock-auto-fontify)
(and (boundp 'global-font-lock-mode) global-font-lock-mode))
"*Whether to use text highlighting (à la font-lock) or not."
:group 'pcl-cvs
:type '(boolean))
----------------------------------------------------------------------
Originally it came from loaddefs.el (and from font-lock.el).
The error message is confusing because of two reasons:
- there _is_ a definition in pcvs-info.el
- the real definition is in loaddefs.el (and coming from font-lock.el).
Given the boundp() test on global-font-lock-mode, I don't see why
defvar() is still necessary. Perhaps for compilation, but then
(eval-when-compile (require 'font-lock-mode))
would solve that. The variable would only be defined once, and then
it would be found properly from *Help*.
(Probably the same is true for font-lock-auto-fontify, but that's
XEmacs.)
Recent input:
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <drag-mouse-1> <down-mouse-1>
<mouse-1> <switch-frame> <switch-frame> <help-echo>
<help-echo> <help-echo> <down-mouse-1> <mouse-1> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu>
<report-emacs-bug>
Recent messages:
Scanning buffer for index ( 55%)
Scanning buffer for index ( 74%)
Scanning buffer for index ( 88%)
Scanning buffer for index (100%)
Mark saved where search started
byte-code: Buffer is read-only: #<buffer pcvs-info.el>
Mark saved where search started
Mark set
Mark saved where search started
Loading emacsbug...done
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-07-30 15:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-30 15:19 global-font-lock-mode Frederik Fouvry
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.