I decided to use pretest version of Emacs instead of a stable release and so far it turned out to be a pleasant experience.
For those who don’t have any idea, you can visit http://alpha.gnu.org/gnu/emacs/pretest/] and download the latest version. Compiling and using should not be a problem. But still for newcomers, following are the steps:
Download and extract the latest pretest version.
1: wget -Nc --show-progress http://alpha.gnu.org/gnu/emacs/pretest/emacs-25.0.92.tar.xz 2: tar xvJf emacs-25.0.92.tar.xz
Configure and compile.
Make sure you have `/opt/emacs-pretest` directory present.
sudo mkdir -p /opt/emacs-pretest
Configure the build environment
./configure --prefix=/opt/emacs-pretest --host=x86_64-fedora23-linux-gnu
Build from source
makewill take time depending on your system specs
If you are unaware of the flags:
--prefixmakes sure that the final binary(with directory structure) will be copied inside
/opt/emacs-pretest/when you run
--hostensures that when you do
M-x version, it should return
x86_64-unknown-linux-gnu. Feel free to experiment but make sure the string ends with ’linux’ or ’gnu’.
makeis successful, you can go head and try the build using.
Now try querying the version within Emacs.
Try out Emacs with your custom configuration. When you are happy, you can proceed toward installation.
sudo make install
Emacs binary will reside in
/opt/emacs-pretest/bin/emacs. This is symbolic link to the file
If everything goes well, you can add this binary to your launch application or just create a desktop shortcut.
You should keep the stable version of Emacs as a backup. Till now, I never faced any problem and will continue using Emacs-pretest as my default.
If you encounter any issues during
make, make sure you have all
dependencies installed. If you think, there is an issue in the pretest
release and needs to be fixed, make sure that it is reproducible
before notifying email@example.com. You can also ask for help on
IRC at freenode, channel #emacs.