* bug#6653: 24.0.50; FILE-STRUCTURE explanation in compile.el
@ 2010-07-16 18:02 Drew Adams
2010-07-17 21:57 ` Chong Yidong
0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2010-07-16 18:02 UTC (permalink / raw)
To: 6653
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'
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#6653: 24.0.50; FILE-STRUCTURE explanation in compile.el
2010-07-16 18:02 bug#6653: 24.0.50; FILE-STRUCTURE explanation in compile.el Drew Adams
@ 2010-07-17 21:57 ` Chong Yidong
0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2010-07-17 21:57 UTC (permalink / raw)
To: Drew Adams; +Cc: 6653
"Drew Adams" <drew.adams@oracle.com> writes:
> 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.
I think you're right. I've removed the dot, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-07-17 21:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-16 18:02 bug#6653: 24.0.50; FILE-STRUCTURE explanation in compile.el Drew Adams
2010-07-17 21:57 ` Chong Yidong
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).