From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Narendra Joshi Newsgroups: gmane.emacs.help Subject: Re: Scroll on save Date: Tue, 14 Jul 2020 00:38:05 +0200 Message-ID: References: <20200713223521.jbjgmzyxxp2w45ot.ref@Ergus> <20200713223521.jbjgmzyxxp2w45ot@Ergus> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8576"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help Gnu Emacs mailing list To: Ergus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 14 00:39:13 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 1jv76O-00029C-Sh for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 14 Jul 2020 00:39:12 +0200 Original-Received: from localhost ([::1]:52412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jv76N-0003oC-Uq for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 13 Jul 2020 18:39:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jv75a-0003GL-BB for help-gnu-emacs@gnu.org; Mon, 13 Jul 2020 18:38:22 -0400 Original-Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:37361) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jv75Y-0006V5-Rz for help-gnu-emacs@gnu.org; Mon, 13 Jul 2020 18:38:22 -0400 Original-Received: by mail-wm1-x329.google.com with SMTP id o2so1780733wmh.2 for ; Mon, 13 Jul 2020 15:38:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2zAq2fpdyMfai9d9lg9oqmeVkv/Xf/ojtxQJ5zPSfmA=; b=k3SWKyOY/Ex1eORMBEEW/aMeifiTaiKkp3HNlusVaJ4e3fPBezzIqP0FqTsh7pqpQX W7ks0WZKJ8Qh9sqDqUA7hec0eMeiIE/CqQlCJ+tcqiHWR0704ZdA1ZCEtMno2Ny2/H1m TOylSZudeqv2lpMaPPZurAvOKGH5DBVjXFk3/4oY4kK13dYf5Y52uGLecoKcNxfvEv4D bwQmQonCQAnRZGWQvVrn8arqXOW0mrHeTTlZD+5qbOtaVdSA/aPleZP4Fj+rgj4AiiWt K/a1fyhLfJTuBZYKyW2J5a07N2ltBaog1Y+XjrC/dKT0prKZ88EUHCss6N4RNDwBTfVs imVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2zAq2fpdyMfai9d9lg9oqmeVkv/Xf/ojtxQJ5zPSfmA=; b=rvZ5biA0bHTnIemf91SZpp/vRLHqFQUEmYKT8E6D9tkH9GSAFd/spGgd7f4c6GR8u7 G8r8/iXqfI1GVe0PfQ+xe1hwXJ3IOCxvxVBpZhYWGIqk1f2eTZ5Q2tGb2F2+TO1K2Str U+lvqF8mwVHi84nEAK4mYJqRRLobKTsebsYOtiSjK1ZFrSCh6RmvNxoESSYAsFljjWZ1 ROyLluyC9vR3JhEPd+JWJgHZfLIzo5bfhzDWRlaOPHBIPQLbJKsYUWiJzWCxzyPbMjB9 Xd0uSwOIH3rxgYQVzDGcgsmiZDWsvrwOp2hEuuKN7qZLfeDOvOwn4VAAzLcFAR645+av GWAQ== X-Gm-Message-State: AOAM533JZ5VVLKgYZYly7y2d7SWrbxwJHImCi0u5H2kkn46XlmxXlFTK i1Xq1enqJ72LJrbEkG5H4bsLYiBKYDrrvzxj7g== X-Google-Smtp-Source: ABdhPJxrr9A4Fjfi9dep4MNpStfyZpcWDiwGYOGutN/CYuO48XKTv3Zp1SDfL0wZMao3yziw9y2YSN7pzhoel6NzgjU= X-Received: by 2002:a1c:4406:: with SMTP id r6mr1395858wma.161.1594679898808; Mon, 13 Jul 2020 15:38:18 -0700 (PDT) In-Reply-To: <20200713223521.jbjgmzyxxp2w45ot@Ergus> Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=narendraj9@gmail.com; helo=mail-wm1-x329.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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:123536 Archived-At: 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. > > >