This mode makes it possible to track down slowness in Emacs functions across the board. https://github.com/lastquestion/explain-pause-mode Very useful for some things I need to debug ...
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			542 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			542 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ pkgs, ... }:
 | 
						|
 | 
						|
let
 | 
						|
  inherit (pkgs) emacsPackages fetchFromGitHub;
 | 
						|
in emacsPackages.melpaBuild {
 | 
						|
  pname = "explain-pause-mode";
 | 
						|
  version = "0.1"; # master on 20200603
 | 
						|
 | 
						|
  recipe = builtins.toFile "recipe.el" ''
 | 
						|
    (explain-pause-mode :fetcher github
 | 
						|
                        :repo "lastquestion/explain-pause-mode")
 | 
						|
  '';
 | 
						|
 | 
						|
  src = fetchFromGitHub {
 | 
						|
    owner = "lastquestion";
 | 
						|
    repo = "explain-pause-mode";
 | 
						|
    rev = "35f7d780a9c164b5c502023746473b1de3857904";
 | 
						|
    sha256 = "0d9lwzqqwmz0n94i7959rj7m24265yf3825a5g8cd7fyzxznl1pc";
 | 
						|
  };
 | 
						|
}
 |