[Top][All Lists]

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

Re: [Emacs-diffs] /srv/bzr/emacs/trunk r105295: * lisp/progmodes/etags.e

From: Eli Zaretskii
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r105295: * lisp/progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
Date: Tue, 02 Aug 2011 22:12:40 +0300

> From: Stefan Monnier <address@hidden>
> Cc: address@hidden, address@hidden
> Date: Tue, 02 Aug 2011 14:57:15 -0400
> > convert-standard-filename can be called on any file name, not just an
> > absolute ones.  Of course, it will only do what Sam wants if the file
> > name begins with /cygdrive/, i.e. is absolute, but your assertion
> > seemed to be more general than that.
> C-h f convert-standard-filename RET:
>    FILENAME should be an absolute file name

That's a lie:

  desktop.el:210:  (convert-standard-filename ".emacs.desktop")
  desktop.el:216:  (convert-standard-filename ".emacs.desktop.lock")
  dired-x.el:768:(defcustom dired-local-variables-file 
(convert-standard-filename ".dired")
  ido.el:924:(defcustom ido-save-directory-list-file (convert-standard-filename 
  ps-bdf.el:104:                         (convert-standard-filename 
  recentf.el:72:(defcustom recentf-save-file (convert-standard-filename 
  saveplace.el:72:(defcustom save-place-file (convert-standard-filename 
  shadowfile.el:805:        (shadow-expand-file-name (convert-standard-filename 
  shadowfile.el:809:         (convert-standard-filename "~/.shadow_todo"))))
  strokes.el:260:(defcustom strokes-file (convert-standard-filename 

>                                                 since the conversion rules
>    sometimes vary depending on the position in the file name.  E.g. c:/foo
>    is a valid DOS file name, but c:/bar/c:/foo is not.

The example of a problem is correct, but the generalization is
obviously invalid.

reply via email to

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