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

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

Re: lisp execution stops after dired


From: Valentin Plechinger
Subject: Re: lisp execution stops after dired
Date: Tue, 19 Jul 2011 22:34:19 +0200
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Goj┼Ź) APEL/10.8 Emacs/23.3 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

I'm not that fluent in lisp but I think you need something like

(defun vhdl-rename-signal (searchDir)
   "renames signal starting from searchDir"
   (interactive "DEnter top-level directory to search: ")
   ;; first do dired
   (progn
     (find-dired searchDir "-name \*.vhd -or -name \*.qsf")
     (dired-toggle-marks)
     ;; now fancy stuff over direded files
     (message (dired-get-marked-files))))

haven't checked your wether each of your lines actually does what it should
have a look at http://www.rattlesnake.com/intro/progn.html

best regards

At Mon, 18 Jul 2011 13:18:29 +0200,
David Belohrad wrote:
> 
> [1  <text/plain; UTF-8 (7bit)>]
> Dear All.
> 
> have this:
> 
> (defun vhdl-rename-signal (searchDir)
>   "renames signal starting from searchDir"
>   (interactive "DEnter top-level directory to search: ")
>   ;; first do dired
>   (find-dired searchDir "-name \*.vhd -or -name \*.qsf")
>   (dired-toggle-marks)
>   ;; now fancy stuff over direded files
>   (message (dired-get-marked-files))
> )




reply via email to

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