Re: [AUCTeX-devel] Spell checking of macros

2016-07-22 Thread Arash Esbati
Hi Mosè, Mosè Giordano writes: > 2016-07-20 16:06 GMT+02:00 Arash Esbati : >> Arash Esbati writes: >> >>> Mosè Giordano writes: >>> Please, add documentation and mention the new feature in the news section as well. >>> >>> I

Re: [AUCTeX-devel] Spell checking of macros

2016-07-21 Thread Mosè Giordano
Hi Arash, 2016-07-20 16:06 GMT+02:00 Arash Esbati : > Arash Esbati writes: > >> Mosč Giordano writes: >> >>> Please, add documentation and mention the new feature in the news >>> section as well. >> >> I will update the manual as well (have to find a

Re: [AUCTeX-devel] Spell checking of macros

2016-07-18 Thread Arash Esbati
Hi Mosè, Mosè Giordano writes: > It looks overall good to me, but note that error messages *do not* end > with a period (see `error`'s docstring) and you should replace the > `message' function with `format' (and I don't think `beep' is needed). Thanks for reviewing! I dropped

Re: [AUCTeX-devel] Spell checking of macros

2016-07-17 Thread David Kastrup
Mosè Giordano writes: > 2016-07-17 19:28 GMT+02:00 David Kastrup : >> Mosè Giordano writes: >> >>> It looks overall good to me, but note that error messages *do not* end >>> with a period (see `error`'s docstring) and you should replace the >>>

Re: [AUCTeX-devel] Spell checking of macros

2016-07-17 Thread Mosè Giordano
2016-07-17 19:28 GMT+02:00 David Kastrup : > Mosè Giordano writes: > >> Hi Arash, >> >> 2016-07-12 10:25 GMT+02:00 Arash Esbati : >>> Arash Esbati writes: >>> I'm thinking about writing a function like this to catch this kind of

Re: [AUCTeX-devel] Spell checking of macros

2016-07-17 Thread David Kastrup
Mosè Giordano writes: > Hi Arash, > > 2016-07-12 10:25 GMT+02:00 Arash Esbati : >> Arash Esbati writes: >> >>> I'm thinking about writing a function like this to catch this kind of >>> arguments: >>> >>> (defun TeX-ispell-tex-arg-end ( arg1 arg2)

Re: [AUCTeX-devel] Spell checking of macros

2016-07-17 Thread Mosè Giordano
Hi Arash, 2016-07-12 10:25 GMT+02:00 Arash Esbati : > Arash Esbati writes: > >> I'm thinking about writing a function like this to catch this kind of >> arguments: >> >> (defun TeX-ispell-tex-arg-end ( arg1 arg2) >> (condition-case nil >> (progn

Re: [AUCTeX-devel] Spell checking of macros

2016-07-12 Thread Arash Esbati
Arash Esbati writes: > I'm thinking about writing a function like this to catch this kind of > arguments: > > (defun TeX-ispell-tex-arg-end ( arg1 arg2) > (condition-case nil > (progn > (while (looking-at "[ \t\n]*\\[") (forward-sexp)) >

Re: [AUCTeX-devel] Spell checking of macros

2016-07-11 Thread Mosè Giordano
Hi David, 2016-07-11 11:50 GMT+02:00 David Kastrup : > Mosè Giordano writes: >> I have the impression that currently AUCTeX doesn't require to be >> compiled. My understanding is that with this change compilation would >> become practically mandatory (at least in

Re: [AUCTeX-devel] Spell checking of macros

2016-07-11 Thread David Kastrup
Mosè Giordano writes: > 2016-07-11 11:19 GMT+02:00 Arash Esbati : >> Hi Mosè, >> >> Mosè Giordano writes: >> >>> 2016-07-08 19:11 GMT+02:00 Arash Esbati : Hi Mosè, Mosè Giordano writes: > Thanks for

Re: [AUCTeX-devel] Spell checking of macros

2016-07-11 Thread Mosè Giordano
Hi Arash, 2016-07-11 11:19 GMT+02:00 Arash Esbati : > Hi Mosè, > > Mosè Giordano writes: > >> 2016-07-08 19:11 GMT+02:00 Arash Esbati : >>> Hi Mosè, >>> >>> Mosè Giordano writes: >>> Thanks for your work! Some questions:

Re: [AUCTeX-devel] Spell checking of macros

2016-07-11 Thread Arash Esbati
Hi Mosè, Mosè Giordano writes: > 2016-07-08 19:11 GMT+02:00 Arash Esbati : >> Hi Mosè, >> >> Mosè Giordano writes: >> >>> Thanks for your work! Some questions: >>> >>> * why all those `eval-when-compile'? >> >> The final regexp which goes into

Re: [AUCTeX-devel] Spell checking of macros

2016-07-09 Thread Mosè Giordano
Hi Arash, 2016-07-08 19:11 GMT+02:00 Arash Esbati : > Hi Mosè, > > Mosè Giordano writes: > >> 2016-07-08 12:55 GMT+02:00 Arash Esbati : >>> >>> Following up myself, I think I have a working setup for an AUCTeX ispell >>> dictionary (diff attached). I

Re: [AUCTeX-devel] Spell checking of macros

2016-07-08 Thread Arash Esbati
Hi Mosè, Mosè Giordano writes: > 2016-07-08 12:55 GMT+02:00 Arash Esbati : >> >> Following up myself, I think I have a working setup for an AUCTeX ispell >> dictionary (diff attached). I hope this way, it will be easy to add >> more macro/env names. I would

Re: [AUCTeX-devel] Spell checking of macros

2016-07-08 Thread Mosè Giordano
Hi Arash, 2016-07-08 12:55 GMT+02:00 Arash Esbati : > Hi all, > > Arash Esbati writes: > >> Mosč Giordano writes: >> >>> 2016-06-26 11:06 GMT+02:00 Arash Esbati : Currently, I don't have an idea how to integrate Flyspell into

Re: [AUCTeX-devel] Spell checking of macros

2016-07-08 Thread Arash Esbati
Hi all, Arash Esbati writes: > Mosè Giordano writes: > >> 2016-06-26 11:06 GMT+02:00 Arash Esbati : >>> >>> Currently, I don't have an idea how to integrate Flyspell into this. >> >> Ok, fine, this shouldn't prevent you from going on with your work

Re: [AUCTeX-devel] Spell checking of macros

2016-06-30 Thread Arash Esbati
Mosè Giordano writes: > 2016-06-26 11:06 GMT+02:00 Arash Esbati : >> >> Currently, I don't have an idea how to integrate Flyspell into this. > > Ok, fine, this shouldn't prevent you from going on with your work on > ispell ;-) No worries ;-) Here is the current

Re: [AUCTeX-devel] Spell checking of macros

2016-06-26 Thread Mosè Giordano
Hi Arash, 2016-06-26 11:06 GMT+02:00 Arash Esbati : > I don't use Flyspell, so hard for me to tell. Does Flyspell support > skipping environments at all? The only relevant variable in flyspell.el > I see is `flyspell-tex-command-regexp' which matches only TeX commands. I don't

Re: [AUCTeX-devel] Spell checking of macros

2016-06-26 Thread Arash Esbati
Hi Mosè, Mosè Giordano writes: > 2016-06-24 12:48 GMT+02:00 Arash Esbati : >> Hi all, >> >> there is an item on AUCTeX's wish list: >> >> o Spell checking of macros >> A special ispell dictionary for macros could be nice to have. >> >> I'm not sure if there were

Re: [AUCTeX-devel] Spell checking of macros

2016-06-24 Thread Mosè Giordano
Hi Arash, 2016-06-24 12:48 GMT+02:00 Arash Esbati : > Hi all, > > there is an item on AUCTeX's wish list: > > o Spell checking of macros > A special ispell dictionary for macros could be nice to have. > > I'm not sure if there were activities in this regard in the past, but >

[AUCTeX-devel] Spell checking of macros

2016-06-24 Thread Arash Esbati
Hi all, there is an item on AUCTeX's wish list: o Spell checking of macros A special ispell dictionary for macros could be nice to have. I'm not sure if there were activities in this regard in the past, but AFAICT, it is about adding items to car and/or cdr of `ispell-tex-skip-alists'.