unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* flycheck on Emacs24
@ 2014-05-01 20:54 haines
  2014-05-02  0:18 ` Sharon Kimble
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: haines @ 2014-05-01 20:54 UTC (permalink / raw)
  To: help-gnu-emacs

I'm running Debian Wheezy and compiled Emacs 24.3.1 and am using it. I
naturally wanted to upgrade from flymake to flycheck.

I downloaded a flycheck 20140422.657 tar into
/usr/local/share/flycheck. Unarchiving it creates a directory in which
there is flycheck-pkg.el, flycheck.el, flycheck.info.

I didn't know how to install these files, and so tried copying them into
~/elisp.

I added a line in ~/.elisp: 

   (add-hook 'after-init-hook #'global-flycheck-mode)

But when I try to initialize flycheck with M-x global-flycheck-mode
I get:

  M-x global-flycheck [No Match]
 
How should I have installed the file? There weres no directions.

Haines Brown



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: flycheck on Emacs24
  2014-05-01 20:54 flycheck on Emacs24 haines
@ 2014-05-02  0:18 ` Sharon Kimble
  2014-05-02  7:14 ` Eli Zaretskii
       [not found] ` <mailman.472.1398989910.1147.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 6+ messages in thread
From: Sharon Kimble @ 2014-05-02  0:18 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 1296 bytes --]

haines@haines.att.net writes:

> I'm running Debian Wheezy and compiled Emacs 24.3.1 and am using it. I
> naturally wanted to upgrade from flymake to flycheck.

What’s wrong with using emacs own package manager, ELPA? It does it
all for you and is dead simple to use = options -> use package
manager and then just choose what you want to install. Its a lot
quicker and a lot easier and simpler too! And you could have got
emacs too from the wheezy repos, why make life difficult for
yourself?

Sharon.
>
> I downloaded a flycheck 20140422.657 tar into
> /usr/local/share/flycheck. Unarchiving it creates a directory in which
> there is flycheck-pkg.el, flycheck.el, flycheck.info.
>
> I didn't know how to install these files, and so tried copying them into
> ~/elisp.
>
> I added a line in ~/.elisp: 
>
>    (add-hook 'after-init-hook #'global-flycheck-mode)
>
> But when I try to initialize flycheck with M-x global-flycheck-mode
> I get:
>
>   M-x global-flycheck [No Match]
>  
> How should I have installed the file? There weres no directions.
>
> Haines Brown
>
>

-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, Fluxbox 1.3.5, emacs 24.4.50.16

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: flycheck on Emacs24
  2014-05-01 20:54 flycheck on Emacs24 haines
  2014-05-02  0:18 ` Sharon Kimble
@ 2014-05-02  7:14 ` Eli Zaretskii
       [not found] ` <mailman.472.1398989910.1147.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2014-05-02  7:14 UTC (permalink / raw)
  To: help-gnu-emacs

> From: haines@haines.att.net
> Date: Thu, 01 May 2014 16:54:06 -0400
> 
> I downloaded a flycheck 20140422.657 tar into
> /usr/local/share/flycheck. Unarchiving it creates a directory in which
> there is flycheck-pkg.el, flycheck.el, flycheck.info.
> 
> I didn't know how to install these files, and so tried copying them into
> ~/elisp.
> 
> I added a line in ~/.elisp: 
> 
>    (add-hook 'after-init-hook #'global-flycheck-mode)
> 
> But when I try to initialize flycheck with M-x global-flycheck-mode
> I get:
> 
>   M-x global-flycheck [No Match]
>  
> How should I have installed the file? There weres no directions.

My crystal ball says the directory where you have the flycheck *.el
files doesn't appear in load-path.  If so, you should add it to that
list.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: flycheck on Emacs24
       [not found] ` <mailman.472.1398989910.1147.help-gnu-emacs@gnu.org>
@ 2014-05-02 16:57   ` haines
  2014-05-02 17:51     ` Sharon Kimble
  2014-05-04  9:39     ` Sebastian Wiesner
  0 siblings, 2 replies; 6+ messages in thread
From: haines @ 2014-05-02 16:57 UTC (permalink / raw)
  To: help-gnu-emacs

Thanks for the help. It led to find out about ELPA. While I was at 
it I also modularized my emacs init file. That all worked out nicely,
although it seems gnus init file is no longer auto-line wrapping.

But the bottom line is that I used ELPA to install flycheck. It 
seems to have succeeded at least to the extent it shows up as a minor 
mode when I display a file. How to use it I have yet to look into
because it does not produce the dramatic colored highlight of 
flymake (I see there is an ELPA package to colorize, and I may 
try that). 

I am worried a bit ELPA's compilation of the package. There was an
error that it was unable to activate package "f". The required package
"s-1.7.0" is unavailable. When I look at s.el, I find :

  s-buffer is an installed package.
  Status: Installed in 
     `/home/haines/.emacs.d/elpa/s-buffer-20130605.1424/'.
  Version: 20130605.1424
  Requires: s-1.6.0, noflet-0.0.3
  Summary: s operations for buffers
 
