/[emacs]/emacs/lisp/files.el
ViewVC logotype

Diff of /emacs/lisp/files.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.583.2.25 by miles, Fri Nov 12 04:21:12 2004 UTC revision 1.583.2.26 by miles, Wed Dec 8 23:31:42 2004 UTC
# Line 478  Runs the usual ange-ftp hook, but only f Line 478  Runs the usual ange-ftp hook, but only f
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    
# Line 487  the argument.  However, on Windows and D Line 487  the argument.  However, on Windows and D
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)
# Line 1763  in that case, this function acts as if ` Line 1765  in that case, this function acts as if `
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)

Legend:
Removed from v.1.583.2.25  
changed lines
  Added in v.1.583.2.26

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26