Re: [AUCTeX] fontification question

2017-05-01 Thread Arash Esbati
François Patte writes: > Thank you for the corrections in the last Auctex version, but openning > an old file, when I typed diacritical mark using TeX command for > accented characters, I can see that the problem remains for all these > commands; examples: >

Re: [AUCTeX] fontification question

2017-05-01 Thread François Patte
Le 17/04/2017 à 09:30, Tassilo Horn a écrit : > François Patte writes: > > Bonjour François, > >> I added to my .Xresources file: >> "Emacs.font-latex-sedate-face.attributeForeground: indianred2" in >> order to have all LaTeX commands in indianred. >> >> But

Re: [AUCTeX] fontification question

2017-04-28 Thread Arash Esbati
Mosè Giordano writes: > I think that start writing tests for fontification may be a good idea > at some point ;-) True, I started with it sometimes ago as I was playing with fontification of verb macros:

Re: [AUCTeX] fontification question

2017-04-28 Thread Mosè Giordano
I think that start writing tests for fontification may be a good idea at some point ;-) Fontification tends to be often broken and it's hard to understand what was actually broken and what's the status-quo that we want to preserve. Bye, Mosè 2017-04-28 13:32 GMT+02:00 Arash Esbati

Re: [AUCTeX] fontification question

2017-04-28 Thread Arash Esbati
Arash Esbati writes: > Tassilo Horn writes: > >> Ah, right. Well, then I guess your patch makes sense. Feel free to >> commit it. > > Done. Best, Arash Well, I have found one use-case where the patch still doesn't fit: expl3 syntax. Please consider this snippet:

Re: [AUCTeX] fontification question

2017-04-27 Thread Arash Esbati
Tassilo Horn writes: > Ah, right. Well, then I guess your patch makes sense. Feel free to commit it. Done. Best, Arash ___ auctex mailing list auctex@gnu.org https://lists.gnu.org/mailman/listinfo/auctex

Re: [AUCTeX] fontification question

2017-04-27 Thread Tassilo Horn
Ah, right. Well, then I guess your patch makes sense. Feel free to commit it. Bye, Tassilo Am 27. April 2017 19:58:17 schrieb Arash Esbati : Tassilo Horn writes: Well, you did not succeed in fixing the bug I've introduced. ;-) I'm not that much on top of the

Re: [AUCTeX] fontification question

2017-04-27 Thread Arash Esbati
Tassilo Horn writes: > Well, you did not succeed in fixing the bug I've introduced. ;-) I'm not that much on top of the game ;-) > Are those valid commands? When I try to define them using > > \newcommand{\"o}{tüddelchen o} > \newcommand{\^o}{dach o} > \newcommand{\~o}{tilde o}

Re: [AUCTeX] fontification question

2017-04-27 Thread Tassilo Horn
Arash Esbati writes: >> Oh, yeah, I introduced the bug. > > To avoid any misunderstandings: I meant that my last patch was not > good enough. Well, you did not succeed in fixing the bug I've introduced. ;-) >> My change said that the first char after the \ must not be a - or a

Re: [AUCTeX] fontification question

2017-04-25 Thread Arash Esbati
Tassilo Horn writes: > Arash Esbati writes: > >> Following up myself, the patch was not good enough. > > Oh, yeah, I introduced the bug. To avoid any misunderstandings: I meant that my last patch was not good enough. > My change said that the first char after the

Re: [AUCTeX] fontification question

2017-04-25 Thread Arash Esbati
Arash Esbati writes: > as for the next iteration, I also added " " (space) to the ignored > characters list. Otherwise, > > \foo\ bar > > had "bar" highlighted. Following up myself, the patch was not good enough. Here a test case of fontification right now: Applying this

Re: [AUCTeX] fontification question

2017-04-24 Thread Arash Esbati
Tassilo Horn writes: > Mosè Giordano writes: > >> I added also "," to the characters to be ignored, because with the patch >> >> foo\,bar >> >> had "\,bar" highlighted. > > Right, I've forgotten that. Hi all, as for the next iteration, I also added " " (space) to

Re: [AUCTeX] fontification question

2017-04-21 Thread Tassilo Horn
Mosè Giordano writes: > I added also "," to the characters to be ignored, because with the patch > > foo\,bar > > had "\,bar" highlighted. Right, I've forgotten that. Thanks, Tassilo ___ auctex mailing list auctex@gnu.org

Re: [AUCTeX] fontification question

2017-04-21 Thread Mosè Giordano
Hi Tassilo, I added also "," to the characters to be ignored, because with the patch foo\,bar had "\,bar" highlighted. Bye, Mosè 2017-04-17 9:30 GMT+02:00 Tassilo Horn : > François Patte writes: > > Bonjour François, > >> I added to my

Re: [AUCTeX] fontification question

2017-04-17 Thread Tassilo Horn
François Patte writes: Bonjour François, > I added to my .Xresources file: > "Emacs.font-latex-sedate-face.attributeForeground: indianred2" in > order to have all LaTeX commands in indianred. > > But when I use a command like \- for discretionnary hyphen,

[AUCTeX] fontification question

2017-04-14 Thread François Patte
Bonjour, I added to my .Xresources file: "Emacs.font-latex-sedate-face.attributeForeground: indianred2" in order to have all LaTeX commands in indianred. But when I use a command like \- for discretionnary hyphen, the whole word after the \- command is turned into indian red, ie. the