Ralf Angeli wrote:
> * Ralf Angeli (2009-04-13) writes:
>
>> The key=value completion would mostly be used for what now is covered by
>> `LaTeX-pst-parameters'. I've switched that to key=value completion in
>> my local copy of pstricks.el. You can check it out with the attached
>> patch which obviously is still kinda rough. It also contains some
>> comments we should address.
>
> Since I haven't heard from Holger for about half a year now, I applied
> the patch in CVS. As mentioned before it's a bit rough and there are
> many areas for improvement (see the FIXME notes) but overall the
> handling of parameter insertion and completion should be better than
> before.
Thank you for applying the patch. And it is definitely better than before.
(Somehow I lost sight of pstricks and auctex for quite a while. Sorry.)
> Note that I disabled the key bindings for the macro parameter addition
> and change functions because the functions are too specific to
> pstricks.el to warrant such a binding. If people are opposed to the
> removal, we could provide a variable for enabling the binding in order
> to make that easier for users. But ideally that should be a general
> functionality and not one of pstricks.el. In that case I would not have
> a problem with providing a fixed binding.
No objection here.
What would be the right approach for a general parameter adding procedure?
- look at the LaTeX command
- look at the arguments (e.g. for package options to add)
- find the right parameter list
- do the completion
- insert parameter at the right place
> Anyway, comments and patches are welcome to improve pstricks.el further.
I think, the parameter completion can be introduced in other styles
files, too.
Any comments on that?
Holger
--
_______________________________________________
auctex-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex-devel