unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* loaddefs.el filenames as seen by `update-file-autoloads'
@ 2003-05-12 22:30 Thien-Thi Nguyen
  2003-05-12 23:05 ` Stefan Monnier
  0 siblings, 1 reply; 8+ messages in thread
From: Thien-Thi Nguyen @ 2003-05-12 22:30 UTC (permalink / raw)


ciao a tutti,

under vms, filenames are case-insensitive and are upcased w/in emacs.
lisp/loaddefs.el records autoload forms that include filename fragments.
`update-file-autoloads' compares these fragments using `string=' and
fails to recognize existing entries, resulting in two entries for those
("foo" and "FOO").  i would like to add a check:

  (let ((load-name ...))
    (when (memq system-type '(vax-vms vms
                              ;; Add other systems whose filenames
                              ;; are case insensitive and for which
                              ;; `expand-file-name' DTRT, here.
			      ))
      (setq load-name (downcase load-name)))
    ...
    (when (string= load-name ...) ...))

changing `load-name' instead of making the comparison case-insensitive
means loaddefs.el will have lowercased frags (under vms), a change that
is transparent to `expand-file-name'.  is this ok?  other ideas?

thi

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-05-13 16:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-12 22:30 loaddefs.el filenames as seen by `update-file-autoloads' Thien-Thi Nguyen
2003-05-12 23:05 ` Stefan Monnier
2003-05-13  0:41   ` Thien-Thi Nguyen
2003-05-13  1:14     ` Stefan Monnier
2003-05-13  2:05       ` Miles Bader
2003-05-13  4:06       ` Thien-Thi Nguyen
2003-05-13 14:00         ` Stefan Monnier
2003-05-13 16:08           ` Thien-Thi Nguyen

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).