Re: [Catalyst] Re: [Catalyst-dev] Ignoring Emacs temp files
Matt Rosin wrote: > Ouch. I use xemacs -nw and FindBin but haven't seen this explosion, I > think. What autodiscovery are you using that makes it require > Foo:::#Bar ? Basically "find | egrep 'pm$'". I thought it would be safer to filter on a regex like ^\w+[.]pm$ since the docs say that modules can only be named like that, but of course, people are ignoring that in real life. For an example, see 日本語.pm: http://www.slideshare.net/mac/perl-programming-in-japanese Thus it's probably better to include everything and exclude the known-bad. Regards, Jonathan Rockway signature.asc Description: OpenPGP digital signature ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] Re: [Catalyst-dev] Ignoring Emacs temp files
Ouch. I use xemacs -nw and FindBin but haven't seen this explosion, I think. What autodiscovery are you using that makes it require Foo:::#Bar ? > blows up when it tries to do something like: eval "require Foo::.#Bar" ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] Re: [Catalyst-dev] Ignoring Emacs temp files
On Tue, 28 Aug 2007, Alejandro Imass wrote: if you are methodic enough you can just create a script in /usr/bin that cleans temps, backs and other rotten files. Or easier yet, you can alias to something like clean_emacs to something like: find . -name "*~" | xargs rm -f find . -name "#*#" | xargs rm -f of course you can make this more efficient but it does the work and it's simple. The issue at hand is that Catalyst's built-in auto-restarting web server detects these files as "new modules" and tries to restart the server. Then Catalyst itself detects them as modules it should load automatically and blows up when it tries to do something like: eval "require Foo::.#Bar" -dave /*=== VegGuide.Orgwww.BookIRead.com Your guide to all that's veg. My book blog ===*/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] Re: [Catalyst-dev] Ignoring Emacs temp files
if you are methodic enough you can just create a script in /usr/bin that cleans temps, backs and other rotten files. Or easier yet, you can alias to something like clean_emacs to something like: find . -name "*~" | xargs rm -f find . -name "#*#" | xargs rm -f of course you can make this more efficient but it does the work and it's simple. just before submitting the day's work in SVN I just run this script and make sure I have pruned all these files. On 8/28/07, Jonathan Rockway <[EMAIL PROTECTED]> wrote: > Kieren Diment wrote: > > Applied (changeset 6741 and 6742 - don't ask) , thanks :-) > > > > On 27/08/07, Dave Rolsky <[EMAIL PROTECTED]> wrote: > > > >> When you're editing a buffer in emacs, it will create a temporary symlink > >> in the same directory of the file in the form ".#". > Thanks kd++ and autarch++ :) This has been an open issue for over a > year because we've been waiting for users to compile a list for every > editor and patch MPO accordingly. I only use emacs, so all I could > provide was similar to Dave's patch. With this applied, I am happy :) > > Users of other editors: we weren't kidding when we asked you for regexes > that exclude your editor's cruft files. They all do it, but I don't > have any of them so I don't know what the files are. Please send data. > > Regards, > Jonathan Rockway > > > ___ > List: Catalyst@lists.rawmode.org > Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst > Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ > Dev site: http://dev.catalyst.perl.org/ > > > ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/
[Catalyst] Re: [Catalyst-dev] Ignoring Emacs temp files
Kieren Diment wrote: > Applied (changeset 6741 and 6742 - don't ask) , thanks :-) > > On 27/08/07, Dave Rolsky <[EMAIL PROTECTED]> wrote: > >> When you're editing a buffer in emacs, it will create a temporary symlink >> in the same directory of the file in the form ".#". Thanks kd++ and autarch++ :) This has been an open issue for over a year because we've been waiting for users to compile a list for every editor and patch MPO accordingly. I only use emacs, so all I could provide was similar to Dave's patch. With this applied, I am happy :) Users of other editors: we weren't kidding when we asked you for regexes that exclude your editor's cruft files. They all do it, but I don't have any of them so I don't know what the files are. Please send data. Regards, Jonathan Rockway signature.asc Description: OpenPGP digital signature ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/