From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 3/3] emacs: Do not allow to modify system profiles. Date: Sun, 21 Feb 2016 23:07:15 +0100 Message-ID: <87wppxsooc.fsf@gnu.org> References: <1455390283-3585-1-git-send-email-alezost@gmail.com> <1455390283-3585-4-git-send-email-alezost@gmail.com> 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]:60917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXc9y-00032B-Fl for guix-devel@gnu.org; Sun, 21 Feb 2016 17:07:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXc9u-0000Kb-Ev for guix-devel@gnu.org; Sun, 21 Feb 2016 17:07:22 -0500 In-Reply-To: <1455390283-3585-4-git-send-email-alezost@gmail.com> (Alex Kost's message of "Sat, 13 Feb 2016 22:04:43 +0300") 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: Alex Kost Cc: guix-devel@gnu.org Alex Kost skribis: > Fixes . > Reported by myglc2 . > > Remove possibilities to install/delete packages to/from a system profile > 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. Good idea. LGTM, thank you! Ludo=E2=80=99.