all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dejan Jocic <jodejka@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Help
Date: Wed, 11 May 2016 10:45:38 +0200	[thread overview]
Message-ID: <87lh3hc79p.fsf@ddej.ddeb.org> (raw)
In-Reply-To: CAOj2CQTtEVMXqhsiHhw2_ZG-FHDz6aqX3pYAzK4Aw_w9m5bXjA@mail.gmail.com

John Mastro <john.b.mastro@gmail.com> writes:

> Dejan Jocic <jodejka@gmail.com> wrote:
>
>> No need for that, it is obvious that it does not read it. For example, I
>> have some custom appearance and added Melpa in my init file. It does not
>> "see" it on start, but it does after I do M-x eval-buffer on init file.
>
> What do you see if execute the following command in Emacs?
>
>     C-h v user-init-file RET
>
> You should see something like this:
>
>     user-init-file is a variable defined in ‘C source code’.
>     Its value is "~/.emacs.d/init.el"
>
>     Documentation:
>     File name, including directory, of user’s initialization file.
>     If the file loaded had extension ‘.elc’, and the corresponding source file
>     exists, this variable contains the name of source file, suitable for use
>     by functions like ‘custom-save-all’ which edit the init file.
>     While Emacs loads and evaluates the init file, value is the real name
>     of the file, regardless of whether or not it has the ‘.elc’ extension.
>
> If the value is different, we'll know Emacs is looking in the wrong
> place for some reason (perhaps a site-wide customization?)

Well, I did found out why it does not load it. It is not exactly "why
not", rather "because of what". Looks like it all happens because of my
custom theme. I've installed solarized from Melpa and saved solarized-dark
as my theme on start. Now, when I know what Emacs can not see and by
putting it at the end of my .emacs file, it is all half ok. Emacs reads
my init file to the point where it comes to these:

(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-names-vector
   ["#073642" "#dc322f" "#859900" "#b58900" "#268bd2" "#d33682" "#2aa198" "#657b83"])
 '(compilation-message-face (quote default))
 '(cua-global-mark-cursor-color "#2aa198")
 '(cua-normal-cursor-color "#839496")
 '(cua-overwrite-cursor-color "#b58900")
 '(cua-read-only-cursor-color "#859900")
 '(custom-enabled-themes (quote (solarized-dark)))
 '(custom-safe-themes
   (quote
    ("d677ef584c6dfc0697901a44b885cc18e206f05114c8a3b7fde674fce6180879" "8aebf25556399b58091e533e455dd50a6a9cba958cc4ebb0aab175863c25b9a4" default)))
 '(fci-rule-color "#073642")
 '(highlight-changes-colors (quote ("#d33682" "#6c71c4")))
 '(highlight-symbol-colors
   (--map
    (solarized-color-blend it "#002b36" 0.25)
    (quote
     ("#b58900" "#2aa198" "#dc322f" "#6c71c4" "#859900" "#cb4b16" "#268bd2"))))
 '(highlight-symbol-foreground-color "#93a1a1")
 '(highlight-tail-colors
   (quote
    (("#073642" . 0)
     ("#546E00" . 20)
     ("#00736F" . 30)
     ("#00629D" . 50)
     ("#7B6000" . 60)
     ("#8B2C02" . 70)
     ("#93115C" . 85)
     ("#073642" . 100))))
 '(hl-bg-colors
   (quote
    ("#7B6000" "#8B2C02" "#990A1B" "#93115C" "#3F4D91" "#00629D" "#00736F" "#546E00")))
 '(hl-fg-colors
   (quote
    ("#002b36" "#002b36" "#002b36" "#002b36" "#002b36" "#002b36" "#002b36" "#002b36")))
 '(magit-diff-use-overlays nil)
 '(nrepl-message-colors
   (quote
    ("#dc322f" "#cb4b16" "#b58900" "#546E00" "#B4C342" "#00629D" "#2aa198" "#d33682" "#6c71c4")))
 '(pos-tip-background-color "#073642")
 '(pos-tip-foreground-color "#93a1a1")
 '(smartrep-mode-line-active-bg (solarized-color-blend "#859900" "#073642" 0.2))
 '(term-default-bg-color "#002b36")
 '(term-default-fg-color "#839496")
 '(vc-annotate-background nil)
 '(vc-annotate-color-map
   (quote
    ((20 . "#dc322f")
     (40 . "#c85d17")
     (60 . "#be730b")
     (80 . "#b58900")
     (100 . "#a58e00")
     (120 . "#9d9100")
     (140 . "#959300")
     (160 . "#8d9600")
     (180 . "#859900")
     (200 . "#669b32")
     (220 . "#579d4c")
     (240 . "#489e65")
     (260 . "#399f7e")
     (280 . "#2aa198")
     (300 . "#2898af")
     (320 . "#2793ba")
     (340 . "#268fc6")
     (360 . "#268bd2"))))
 '(vc-annotate-very-old-color nil)
 '(weechat-color-list
   (quote
    (unspecified "#002b36" "#073642" "#990A1B" "#dc322f" "#546E00" "#859900" "#7B6000" "#b58900" "#00629D" "#268bd2" "#93115C" "#d33682" "#00736F" "#2aa198" "#839496" "#657b83")))
 '(xterm-color-names
   ["#073642" "#dc322f" "#859900" "#b58900" "#268bd2" "#d33682" "#2aa198" "#eee8d5"])
 '(xterm-color-names-bright
   ["#002b36" "#cb4b16" "#586e75" "#657b83" "#839496" "#6c71c4" "#93a1a1" "#fdf6e3"]))
