Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

What do I do after installing csv-mode with elpa?

35 views
Skip to first unread message

bsamek

unread,
May 11, 2013, 1:20:00 PM5/11/13
to Help-gn...@gnu.org
I've installed csv-mode with 'M-x list-packages' and typing 'i x' at
csv-mode. It's now listed as installed. However, it's not available with
'M-x csv-mode'. Is there an ELPA-specific way of making an installed package
available that I'm missing? The variable package-enable-at-startup is t.



--
View this message in context: http://emacs.1067599.n5.nabble.com/What-do-I-do-after-installing-csv-mode-with-elpa-tp285754.html
Sent from the Emacs - Help mailing list archive at Nabble.com.

Tim Visher

unread,
May 12, 2013, 3:05:09 PM5/12/13
to bsamek, emacs
Hi Brian,

On Sat, May 11, 2013 at 1:20 PM, bsamek <brian...@gmail.com> wrote:
> I've installed csv-mode with 'M-x list-packages' and typing 'i x' at
> csv-mode. It's now listed as installed. However, it's not available with
> 'M-x csv-mode'. Is there an ELPA-specific way of making an installed package
> available that I'm missing? The variable package-enable-at-startup is t.

Looks like 1.5.0 (which is the version I get when installing csv-mode
from package.el) has a coding error. Unbalanced parens at line 1134.
My package install showed that with error text like:

Compiling file …/.emacs.d/elpa/csv-mode-1.50/csv-mode-pkg.el at
Sun May 12 14:58:58 2013
Entering directory `…/.emacs.d/elpa/csv-mode-1.50/'
Error: Unmatched bracket or quote

Which yours may or may not have done as well.

Anyway, this is after the mode definition in `csv-mode.el` so while
there's definitely something wrong with that file, I am still able to
find a `.csv` file and have it automatically load up csv mode.
Obviously functionality defined after the coding error will not work
as it won't have loaded.

Contact the maintainer or maybe open a patch up? Should be an easy fix.

Hope this points you down the right path!

--

In Christ,

Timmy V.

http://blog.twonegatives.com/
http://five.sentenc.es/ -- Spend less time on mail

Stefan Monnier

unread,
May 13, 2013, 2:34:39 PM5/13/13
to help-gn...@gnu.org
> Looks like 1.5.0 (which is the version I get when installing csv-mode
> from package.el) has a coding error. Unbalanced parens at line 1134.
> My package install showed that with error text like:

> Compiling file …/.emacs.d/elpa/csv-mode-1.50/csv-mode-pkg.el at
> Sun May 12 14:58:58 2013
> Entering directory `…/.emacs.d/elpa/csv-mode-1.50/'
> Error: Unmatched bracket or quote

Hmm... 1.5.0? 1.50? The one we have in GNU ELPA is 1.2.
Where did you get yours?


Stefan


Tim Visher

unread,
May 13, 2013, 3:08:18 PM5/13/13
to Stefan Monnier, emacs
Looks like [Marmalade][1].

And, yep. 1.5.0 was a typo. :)

[1]: http://marmalade-repo.org/packages/csv-mode

Stefan Monnier

unread,
May 13, 2013, 3:38:30 PM5/13/13
to help-gn...@gnu.org
> Looks like [Marmalade][1].
> And, yep. 1.5.0 was a typo. :)
> [1]: http://marmalade-repo.org/packages/csv-mode

That looks like an old version. No idea why they chose such
a revision number.


Stefan


Tim Visher

unread,
May 13, 2013, 3:52:57 PM5/13/13
to Stefan Monnier, emacs
Ah the joys of ELPA…

No response so far from the OP.

@bsamek: did you add marmalade to the list of repos as is suggested by
many of the `getting started with emacs` tutorials these days?

bsamek

unread,
May 13, 2013, 3:57:52 PM5/13/13
to Help-gn...@gnu.org
I'm embarrassed to say that my problem was more trivial than that. I wasn't
copying the full forms to be evaluated from the installation lines in
csv-mode.el.


On Mon, May 13, 2013 at 3:54 PM, Tim Visher-2 [via Emacs] <
ml-node+s1067...@n5.nabble.com> wrote:

> On Mon, May 13, 2013 at 3:38 PM, Stefan Monnier
> <[hidden email] <http://user/SendEmail.jtp?type=node&node=285940&i=0>>
> wrote:
> >> Looks like [Marmalade][1].
> >> And, yep. 1.5.0 was a typo. :)
> >> [1]: http://marmalade-repo.org/packages/csv-mode
> >
> > That looks like an old version. No idea why they chose such
> > a revision number.
>
> Ah the joys of ELPA…
>
> No response so far from the OP.
>
> @bsamek: did you add marmalade to the list of repos as is suggested by
> many of the `getting started with emacs` tutorials these days?
>
> --
>
> In Christ,
>
> Timmy V.
>
> http://blog.twonegatives.com/
> http://five.sentenc.es/ -- Spend less time on mail
>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://emacs.1067599.n5.nabble.com/What-do-I-do-after-installing-csv-mode-with-elpa-tp285754p285940.html
> To unsubscribe from What do I do after installing csv-mode with elpa?, click
> here<http://emacs.1067599.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=285754&code=YnJpYW4uc2FtZWtAZ21haWwuY29tfDI4NTc1NHwxNDUwNTc1OTgy>
> .
> NAML<http://emacs.1067599.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://emacs.1067599.n5.nabble.com/What-do-I-do-after-installing-csv-mode-with-elpa-tp285754p285941.html

Stefan Monnier

unread,
May 15, 2013, 11:19:02 PM5/15/13
to
> I'm embarrassed to say that my problem was more trivial than that. I wasn't
> copying the full forms to be evaluated from the installation lines in
> csv-mode.el.

The GNU ELPA package does not require any such thing, since it's done as
part of installing the package (it's one of the reasons to use
a package manager).


Stefan
0 new messages