From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lajos Bodnar Newsgroups: gmane.emacs.help Subject: Re: magit-status is slow Date: Tue, 12 Jun 2018 11:06:29 +0200 Message-ID: References: <87a7s1gvlh.fsf@mbork.pl> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1528794303 1841 195.159.176.226 (12 Jun 2018 09:05:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 12 Jun 2018 09:05:03 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Marcin Borkowski Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 12 11:04:58 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fSfEX-0000Ib-DO for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Jun 2018 11:04:57 +0200 Original-Received: from localhost ([::1]:53965 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSfGb-0002Z1-Ju for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Jun 2018 05:07:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSfG8-0002Yh-2h for help-gnu-emacs@gnu.org; Tue, 12 Jun 2018 05:06:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSfG3-0003IR-1k for help-gnu-emacs@gnu.org; Tue, 12 Jun 2018 05:06:36 -0400 Original-Received: from mail-io0-x22b.google.com ([2607:f8b0:4001:c06::22b]:38175) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fSfG2-0003IG-Rh for help-gnu-emacs@gnu.org; Tue, 12 Jun 2018 05:06:30 -0400 Original-Received: by mail-io0-x22b.google.com with SMTP id l19-v6so27179761ioj.5 for ; Tue, 12 Jun 2018 02:06:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=/HSEwBtfU3kuaYhD0XXG2qHVeCW036psN56F5Xc7XSQ=; b=CETfRwd0noOFRIgAUHUqoX6KI/A5qLXeu7tdfPlU2KlWz+4O5WRQb4oCutFX+nc+dJ HC+vwvIh/lq90RNGLGTa78a1hwF3JSo/xM+eX/jb879x1wPQv239rO9TDDi/TziTBYNF fbZdh3yojaDEbio4EyIJQtFCeb4d2/TaOABvTa2GhFMhgaX8lRXPPdMhUweRQbmun9sQ YFIe1BU1Bj2+QPAhtgj2pYZsprx6SFb1Gh0+PV/QXQQb9wdoUvia2Ooq2r02uPeA/IIH dMfIl/xPCDIbMMY/Hj43dU0Q7Z88hIzEHNzJn59i8CTtnqUBf55t+GqJ4eZStQwQLMCk aPXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=/HSEwBtfU3kuaYhD0XXG2qHVeCW036psN56F5Xc7XSQ=; b=PtAYUGIwnztewtzbGWJxU2BgxqCdLUX1ad57Ke8dEuRrcB2Os+V3RM3JCqcTAzh2P6 /o+bKGamFVKWl+azUbtf2/M5GF+2crJm3c0Vtj8/MH9WC9QbOC4SQhr5wY1ItDOJFJI4 6KDngXNTWhjcP/6ZChhSNXG0eZJvMSgEPFUr4/Np2NsYV3hSFck30pnxAmNNyX477UW5 KHexgcoEyPSFjyAeLYQHtduKAR7dTPxEIMxTDO0a3qyH6qfLZZLG3W3FMgNmicwXfQqJ 8p5C34Az29sABL9vEhFVuJHvzHSk4oDMuG7p1jWUPPCFw5qfGx2VUVjXHGuJdzLRBYyJ zi4A== X-Gm-Message-State: APt69E1cR/h+qh9WcQoA/3cWZgUzF8gr5XJkiOFPCZ43vrDK4lf6barc TdA176ucN8A5kcvAL5LwfaHXH58hix0lARpMDo4nT6/H X-Google-Smtp-Source: ADUXVKKzf6r0/m5FcAKegxbMxgH+ZF6xbOu7s9/ysSWTNrGzXGha0jU4fNwNBWhdmexpJ5CmXsDyI8sN379OCceXrtM= X-Received: by 2002:a6b:2791:: with SMTP id n139-v6mr2452664ion.207.1528794390098; Tue, 12 Jun 2018 02:06:30 -0700 (PDT) Original-Received: by 2002:a4f:1a56:0:0:0:0:0 with HTTP; Tue, 12 Jun 2018 02:06:29 -0700 (PDT) In-Reply-To: <87a7s1gvlh.fsf@mbork.pl> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c06::22b X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117107 Archived-At: Thanks for the answer. There are these lines in my init.el and a little better than before but there is few freeze when I scrolling up or down ... (defun start-magit() (interactive) (magit-status) (delete-other-windows)) (setq git-commit-summary-max-length 120) (setq magit-diff-highlight-indentation nil) (setq magit-diff-highlight-trailing nil) (setq magit-diff-paint-whitespace nil) (setq magit-diff-highlight-hunk-body nil) (setq magit-diff-refine-hunk nil) have a nice day Lajos On Mon, Jun 11, 2018 at 6:02 PM, Marcin Borkowski wrote: > > On 2018-06-11, at 17:10, Lajos Bodnar wrote: > > > Hi, > > I have 200 files after refactoring and the magit is too slow. > > I found that the diff is slow because the magit-status create diffing > view > > every modified files. > > How can I reach that the magit-state create diffing view just when I work > > with these files when I use the tab key to watch what the change was. > > > > Or any ideas ? > > It's a long shot, but do you have something like > > (setq magit-diff-refine-hunk t) > > in your init.el? If yes, try disabling this. (You can also press > D t in magit fir that.) > > Best, > > -- > Marcin Borkowski > http://mbork.pl >