Results 1 to 3 of 3

Thread: Advice on updating to a newer version of Emacs

  1. #1

    Default Advice on updating to a newer version of Emacs

    Hi,

    I have started using openSUSE fairly recently and this is my first post to the forums. (I'm new to openSUSE but not to Linux/Unix.)

    I am using openSUSE Leap 42.1 and I would like to ask advice on running a more recent version of Emacs than that available in the official package for 42.1, Emacs 24.3 (March 2013).

    I use a number of Emacs packages from the MELPA package archive (http://melpa.org/) and a few that I'd like to use require a more recent version of Emacs (particularly the excellent Magit, which requires Emacs 24.4 http://stable.melpa.org/#/magit).

    I was having a look on http://software.opensuse.org/package/emacs and I see there is an "unstable" build of Emacs 24.5 in the editors project of the openSUSE Build Service (https://build.opensuse.org/package/s...&package=emacs).

    I am not familiar with the openSUSE Build Service and I'm not sure what metrics to use in determining if I can trust this build. Would there be any good pointers to information on the Build Service and advice on determining how to trust a build? (who is responsible, instructions and patches used in the build, and such).

    I can always compile Emacs from source myself but I was wondering if there might be openSUSE specific patches needed?

    Additionally, would there be any plans to update the official package of Emacs to 24.5?

    Any other advice or suggestions of information to read would be great.

    Thank you very much for your help.

    Regards,
    Simon

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,068
    Blog Entries
    2

    Default Re: Advice on updating to a newer version of Emacs

    Quote Originally Posted by simonjb View Post
    Hi,

    I have started using openSUSE fairly recently and this is my first post to the forums. (I'm new to openSUSE but not to Linux/Unix.)

    I am using openSUSE Leap 42.1 and I would like to ask advice on running a more recent version of Emacs than that available in the official package for 42.1, Emacs 24.3 (March 2013).

    I use a number of Emacs packages from the MELPA package archive (http://melpa.org/) and a few that I'd like to use require a more recent version of Emacs (particularly the excellent Magit, which requires Emacs 24.4 http://stable.melpa.org/#/magit).

    I was having a look on http://software.opensuse.org/package/emacs and I see there is an "unstable" build of Emacs 24.5 in the editors project of the openSUSE Build Service (https://build.opensuse.org/package/s...&package=emacs).

    I am not familiar with the openSUSE Build Service and I'm not sure what metrics to use in determining if I can trust this build. Would there be any good pointers to information on the Build Service and advice on determining how to trust a build? (who is responsible, instructions and patches used in the build, and such).

    I can always compile Emacs from source myself but I was wondering if there might be openSUSE specific patches needed?

    Additionally, would there be any plans to update the official package of Emacs to 24.5?

    Any other advice or suggestions of information to read would be great.

    Thank you very much for your help.

    Regards,
    Simon
    The OBS is a service anyone (individuals, projects, community) can use to build packages for a variety of distros from the same source.

    I had not heard of "editors" but if you click on it and explore the repos and in particular Users (contributors), it looks like a community repo.

    So, I'd give it an above-average level of trust because of its many contributors. If the OBS project was a "home:" project, then it would be an individual's work and would be considerably more risky, although in many cases risk doesn't always equate potential damage.
    If you want to explore the backgrounds/profiles of each contributor, you can do so.
    As noted in the OBS description, packages built by this OBS project are contributed to Factory (Tumbleweed) for further testing/use and eventually may be promoted to "stable" for one or more of the supported distros.

    TSU

  3. #3

    Default Re: Advice on updating to a newer version of Emacs

    Thanks very much for the information on OBS. I will definitely explore further.

    For now, I decided to stick with what I am familiar with and I compiled and installed the latest Emacs from source. All is working well, with one minor GNOME 3 related issue that I was able to resolve. I'll document what I did here, in case it is of use to anyone in the future in a similar situation, or in case there is a better way to fix and someone can correct me.

    After I did a make install to the default install location (/usr/local), I removed the openSUSE Emacs packages. Once I removed the packages, I was getting a blank icon for Emacs on the GNOME 3 dash. I believe that the problem was caused by the icon cache used by GNOME still referencing the removed Emacs icon:

    Code:
    $ strings /usr/share/icons/hicolor/icon-theme.cache | grep emacs
    emacs-document
    emacs
    I was able to fix with:

    Code:
    $ sudo gtk-update-icon-cache /usr/share/icons/hicolor

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •