From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Shmakov Newsgroups: gmane.emacs.devel Subject: Re: GNU Elpa Theme (ahungry-theme) - should I add code to auto load-theme it? Date: Thu, 05 Feb 2015 19:31:23 +0000 Message-ID: <87egq4f94k.fsf@violet.siamics.net> References: <87iofo7xfo.fsf@ahungry.com> <87mw4sdzi0.fsf@ahungry.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1423164717 32681 80.91.229.3 (5 Feb 2015 19:31:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Feb 2015 19:31:57 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 05 20:31:52 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YJS9V-0000Z5-CA for ged-emacs-devel@m.gmane.org; Thu, 05 Feb 2015 20:31:49 +0100 Original-Received: from localhost ([::1]:44890 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJS9U-0001mR-Sv for ged-emacs-devel@m.gmane.org; Thu, 05 Feb 2015 14:31:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJS9I-0001l0-3M for emacs-devel@gnu.org; Thu, 05 Feb 2015 14:31:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJS9G-0003Mo-TF for emacs-devel@gnu.org; Thu, 05 Feb 2015 14:31:36 -0500 Original-Received: from fely.am-1.org ([2a01:4f8:d15:1b86::2]:38111) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJS9G-0003Jw-Kf for emacs-devel@gnu.org; Thu, 05 Feb 2015 14:31:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:Sender:References:Subject:To:From; bh=KAV+eQyRALFyaROuAH77ZjBM2vNWyIyrDqpaek5mHkk=; b=nls8yUlQB316COsZQkvQtqm6iRYIVEQgHhZvtsG0QmS1GZ5/4lxWlLNraN0R1MWlar8a7I35eX3ZKq7LFUHZHhmViIkZPgNgiMk+ILi1xOQLc+hjLK5NI3IoXLSxgazZ9sxKCOuzuT1naaOvDpqNBhMulxNNHuZAtI0OFAk93Ew=; Original-Received: from [2a02:2560:6d4:26ca::1:1d] (helo=violet.siamics.net) by fely.am-1.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1YJS9D-0000fl-Ep for emacs-devel@gnu.org; Thu, 05 Feb 2015 19:31:32 +0000 Original-Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1YJS96-0004Rk-87 for emacs-devel@gnu.org; Fri, 06 Feb 2015 02:31:24 +0700 Mail-Followup-To: emacs-devel In-Reply-To: <87mw4sdzi0.fsf@ahungry.com> (Matthew Carter's message of "Thu, 05 Feb 2015 12:44:39 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a01:4f8:d15:1b86::2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:182475 Archived-At: >>>>> Matthew Carter writes: >>>>> Artur Malabarba writes: [=E2=80=A6] >> Users should be able to have multiple themes installed without them >> all turning on simultaneously. >> I do agree with need a more intuitive theming experience for new >> users, but that's a whole other topic. > When investigating further (and testing with a fresh emacs install) I > have found that the theme loads without requiring any calls to > load-theme or modifying the theme load path when installed via ELPA > by including a simple: > (require 'ahungry-theme) > In the init file, so upon reconsideration I'll probably avoid adding > any further autoload functionality in the theme code. How is that better than, say, (load-theme 'ahungry t)? > The fact that the theme becomes active upon a require isn't > unintended functionality is it? > Maybe I'll just update the meta description shown on list-packages > from: > "Ahungry color theme for Emacs." > to > "Ahungry color theme for Emacs - just (require 'ahungry-theme) to > load." You can refer to load-theme there just as well, I guess. --=20 FSF associate member #7257 http://boycottsystemd.org/ =E2=80=A6 3013 B6A0= 230E 334A