GNU bug report logs -
#12330
24.2.50; Windows build 2012-08-26 breaks some font-locking
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Sun, 2 Sep 2012 01:24:02 UTC
Severity: normal
Found in version 24.2.50
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12330 in the body.
You can then email your comments to 12330 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#12330
; Package
emacs
.
(Sun, 02 Sep 2012 01:24:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Drew Adams" <drew.adams <at> oracle.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 02 Sep 2012 01:24:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Haven't tracked this down further, but I have, with luck, two Windows
builds for 24.2.50.1 from 2012-08-26. One of them has the problem, one
does not.
The one that does not have a problem was from Dani Moncayo:
In GNU Emacs 24.2.50.1 (i386-mingw-nt5.1.2600)
of 2012-08-26 on DANI-PC
Bzr revision: 109787 cyd <at> gnu.org-20120826134218-63vsnbjvm5rcbzi7
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
`configure --with-gcc (4.7) --no-opt --enable-checking --cflags
-I../../libs/libxpm-3.5.8/include -I../../libs/libxpm-3.5.8/src
-I../../libs/libpng-1.4.10 -I../../libs/zlib-1.2.6
-I../../libs/giflib-4.1.4-1/include -I../../libs/jpeg-6b-4/include
-I../../libs/tiff-3.8.2-1/include
-I../../libs/libxml2-2.7.8-w32-bin/include/libxml2
-I../../libs/gnutls-3.0.16/include
-I../../libs/libiconv-1.14-2-mingw32-dev/include'
The one that has the problem is the Emacs 24.2 release candidate, from
Christopher Scholtes:
The Emacs 24.2 Release Candidate 2 Windows Binaries have been
published in
http://alpha.gnu.org/gnu/emacs/pretest/windows/
The binaries were built using the following libraries:
giflib-4.1.4-1
gnutls-3.0.9
jpeg-6b-4
libXpm-3.5.8
libpng-1.4.3-1
tiff-3.8.2-1
zlib-1.2.5-2
In GNU Emacs 24.2.50.1 (i386-mingw-nt5.1.2600)
of 2012-08-26 on MARVIN
Bzr revision: 109788 dmantipov <at> yandex.ru-20120827041533-3cy7pdjdqz14o90c
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
`configure --with-gcc (4.6) --no-opt --enable-checking --cflags
-ID:/devel/emacs/libs/libXpm-3.5.8/include
-ID:/devel/emacs/libs/libXpm-3.5.8/src
-ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
-ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
-ID:/devel/emacs/libs/giflib-4.1.4-1/include
-ID:/devel/emacs/libs/jpeg-6b-4/include
-ID:/devel/emacs/libs/tiff-3.8.2-1/include
-ID:/devel/emacs/libs/gnutls-3.0.9/include
-ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include
-ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2'
The problem is shown in the two attachments. Look at the line
-- Function: insert-before-markers-and-inherit
It is not highlighted, but it should be.
And look at the line "Here are the functions that insert...".
It is highlighted, but it should not be.
The code that fontifies this is from info+.el, and it works correctly
with all Emacs versions. ONLY the reference items (Variable, Function,
etc.), and EACH of the reference items, should be highlighted with the
light gray background.
This is the code, though I doubt it is relevant to the problem:
(defun info-fontify-reference-items ()
"Fontify reference items such as \"Function:\" in Info buffer."
(while (re-search-forward
"^ --? \\(Command:\\|Constant:\\|Function:\\|Macro:\\|\
Special Form:\\|Syntax class:\\|User Option:\\|\
Variable:\\)\\(.*\\)\\([\n] \\(.*\\)\\)*"
nil t)
(let ((symb (intern (match-string 1))))
(put-text-property (match-beginning 1)
(match-end 1)
'font-lock-face
(case symb
('Constant: 'info-constant-ref-item)
('Command: 'info-command-ref-item)
('Function: 'info-function-ref-item)
('Macro: 'info-macro-ref-item)
('Special\ Form: 'info-special-form-ref-item)
('Syntax\ class: 'info-syntax-class-item)
('User\ Option: 'info-user-option-ref-item)
('Variable: 'info-variable-ref-item)))
(put-text-property (match-beginning 2) (match-end 2)
'font-lock-face 'info-reference-item)
(when (match-beginning 4)
(put-text-property (match-beginning 4) (match-end 4)
'font-lock-face 'info-reference-item)))))
[throw-info-ref-GOOD.png (image/png, attachment)]
[throw-info-ref-BAD.png (image/png, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#12330
; Package
emacs
.
(Mon, 03 Sep 2012 22:36:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 12330 <at> debbugs.gnu.org (full text, mbox):
FYI, I do not notice that particular mis-highlighting in the latest Windows
build from Christopher Scholtes:, which is this:
In GNU Emacs 24.2.50.1 (i386-mingw-nt5.1.2600)
of 2012-09-02 on MARVIN
Bzr revision: 109861 eggert <at> cs.ucla.edu-20120902171035-7mzihil3xd6bjfiy
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
`configure --with-gcc (4.6) --no-opt --enable-checking --cflags
-ID:/devel/emacs/libs/libXpm-3.5.8/include
-ID:/devel/emacs/libs/libXpm-3.5.8/src
-ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
-ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
-ID:/devel/emacs/libs/giflib-4.1.4-1/include
-ID:/devel/emacs/libs/jpeg-6b-4/include
-ID:/devel/emacs/libs/tiff-3.8.2-1/include
-ID:/devel/emacs/libs/gnutls-3.0.9/include
-ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include
-ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2'
But it would be good if someone tracked down the difference between the two
cited builds of 2012-08-26, so we can be confident wrt whether a problem
introduced has actually been fixed.
> The one that has the problem is the Emacs 24.2 release candidate, from
> Christopher Scholtes:
>
> In GNU Emacs 24.2.50.1 (i386-mingw-nt5.1.2600)
> of 2012-08-26 on MARVIN
> Bzr revision: 109788
> dmantipov <at> yandex.ru-20120827041533-3cy7pdjdqz14o90c
> Windowing system distributor `Microsoft Corp.', version 5.1.2600
> Configured using:
> `configure --with-gcc (4.6) --no-opt --enable-checking --cflags
> -ID:/devel/emacs/libs/libXpm-3.5.8/include
> -ID:/devel/emacs/libs/libXpm-3.5.8/src
> -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
> -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
> -ID:/devel/emacs/libs/giflib-4.1.4-1/include
> -ID:/devel/emacs/libs/jpeg-6b-4/include
> -ID:/devel/emacs/libs/tiff-3.8.2-1/include
> -ID:/devel/emacs/libs/gnutls-3.0.9/include
> -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include
> -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2'
>
> The problem is shown in the two attachments. Look at the line
> -- Function: insert-before-markers-and-inherit
> It is not highlighted, but it should be.
>
> And look at the line "Here are the functions that insert...".
> It is highlighted, but it should not be.
bug closed, send any further explanations to
12330 <at> debbugs.gnu.org and "Drew Adams" <drew.adams <at> oracle.com>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Tue, 11 Dec 2012 21:14:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 09 Jan 2013 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 12 years and 168 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.