On Jun 21, 2012, at 05:05 PM, Andreas Roehler wrote:
>Am 21.06.2012 18:23, schrieb Titus Barik:
>> Here's what I have (from C-h v abbrev-file-name RET):
>>
>> abbrev-file-name is a variable defined in `abbrev.el'.
>> Its value is "~\\.emacs.d\\abbrev_defs"
>>
>> I don't have the file abbrev_defs, though I'm curious how that gets
>> created in the first place. It doesn't seem to appear even if I delete
>> my .emacs.d folder. I suppose I could create the file myself.
>>
>
>Creating an empty file should do it.
>BTW will check in a fix, will will issue a warning in this case, but avoid the error.
>
>An alternative would be to create that file silently.
>
>Barry, WDYT?
I don't think we should create the file silently. It seems like python-mode
should be a client of abbrev and not try to initialize things for it. A
warning is I suppose better than an error, but even better still would be to
just conditionalize it on whether abbrev is already set up and initialized.
(Or I guess we should ask whether python-mode has any business setting up
abbrev anyway? Why wouldn't that just be left up to the end user?)
On Jun 21, 2012, at 05:05 PM, Andreas Roehler wrote:
>Am 21.06.2012 18:23, schrieb Titus Barik: d\\abbrev_ defs"
>> Here's what I have (from C-h v abbrev-file-name RET):
>>
>> abbrev-file-name is a variable defined in `abbrev.el'.
>> Its value is "~\\.emacs.
>>
>> I don't have the file abbrev_defs, though I'm curious how that gets
>> created in the first place. It doesn't seem to appear even if I delete
>> my .emacs.d folder. I suppose I could create the file myself.
>>
>
>Creating an empty file should do it.
>BTW will check in a fix, will will issue a warning in this case, but avoid the error.
>
>An alternative would be to create that file silently.
>
>Barry, WDYT?
I don't think we should create the file silently. It seems like python-mode
should be a client of abbrev and not try to initialize things for it. A
warning is I suppose better than an error, but even better still would be to
just conditionalize it on whether abbrev is already set up and initialized.
(Or I guess we should ask whether python-mode has any business setting up
abbrev anyway? Why wouldn't that just be left up to the end user?)