Re: [Bug-AUCTeX] 11.87; Bug in the expansion of %' in TeX-expand-list

2014-08-26 Thread Florent Rougon
Hi, Tassilo Horn wrote: >> I'd suggest the following test (yes, I'll try to see about the >> papers...): I forgot to add a: (require 'tex) because of the use of `TeX-default-extension'. > I have sent you the CA request form. Received, thank you. I'll see what I can do with these... Bye

Re: [Bug-AUCTeX] 11.87; Bug in the expansion of %' in TeX-expand-list

2014-08-26 Thread Tassilo Horn
Florent Rougon writes: Hi Florent, > I'd suggest the following test (yes, I'll try to see about the > papers...): I have sent you the CA request form. Bye, Tassilo ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo

Re: [Bug-AUCTeX] 11.87; Bug in the expansion of %' in TeX-expand-list

2014-08-25 Thread Florent Rougon
Hi, For the time being, I'm subscribed to the list. Mosè Giordano wrote: > Does someone know why this test > (require 'ert) > (require 'tex-buf) [...] > fails, though the `should' macro returns t? It seems I need to get > familiar with ERT. I'd suggest the following test (yes, I'll try to s

Re: [Bug-AUCTeX] 11.87; Bug in the expansion of %' in TeX-expand-list

2014-08-24 Thread Mosè Giordano
Hi Nicolas, 2014-08-24 22:01 GMT+02:00 Nicolas Richard : > Hi Mosè, > > Mosè Giordano writes: >> Does someone know why this test >> --8<---cut here---start->8--- >> (require 'ert) >> (require 'tex-buf) >> >> (ert-deftest TeX-command-expansion () >> (should (s

Re: [Bug-AUCTeX] 11.87; Bug in the expansion of %' in TeX-expand-list

2014-08-24 Thread Nicolas Richard
Hi Mosè, Mosè Giordano writes: > Does someone know why this test > --8<---cut here---start->8--- > (require 'ert) > (require 'tex-buf) > > (ert-deftest TeX-command-expansion () > (should (string= >(progn > (add-to-list 'TeX-command-list >

Re: [Bug-AUCTeX] 11.87; Bug in the expansion of %' in TeX-expand-list

2014-08-24 Thread Mosè Giordano
2014-08-24 20:06 GMT+02:00 Mosè Giordano : >> One can exhibit the problem by putting for instance before the %' >> in a TeX-command-list entry. Normally, this sequence should expand to >> %%. However, because of the bug, it is expanded a second time after %' >> has been expanded, thus yielding

Re: [Bug-AUCTeX] 11.87; Bug in the expansion of %' in TeX-expand-list

2014-08-24 Thread Mosè Giordano
Hi Florent, 2014-08-24 16:01 GMT+02:00 Florent Rougon : > Hello, > > Here is a tiny patch for a bug in the expansion of %' in TeX-expand-list > (tex.el): when it inserts the concatenation of TeX-command-text and > " \"\\input\"" into the command line being constructed, it does: > > (setq pos (+

[Bug-AUCTeX] 11.87; Bug in the expansion of %' in TeX-expand-list

2014-08-24 Thread Florent Rougon
Hello, Here is a tiny patch for a bug in the expansion of %' in TeX-expand-list (tex.el): when it inserts the concatenation of TeX-command-text and " \"\\input\"" into the command line being constructed, it does: (setq pos (+ (length TeX-command-text) 9)) where 9 is the length of " \"\\input\"