From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Barry Fishman Newsgroups: gmane.emacs.help Subject: Re: Moving from 24.5 to the most recent in git, 27.0.50 Date: Mon, 06 Aug 2018 09:09:36 -0400 Organization: Easynews - www.easynews.com Message-ID: <7n8t5j1w1b.fsf@ecube.ecubist.org> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1533560910 17869 195.159.176.226 (6 Aug 2018 13:08:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 6 Aug 2018 13:08:30 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 06 15:08:26 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fmfFJ-0004YZ-O3 for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Aug 2018 15:08:25 +0200 Original-Received: from localhost ([::1]:34066 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmfHO-0006Vr-AP for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Aug 2018 09:10:34 -0400 X-Received: by 2002:adf:d4ca:: with SMTP id w10-v6mr1239778wrk.32.1533560982408; Mon, 06 Aug 2018 06:09:42 -0700 (PDT) Original-Path: usenet.stanford.edu!z6-v6no1789991wma.0!news-out.google.com!i6-v6ni22853wmf.0!nntp.google.com!proxad.net!feeder1-2.proxad.net!feeder.erje.net!2.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!85.12.16.69.MISMATCH!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.am4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!post02.iad!fx40.iad.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Cancel-Lock: sha1:6u9ePzoVZT3tv6ywyWP1AExWJHg= Original-Lines: 61 Original-X-Complaints-To: abuse@easynews.com X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly. X-Received-Bytes: 3469 X-Received-Body-CRC: 2997423843 Original-Xref: usenet.stanford.edu gnu.emacs.help:223516 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117641 Archived-At: On 2018-08-02 16:26:01 -04, jonetsu wrote: > But there are two problems so far. I have put the color-theme.el file > in its site-lisp directory in : > > /usr/local/share/emacs/27.0.50/site-lisp/ > > And do not know if I should move my current .emacs from the home > ~/.emacs directory - I think not because when emacs 27 starts for a > very brief moment the colors I'm used to flashes by and then it's all > white. Moreover, trying to use Tools -> Color Themes yields a totally > empty white screen where the cursor cannot move, eg. truly empty. You don't give the name of your distribution. Debian Squeeze seems to have 24.5 as its default, although makes 25.1 optional. Both seem to support Emacs themes in the same way as emacs-27.0.50. I know at some point I transitioned from using a custom color-theme.el file and moved to the Emacs built in themes setup. The default themes are in the $prefix/share/emacs/27.0.50/etc/themes directory, and selected from the menu via: Options -> Customize Emacs -> Custom Themes If you want your own theme you should probably start with an existing file in that directory and create one with you own tailoring, such as "own-theme.el". You can put your file in the theme directory, or if you want to use it for multiple version of Emacs, from your own directory, with .emacs file code like: (push (expand-file-name "~/.emacs.d/themes/") custom-theme-load-path) (load-theme 'own-theme :no-confirm t) (enable-theme 'own-theme) Or just do it within customize, by setting 'custom-theme-directory' to your theme directory and selecting it from the check list. > How to fix that and have my original .emacs file take effect ? And, > should I continue with 27, or should I perhaps go with what would be a > stable version eg. one of the current 26 series ? I've been using Emacs trunk for some time. I usually rebuild it every couple of weeks and use the results of 'make check' to determine if I should switch to it. I configure it with something like: configure --prefix=/usr/local/pkgs/emacs-trunk and later create soft links under /usr/local/bin/ and /usr/local/share/man/man1/ to make it active. In this way I can simply move it out of the way when I install a new version and not have any issues with leaving behind files from the previous install, scattered around /usr/local/*, other than broken links that are easy to find and remove. If you don't wish to put in the effort of following the development closely, you are probably best to just install the latest release. -- Barry Fishman