[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-devel] Patch for multi-prompt.el
From: |
Mosè Giordano |
Subject: |
[AUCTeX-devel] Patch for multi-prompt.el |
Date: |
Sat, 16 Feb 2013 01:09:58 +0100 |
Hi all,
I've found a bug in `multi-prompt.el'. It may happen that `crm-separator'
is a void variable. Follow these steps in a new LaTeX buffer to reproduce
the error:
-------------------------------------------------------
C-c <RET> usepackage <RET> listings <RET> <TAB> <RET>
<RET>
C-c <RET> lstset <RET> <TAB>
-------------------------------------------------------
First <TAB> is needed only to show that there completion works without
problems. When pressing last <TAB> for completion you get
-----------------------------------------------------------------
crm-complete: Symbol's value as variable is void: crm-separator
-----------------------------------------------------------------
This doesn't occur if in a session you type
------------------------------
C-c <RET> lstset <RET> <TAB>
------------------------------
(provided that you've previously loaded `listings') before any `C-c <RET>
usepackage'.
I'm sending a patch to workaround this. It just sets a default value for
`crm-separator' when it is void or nil. ChangeLog entry:
2013-02-16 Mosè Giordano <address@hidden>
* multi-prompt.el (multi-prompt-key-value): Set "," as default
value for `crm-separator' when it is void or nil.
Bye,
Mosè Giordano
multi-prompt.el.patch
Description: Binary data
- [AUCTeX-devel] Patch for multi-prompt.el,
Mosè Giordano <=
- Re: [AUCTeX-devel] Patch for multi-prompt.el, Tassilo Horn, 2013/02/18
- Re: [AUCTeX-devel] Patch for multi-prompt.el, Mosè Giordano, 2013/02/18
- Re: [AUCTeX-devel] Patch for multi-prompt.el, Tassilo Horn, 2013/02/18
- Re: [AUCTeX-devel] Patch for multi-prompt.el, Mosè Giordano, 2013/02/18
- Re: [AUCTeX-devel] Patch for multi-prompt.el, Tassilo Horn, 2013/02/18
- Re: [AUCTeX-devel] Patch for multi-prompt.el, David Kastrup, 2013/02/18
- Re: [AUCTeX-devel] Patch for multi-prompt.el, Tassilo Horn, 2013/02/18
- Re: [AUCTeX-devel] Patch for multi-prompt.el, David Kastrup, 2013/02/18
- Re: [AUCTeX-devel] Patch for multi-prompt.el, Tassilo Horn, 2013/02/18
- Re: [AUCTeX-devel] Patch for multi-prompt.el, Tassilo Horn, 2013/02/18