unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Akib Azmain Turja <akib@disroot.org>
To: Gottfried <gottfried@posteo.de>
Cc: "(" <paren@disroot.org>,  help-guix@gnu.org
Subject: Re: Guix SD and Emacs
Date: Fri, 25 Nov 2022 13:45:18 +0600	[thread overview]
Message-ID: <871qprjx4h.fsf@disroot.org> (raw)
In-Reply-To: <91309547-76e3-f7ce-5c5f-8b4590e472b4@posteo.de> (gottfried@posteo.de's message of "Thu, 24 Nov 2022 14:29:36 +0000")

[-- Attachment #1: Type: text/plain, Size: 2929 bytes --]


I think help-gnu-emacs should be a better place for discussion.

Gottfried <gottfried@posteo.de> writes:

> Thanks for your answers.
>
> I created a "init.el" file in ~/.config/emacs
>
> and a "custom.el" file in the same directory.
>
> I moved my .emacs.d to ~/.config/emacs and deleted later the empty
> ~/.emacs.d directory and the ~/.emacs file.

Great!

> -------------------------------------------------------------
> So, I have now everything in the ~/.config/emacs directory
>
> directories:
>
> auto-save-list
> eln-cache
> elpa
> tutorial
> url
>
> and the files:
>
> custom.el
> init.el
> misterioso-theme.el
> -------------------------------------------------------------
> custom.el:
> (setq custom-file (expand-file-name "custom.el" user-emacs-directory))
>   (load-file custom-file)
>
> (custom-set-variables
>  ;; custom-set-variables was added by Custom.
>  ;; If you edit it by hand, you could mess it up, so be careful.
>  ;; Your init file should contain only one such instance.
>  ;; If there is more than one, they won't work right.
>  '(ansi-color-faces-vector
>    [default default default italic underline success warning error])
>  '(ansi-color-names-vector
>    ["#2e3436" "#a40000" "#4e9a06" "#c4a000" "#204a87" "#5c3566"
>    "#729fcf" "#eeeeec"])
>  '(custom-enabled-themes '(tsdh-dark whiteboard))
>  '(font-use-system-font t))
> (custom-set-faces
>  ;; custom-set-faces was added by Custom.
>  ;; If you edit it by hand, you could mess it up, so be careful.
>  ;; Your init file should contain only one such instance.
>  ;; If there is more than one, they won't work right.
>  '(default ((t (:family "DejaVu Sans Mono" :foundry "PfEd" :slant
>  normal :weight normal :height 120 :width normal)))))
>
> -------------------------------------------------------
> init.el:
> ;; Display line numbers in every buffer
> (global-display-line-numbers-mode 1)
> --------------------------------------------------------
> 1. question
>
> So, as far as I understood you, I should do all my customisation in my
> custom.el file and not in the init.el file.

No, custom.el should be auto-generated by Custom, the customization UI.
If you want keep everything in one file, don't set custom-file variable.

> What goes than in my init.el file?

All your hand-written configuration.

>
> 2. question
>
> I have got a "misterioso-theme.el" file in my ~/.config/emacs directory
> but it doesn't work now.

Why doesn't it work?  Are you loading the theme correctly?

>
> Should I simply delete this file, and create this theme new?
> If so, what is the best way to create this theme or an other?
>
>
> Kind regards
>
> Gottfried

-- 
Akib Azmain Turja, GPG key: 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5
Fediverse: akib@hostux.social
Codeberg: akib
emailselfdefense.fsf.org | "Nothing can be secure without encryption."

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  parent reply	other threads:[~2022-11-25  8:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-23 17:16 Guix SD and Emacs Gottfried
2022-11-23 17:30 ` (
2022-11-23 20:25   ` Wolf
2022-11-23 21:47     ` Felix Lechner via
2022-11-23 22:29     ` (
2022-11-24  4:20     ` Akib Azmain Turja
2022-11-24  4:16 ` Akib Azmain Turja
2022-11-24 14:29   ` Gottfried
2022-11-24 14:33     ` (
2022-11-25  7:45     ` Akib Azmain Turja [this message]
2022-11-25 19:12       ` Gottfried
2022-11-30 21:46         ` Mekeor Melire

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=871qprjx4h.fsf@disroot.org \
    --to=akib@disroot.org \
    --cc=gottfried@posteo.de \
    --cc=help-guix@gnu.org \
    --cc=paren@disroot.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).