<commit_before>#!/bin/bash

# Dependent package installation.
sudo yum -y install gcc ncurses-devel

# Download.
curl -fsSL -o emacs-$INSTALL_EMACS_VER.tar.gz http://ftp.gnu.org/gnu/emacs/emacs-$INSTALL_EMACS_VER.tar.gz
tar -zxvf emacs-$INSTALL_EMACS_VER.tar.gz
cd emacs-$INSTALL_EMACS_VER

# Install.
./configure
make
sudo make install

# Remove.
cd ..
rm -frv emacs-$INSTALL_EMACS_VER.tar.gz emacs-$INSTALL_EMACS_VER<commit_msg>Add emacs build configure options.<commit_after>#!/bin/bash

# Dependent package installation.
sudo yum -y install gcc ncurses-devel

# Download.
curl -fsSL -o emacs-$INSTALL_EMACS_VER.tar.gz http://ftp.gnu.org/gnu/emacs/emacs-$INSTALL_EMACS_VER.tar.gz
tar -zxvf emacs-$INSTALL_EMACS_VER.tar.gz
cd emacs-$INSTALL_EMACS_VER

# Install.
./configure --with-x-toolkit=no --with-xpm=no --with-png=no --with-gif=no
make
sudo make install

# Remove.
cd ..
rm -frv emacs-$INSTALL_EMACS_VER.tar.gz emacs-$INSTALL_EMACS_VER
{'fraction_non_alphanumeric': 0.13149522799575822, 'fraction_numerical': 0.0, 'mean_word_length': 4.273743016759776, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '179657', 'n_tokens_mistral': 402, 'n_tokens_neox': 361, 'n_words': 73}