This page is no longer maintained — Please continue to the home page at www.scala-lang.org

How do I get changes into the distribution?

7 replies
Derek Wyatt 2
Joined: 2011-02-12,
User offline. Last seen 42 years 45 weeks ago.

Hi folks,

I've been working on some changes to the Vim plugins for Scala and it's reached a point where, it may not be perfect, but it's certainly better.

What do I have to do to get these changes into the distribution?

The code is available at http://github.com/ewiplayer/vim-scala if anyone wants to go through them.

Cheers,
Derek

Yuvi Masory
Joined: 2010-12-22,
User offline. Last seen 1 year 27 weeks ago.
Re: How do I get changes into the distribution?
Hey,
Are the vim/emacs plugins even part of the standard distribution? scala-mode has a separate repo.

Yuvi



On Wed, Mar 9, 2011 at 10:14 PM, Derek Wyatt <derek [at] derekwyatt [dot] org> wrote:
Hi folks,

I've been working on some changes to the Vim plugins for Scala and it's reached a point where, it may not be perfect, but it's certainly better.

What do I have to do to get these changes into the distribution?

The code is available at http://github.com/ewiplayer/vim-scala if anyone wants to go through them.

Cheers,
Derek

Antonio Cunei
Joined: 2008-12-16,
User offline. Last seen 3 years 22 weeks ago.
Re: How do I get changes into the distribution?

On 10/03/2011 04:14, Derek Wyatt wrote:
> Hi folks,
>
> I've been working on some changes to the Vim plugins for Scala and it's reached a point where, it may not be perfect, but it's certainly better.
>
> What do I have to do to get these changes into the distribution?
>
> The code is available at http://github.com/ewiplayer/vim-scala if anyone wants to go through them.
>
> Cheers,
> Derek

Hi Derek,

We don't have an official maintainer for the Vim plugin, therefore if
you feel you can take this role, that is good news for vim users!

If you are planning to apply further patches in the future, we can
enable write access for your account to the vim SVN subtree. Otherwise I
can just manually copy the stuff from the github repo into our SVN (in
scala-tool-support/trunk/src/vim).

Just let us know. Thanks!
Toni

--
Antonio Cunei
Scala Team, EPFL

Peter C. Chapin 2
Joined: 2011-01-07,
User offline. Last seen 42 years 45 weeks ago.
Re: How do I get changes into the distribution?

On Thu, 10 Mar 2011, Yuvi Masory wrote:

> Are the vim/emacs plugins even part of the standard distribution?
> scala-mode has a separate repo.

I'm using the scala mode in the standard distribution. Should I be using
something else? It's in misc/scala-tools-support/emacs. The dates on the
files are showing as 2010-11-09 in case that proves anything.

Peter

Yuvi Masory
Joined: 2010-12-22,
User offline. Last seen 1 year 27 weeks ago.
Re: How do I get changes into the distribution?
I'm using the scala mode in the standard distribution. Should I be using something else? It's in misc/scala-tools-support/emacs. The dates on the files are showing as 2010-11-09 in case that proves anything.

I think I just got confused because the scala-tool-support repo paths don't have the "misc" part. Probably has something to do with svn directory/branch funniness. I think there's just the one repo after all :)
Yuvi
Derek Wyatt 2
Joined: 2011-02-12,
User offline. Last seen 42 years 45 weeks ago.
Re: How do I get changes into the distribution?

> On Thu, 10 Mar 2011, Yuvi Masory wrote:
>
>> Are the vim/emacs plugins even part of the standard distribution?
>> scala-mode has a separate repo.
>
> I'm using the scala mode in the standard distribution. Should I be using
> something else? It's in misc/scala-tools-support/emacs. The dates on the
> files are showing as 2010-11-09 in case that proves anything.

Yeah, Scala does ship with vim and emacs plugins. I haven't used emacs
for about 12 years so I can't speak to that one, but I do know that the
vim plugin misses a lot of cases. If you hit 'gg=G' on any given file,
you can be pretty sure that it's going to mess it up beyond recognition.

I'm talking with Antonio off-list about what needs to be done to get my
changes into the source tree.

Alternatively, the vim plugin could just be taken out of the distribution
altogether and people could go to http://www.vim.org to get it. That
would eliminate the confusion. The problem at the moment is that there's
the "official" one being shipped in the scala distribution and it's not
terribly usable.

dcsobral
Joined: 2009-04-23,
User offline. Last seen 38 weeks 5 days ago.
Re: How do I get changes into the distribution?
Hi Derek. I happen to use vim to edit Scala now and then, so I'm interested in this plugin. I agree that it would be better if the plugin was available separate from the scala distribution, for visibility if nothing else. I mean, I like seeing "vim-puppet", "vim-python" or "vim-ruby" in Debian and Ubuntu packages, and it would be nice to see "vim-scala" there as well. It gives a sense of support that is not matched by the present situation of lots of extra being packaged with Scala distribution -- uninstalled! -- without no one the wiser.

That said, what changes should I be looking at with this? And I take it you recommend installing pathogen and then just cloning the repo on ~/.vim/bundle/?

On Thu, Mar 10, 2011 at 00:14, Derek Wyatt <derek [at] derekwyatt [dot] org> wrote:
Hi folks,

I've been working on some changes to the Vim plugins for Scala and it's reached a point where, it may not be perfect, but it's certainly better.

What do I have to do to get these changes into the distribution?

The code is available at http://github.com/ewiplayer/vim-scala if anyone wants to go through them.

Cheers,
Derek



--
Daniel C. Sobral

I travel to the future all the time.
Derek Wyatt 2
Joined: 2011-02-12,
User offline. Last seen 42 years 45 weeks ago.
Re: How do I get changes into the distribution?
Yup, use pathogen for sure. Have a look at the repository, but the biggest change is the indent file, which isn't yet perfect (and I don't plan on ever making it so :D) but it works much better than what's snipped with Scala.

I do plan on incremental improvements over time to fix the odd bug here and there but it's decent now. By all means please add fixes if you can.

Entered using opposable digits

From: Daniel Sobral <dcsobral [at] gmail [dot] com> Sender: scala-tools [at] googlegroups [dot] com Date: Tue, 15 Mar 2011 14:12:58 -0300To: Derek Wyatt<derek [at] derekwyatt [dot] org>Cc: <scala-tools [at] googlegroups [dot] com>Subject: Re: [scala-tools] How do I get changes into the distribution?
Hi Derek. I happen to use vim to edit Scala now and then, so I'm interested in this plugin. I agree that it would be better if the plugin was available separate from the scala distribution, for visibility if nothing else. I mean, I like seeing "vim-puppet", "vim-python" or "vim-ruby" in Debian and Ubuntu packages, and it would be nice to see "vim-scala" there as well. It gives a sense of support that is not matched by the present situation of lots of extra being packaged with Scala distribution -- uninstalled! -- without no one the wiser.

That said, what changes should I be looking at with this? And I take it you recommend installing pathogen and then just cloning the repo on ~/.vim/bundle/?

On Thu, Mar 10, 2011 at 00:14, Derek Wyatt <derek [at] derekwyatt [dot] org> wrote:
Hi folks,

I've been working on some changes to the Vim plugins for Scala and it's reached a point where, it may not be perfect, but it's certainly better.

What do I have to do to get these changes into the distribution?

The code is available at http://github.com/ewiplayer/vim-scala if anyone wants to go through them.

Cheers,
Derek



--
Daniel C. Sobral

I travel to the future all the time.

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland