Re: [AUCTeX] Problem with latex2e style hook --- LaTeX/Texinfo collision

2016-01-23 Thread Mosè Giordano
Hi Vincent and all, 2016-01-12 8:25 GMT+01:00 Vincent Belaïche : > Hello Mosè, > > I have had a look at your patch, and everything seems OK to > me. > > Concerning variable `TeX-style-hook-dialect-weight-alist', its use is to > convert dialect symbols (ie `:latex', `:texinfo', etc...) into a > int

Re: [AUCTeX] Problem with latex2e style hook --- LaTeX/Texinfo collision

2016-01-11 Thread Vincent Belaïche
, and I doubt anyway that there are any statistics about TeX dialect use. Fine, idle talk: that order has a non detectable impact on performance. Just do as you like. BR,    Vincent. > From: m...@gnu.org > Date: Mon, 11 Jan 2016 11:37:15 +0100 > Su

Re: [AUCTeX] Problem with latex2e style hook --- LaTeX/Texinfo collision

2016-01-11 Thread Mosè Giordano
Hi Vincent, 2016-01-08 12:27 GMT+01:00 Vincent Belaïche : > Hello Mosè, > > Ok, so the way we go is to have multi-dialect hooks, and you are asking > "Do you think is it easy to implement specification of multiple dialects > in AUCTeX style files?". > > So the good news is that in the contribution

Re: [AUCTeX] Problem with latex2e style hook --- LaTeX/Texinfo collision

2016-01-08 Thread Vincent Belaïche
...@gnu.org > Date: Fri, 8 Jan 2016 11:26:26 +0100 > Subject: Re: [AUCTeX] Problem with latex2e style hook --- LaTeX/Texinfo > collision > To: vincent@hotmail.fr > CC: auctex@gnu.org > > Hi Vincent, > > 2016-01-05 10:25 GMT+01:00 Vincent Belaïche : >> Hello Mosè,

Re: [AUCTeX] Problem with latex2e style hook --- LaTeX/Texinfo collision

2016-01-08 Thread Mosè Giordano
Hi Vincent, 2016-01-05 10:25 GMT+01:00 Vincent Belaïche : > Hello Mosè, > > HAPPY NEW YEAR 2016 ! > > Concerning the dialect information, to my recollection my problem was just > that when editing latex2e.texi of the latexrefman project (on GNA!), AUCTeX > was loading a LaTeX specific automatic

Re: [AUCTeX] Problem with latex2e style hook --- LaTeX/Texinfo collision

2016-01-05 Thread Vincent Belaïche
BR,    Vincent. > From: m...@gnu.org > Date: Sat, 2 Jan 2016 19:11:03 +0100 > Subject: Re: [AUCTeX] Problem with latex2e style hook --- LaTeX/Texinfo > collision > To: vincent@hotmail.fr > CC: auctex@gnu.org > > Hi Vincent, > >

Re: [AUCTeX] Problem with latex2e style hook --- LaTeX/Texinfo collision

