From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexander Shukaev Newsgroups: gmane.emacs.help Subject: Re: Redefine the `special-mode-map' Date: Fri, 9 Jan 2015 20:22:20 +0100 Message-ID: References: <87a91sau6i.fsf@gmail.com> <54AFEE3D.1090604@yandex.ru> <87h9vzkcx7.fsf@web.de> <54B024CD.8080009@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1420831361 20989 80.91.229.3 (9 Jan 2015 19:22:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Jan 2015 19:22:41 +0000 (UTC) Cc: Michael Heerdegen , help-gnu-emacs To: Dmitry Gutov Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 09 20:22:36 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y9f8m-0004h6-6g for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Jan 2015 20:22:36 +0100 Original-Received: from localhost ([::1]:51919 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y9f8l-0008US-Ky for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Jan 2015 14:22:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y9f8a-0008UF-5q for help-gnu-emacs@gnu.org; Fri, 09 Jan 2015 14:22:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y9f8X-0000YJ-DC for help-gnu-emacs@gnu.org; Fri, 09 Jan 2015 14:22:24 -0500 Original-Received: from mail-la0-x230.google.com ([2a00:1450:4010:c03::230]:32882) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y9f8X-0000YE-1V for help-gnu-emacs@gnu.org; Fri, 09 Jan 2015 14:22:21 -0500 Original-Received: by mail-la0-f48.google.com with SMTP id gf13so16037851lab.7 for ; Fri, 09 Jan 2015 11:22:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=MMp8om+/J24ioCtDRI9c9QLc71qvE6/KLKyiFh0Xmdg=; b=K1bgbQTZuZxdztcsRe+ThnUkTD4y7+GnvQv3WGpyN7/XYWccMl25mrM8g3/SAoN4Fo L9yPdxjfikyX+XOxT6Blq5NYXGawKMQiHxzusuPWT9q2Egc3RlzWeWEQXrAxEd8z8KiZ yFxelJ54bNecQzUYbeBn8BXOIpHzj28q7Aj/SM9PVCW7sZMMC/D/PxQ/IOquih/QAEsM DgU+DsIfC8DZRFFXDPRbMEh/kJkvKTua5UDqpkPJS+WQPZy+YNk7nXBK7AVJN6VvL8ID FS4tvElZEKWV9QLvHqQYjZ45x9lBi4i33q0yCIAx2VmO5hzfmCJbBgTmjMsHKBnkPkJd E23w== X-Received: by 10.152.22.67 with SMTP id b3mr23665907laf.82.1420831340275; Fri, 09 Jan 2015 11:22:20 -0800 (PST) Original-Received: by 10.112.123.235 with HTTP; Fri, 9 Jan 2015 11:22:20 -0800 (PST) In-Reply-To: <54B024CD.8080009@yandex.ru> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::230 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101979 Archived-At: > > emacs -Q > M-: (featurep 'simple) RET > =E2=80=8BThis 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) =E2=80=8BIn fact, this will throw an error that `xxx' is void. It means tha= t 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