unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Gottfried <gottfried@posteo.de>
To: help-guix@gnu.org
Subject: open config.scm with sudo and gedit or emacs
Date: Sat, 11 Mar 2023 10:33:33 +0000	[thread overview]
Message-ID: <ac17882d-5ef3-9914-84a8-1a63071fbe8f@posteo.de> (raw)


[-- Attachment #1.1.1: Type: text/plain, Size: 1010 bytes --]

Hi,

because of my limited knowledge
when opening my config.scm file with sudo
I can do it only with nano
But nano doesn’t show the matching parenthesis.

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?
.....................................................
2.
In emacs it opens the file only in read-able mode.
How can I change this?

3.
In gedit it is also only in read-able mode.
....................................................

4.
Are there commands on the command line
to open my config.scm file with emacs/gedit in sudo mode?
....................................................

Untile now I opened my config.scm in gedit,
I saw the matching parenthesis
and was playing around with it
but then opening the file with sudo nano /etc/config.scm
I changed the parenthesis.

It would be better to do it in a different way,
but I am not a linux expert.

-- 
Kind regards

Gottfried


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

             reply	other threads:[~2023-03-11 10:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-11 10:33 Gottfried [this message]
2023-03-11 10:57 ` open config.scm with sudo and gedit or emacs Thanos Apollo
2023-03-11 11:03 ` Bruno Victal
2023-03-11 17:05 ` Sergiu Ivanov
2023-03-11 18:58   ` Kyle
2023-03-11 23:42   ` SeerLite
2023-03-12  7:07     ` Boris A. Dekshteyn
2023-03-12  9:33       ` SeerLite
2023-03-12 11:00     ` Sergiu Ivanov
2023-03-12 18:13       ` Luis Felipe
2023-03-12 19:05         ` Sergiu Ivanov
2023-03-12 13:27     ` Felix Lechner via

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=ac17882d-5ef3-9914-84a8-1a63071fbe8f@posteo.de \
    --to=gottfried@posteo.de \
    --cc=help-guix@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.
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).