2016-01-02 Thread Mosè Giordano
Hi Vincent, I am looking into adding the dialect to the data written by `TeX-auto-store', it's very simple to implement it (5 lines in total), but I have only one concern: why is there :latex but not :tex? Is it because they're essentially the same or do you think it would be better to have a dif

Re: [AUCTeX] Problem with latex2e style hook --- LaTeX/Texinfo collision

2014-08-18 Thread Tassilo Horn
Vincent Belaïche writes: Hi Vincent, > Now if you have some foo.tex in some directory sd/ containing some > \usepackage{foo} you will have an AUCTeX style "foo" that will load two > hooks: > * one from auctex/styles/foo.el, and > * one from sd/auto/foo.el Just to complete, it'll also load ~/

Re: [AUCTeX] Problem with latex2e style hook --- LaTeX/Texinfo collision

2014-08-16 Thread Vincent Belaïche
Ciao Mosè Answers inserted below... > From: m...@gnu.org > Date: Sat, 16 Aug 2014 22:20:37 +0200 > Subject: Re: [AUCTeX] Problem with latex2e style hook --- LaTeX/Texinfo > collision > To: vincent@hotmail.fr > CC: auctex@gnu.org; t

Re: [AUCTeX] Problem with latex2e style hook --- LaTeX/Texinfo collision

2014-08-16 Thread Mosè Giordano
Hi Vincent, 2014-08-16 7:04 GMT+02:00 Vincent Belaïche : > BTW, I later thought that is may be useful to have more elements in the > vector to specify what caused the addition of the hook. For instance > that would now be > > [TeX-style-hook HOOK-FUN CONTEXT ORIGINATOR-TAG ORIGINATOR-SIGNATURE] >

Re: [AUCTeX] Problem with latex2e style hook --- LaTeX/Texinfo collision

2014-08-15 Thread Vincent Belaïche
Let us answer to this one now... [...] > > > +context only, or a vector [TeX-style-hook HOOK-FUN CONTEXT] where > > +HOOK-FUN is the hook function to be run, and CONTEXT is a symbol > > +defining in which context the hook function may be run. > > Why [TeX-style-hook HOOK-FUN CONTEXT] and not simp

Re: [AUCTeX] Problem with latex2e style hook --- LaTeX/Texinfo collision

2014-08-15 Thread Vincent Belaïche
> From: m...@gnu.org > Date: Fri, 15 Aug 2014 15:26:06 +0200 > Subject: Re: [AUCTeX] Problem with latex2e style hook --- LaTeX/Texinfo > collision > To: darthand...@gmail.com > CC: vincent@hotmail.fr; auctex@gnu.org; k...@freefriends.org; t...@gnu.org > > Hi Ivan, >

Re: [AUCTeX] Problem with latex2e style hook --- LaTeX/Texinfo collision

2014-08-15 Thread Mosè Giordano
Hi Ivan, 2014-08-14 18:26 GMT+02:00 Ivan Andrus : > Just a thought for a workaround. Does it work to access the > file through a symlink with a different name? Yes, it works. Bye, Mosè ___ auctex mailing list auctex@gnu.org https://lists.gnu.org/mailm

Re: [AUCTeX] Problem with latex2e style hook --- LaTeX/Texinfo collision

2014-08-14 Thread Ivan Andrus
On Aug 14, 2014, at 7:39 AM, Mosè Giordano wrote: Hi Vincent, 2014-08-14 11:42 GMT+02:00 Vincent Belaïche : Dear all, I have found a problem with AUCTeX. Here is the observed problem: when I edit a Texinfo file named latex2e.texi 'C-c C-f' does not provide Texinfo-font-list but LaTeX-font-list

Re: [AUCTeX] Problem with latex2e style hook --- LaTeX/Texinfo collision

2014-08-14 Thread Mosè Giordano
Hi Vincent, 2014-08-14 11:42 GMT+02:00 Vincent Belaïche : > Dear all, > > I have found a problem with AUCTeX. Here is the observed problem: when I > edit a Texinfo file named latex2e.texi 'C-c C-f' does not provide > Texinfo-font-list but LaTeX-font-list. The problem happens only if > latex2e.texi

Re: [AUCTeX] Problem with latex2e style hook --- LaTeX/Texinfo collision

2014-08-14 Thread Tassilo Horn
Vincent Belaïche writes: Hi Vincent, > So, I thought a little bit, and I am coming with another solution > attached to this email as file . That > amounts to marking each hook with a context symbol and runing the hook > function only conditionally to the context being active. It is > implemented

[AUCTeX] Problem with latex2e style hook --- LaTeX/Texinfo collision

2014-08-14 Thread Vincent Belaïche
Dear all, I have found a problem with AUCTeX. Here is the observed problem: when I edit a Texinfo file named latex2e.texi 'C-c C-f' does not provide Texinfo-font-list but LaTeX-font-list. The problem happens only if latex2e.texi is not the first file I am editing, but I have edited some LaTeX file