Here is a simple file handler that delegates all operations:

(defun trivial-file-handler (operation &rest args)
  (let ((inhibit-file-name-handlers
         (cons 'trivial-file-handler
               (and (eq inhibit-file-name-operation operation)
                    inhibit-file-name-handlers)))
        (inhibit-file-name-operation operation))
    (apply operation args)))

After associating it to all files using

(add-to-list 'file-name-handler-alist '("" . trivial-file-handler))

, many subsequent commands fail.  M-$ for ispell-word anywhere gives:

   Failure to create stdio stream for
   /usr/local/share/emacs/22.0.92/lisp/textmodes/ispell.elc

A similar error occurs with M-; for comment-dwim.

This is with the latest CVS version; it works in Emacs 21.4.1.

All the best,
Markus Triska


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to