Re: In-buffer completion for macro/env arguments

2023-08-18 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: > I have little experience with cl-lib, so please bear with me if I'm > saying something stupid. No worries, now we are 2 :-) > As far as I can read out of elisp reference and their doc strings, > > (cl-flet ((AAA BBB)) > (AAA CCC)) > > is basically the same as

Re: In-buffer completion for macro/env arguments

2023-08-14 Thread Ikumi Keita
Hi Arash, > Arash Esbati writes: >> (1) `string-trim' and `string-empty-p' > Thanks for catching these. I should have checked better :-( I checked > the sources and what do you think about something like this in latex.el: > (eval-when-compile > (when (< emacs-major-version 29) >

Re: In-buffer completion for macro/env arguments

2023-08-13 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: > I noticed some of your recent commits broke compatibility with emacs 26 > and 27. > > On the current master branch, "gmake EMACS=emacs-26.1" (or 27.1) gives > -- > In end of data: >

Re: In-buffer completion for macro/env arguments

2023-08-09 Thread Ikumi Keita
Hi Arash, I noticed some of your recent commits broke compatibility with emacs 26 and 27. On the current master branch, "gmake EMACS=emacs-26.1" (or 27.1) gives -- In end of data: latex.el:9045:1:Warning: the following functions

In-buffer completion for macro/env arguments

2022-11-03 Thread Arash Esbati
Hi all, I've installed a change (35ec84ba6f) which brings in-buffer completion for macro and environment arguments to AUCTeX. This feature relies solely on the information it finds in `TeX-symbol-list' and `LaTeX-environment-list' which means that currently: 1. Wrong completion candidates are