From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.help Subject: Re: Scroll on save Date: Tue, 14 Jul 2020 12:32:20 +0200 Message-ID: <20200714103220.p4t357hedaujs67o@ergus> References: <20200713223521.jbjgmzyxxp2w45ot.ref@Ergus> <20200713223521.jbjgmzyxxp2w45ot@Ergus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10229"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: NeoMutt/20180716 Cc: Help Gnu Emacs mailing list To: Narendra Joshi Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 14 12:32:51 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jvIF1-0002Vl-HU for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 14 Jul 2020 12:32:51 +0200 Original-Received: from localhost ([::1]:56012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jvIF0-00056W-JN for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 14 Jul 2020 06:32:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jvIEh-00056N-Gf for help-gnu-emacs@gnu.org; Tue, 14 Jul 2020 06:32:31 -0400 Original-Received: from sonic303-2.consmr.mail.bf2.yahoo.com ([74.6.131.41]:39703) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jvIEf-00013y-1Q for help-gnu-emacs@gnu.org; Tue, 14 Jul 2020 06:32:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1594722746; bh=haV4ybpmtII1WujRawAiiO3oqT6fSfQ6E5n3cUhxQ9I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=nJDAmf0kMofbx7ihQ2lNJ7+t2aqjSKry+ml8pSwes5/JuUQotHTXkkDtAGChcAGT1s5Y7SBCWuJvgwU1mmi90uYcd8ydgDIGtcgZ/UDSGiAee7tpyFLBjqGwlvI/9YtavJEGjtSwjowNUBcOAFvZQvNGXfdoCl8nDhf+UB/JC5//QOyTy6YpJNsg+bOOBmdgGRm+NIPYnhejs6Jt2XRBLpIdPYlXuLR2Vje2dSKK/WsGsX+ZC79vFqfPCMAtrDj9XTCFYp8EGV5l8eLARlO7iDJ0Yu55Fx1S1ZZ0JJ29pkvLuCH+VpWq3WLW4rZ2A8XfUG2vkkEKtxOopGU7M8dOkw== X-YMail-OSG: 1ETw2PkVM1lduWBsFlIm6hnDmwUOU5wsUvPj0HoDiuuvWvygdAhRVvIOo4XLKCW Clb1iSrvuG6KuQ4RE6Dz3jm56SSAd6nL1gkeJv.SFA5DRB2D._UrSv5NWCRwUSw4f3rAIfn8NWWt eIc7hWtyJ5NyH7dd4UABTKF5.9F69X2TQIIQgFg.QMQYXtAD.GuDPtS8Bwx5l7JjB2p4BfWlK_WJ Q3lO.WxMs1NGsC_CsFlzAzZS9CcUn_wxknseZw9oEyiMCxKP7ZvQZDITK6cgoU6svas7BLZY4WlF 7Mp6FS3bMhGZg6V9j7QMeZCklKH5vgf5PB8vjx_hfD5vx25CC7mJuX22HipI_iwvX48PhrGS_Zft B1m0X6sKM2teFVsAZiJ0AKKMvjmvH2ULai1vD6teW__JUSeOk8Pu8EhFo2DhQiHbq6pmYP4w4gFY X.MJX.TOAqhgi4T7uTn1TCW8me3Xvc.dHSlZf.TYG_2b82noIBuDF9xLCxUcQkFHWMdA3RiYs_AC TG5ZgMrjVyxJKnJBmaPwmQJFEqfC0geQ4aogLjB4sR4_COUn49GK7xRbMm4aNvVfaDS6nLc4CYTP 4BDN0FcsyRj0NA7pDziLX6SeoYTgjbtgaZJ9QKnl8v3Rfc2eQcMDF_zCpiLdG2la9UeyVI.54Njo fGEteKRMSyKH5uWNynLOTq.K21tcDqKVNnTC4wp8tNFAHjnOyE3vMaGYOKLAaZ.RqA3QgGfBMfmT 5MUHvJyMsNno5Vb.db2hpq7qSkA.0GqBqn3aGk0b5LOUjFyn5U8Rrf0wUUxoA7SSOE5ba64e9HcT FMTOkQB7z4PORi8dIThIX4g4MkzcA9OqYa7iz7y5.g Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.bf2.yahoo.com with HTTP; Tue, 14 Jul 2020 10:32:26 +0000 Original-Received: by smtp432.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 77c7c9f22023f063c9a951b54761f43a; Tue, 14 Jul 2020 10:32:22 +0000 (UTC) Content-Disposition: inline In-Reply-To: X-Mailer: WebService/1.1.16271 hermes_aol Apache-HttpAsyncClient/4.1.4 (Java/11.0.7) Received-SPF: pass client-ip=74.6.131.41; envelope-from=spacibba@aol.com; helo=sonic303-2.consmr.mail.bf2.yahoo.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/14 06:32:26 X-ACL-Warn: Detected OS = Linux 3.1-3.10 [fuzzy] X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123539 Archived-At: 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, 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. >> >> >>