>>>> electric pair mode automatically closes parentheses like (,[,{,... Can I
>>>> customize this such that when I edit a latex document it also closes
>>>> expressions like \left( with \right)?
>>>>
>>>> Regards,
>>>> Laurent
>>>
>>> Yup, see 'electric-pair-pairs'
>>>
>>
>> Hi,
>>
>> if I try to change this option (through the customize interface) by
>> adding \left( and \right) to the list, emacs complains with the
>> following message:
>>
>> Saving electric-pair-pairs: This field should contain a single character.
>>
>> Regards,
>> Laurent
>
> Sorry for the disinfo, I didn't actually attempt to customize it, only
> saw that it was customizable, and assumed that it would allow arbitrary,
> as opposed to single-character-only pair definitions.
>
> Perhaps you can get something working with skeleton-mode
> (
http://www.emacswiki.org/emacs/SkeletonPair) ?
>