478 |
(apply op args)))) |
(apply op args)))) |
479 |
|
|
480 |
(defun convert-standard-filename (filename) |
(defun convert-standard-filename (filename) |
481 |
"Convert a standard file's name to something suitable for the current OS. |
"Convert a standard file's name to something suitable for the OS. |
482 |
This means to guarantee valid names and perhaps to canonicalize |
This means to guarantee valid names and perhaps to canonicalize |
483 |
certain patterns. |
certain patterns. |
484 |
|
|
487 |
characters. On DOS, make sure to obey the 8.3 limitations. On |
characters. On DOS, make sure to obey the 8.3 limitations. On |
488 |
Windows, turn Cygwin names into native names, and also turn |
Windows, turn Cygwin names into native names, and also turn |
489 |
slashes into backslashes if the shell requires it (see |
slashes into backslashes if the shell requires it (see |
490 |
`w32-shell-dos-semantics')." |
`w32-shell-dos-semantics'). |
491 |
|
|
492 |
|
See Info node `(elisp)Standard File Names' for more details." |
493 |
filename) |
filename) |
494 |
|
|
495 |
(defun read-directory-name (prompt &optional dir default-dirname mustmatch initial) |
(defun read-directory-name (prompt &optional dir default-dirname mustmatch initial) |
1765 |
("\\.properties\\(?:\\.[a-zA-Z0-9._-]+\\)?\\'" . conf-javaprop-mode) |
("\\.properties\\(?:\\.[a-zA-Z0-9._-]+\\)?\\'" . conf-javaprop-mode) |
1766 |
;; *.cf, *.cfg, *.conf, *.config[.local|.de_DE.UTF8|...], */config |
;; *.cf, *.cfg, *.conf, *.config[.local|.de_DE.UTF8|...], */config |
1767 |
("[/.]c\\(?:on\\)?f\\(?:i?g\\)?\\(?:\\.[a-zA-Z0-9._-]+\\)?\\'" . conf-mode) |
("[/.]c\\(?:on\\)?f\\(?:i?g\\)?\\(?:\\.[a-zA-Z0-9._-]+\\)?\\'" . conf-mode) |
1768 |
("\\`/etc/\\(?:DIR_COLORS\\|ethers\\|.?fstab\\|.*hosts\\|lesskey\\|login\\.?de\\(?:fs\\|vperm\\)\\|magic\\|mtab\\|permissions\\|protocols\\|rpc\\|services\\)\\'" . conf-space-mode) |
("\\`/etc/\\(?:DIR_COLORS\\|ethers\\|.?fstab\\|.*hosts\\|lesskey\\|login\\.?de\\(?:fs\\|vperm\\)\\|magic\\|mtab\\|pam\\.d/.*\\|permissions\\|protocols\\|rpc\\|services\\)\\'" . conf-space-mode) |
1769 |
("\\`/etc/\\(?:aliases\\|hosts\\..+\\|ksysguarddrc\\|opera6rc\\)\\'" . conf-mode) |
("\\`/etc/\\(?:default/.*\\|aliases\\|group-?\\|hosts\\..+\\|ksysguarddrc\\|opera6rc\\|passwd-?\\|shadow-?\\)\\'" . conf-mode) |
1770 |
;; either user's dot-files or under /etc or some such |
;; either user's dot-files or under /etc or some such |
1771 |
("/\\.?\\(?:gnokiirc\\|kde.*rc\\|mime\\.types\\|wgetrc\\)\\'" . conf-mode) |
("/\\.?\\(?:gnokiirc\\|kde.*rc\\|mime\\.types\\|wgetrc\\)\\'" . conf-mode) |
1772 |
;; alas not all ~/.*rc files are like this |
;; alas not all ~/.*rc files are like this |
1773 |
("/\\.\\(?:enigma\\|gltron\\|hxplayer\\|net\\|neverball\\|qt/.+\\|realplayer\\|scummvm\\|sversion\\|sylpheed/.+\\|xmp\\)rc\\'" . conf-mode) |
("/\\.\\(?:enigma\\|gltron\\|gtk\\|hxplayer\\|net\\|neverball\\|qt/.+\\|realplayer\\|scummvm\\|sversion\\|sylpheed/.+\\|xmp\\)rc\\'" . conf-mode) |
1774 |
("/\\.\\(?:gdbtkinit\\|grip\\|orbital/.+txt\\|rhosts\\|tuxracer/options\\)\\'" . conf-mode) |
("/\\.\\(?:gdbtkinit\\|grip\\|orbital/.+txt\\|rhosts\\|tuxracer/options\\)\\'" . conf-mode) |
1775 |
("/\\.?X\\(?:default\\|resource\\|re\\)s\\>" . conf-xdefaults-mode) |
("/\\.?X\\(?:default\\|resource\\|re\\)s\\>" . conf-xdefaults-mode) |
1776 |
("/X11.+app-defaults/" . conf-xdefaults-mode) |
("/X11.+app-defaults/" . conf-xdefaults-mode) |