unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Alex Kost <alezost@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 3/3] emacs: Do not allow to modify system profiles.
Date: Sun, 21 Feb 2016 23:07:15 +0100	[thread overview]
Message-ID: <87wppxsooc.fsf@gnu.org> (raw)
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")

Alex Kost <alezost@gmail.com> skribis:

> Fixes <http://bugs.gnu.org/22607>.
> Reported by myglc2 <myglc2@gmail.com>.
>
> 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’.

  reply	other threads:[~2016-02-21 22:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-13 19:04 [PATCH 0/3] emacs: Few improvements Alex Kost
2016-02-13 19:04 ` [PATCH 1/3] emacs: Add 'M-x guix-installed-{user/system}-packages' Alex Kost
2016-02-21 22:03   ` Ludovic Courtès
2016-02-13 19:04 ` [PATCH 2/3] emacs: Set 'guix-buffer-item' before displaying entries Alex Kost
2016-02-21 22:06   ` Ludovic Courtès
2016-02-22 19:48     ` Alex Kost
2016-02-13 19:04 ` [PATCH 3/3] emacs: Do not allow to modify system profiles Alex Kost
2016-02-21 22:07   ` Ludovic Courtès [this message]
2016-02-23 10:55     ` Pjotr Prins
2016-02-24 16:52       ` Alex Kost

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wppxsooc.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=alezost@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).