From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Re: [PATCH 3/3] emacs: Do not allow to modify system profiles. Date: Tue, 23 Feb 2016 11:55:22 +0100 Message-ID: <20160223105522.GA5873@thebird.nl> References: <1455390283-3585-1-git-send-email-alezost@gmail.com> <1455390283-3585-4-git-send-email-alezost@gmail.com> <87wppxsooc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYAds-00058r-O5 for guix-devel@gnu.org; Tue, 23 Feb 2016 05:56:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYAdn-0002S6-Tu for guix-devel@gnu.org; Tue, 23 Feb 2016 05:56:32 -0500 Content-Disposition: inline In-Reply-To: <87wppxsooc.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?iso-8859-1?Q?Court=E8s?= Cc: guix-devel@gnu.org, Alex Kost On Sun, Feb 21, 2016 at 11:07:15PM +0100, Ludovic Court=C3=A8s wrote: > Alex Kost skribis: >=20 > > Fixes . > > Reported by myglc2 . > > > > Remove possibilities to install/delete packages to/from a system prof= ile > > both for "Package List" and "Package Info" buffers. > > > > * emacs/guix-profiles.el (guix-system-profile-regexp): New variable. > > (guix-system-profile?): New procedure. > > * emacs/guix-ui-package.el (guix-package-info-insert-output): Do not > > display "Install"/"Delete" button for a system profile. > > (guix-package-assert-non-system-profile): New procedure. > > (guix-package-execute-actions): Use it. >=20 > Good idea. LGTM, thank you! >=20 > Ludo=E2=80=99. Can some of you share their .emacs config file? I am especially interested in the guix hacks. Do you pick up the load-path dynamically? What packages are in your list? Thanks, Pj. --=20