bug-gnu-emacs
[Top][All Lists]
Advanced

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

Workaround found for find-file bug


From: Siegfried Heintze
Subject: Workaround found for find-file bug
Date: Mon, 30 Jul 2001 10:56:58 -0600

I'm trying to write some elisp code to automate some editing on my remote
web site.
The local files work great. However, it won't retrieve the remote files.
Instead just does a dired instead. My work-around is identified with the
comment below.

     Thanks,
          Siegfried


(mapcar #'(lambda (f)
  "fancy function to edit remote files"
  (let ((tmp (dired (file-name-directory f)))) ; fixes problem
  (switch-to-buffer (find-file-noselect f))
   ...
  )
 '(
   "g:/InetPub/wwwroot/SIGNITEK/Courses/WebDev/DNA/Default.asp"
   "g:/InetPub/wwwroot/SIGNITEK/Courses/VisualBasic/Default.asp"
   "g:/InetPub/wwwroot/SIGNITEK/Courses/WebDev/dotNet/Default.asp"
   "g:/InetPub/wwwroot/SIGNITEK/Courses/WebDev/Languages/Default.asp"
   "/address@hidden:/Courses/WebDev/DNA/Default.asp"
   "/address@hidden:/Courses/VisualBasic/Default.asp"
   "/address@hidden:/Courses/WebDev/dotNet/Default.asp"
   "/address@hidden:/Courses/WebDev/Languages/Default.asp"
   ))








reply via email to

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