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:39:31 +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="13136"; 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:40:08 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 1jv77H-0003KA-MN for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 14 Jul 2020 00:40:07 +0200 Original-Received: from localhost ([::1]:53570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jv77G-0004Ix-OI for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 13 Jul 2020 18:40:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jv76x-0004Ik-EQ for help-gnu-emacs@gnu.org; Mon, 13 Jul 2020 18:39:47 -0400 Original-Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:42837) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jv76w-0006eq-0y for help-gnu-emacs@gnu.org; Mon, 13 Jul 2020 18:39:47 -0400 Original-Received: by mail-wr1-x42b.google.com with SMTP id o11so18824527wrv.9 for ; Mon, 13 Jul 2020 15:39:45 -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=TXe/5q31b3bI5uy7+5wLyCSDPgDvr4a9j9eg0XBo1gg=; b=dRMprPUmZ60N3uKRpuNu+cIexCT060SBVlblEimDU/9aWxMlR11i0dBxESW4jYmoBG UqvIwFIFi7pSkwdyaLL8RhUcGFidloGJpidy3GFFlgxlkZZtgx515WFAAUOzvjNPuSyT RKBNjLdjRUpf9HqjlHYbKS44yPdowePgdoojDqJ7yM4RQKgZl1ledhkVa5KWZiyk1zLF GH5UnPAudOjEsFD9lLe2PkFIVC42yBtvf9bO/ba4AuNb1CstXV4p8CJNGBEv2W4EkSGL 5xTyD3GdvowOgEU3fjoXTAiCYWQOqrVFthpJzK3PmLoY9vXYNL2+/pKWzwsmX4wtqjhf 1mpw== 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=TXe/5q31b3bI5uy7+5wLyCSDPgDvr4a9j9eg0XBo1gg=; b=RR7IBBB9YAjNjCHsdK0gb6iF7B56IAs9Ej5F6SNnUXMZE8mM5zBLmeG+JLBwl6naWj o1rVRcP56nlJdHFYlutrsyHadhqfESef3BKQIfvb/LUlnaAnmhDrE1OtzAcwIP1vPtM5 nwgVibW7yYOWMRLfLjl+5UZLMAX8XigVfgtsF4UNzDe9omjcQJW0RHkp6dNFS4ejuIpY bGDkq1MphzRu4x/qJv/ou2zSVY5yKDFVH6Ri1qD0hN+nuzo1c8jDgd7Hs8DwHGlpy5sD /CeLVgWMlammMHtJtJr76Pm4lygkEHAE96Oi5KZI3DKRiZt5rvpFHqIbDzZXqBNxTZF7 z69g== X-Gm-Message-State: AOAM530STTHAZ+rtVcpU7QQhUryAWZ7PupWPzgQTGRj9qeqxnmJClEb1 1iuA5tRiQisxmv11dfwf9B+fuIcKMit+N9zG7Q== X-Google-Smtp-Source: ABdhPJziE2b57B/NbUQE4q59rXQVTvX+/f9QyHgnMDVQIvtVK7x6dYOR1c5PiTf8MaBfGkYsfSgXK8GuOzxbmwYCgDc= X-Received: by 2002:adf:b312:: with SMTP id j18mr1583738wrd.195.1594679984431; Mon, 13 Jul 2020 15:39:44 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=narendraj9@gmail.com; helo=mail-wr1-x42b.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:123537 Archived-At: Checking the value of these hooks would reveal what code is being executed when you save a file. On Tue, 14 Jul 2020, 00:38 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. >> >> >>