bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#6653: 24.0.50; FILE-STRUCTURE explanation in compile.el


From: Drew Adams
Subject: bug#6653: 24.0.50; FILE-STRUCTURE explanation in compile.el
Date: Fri, 16 Jul 2010 11:02:47 -0700

Caveat: I'm not very familiar with this data structure, so feel free to
close this bug if I misunderstand.

In the Commentary of file compile.el -
 
My impression from reading the code and experimenting a bit is that the
description of FILE-STRUCTURE is incorrect.  Specifically, it seems that
(FILENAME . DIRECTORY) in the comments should really be written as
(FILENAME DIRECTORY) - IOW, no dot.
 
The code accesses the DIRECTORY this way, for example:
(cadr (car (nth 2 loc))), where (car (nth 2 loc)) is FILE-STRUCTURE.
 
And the `message' text property shows values for FILE-STRUCTURE such as
("compile.el" nil), not ("compile.el"), aka ("compile.el" . nil).

In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2010-07-12 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4) --no-opt --cflags -Ic:/xpm/include'






reply via email to

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