[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX-devel] New style enumitem.el

From: Arash Esbati
Subject: Re: [AUCTeX-devel] New style enumitem.el
Date: Tue, 10 Mar 2015 17:49:17 +0000 (UTC)
User-agent: Loom/3.14 (

Tassilo Horn <tsdh <at>> writes:

> Arash Esbati <esbati <at>> writes:
> > Functionality-wise, I don't see any problems.  But I can get rid of
> > those random numbers, for sure.  So I would say it's your call: should
> > I send a small patch for this?  I would have to update caption.el as
> > well.
> Yes, I'd prefer that even if it's only for having more meaningful (read,
> human-understandable) entries in auto/yourdoc.el.

Will do.  As a final polish, I tweaked
`LaTeX-enumitem-SetEnumitemValue-regexp' to ignore the 3. argument (usually
(La)TeX-code not relevant for the style).  Now, the result looks like this:

--8<---------------cut here---------------start------------->8---

%% Next lines entered with `C-c RET SetEnumitemValue RET ...'

Value of `LaTeX-enumitem-SetEnumitemValue-list':
((("\\SetEnumitemValue{leftmargin}{almoststandard}" "leftmargin"
 (("\\SetEnumitemValue{leftmargin}{semistandard}" "leftmargin" "semistandard")
  ("\\SetEnumitemValue{leftmargin}{standard}" "leftmargin" "standard")))

After `C-c C-n', value of `LaTeX-enumitem-SetEnumitemValue-list':
((("\\SetEnumitemValue{leftmargin}{standard}" "leftmargin" "standard")
  ("\\SetEnumitemValue{leftmargin}{semistandard}" "leftmargin" "semistandard")
  ("\\SetEnumitemValue{leftmargin}{almoststandard}" "leftmargin"
--8<---------------cut here---------------end--------------->8---

I will do some final testing and send a patch for both styles this weekend.

Best, Arash

reply via email to

[Prev in Thread] Current Thread [Next in Thread]