all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Teemu Likonen <tlikonen@iki.fi>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: wcheck-mode (was: Finding packages to enable by default)
Date: Sat, 21 Jun 2014 16:18:26 +0300	[thread overview]
Message-ID: <8738ey8kpp.fsf_-_@mithlond.arda> (raw)
In-Reply-To: <jwvwqcbkqph.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri, 20 Jun 2014 21:28:08 -0400")

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

Stefan Monnier [2014-06-20 21:28:08 -04:00] wrote:

> I just had a look at wcheck-mode and it looks very interesting. Would
> you be interesting in contributing the code (we could at a minimum
> include it in GNU ELPA, tho I think it might be worthwhile in Emacs
> itself).

Either way is fine. The papers have been signed so I guess you can just
pull the code. Potentially Emacs developers can improve it. I'm pretty
much of type "I just scratch my own itches" and to me wcheck is about
ready. So I'm not interested in new heavy maintenance burden. But I'm
here and can help.

> I see it is "display and timer driven". The "display driven" part is
> interesting since it saves you from having to "touch" text before it
> gets syntax-checked. And the "timer driven" part makes it less
> intrusive performance-wise. Also it operates on larger chunks of text
> at a time, which is more efficient.

I remember trying a couple of different things years ago and they all
were based on the idea of reading the buffers' window content kind of
visually. Invisible text is skipped and text outside window areas is not
read nor painted.

> I have a question: why does it use window-scroll-functions and such
> hooks instead of using jit-lock?

Maybe just because I'm not familiar with jit-lock. Wcheck uses some of
its features, though. Anyway, the idea is to trigger wcheck read event
for after any change in window configuration, buffer content, outline
visibility etc. It's perfectly fine to use other methods if they offer
similar trigger. After a quick look, maybe through jit-lock-register?

> One downside for the user is that ispell.el's M-TAB might not work as
> well since by the time wcheck's timer runs to discover your typo, the
> user might "too far".

Wcheck's "action" feature uses synchronous process to get information
From its back-end program. Maybe wcheck's version of M-TAB feature can
be implemented similar way. I've never used M-TAB, though.

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

  reply	other threads:[~2014-06-21 13:18 UTC|newest]

