From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jingtao Xu Newsgroups: gmane.emacs.bugs Subject: bug#33723: 26.1; function `byte-compile-file` use function `read` instead of the variable value of `load-read-function` Date: Fri, 14 Dec 2018 08:01:52 +0800 Message-ID: <87wood2cy7.wl-jingtaozf@gmail.com> References: <87y38t3cci.wl-jingtaozf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Trace: blaine.gmane.org 1544745670 26352 195.159.176.226 (14 Dec 2018 00:01:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 14 Dec 2018 00:01:10 +0000 (UTC) User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?UTF-8?Q?Goj=C5=8D?=) APEL/10.8 EasyPG/1.0.0 Emacs/26 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) Cc: Jingtao Xu , 33723@debbugs.gnu.org To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 14 01:01:05 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gXauf-0006kX-ML for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Dec 2018 01:01:05 +0100 Original-Received: from localhost ([::1]:57489 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXawm-0003iN-CC for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Dec 2018 19:03:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXawd-0003i5-Ic for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2018 19:03:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXawY-0000ns-So for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2018 19:03:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42821) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gXawY-0000lv-Mu for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2018 19:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gXawX-0005pD-La for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2018 19:03:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jingtao Xu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Dec 2018 00:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33723 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33723-submit@debbugs.gnu.org id=B33723.154474572822328 (code B ref 33723); Fri, 14 Dec 2018 00:03:01 +0000 Original-Received: (at 33723) by debbugs.gnu.org; 14 Dec 2018 00:02:08 +0000 Original-Received: from localhost ([127.0.0.1]:47078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gXavf-0005o4-St for submit@debbugs.gnu.org; Thu, 13 Dec 2018 19:02:08 -0500 Original-Received: from mail-pf1-f170.google.com ([209.85.210.170]:46543) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gXave-0005nb-31 for 33723@debbugs.gnu.org; Thu, 13 Dec 2018 19:02:06 -0500 Original-Received: by mail-pf1-f170.google.com with SMTP id c73so1875976pfe.13 for <33723@debbugs.gnu.org>; Thu, 13 Dec 2018 16:02:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:message-id:from:to:cc:subject:in-reply-to:references :user-agent:mime-version; bh=B4trvn9dtvTvgzoZTI+IGr4w+3YAAF2evlSgT8VP/pA=; b=M3ubxVwNDLyJ8r09u99uQsZPFit+CfDSmH+TmJn2MJwYzS66y0U0xOzrHMnkdNyYp5 IxYk/xfsqfYaYx0JNyEh6PHbRmLHsOo7zOX7On4ybyPxcPI/2358d8bevPUXohMhztv4 /iKTqGzvYTZvlYSaQjB7Yjxjsz6ZrFFaPlqW64ws4SNOJajeXYOIXWpMHQVqxE4LnRnX r6uSPPUcS/LXYqeWv7peZB3nKLvKoT2nU5aoAwOksIZreqWZhZJvisq6E6vDMn1p8aHv uCv938IdvCi77YlLaNDVDLQU2UHJWLP/g48dSA/Gx5/Po51rZaoyNHGtMYJWDFR8P9am odPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:from:to:cc:subject:in-reply-to :references:user-agent:mime-version; bh=B4trvn9dtvTvgzoZTI+IGr4w+3YAAF2evlSgT8VP/pA=; b=aH3MK2O/3n69sqXwvlzzS19cTbm7CSKlBnqzLSyl73xFnF/VY6tM563H/YmOxtKd6O uevQOSJoRVZ3/xLSMD5kMsv6o96TLvK1rKzOPBNk4kLB6gBIJZxCvehCHqqjJ9fXrFIB f8BQaita+Rt6ad+bbHIlI/ERQMcGVoE2i8M0rrwMuBnPyUUhdrlOA+3ru2gI3s7Fr159 bq+hHkYNu3lucKR5Rn4KazztXZSGHzEFJ/eBZPWFLXD7jKkHer0RvCIxIhGsxFcm4QB0 /zzfZLjVluy69K0+q2zAcFtqeJCnyiC27+UYF8YjkaEEY4du8BrLFdFZPRs/xIHGu7pI 7sZQ== X-Gm-Message-State: AA+aEWagEwYhjW2sMnhcnrf6Yme1PbUK9eqpzuZcIEAImEumt4gwHLrY 0E1gQMdGRRpMxiZbjopnB5E= X-Google-Smtp-Source: AFSGD/VQkUahCCavD7H6gFiiK+ah9AIZkgv/CgoQa5/x6FQ9o1+JYgZMedCsjDI2UCu7mJzsKD1uVA== X-Received: by 2002:a62:868b:: with SMTP id x133mr782783pfd.252.1544745720186; Thu, 13 Dec 2018 16:02:00 -0800 (PST) Original-Received: from funtoo.gmail.com (li1703-254.members.linode.com. [172.104.93.254]) by smtp.gmail.com with ESMTPSA id w10sm4204737pgi.81.2018.12.13.16.01.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Dec 2018 16:01:58 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:153426 Archived-At: literate Lisp is just an org mode file like this: * head1 This can be both document and code in one org file: #+BEGIN_SRC elisp :tangle yes (defun test1 () (message "test1")) #+END_SRC and function `literate-load' will ignore lines out of source code block and load elisp codes inside the code block. More details of `literate-elisp can be found in https://github.com/jingtaozf/literate-elisp Anyway, I need to use a custom read function to load and compile this org file. On Fri, 14 Dec 2018 05:14:20 +0800, Richard Stallman wrote: > > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > Would you like to show emacs-devel what this does? > What does "literate Lisp" look like? What are the rules > for writing it? > > -- > Dr Richard Stallman > President, Free Software Foundation (https://gnu.org, https://fsf.org) > Internet Hall-of-Famer (https://internethalloffame.org) > >