[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange problem with emacs-lisp/copyright.el
From: |
Lele Gaifax |
Subject: |
Re: Strange problem with emacs-lisp/copyright.el |
Date: |
Fri, 05 May 2017 11:36:50 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Lele Gaifax <address@hidden> writes:
> Johan Bockgård <address@hidden> writes:
>
>> Lele Gaifax <address@hidden> writes:
>>
>>> It just saves and restore the point position found by `copyright-find-end':
>>> I
>>> tried to understand why the `save-excursion' isn't enough, but failed.
>>
>> Does it work correctly if you change
>>
>> (switch-to-buffer (current-buffer))
>> ;; Fixes some point-moving oddness (bug#2209).
>> (save-excursion
>> (y-or-n-p (if replace
>>
>> to
>>
>> (save-excursion
>> (switch-to-buffer (current-buffer))
>> (y-or-n-p (if replace
>>
>> ?
>
> I will try that and report back. As said, unfortunately I was not able to
> reproduce the issue in a deterministic way.
As said, I installed your proposed fix and it seems to be effective: neither
my explicit attempts to reproduce the issue, nor my normal workflow did
exhibit the problem in the last two weeks.
Thank you again,
ciao, lele.
--
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
address@hidden | -- Fortunato Depero, 1929.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Strange problem with emacs-lisp/copyright.el,
Lele Gaifax <=