unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Alex Kost <alezost@gmail.com>
To: 26693@debbugs.gnu.org
Subject: bug#26693: [PATCH 2/2] doc: Add references to Emacs-Guix manual.
Date: Fri, 28 Apr 2017 16:52:32 +0300	[thread overview]
Message-ID: <8737csabbz.fsf@gmail.com> (raw)
In-Reply-To: <20170428134431.3381-2-alezost@gmail.com> (Alex Kost's message of "Fri, 28 Apr 2017 16:44:31 +0300")

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

Alex Kost (2017-04-28 16:44 +0300) wrote:

> * doc/htmlxref.cnf: Add links to the real manual.
> * doc/contributing.texi (Formatting Code): Add reference to it.
> * doc/guix.texi (Package Management): Likewise.
> ---
>  doc/contributing.texi |  5 ++++-
>  doc/guix.texi         | 12 +++++++-----
>  doc/htmlxref.cnf      |  4 +++-
>  3 files changed, 14 insertions(+), 7 deletions(-)

I'm very sorry, this is the wrong patch :-)

The attached one is the right one.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-etc-indent-code.el-Define-source-tree-by-indent-code.patch --]
[-- Type: text/x-patch, Size: 1051 bytes --]

From d4abac119e2c62cc42a8786034c905196d7262e6 Mon Sep 17 00:00:00 2001
From: Alex Kost <alezost@gmail.com>
Date: Fri, 28 Apr 2017 16:07:33 +0300
Subject: [PATCH] etc: indent-code.el: Define source tree by "indent-code.el".

* etc/indent-code.el.in: Set default directory by "indent-code.el"
itself, otherwise it works only when called from the top directory of
the guix source tree.
---
 etc/indent-code.el.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/etc/indent-code.el.in b/etc/indent-code.el.in
index 68ad72c..6102b5d 100755
--- a/etc/indent-code.el.in
+++ b/etc/indent-code.el.in
@@ -26,10 +26,10 @@
 
 ;;; Code:
 
-;; Load Scheme indentation rules from the current directory.
+;; Load Scheme indentation rules from ".dir-locals.el".
 (with-temp-buffer
   (scheme-mode)
-  (let ((default-directory (file-name-as-directory "."))
+  (let ((default-directory (file-name-as-directory load-file-name))
         (enable-local-variables :all))
     (hack-dir-local-variables)
     (hack-local-variables-apply)))
-- 
2.10.2


  reply	other threads:[~2017-04-28 13:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-28 13:28 bug#26693: [PATCH 0/2] Fix indentation in indent-code.el and dir-locals.el Alex Kost
2017-04-28 13:44 ` bug#26693: [PATCH 1/2] dir-locals.el: Add 'modify-phases' keywords Alex Kost
2017-04-28 13:44   ` bug#26693: [PATCH 2/2] doc: Add references to Emacs-Guix manual Alex Kost
2017-04-28 13:52     ` Alex Kost [this message]
2017-05-02 21:39 ` bug#26693: [PATCH 0/2] Fix indentation in indent-code.el and dir-locals.el Ludovic Courtès
2017-05-04 19:47   ` Alex Kost

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=8737csabbz.fsf@gmail.com \
    --to=alezost@gmail.com \
    --cc=26693@debbugs.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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).