On Fri, Dec 16 2016, Eastern Daylight Time wrote:
Hi Denis,
On 16 Dec 2016, at 15:07, Denis Bitouzé
wrote:
Would it be possible to have completion in minibuffer? Or maybe
there is
a better solution?
I use helm to get a sort of minibuffer completion when using
Hi,
thanks to completion packages (`auto-complete', `company'), one can save
a lot of time and pain while typing text and code.
It would be helpfull as well for LaTeX but, with C-c , everything
takes place in the mini-buffer where, AFAIK, completion of commands or
environments already present in
Hi Arash and all,
> 2 thing occurred to me when hitting `M-RET' in tabular environments:
> Current code in `LaTeX-array-count-columns' cannot handle multi column
> specs like `*{num}{spec}' and optional args to column specs S and s from
> siunitx.el. I have a patch to handle both issues. Can
2016-12-16 15:34 GMT+01:00 Denis Bitouzé :
> I see. So you meant `myenv' instead of `foo', don't you?
Yes, I didn't look back to the name of the environment ;-)
> Anyway, regarding your explanation, I couldn't see the point with the
> `\' before `\|myenv' in:
>
> ┌
>
Le 16/12/16 à 15h25, Mosè Giordano a écrit :
> 2016-12-16 15:17 GMT+01:00 Denis Bitouzé :
>> But what's the point with `\\|foo'? AFAICS:
>>
>> ┌
>> │ (setq LaTeX-document-regexp "myenv")
>> └
>>
>> does the trick as well.
>
> \(a\|b\)
>
> matches "a" or "b"
2016-12-16 15:17 GMT+01:00 Denis Bitouzé :
> But what's the point with `\\|foo'? AFAICS:
>
> ┌
> │ (setq LaTeX-document-regexp "myenv")
> └
>
> does the trick as well.
\(a\|b\)
matches "a" or "b" (but in the variable you don't need to put the
outer
Le 16/12/16 à 15h09, Mosè Giordano a écrit :
>> Regexp? Sigh... why life is to complicated?! ;)
>
> I don't know why it was conceived as a regexp rather than as a list of
> environment names (a regexp can be then built automatically).
Good news! :)
>> Anyway, I couldn't find any reference
2016-12-16 15:00 GMT+01:00 Denis Bitouzé :
> Hi Mosè,
>
> Le 16/12/16 à 14h38, Mosè Giordano a écrit :
>
>> 2016-12-16 8:17 GMT+01:00 Denis Bitouzé :
>>
>>> I'd like to achieve for `myenv' environment the same behavior as the
>>> `document' environment.
Hi Mosè,
Le 16/12/16 à 14h38, Mosè Giordano a écrit :
> 2016-12-16 8:17 GMT+01:00 Denis Bitouzé :
>
>> I'd like to achieve for `myenv' environment the same behavior as the
>> `document' environment. For instance, with the following content:
>>
>> ┌
>> │
Le 16/12/16 à 14h27, Tamas Papp a écrit :
> An alternative approach is use-package, eg
>
> (use-package latex
> :config (add-to-list 'LaTeX-indent-environment-list
>'("myenv" current-indentation)))
>
> See https://github.com/jwiegley/use-package
Interesting package I'll
Hi Denis,
2016-12-16 8:17 GMT+01:00 Denis Bitouzé :
> I'd like to achieve for `myenv' environment the same behavior as the
> `document' environment. For instance, with the following content:
>
> ┌
> │ \documentclass{article}
> │ \begin{document}
> │ Foo.
> │
On Thu, Dec 15 2016, Mosè Giordano wrote:
> 2016-12-15 18:37 GMT+01:00 Denis Bitouzé :
>> Could you please elaborate the trick? I added:
>>
>> ┌
>> │ (add-to-list 'LaTeX-indent-environment-list '("myenv"
>> current-indentation))
>> └
>>
>> to my `.emacs' but
12 matches
Mail list logo