<commit_before>;; windows-nt.el --- windows os settings file
;; Copyright (C) 2015-2018  <NAME> (dharms)
;; Author: <NAME> <<EMAIL>>
;; Created: Saturday, February 28, 2015
;; Modified Time-stamp: <2018-07-11 10:26:16 dan.harms>
;; Modified by: <NAME>
;; Keywords:

;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.

;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with this program.  If not, see <http://www.gnu.org/licenses/>.

;;; Commentary:
;; windows-specific settings.
;;

;;; Code:

(eval-when-compile
  (setq use-package-verbose t)
  (require 'use-package))

;; keys
(setq w32-pass-lwindow-to-system nil)
(setq w32-lwindow-modifier 'super)
(setq w32-pass-rwindow-to-system nil)
(setq w32-rwindow-modifier 'super)
(setq w32-pass-apps-to-system nil)
(setq w32-apps-modifier 'hyper)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Process Viewer ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(use-package proced :bind ("C-c 0p" . proced))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ssh-agency ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;(require 'ssh-agency)

(setq shell-file-name "sh")             ;finds msys
;; (setq explicit-shell-file-name
;;       (concat (getenv "MSYS") "\\bin\\bash.exe"))

(setq-default comint-process-echoes t)
(setq w32-get-true-file-attributes nil)
(setq w32-pipe-read-delay 0)
(setq tramp-default-method "plink")

;; On shells (and remote compiles) this prevents $TERM from being forced to emacs
(setq system-uses-terminfo t)

;; compilation example:
;; (setq compile-command "C:\VC\VCVARS.bat & devenv /nologo /build Debug proj.vcxproj")

;; windows-nt.el ends here
<commit_msg>on windows set shell-file-name to cmdproxy.exe<commit_after>;; windows-nt.el --- windows os settings file
;; Copyright (C) 2015-2018  <NAME> (dharms)
;; Author: <NAME> <<EMAIL>>
;; Created: Saturday, February 28, 2015
;; Modified Time-stamp: <2018-11-14 09:24:52 dan.harms>
;; Modified by: <NAME>
;; Keywords:

;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.

;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with this program.  If not, see <http://www.gnu.org/licenses/>.

;;; Commentary:
;; windows-specific settings.
;;

;;; Code:

(eval-when-compile
  (setq use-package-verbose t)
  (require 'use-package))

;; keys
(setq w32-pass-lwindow-to-system nil)
(setq w32-lwindow-modifier 'super)
(setq w32-pass-rwindow-to-system nil)
(setq w32-rwindow-modifier 'super)
(setq w32-pass-apps-to-system nil)
(setq w32-apps-modifier 'hyper)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Process Viewer ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(use-package proced :bind ("C-c 0p" . proced))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ssh-agency ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;(require 'ssh-agency)

(setq shell-file-name (executable-find "cmdproxy.exe"))
;(setq shell-file-name "sh")             ;finds msys
;; (setq explicit-shell-file-name
;;       (concat (getenv "MSYS") "\\bin\\bash.exe"))

(setq-default comint-process-echoes t)
(setq w32-get-true-file-attributes nil)
(setq w32-pipe-read-delay 0)
(setq tramp-default-method "plink")

;; On shells (and remote compiles) this prevents $TERM from being forced to emacs
(setq system-uses-terminfo t)

;; compilation example:
;; (setq compile-command "C:\VC\VCVARS.bat & devenv /nologo /build Debug proj.vcxproj")

;; windows-nt.el ends here

{'fraction_non_alphanumeric': 0.18576886341929322, 'fraction_numerical': 0.022445081184336198, 'mean_word_length': 4.433203631647212, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6192614', 'n_tokens_mistral': 1510, 'n_tokens_neox': 1357, 'n_words': 447}