From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kH/AAujADWSbuQAASxT56A (envelope-from ) for ; Sun, 12 Mar 2023 13:09:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gOmTAujADWQlDQEAauVa8A (envelope-from ) for ; Sun, 12 Mar 2023 13:09:12 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D815410581 for ; Sun, 12 Mar 2023 13:09:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pbKVE-0001Bm-MG; Sun, 12 Mar 2023 08:08:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pax3B-0008GJ-C3 for help-guix@gnu.org; Sat, 11 Mar 2023 06:06:09 -0500 Received: from wnew4-smtp.messagingengine.com ([64.147.123.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pax39-0004Gh-Dz for help-guix@gnu.org; Sat, 11 Mar 2023 06:06:09 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailnew.west.internal (Postfix) with ESMTP id 5444F2B068D4; Sat, 11 Mar 2023 06:06:04 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sat, 11 Mar 2023 06:06:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= thanosapollo.com; h=cc:cc:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1678532763; x=1678536363; bh=A7sUpz+ZnYnM3/XGyN8YbMcQjCVUwdJJH9T waVQeMgA=; b=YzxYlAXIriNW6U3/U9jQshAijaBN/CEPCkMIvtVQlGWA8Nlatqh jz1l6fJXmifHXefy5EXVj/jiswmPh4fAdL3LnpAf1D5bqHhGCDdhV/h/fTfCVv2J TvqcnvC29GakYH2b7PdDzvpiGFUpGdVtDGzbQlUqhBm86xQ6fE27LJWogyxGNtnx /+q6mV3Vo6EsGLSOjAOK7PM2I1t9nA4dtbrsrOqRYSpoD+b/x/C9UV4jMn2SIpdJ xWATeAh1U7fBUAG6ZI821tkw3VOgV3fINGRsAmBl/qub1ig2jv8NjzreQVxWggDi KgC7ZviUmYJJ0LI1vL7jsCfbXYnYSYPtH/Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1678532763; x=1678536363; bh=A7sUpz+ZnYnM3 /XGyN8YbMcQjCVUwdJJH9TwaVQeMgA=; b=JuiFmWvI1NIim77joiXaDbAjn4QPf RbF8IzZrmPCxfE8J7IuauKtbl2hhq5XSZJNcx6+6W3IK9mUEbQnAAPA/Ue/W1sMK Jwc/awE51ABXCNmdTcvsWBfsAKnc8rv/vcPtDmH7ZkOyeXTaM96/RUHAaKVAY/fp 7u6TrtY6Qj+GmRPQQz9Rq/n6jjmSq0Fn28DXJi4CpgQU2MWpZ/L6gVyuynDm9ela 2daCd/nAwpnZP+72X8TmuH2JPi2sC54Sf+yJBpOLZEZTQWcmPKFSQEtd7yW/w031 igY73VTvmz7Q4QdEvilzRc9M/SQLQjW4yG3pZxGTn/sTZ789lCQjiwEsA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvddvtdcutefuodetggdotefrodftvfcurf hrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhepfhgfhffvvefuffgjkfggtgesthdtredttd ertdenucfhrhhomhepvfhhrghnohhsucetphholhhlohcuoehpuhgslhhitgesthhhrghn ohhsrghpohhllhhordgtohhmqeenucggtffrrghtthgvrhhnpefhgfdtteehleejieeiud elfeehudevgfduudeviedukeefueeiteefkeekvdeikeenucevlhhushhtvghrufhiiigv pedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpuhgslhhitgesthhhrghnohhsrghpoh hllhhordgtohhm X-ME-Proxy: Feedback-ID: i8e694670:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 11 Mar 2023 06:06:03 -0500 (EST) References: User-agent: mu4e 1.8.13; emacs 28.2 From: Thanos Apollo To: Gottfried Cc: help-guix@gnu.org Subject: Re: open config.scm with sudo and gedit or emacs Date: Sat, 11 Mar 2023 12:57:49 +0200 In-reply-to: Message-ID: <87zg8jim3s.fsf@thanosapollo.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=64.147.123.18; envelope-from=public@thanosapollo.com; helo=wnew4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 12 Mar 2023 08:08:39 -0400 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678622951; a=rsa-sha256; cv=none; b=T6AUs8UfWWtrON5gGJAVMaeILzOz9Xx6LFcK2cXapXdE+BHR9BEQX+B7jXnrBLPhk5/xH6 4zKcEUu37c5EynLn2gA8oRw4KPWCymBjMaOmxVvVklWbJUmeEkZtYqI+Ejxuuaqx8tYIPc fu/9xfxSsQBAyQLVDurUGyS4LBbNmaxpDguVq2TCyDqeodJVfJzS/F0eFhROpbcmkek7Ta XLhtIp2sUytXU7ZTdROFeguFn6hlH1pKAEfLbW/iOw/wfM1Wq6VB6hIPYGuSKXqfwhmlTQ NYkA7x4OoVvRc16tN70xANsxU1PA/Auoz3L9mVMGnJw4/ITC+WzA2fwzmjtqOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678622951; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=A7sUpz+ZnYnM3/XGyN8YbMcQjCVUwdJJH9TwaVQeMgA=; b=SePVYhiC1guBdto9m9rDbLGE1jHiwohrIHf4kNAe/xo1Uda0vMIA6l56ImNzkE6wKP1hfB QrYSz4WEn7lI9SdBx0jLvhlHyfFmo7FpdO4XuVkWyBZq9GhDa57A8OcSNSlfRuam4MpyW4 NIa5Qv/uc4tT1rE4TeJ7Q+63G6cubE+Zes0JsDTIS0vOji/KBVoUM+5HpEtANCJwkzaCEm mOhnGNP3vfA//VX/yYtd7qynZznPqHLUp9pfOwt/obIM5eK2rkZg257m8cHkG5aq3YObaq 8Pdqfqa36OS07sNyQyaVLmltKPMvUlVeELsYhhwkgOyOeu+zenW+Zs0BbKQjjw== X-Migadu-Spam-Score: -2.11 X-Spam-Score: -2.11 X-Migadu-Queue-Id: D815410581 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-TUID: SUuVWGE8rxz5 Hey Gottfried! Gottfried writes: [...] > 1. > I would like to open my config.scm file with emacs or gedit, > because both show the matching parenthesis. > > How can I do that? Not a Guix expert here either, but you might want to copy your auto-generated config.scm as ~/.config/guix/config.scm or something like that so you will be able edit it as $USER and not just be owned by root(and also keep your /etc/config.scm just in case you make a typo for your filesystem as a backup). > ..................................................... > 2. > In emacs it opens the file only in read-able mode. > How can I change this? > You should try out the `sudo-edit` package for editing with root privileges in emacs ;) Hope this helps! -- Thanos