I see that flycheck is no longer displayed in ELPA's package list. 
I wonder if this is because it is installed? The error makes me 
also wonder if the flycheck that I managed to compile and install 
is fully functional, although off hand it seems to be working.

Haines
       
      


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: flycheck on Emacs24
  2014-05-02 16:57   ` haines
@ 2014-05-02 17:51     ` Sharon Kimble
  2014-05-04  9:39     ` Sebastian Wiesner
  1 sibling, 0 replies; 6+ messages in thread
From: Sharon Kimble @ 2014-05-02 17:51 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 2331 bytes --]

haines@haines.att.net writes:

> Thanks for the help. It led to find out about ELPA. While I was at 
> it I also modularized my emacs init file. That all worked out nicely,
> although it seems gnus init file is no longer auto-line wrapping.
>
> But the bottom line is that I used ELPA to install flycheck. It 
> seems to have succeeded at least to the extent it shows up as a minor 
> mode when I display a file. How to use it I have yet to look into
> because it does not produce the dramatic colored highlight of 
> flymake (I see there is an ELPA package to colorize, and I may 
> try that).

Put this in your ".emacs" -
--8<---------------cut here---------------start------------->8---
(require 'flycheck)
(global-flycheck-mode 1)
--8<---------------cut here---------------end--------------->8---
That will make it work in every buffer with whatever document/text
you’re working with. 
>
> I am worried a bit ELPA's compilation of the package. There was an
> error that it was unable to activate package "f". The required package
> "s-1.7.0" is unavailable. When I look at s.el, I find :
>
>   s-buffer is an installed package.
>   Status: Installed in 
>      `/home/haines/.emacs.d/elpa/s-buffer-20130605.1424/'.
>   Version: 20130605.1424
>   Requires: s-1.6.0, noflet-0.0.3
>   Summary: s operations for buffers
>  
> I see that flycheck is no longer displayed in ELPA's package list. 
> I wonder if this is because it is installed? The error makes me 
> also wonder if the flycheck that I managed to compile and install 
> is fully functional, although off hand it seems to be working.

Look right down at the bottom of the package list and you should
see it like here -
╭────
│ flycheck   20140422.657 unsigned   On-the-fly syntax checking (Flymake done right)
╰────
If you're unsure about it try doing *C-s flycheck* in the package
list, then it will search for it, and find all instances of
'flycheck', and if you keep pressing *C-s* it will work through all
it finds until you find the one that you are looking for. Sounds
long-winded but it works.

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, Fluxbox 1.3.5, emacs 24.4.50.16

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: flycheck on Emacs24
  2014-05-02 16:57   ` haines
  2014-05-02 17:51     ` Sharon Kimble
@ 2014-05-04  9:39     ` Sebastian Wiesner
  1 sibling, 0 replies; 6+ messages in thread
From: Sebastian Wiesner @ 2014-05-04  9:39 UTC (permalink / raw)
  To: haines; +Cc: help-gnu-emacs

Am 02.05.2014 19:00 schrieb <haines@haines.att.net>:
>
> Thanks for the help. It led to find out about ELPA. While I was at
> it I also modularized my emacs init file. That all worked out nicely,
> although it seems gnus init file is no longer auto-line wrapping.
>
> But the bottom line is that I used ELPA to install flycheck. It
> seems to have succeeded at least to the extent it shows up as a minor
> mode when I display a file. How to use it I have yet to look into
> because it does not produce the dramatic colored highlight of
> flymake (I see there is an ELPA package to colorize, and I may
> try that).

It does colourize, but less intrusive than Flymake by default.  Customise
the flycheck-error, flycheck-warning and flycheck-info faces to change the
colouring.

There is no package that changes his Flycheck highlights errors.

> I am worried a bit ELPA's compilation of the package. There was an
> error that it was unable to activate package "f". The required package
> "s-1.7.0" is unavailable. When I look at s.el, I find :
>
>   s-buffer is an installed package.
>   Status: Installed in
>      `/home/haines/.emacs.d/elpa/s-buffer-20130605.1424/'.
>   Version: 20130605.1424
>   Requires: s-1.6.0, noflet-0.0.3
>   Summary: s operations for buffers

That is a known bug in Emacs 24.3.  See
https://github.com/flycheck/flycheck/pull/372#issuecomment-39475673 for
details and a fix.  The issue is fixed in upcoming Emacs 24.4

It's just a minor nuisance, though, and does not adversely affect Flycheck.

Also note that Flycheck has  comprehensive documentation available at
http://flycheck.rtfd.org/ which includes installation and setup
instructions. Please take the time to read it.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-05-04  9:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-01 20:54 flycheck on Emacs24 haines
2014-05-02  0:18 ` Sharon Kimble
2014-05-02  7:14 ` Eli Zaretskii
     [not found] ` <mailman.472.1398989910.1147.help-gnu-emacs@gnu.org>
2014-05-02 16:57   ` haines
2014-05-02 17:51     ` Sharon Kimble
2014-05-04  9:39     ` Sebastian Wiesner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).