Hi Marc Weber,
On Thu, 2011-03-17 at 23:22 +-0000, Marc Weber wrote:
+AD4 Hi Amit Agarwal,
+AD4 
+AD4 I've already admitted that I was badly mistaken about the +ACI-do while 
..+ACI.
+AD4 
+AD4 1) your presentation: still indentation is missing
+AD4 
+AD4 2) What is the real goal? What do we want?
+AD4 
+AD4 
+AD4 1) Your presentation:
+AD4 
+AD4   That you present a big +ACI-box+ACI showing the (no longer formatted 
code)
+AD4   will cause trouble. Even though the box is +ACI-huge+ACI now formatting 
is
+AD4   still gone. There is no way sending patches this way.
+AD4   If I see code which is not indented I instantly think that you don't
+AD4   care about your code (so I start looking for more issues).

I will host the code on github or sf.net. Also will correct the
indentation issue.

+AD4   So rather then doing your own thing use a service such as github which
+AD4   will allow users to comment your code, fork and send patches or use an 
issue
+AD4   tracker.
+AD4 
+AD4 Reading like this turns me off because missing indentation is always 
causing
+AD4 much more work to understand it.
+AD4 
+AD4   download+AF8-list()
+AD4   +AHs
+AD4   downloaded+AD0-1
+AD4   if +AFs +ACE -f +ACQ-tmp+AF8-file +AF0
+AD4   then
+AD4   wget -O +ACQ-tmp+AF8-file 
'http://www.vim.org/scripts/script+AF8-search+AF8-results.php?+ACY-amp+ADs-show+AF8-me+AD0-4000+ACY-amp+ADs-result+AF8-ptr+AD0-0'
 -o /dev/null
+AD4   else
+AD4   echo +ACI-using the existing +ACQ-tmp+AF8-file+ACI
+AD4   fi
+AD4   +AH0
+AD4 
+AD4   And thats the first impression a visitor gets.  So use +ADw-pre+AD4 
+ADw-/pre+AD4 or such
+AD4   rather than whatever you did or use github, gitorious, or any of the 
other
+AD4   public code hosting services.
+AD4 
+AD4 2) What is the real goal? What do we want?
+AD4 
+AD4 What's most important to know?
+AD4 
+AD4 Can you describe briefly what your script does what you didn't find on
+AD4 vim.sf.net?
Currently I am using GLVS for managing my scripts. The reason for using
GLVS is that it does not change anything that I am used to. It keeps the
scripts in the plugin directories, so if I need to copy or back the
directory, I need not worry.  When I need a new script, I search for it.
Download it. Move it to plugins directory. Add it to GLVS. Thats a lot
of work and that is what precisely my script will do. 

+AD4 
+AD4 Eg why do you prefer your script over using the home page (vim.sf.net)?

It does not give me the flexibility a script would give.
+AD4 
+AD4 I'm asking because your script identifies flaws of the homepage we should 
fix.
+AD4 
+AD4 You should not have to parse HTML in order to get the info. We should 
create an
+AD4 API. (PyPi, RubyGems, .. they all have it. Only Vim is still xx years old  
in
+AD4 this regard). We should move forward or people will choose other tools.
+AD4 
+AD4 Also I'd like to work towards having one Vim plugin handling all the
+AD4 needs of todays users about script querying and installation.

Nothing like it.
+AD4 
+AD4 vim-addon-manager is the result of my last attempt and I think it gets
+AD4 the job done much better than anything which was available before ti.
+AD4 It still is very weak: You have to browse vim.sf.net to find out which 
plugins
+AD4 to install and I'm pretty sure there are more issues.

Also the database for the scripts is in another script, which I did not
like. Any addition in vim site would require addition of the same in
this script.
+AD4 
+AD4 Would you be interested integrating your ideas into VAM
+AD4 (or a similar plugin) so that it also runs on Windows and that more
+AD4 users will have access to it naturally?

I would not say no. But I would be interested only in plugins that do
not change the way the directory is structured. I also would be very
much interested in one single solution.

+AD4 
+AD4 Instead of parsing HTML it should be based on a specific API call such as
+AD4 
+AD4 vim.sf.net/api.php?query-all-scripts-matching-word+AD0-XY
+AD4 
+AD4 or the like. The result could be json which can be prased by Vim:
+AD4 https://github.com/MarcWeber/vim-addon-json-encoding
+AD4 Then Vim buffers and highlighting could be used to present the query 
result to
+AD4 users?
+AD4 
+AD4 Please talk about what made you write your script - so thaw can slowly
+AD4 improve the overall situation for all users.
+AD4 
+AD4 I mean vim.sf.net having pages talking about Vim 5 (About Vim -+AD4 
+ACI-for
+AD4 vim 5 users+ACI). This shows that its  partially updated maybe no longer 
fitting
+AD4 the needs of todays users. If that's the case we should collect thoughts 
and
+AD4 improve the situation.
+AD4 
+AD4 If you need help with github or the like you can contact me anytime (I'm 
also
+AD4 on irc very often).
+AD4 
+AD4 Blogs are nice - but they are bad at hosting code. They should be used to 
talk
+AD4 about code referring to code hosted somewhere else.
They are not bad if used properly. I made a mistake of not posting the
code correctly. Will be correcting it over the weekend.
+AD4 
+AD4 Marc Weber
+AD4 

-- 
Thanks,
-aka
http://blog.amit-agarwal.co.in
http://shop.amit-agarwal.co.in
http://amit-agarwal.com

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to