Installing an older version of an emacs package [duplicate] - emacs

This question already has an answer here:
Is it possible to downgrade packages installed with ELPA?
(1 answer)
Closed 9 years ago.
I recently upgraded Emacs Cider through MELPA and it seems to have a bug on my machine. I don't need the bleeding edge builds and am happy to go back to an older build until they fix the issue. However I'm not sure how to install an older version of a package that exists in the package list.
I am looking to either:
Install an older version of Cider through the native Emacs package manager
Install an older version of Cider from source
Edit: this was closed as a duplicate of Is it possible to downgrade packages installed with ELPA?, however that one didn't have an answer, so I re-asked the question.

You can do the following
1) Uninstall cider from emacs' native package manager. (Do M-x list-packages mark the cider package using d and then hit x to delete the package)
2) Download the last version which worked for you from cider's releases page
3) Follow the manual installation instructions given here
Hope this helps!

Related

unintalloing NB9.0 on Win10

Win10-64
cygwin
ControlPanel->Apps does not show Netbeans 9.0 (although it does show Netbeans 8.2).
find /c/PrgoramData/Netbeans/* -iname 'unin*' was unable to find an uninstall executable.
So, is there some way to use a program to uninstall NB 9.0 or can I just delete the Netbeans directory?
thanks
There is no installer/uninstaller for NetBeans 9/10. For NetBeans 11 there is an experimental one. There are currently some efforts to re-introduce an installer for the next release (see here for more infos).
Like a_horse_with_no_name already mentioned just delete the NetBeans directory. Additionally you might want to delete (on Windows):
C:\Users\xxx\AppData\Roaming\NetBeans\9.0
C:\Users\xxx\AppData\Local\NetBeans\Cache\9.0

Can't upgrade Emacs from 24.3.1 to 24.5 in a CentOS 7 vm

I have a CentOS 7 Vagrant virtual machine that I'd like to do some development work from. Accordingly, I'd like the latest version of Emacs (24.5) so that I can install Spacemacs.
However, when I ssh into the box and run the command sudo yum update emacs and sudo yum upgrade emacs, I simply get back the message No packages marked for update. I've also run yum update and yum upgrade to no avail.
So how do I go about getting me some sweet sweet Emacs 24.5? Thanks.
The latest RPM I could find for emacs on CentOS 7 (7.2) is 24.3.
You can install it via yum with the following code, after downloading the rpm:
yum localinstall emacs-24.3-18.el7.x86_64.rpm
If you want to compile it yourself, there is a Github repo with the source and instructions on how to do that.
They also have tagged releases if you prefer something a little more stable to choose from.
As of this post, the latest version they have available is emacs-25.0.92, with releases going back to the version you requested.
Is compiling Emacs 24.5 an option for you? It shouldn't be a big deal.
My answer assumes that you performed a reasonable online search, without success, for a yum repository containing that particular version of Emacs.

CEDET compatibility with Emacs 24.5

After I have updated my Emacs from 24.3 to 24.5 version, my 1.1 version of cedet (highlight, auto completion and summary function) has stopped working for c mode. When I trying to load these semantic mode individually, I got the following messages:
Buffer myfile.cpp was not set up for parsing
I think someone has asked a similar question in the past:
cedet-semantic error "Idle Service Error semantic-idle-summary-idle-function - Arithmetic error" when parsing linux kernel file "jiffies.h"
However, I am not sure which snapshot version he has downloaded & how to install a snapshot CEDET version. Can someone please help me with that?
After struggled for a while, I figured out something trivial but hard to see. Hopefully this answer will help others who has experienced the same problem.
When I started to use emacs version 24.3 I didn't know the Cedet version 2.0 was already a built-in package at that time. I downloaded Cedet 1.1 version from
Cedet SourceForge website.
And configured that according to some tutorial online by loading my downloaded 1.1 cedet.el file.
Surprisingly this Cedet 1.1 package is still compatible with emacs 24.3 version. Unfortunately this is not the case for emacs 24.5 version, the semantic mode encountered some problem with c mode. Therefore the best solution is to switch back to the built-in Cedet 2.0 version.
If you have used the older version of Cedet, it's possible that the old saved .semanticdb files are not compatible with latest Cedet semanticdb. You can do
rm -rf ~/.semanticdb/
So the new version semanticdb can create and use the new version of semanticdb (my friend helped me with that subtle problem so I can get the built-in Cedet 2.0 up and running).

Emacs package versions

After installing Emacs BBDB from Melpa on GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601) for Windows, if I run M-x bbdb-version I get:
BBDB version #PACKAGE_VERSION# (#PACKAGE_DATE#)
How can I know if I am using the new version 3 of BBDB?
This is a known issue, the author uses a build system to define and replace these names with their correct values, but melpa does not support making changes to the upsteam repo.
The truth is, if you just downloaded it from melpa, then it is safe to say you are running version > 3. If you really want to be sure, do C-hfbbdb-with-print-loadably and see if that function is defined, it was added to bbdb in one of the most recent commits to the git repo and well past the last release commit of version 3.1.2.
See also: https://github.com/milkypostman/melpa/issues/1470

best way to install emacs auto-complete mode

I want to install the autocomplete-mode for emacs.
When I searched through the repos (marmalade etc) I found the following packages ac-dabbrev and ac-ja. On googling ac-dabbrev, it seems to be last updated in 2009 -
http://emacswiki.org/emacs/ac-dabbrev.el
On the instructions for installing auto complete mode, in emacs wiki, it leads to a download link -
http://cx4a.org/pub/auto-complete/auto-complete-1.3.1.zip
How should I install the autocomplete mode through the package ac-dabbrev or by dowloading it from the above link ? Or is there an updated package ?
Thanks,
Murtaza
All fresh Emacses are coming with package.el that simplifies installation of 3rd party packages. auto-complete and ac-dabbrev are available from MELPA package repository. Read install instructions on MELPA site, or about package.el/ELPA in more details