[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Scroll on save
From: |
Narendra Joshi |
Subject: |
Re: Scroll on save |
Date: |
Tue, 14 Jul 2020 18:13:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Ergus <spacibba@aol.com> writes:
The next thing that I would try is using the command `profiler-start`
just before saving the buffer and then `profiler-report` after saving
the buffer to narrow your search down to a couple of functions that
might be causing this. I am not sure if this would actually help but
worth trying.
> This is weird, because both hooks are nil. And the problem starts
> randomly after some time without apparent reason.
>
> On Tue, Jul 14, 2020 at 12:38:05AM +0200, Narendra Joshi wrote:
>>I would recommend that you check the values for after-save-hook and
>>before-save-hook.
>>
>>On Tue, 14 Jul 2020, 00:35 Ergus, <spacibba@aol.com> wrote:
>>
>>> Hi:
>>>
>>> Recently I have observed that when I save long files (C-x C-s) (either
>>> in a C file or Latex); for some reason emacs scrolls to some different
>>> place in the buffer. I am pretty sure that it should has to do with my
>>> config, but I don't know where to start looking for the problem.
>>>
>>> Does anyone has an idea or similar experience in the past? Any help to
>>> solve it will be fine.
>>>
>>> Thanks in advance,
>>> Ergus.
>>>
>>>
>>>
>
--
Narendra Joshi