(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.
 )

Thing is that there should be nothing wrong with that, because it reads
and loads it right  when I do eval-buffer on it. Also, there was much less
lines of that, before I've started to look for error. First few times,
Emacs did not autosave so much lines. For example, I did not see before
these lines for weechat-color-list, nor for xterm-color-names.I do not
have weechat installed anyway. Difference is that now it sees and reads
other parts of .emacs. Not that there is much more then this in it right
now:

;;for Melpa
(require 'package)
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))

;;for Perl
(add-to-list 'auto-mode-alist '("\\.\\([pP][Llm]\\|al\\)\\'" . cperl-mode))
    (add-to-list 'interpreter-mode-alist '("perl" . cperl-mode))
    (add-to-list 'interpreter-mode-alist '("perl5" . cperl-mode))
    (add-to-list 'interpreter-mode-alist '("miniperl" . cperl-mode))


Apologies if this is some kind of common knowledge for Emacs users, I'm
fairly new to Emacs and was using it just for some simple text editing,
gnus and bit of programming lessons till now. And my search around net
skills did not give me much to work with.




  reply	other threads:[~2016-05-11  8:45 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-07 15:07 Help 庄 子恒
2016-05-08  4:03 ` Help Kaushal Modi
2016-05-08  7:12   ` Help Guillermo Vaya
2016-05-08 13:39 ` Help John Mastro
2016-05-09  0:47 ` Help Emanuel Berg
2016-05-09  8:42   ` Help Dejan Jocic
2016-05-09  9:30     ` Help Bob Proulx
2016-05-09 10:03       ` Help Dejan Jocic
2016-05-10  5:36         ` Help Bob Proulx
2016-05-10  6:09           ` Help Dejan Jocic
2016-05-10 23:17         ` Help Emanuel Berg
2016-05-11  8:57           ` Help Dejan Jocic
2016-05-14  3:52             ` Help Emanuel Berg
2016-05-11  0:31         ` Help John Mastro
2016-05-11  8:45           ` Dejan Jocic [this message]
2016-05-14  3:49     ` Help Emanuel Berg
  -- strict thread matches above, loose matches on Subject: below --
2023-01-13  2:43 help josh parson
2023-01-16  4:25 ` help Richard Stallman
2023-01-16  5:20 ` help Jim Porter
     [not found] <mailman.80.1454259641.17556.emacs-orgmode@gnu.org>
2016-01-31 21:51 ` Help Heartsayer
     [not found] <mailman.1794.1443178478.19560.help-gnu-emacs@gnu.org>
2015-09-25 11:07 ` help Joost Kremers
2015-09-25  7:18 help ss
2015-09-25 11:00 ` help tomas
2015-09-27 17:21   ` help Artur Malabarba
2015-09-27 17:49     ` help Marcin Borkowski
2015-09-27 18:28       ` help Artur Malabarba
2015-09-27 20:02         ` help Marcin Borkowski
2015-09-28  1:37           ` help Kaushal Modi
2015-09-28 11:03             ` help Artur Malabarba
2014-09-02 16:07 help Moritz Kiefer
2014-10-12 12:10 ` help Bastien
     [not found] <mailman.771.1263114721.18930.help-gnu-emacs@gnu.org>
2010-01-10  9:57 ` Help Cecil Westerhof
2010-01-10 22:36   ` Help Tim X
2010-01-20 16:52     ` Help Matt Proud
2010-01-05 16:17 Help Rhey, David
2010-01-05 19:11 ` Help Tassilo Horn
2008-06-09 16:36 Help ila
2008-06-09 19:47 ` Help Xah
2008-06-10  0:29   ` Help Nikolaj Schumacher
2008-06-10 17:01 ` Help Joel J. Adamson
2008-06-09 16:00 help 江林
2008-06-09 19:39 ` help Xah
2007-12-13  5:42 help HANS jackman
2007-12-13 17:38 ` help Mike Mattie
2007-12-13 19:16 ` help Sebastian Tennant
     [not found] <mailman.2698.1177883418.7795.help-gnu-emacs@gnu.org>
2007-04-29 22:07 ` Help Harald Hanche-Olsen
2007-04-29  6:45 Help Mahesh HM
2005-08-03 14:07 Help Rich Hojsack
2005-12-15 15:35 ` Help Kevin Rodgers
2004-12-15 12:53 help fisherssml
2004-06-08  7:52 Help patrizia d'ippolito
2005-12-13 23:32 ` Help Richard M. Stallman
2005-12-14  7:55   ` Help Juri Linkov
2005-12-14 16:34     ` Help Kevin Rodgers
2005-12-14 19:15     ` Help Eli Zaretskii
2005-12-15  2:07     ` Help Richard M. Stallman
2005-12-15  8:16       ` Help Werner LEMBERG
2002-10-20  7:57 Help swk
2002-10-24 13:01 ` Help Jesper Harder
2002-10-24 21:45   ` Help swk
2002-10-29 21:56   ` Help swk

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

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

  git send-email \
    --in-reply-to=87lh3hc79p.fsf@ddej.ddeb.org \
    --to=jodejka@gmail.com \
    --cc=help-gnu-emacs@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.