Thread overview: 182+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-29 16:50 Finding packages to enable by default Tom
2013-11-29 17:33 ` Stefan Monnier
2013-11-29 18:54   ` Tom
2013-11-29 20:12     ` chad
2013-11-29 20:32     ` Stefan Monnier
2013-11-29 21:01       ` Tom
2013-11-29 21:40         ` Dmitry Gutov
2013-11-29 22:13           ` Tom
2013-11-30  1:59             ` Glenn Morris
2013-11-30  4:00               ` Stefan Monnier
2013-11-30  6:34                 ` Tom
2013-11-30 13:47                   ` Stefan Monnier
2013-11-30 19:10                     ` Glenn Morris
2013-12-01  9:01                       ` Tom
2013-12-01  9:13                         ` Jambunathan K
2013-12-01  9:21                           ` Tom
2013-12-01  9:33                             ` Jambunathan K
2013-12-01 15:44                         ` Stefan Monnier
2013-12-01 16:42                           ` Tom
2013-12-01 19:01                             ` Stefan Monnier
2013-12-02 17:09                               ` Tom
2013-12-02 17:45                                 ` Stefan Monnier
2013-12-03 17:05                                   ` Tom
2013-12-03 18:11                                     ` Drew Adams
2013-12-03 18:30                                       ` Tom
2013-12-03 19:18                                         ` Drew Adams
2013-12-03 19:32                                           ` Tom
2013-12-03 19:55                                         ` [RFC] Micro-Init files in GNU ELPA & Survey suggestions(Re: Finding packages to enable by default) Jambunathan K
2013-12-03 20:35                                           ` Tom
2013-12-04  5:04                                             ` Jambunathan K
2013-12-04  5:29                                               ` Jambunathan K
2013-12-04 15:50                                               ` [RFC] Micro-Init files in GNU ELPA Ted Zlatanov
2013-12-04 15:48                                           ` Ted Zlatanov
2013-12-05  4:46                                             ` Jambunathan K
2013-12-05 14:27                                               ` Ted Zlatanov
2013-12-05 14:45                                                 ` joakim
2013-12-05 16:33                                                   ` Jambunathan K
2013-12-05 16:56                                                     ` T.V. Raman
2013-12-06  0:49                                                       ` Stefan Monnier
2013-12-06  3:28                                                         ` Tom Tromey
2013-12-06  3:49                                                           ` Stephen J. Turnbull
2013-12-05 23:18                                                     ` Stephen J. Turnbull
2013-12-06  1:34                                                       ` Jambunathan K
2013-12-04  8:26                                       ` Finding packages to enable by default Jambunathan K
2013-12-04  9:13                                         ` Jambunathan K
2013-12-04  4:09                                     ` Stefan Monnier
2013-12-04  4:21                                       ` Andrew Hyatt
2013-12-04  5:46                                         ` Jambunathan K
2013-12-04 16:08                                         ` Bozhidar Batsov
2013-12-04 20:18                                           ` Stefan Monnier
2013-12-04 20:32                                             ` Tom
2013-12-04 21:16                                               ` Alex Schroeder
2013-12-04 21:36                                                 ` Tom
2013-12-05  1:35                                               ` Stefan Monnier
2013-12-05 15:24                                                 ` Davis Herring
2013-12-05 17:10                                                 ` Tom
2013-12-05 18:42                                                   ` Stefan Monnier
2013-12-05 23:33                                                   ` Stephen J. Turnbull
2013-12-04 21:13                                             ` Rüdiger Sonderfeld
2013-12-04 21:18                                               ` Tom
2013-12-04 21:39                                                 ` Tom
2013-12-04 22:09                                             ` Dmitry Gutov
2013-12-05  7:00                                               ` martin rudalics
2013-12-05  8:51                                                 ` Bozhidar Batsov
2013-12-05 18:25                                                   ` Stefan Monnier
2013-12-05 18:57                                                     ` Drew Adams
2013-12-05 23:33                                                     ` Dmitry Gutov
2013-12-06  0:55                                                       ` Stefan Monnier
2013-12-06  2:07                                                         ` Drew Adams
2013-12-06  4:28                                                           ` Stefan Monnier
2013-12-06  5:16                                                             ` Drew Adams
2013-12-06  5:53                                                               ` Jambunathan K
2013-12-06  6:05                                                                 ` Drew Adams
2013-12-06  6:37                                                                   ` Jambunathan K
2013-12-06  8:21                                                                     ` Eli Zaretskii
2013-12-06  8:18                                                                 ` Eli Zaretskii
2013-12-06 11:20                                                                   ` Jambunathan K
2013-12-06 11:29                                                                     ` Eli Zaretskii
2013-12-06 11:42                                                                       ` Jambunathan K
2013-12-06 13:57                                                                     ` Drew Adams
2013-12-06 14:18                                                                       ` Jambunathan K
2013-12-06  8:09                                                             ` Eli Zaretskii
2013-12-06  8:21                                                         ` martin rudalics
2013-12-06 17:30                                                           ` Stefan Monnier
2013-12-06 17:40                                                             ` Juanma Barranquero
2013-12-07 22:48                                                               ` Stefan Monnier
2013-12-08 17:45                                                                 ` Lars Magne Ingebrigtsen
2013-12-08 21:21                                                                   ` Dmitry Gutov
2013-12-10  1:58                                                                     ` Stefan Monnier
2013-12-11  3:48                                                                       ` Dmitry Gutov
2013-12-11 14:09                                                                         ` Stefan Monnier
2013-12-11 14:43                                                                           ` Dmitry Gutov
2013-12-08 20:23                                                               ` Stephen Leake
2013-12-08 20:50                                                                 ` Eli Zaretskii
2013-12-08 22:35                                                                 ` Juanma Barranquero
2013-12-09  2:13                                                                 ` ada mode [was Re: Finding packages to enable by default] Glenn Morris
2013-12-12 16:42                                                                   ` Stephen Leake
2013-12-12 17:44                                                                     ` Rüdiger Sonderfeld
2013-12-10  2:04                                                                 ` Finding packages to enable by default Stefan Monnier
2013-12-12 17:59                                                                   ` Stephen Leake
2013-12-11  3:50                                                             ` Dmitry Gutov
2013-12-11  8:13                                                               ` martin rudalics
2013-12-11 11:25                                                                 ` Dmitry Gutov
2013-12-11 14:13                                                                 ` Stefan Monnier
2013-12-11 14:44                                                                   ` Dmitry Gutov
2013-12-11 15:26                                                                     ` Stefan Monnier
2013-12-13  4:17                                                                   ` Dmitry Gutov
2013-12-06  8:21                                                     ` martin rudalics
2013-12-05  0:28                                             ` Stephen J. Turnbull
2013-12-05  4:34                                             ` Jambunathan K
2013-12-06  5:37                                             ` Josh
2013-12-06  5:46                                               ` Drew Adams
2013-12-06  6:01                                               ` Jambunathan K
2013-12-04 21:32                                       ` icomplete-mode vs. iswitchb Alex Schroeder
2013-12-05  1:30                                         ` Stefan Monnier
2013-12-05  2:05                                           ` Stefan Monnier
2013-12-05 12:45                                             ` Alex Schroeder
2013-12-05 13:26                                               ` Bozhidar Batsov
2013-12-05 18:26                                               ` Stefan Monnier
2013-12-08 15:44                                                 ` Mathias Dahl
2013-12-10  1:43                                                   ` Stefan Monnier
2013-12-10  9:56                                                     ` Mathias Dahl
2013-12-11 14:07                                                       ` Stefan Monnier
2013-12-22 18:24                                                         ` Mathias Dahl
2013-12-23  1:30                                                           ` Stefan Monnier
2013-12-27 22:24                                                             ` Mathias Dahl
2013-12-05  8:10                                           ` Alex Schroeder
2013-12-05 18:57                                           ` Josh
2013-12-08 19:05                                           ` Stephen Eglen
2013-12-08 19:09                                             ` Jambunathan K
2013-12-09 18:39                                               ` Stephen Eglen
2013-12-10  5:15                                             ` Josh
2013-12-11  4:04                                               ` Stefan Monnier
2013-12-11 18:09                                                 ` Josh
2013-12-12  3:33                                                   ` Stefan Monnier
2013-12-12 12:07                                                     ` Stephen Eglen
2013-12-12 12:26                                                       ` Dmitry Gutov
2013-12-12 12:41                                                         ` Stephen Eglen
2013-12-12 16:38                                                         ` Josh
2013-12-12 17:11                                                         ` chad
2013-12-13  2:45                                                           ` Dmitry Gutov
2013-12-13  2:56                                                             ` Stefan Monnier
2013-12-13  3:31                                                               ` Dmitry Gutov
2013-12-12 18:20                                                         ` Stefan Monnier
2013-12-12 18:53                                                           ` Stephen Eglen
2013-12-12 19:34                                                           ` Josh
2013-12-12 17:15                                                     ` Josh
2013-12-11  4:06                                               ` Stefan Monnier
2013-12-06 16:49                                         ` Stephen Eglen
2013-12-06 17:39                                           ` Stefan Monnier
2013-12-06 23:07                                             ` Josh
2013-12-07 13:22                                               ` Stephen Eglen
2013-11-30  6:27               ` Finding packages to enable by default Tom
2013-11-30 19:06                 ` Glenn Morris
2013-12-01  9:10                   ` Tom
2013-12-01 22:55                     ` Richard Stallman
2013-12-02 17:15                       ` Tom
2013-12-05 19:48                         ` Richard Stallman
2013-11-30  5:34         ` Josh
2013-11-30  6:03           ` Jambunathan K
2013-12-09 11:21 ` Alex Schroeder
2013-12-16 12:07   ` Alex Schroeder
2013-12-17 10:34     ` Jambunathan K
2014-06-19 15:26       ` Stefan Monnier
2014-06-19 22:54         ` Drew Adams
2014-06-19 23:57         ` Daimrod
2014-06-20  8:25         ` Teemu Likonen
2014-06-20  9:25           ` Thorsten Jolitz
2014-06-20 12:56           ` Stefan Monnier
2014-06-20 13:38             ` Teemu Likonen
2014-06-20 14:04               ` Eli Zaretskii
2014-06-20 15:17                 ` Teemu Likonen
2014-06-20 18:34                   ` Eli Zaretskii
2014-06-20 19:49                     ` Teemu Likonen
2014-06-21  1:28                       ` Stefan Monnier
2014-06-21 13:18                         ` Teemu Likonen [this message]
2014-07-07 14:07                           ` wcheck-mode Stefan Monnier
2014-06-20 14:44               ` Finding packages to enable by default Stefan Monnier
2014-06-25  9:11             ` Sebastien Vauban
2014-06-21 21:51         ` Juri Linkov
2014-06-25  9:12           ` Sebastien Vauban
2014-06-21 22:16         ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8738ey8kpp.fsf_-_@mithlond.arda \
    --to=tlikonen@iki.fi \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.