From: Alexander Shukaev <haroogan@gmail.com>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: Michael Heerdegen <michael_heerdegen@web.de>,
help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Redefine the `special-mode-map'
Date: Fri, 9 Jan 2015 20:22:20 +0100 [thread overview]
Message-ID: <CAKu-7WyvGX2N+zvtzVVr+whC+XK7nqzGmBadP4A-8NtWYUJ1PQ@mail.gmail.com> (raw)
In-Reply-To: <54B024CD.8080009@yandex.ru>
>
> emacs -Q
> M-: (featurep 'simple) RET
>
This does not prove whether `simple.el' is loaded during Emacs
initialization (`init.el') when `setq' is called there. The following test
really shows it:
(with-eval-after-load 'simple
(message "after: %s" xxx))
(setq xxx "Hello, World!")
(message "before: %s" xxx)
In fact, this will throw an error that `xxx' is void. It means that indeed
`simple.el' is loaded even before `init.el' is run (and not because of the
call to `setq'). Interesting...
Huge thanks to everyone for shedding some light on my issue.
Kind regards,
Alexander
next prev parent reply other threads:[~2015-01-09 19:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-09 4:26 Redefine the `special-mode-map' Alexander Shukaev
2015-01-09 14:46 ` Alex Kost
2015-01-09 14:53 ` Alexander Shukaev
2015-01-09 15:02 ` Alexander Shukaev
2015-01-09 15:05 ` Dmitry Gutov
2015-01-09 15:09 ` Alexander Shukaev
2015-01-09 18:48 ` Michael Heerdegen
2015-01-09 18:54 ` Alexander Shukaev
2015-01-09 18:58 ` Dmitry Gutov
2015-01-09 19:22 ` Alexander Shukaev [this message]
2015-01-09 19:29 ` Michael Heerdegen
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=CAKu-7WyvGX2N+zvtzVVr+whC+XK7nqzGmBadP4A-8NtWYUJ1PQ@mail.gmail.com \
--to=haroogan@gmail.com \
--cc=dgutov@yandex.ru \
--cc=help-gnu-emacs@gnu.org \
--cc=michael_heerdegen@web.de \
/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.