-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for rcirc #2
Comments
Right, I use ispell.el to start the ispell process and that's it. Supporting rcirc should be doable by doing Now, how could we do that in a way that rcirc (which is too specific) doesn't need to know about jit-spell (even more specific) and vice-versa? Is it by any chance a comint-derived mode? |
I would like to have ricrc work OOTB for all users, not just for me so the advice isn't the right approach for me.
Is there a reason why jit-spell doesn't use ispell-skip-region-alist or some other option like that?
No, most rcirc buffer don't even have an associated process. Also, I don't think it would make sense for most comint derived modes to have spell checking (or at least I wouldn't know why -- you are usually writing non-prose). |
Yes, sorry, I meant to say what has to be done, either by you or me, for everybody else's profit :-).
Might be, but I come back to my question, what could I do in this package that is reasonably generic and doesn't involve special-casing rcirc? |
If rcirc and jit-spell both add support for |
If both add support then yes, but I can't quite see how to use If you could set a |
FWIW, I would like to have some regexp-based mechanism to exclude certain text. For example in Elisp files I get a lot of false positives on comments like autoloads, the package header or dashed symbol names. |
I think there's no way I could reasonable handle a list of excluded regexps. It really has to be a hook called with the start and end of the word in question, and you decide which excursion you need to do in order to figure things out. (“You” here refers to the major mode author, probably). Jit-spell has the function var |
This will probably make #9 worse (although I am not affected by it myself) but I think one way to do so is to add |
What do you think would be the best way to support rcirc? All we need is actually spell checking after the prompt, since I am neither interested in indications that nicks are not real words or that the messages someone else wrote (but for the sake of simplicity all messages) might have typos.
I tried something like this,
but it appears to have had no effect.
The text was updated successfully, but these errors were encountered: