Re: Loading AUCTeX out of Git repo

2021-01-25 Thread Uwe Brauer

> Uwe Brauer  writes:

> If a source file is newer than the elc, make will rebuild it.  So that
> should generally not be needed.  (But of course, it's not wrong to do
> it.)

I thought mainly about the documentation files (pdf and friends). It is not
entirely clear to me that those would be rebuilt.


smime.p7s
Description: S/MIME cryptographic signature


Re: Loading AUCTeX out of Git repo

2021-01-25 Thread Tassilo Horn
>> Uwe Brauer  writes:
>
>> If a source file is newer than the elc, make will rebuild it.  So
>> that should generally not be needed.  (But of course, it's not wrong
>> to do it.)
>
> I thought mainly about the documentation files (pdf and friends). It
> is not entirely clear to me that those would be rebuilt.

Same there: if the source (texi) file is newer than the target
(info/pdf), it'll be rebuilt.

Bye,
Tassilo



[AUCTeX-commit] GNU AUCTeX branch, master, updated. f87d90f74e6849cd3fc5f517c7dce8c58759573c

2021-01-25 Thread Arash Esbati
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  f87d90f74e6849cd3fc5f517c7dce8c58759573c (commit)
  from  8bc74dd3adcde6c7b072abafe3c31ba2e05d5f7d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit f87d90f74e6849cd3fc5f517c7dce8c58759573c
Author: Arash Esbati 
Date:   Mon Jan 25 22:51:20 2021 +0100

Document how to load AUCTeX from a local Git repo

* doc/install.texi (Advice for non-privileged users): Add
instructions to use AUCTeX directly out of a local Git repo.

---

Summary of changes:
 doc/install.texi | 54 ++
 1 file changed, 54 insertions(+)


hooks/post-receive
-- 
GNU AUCTeX

___
auctex-commit mailing list
auctex-com...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-commit


[AUCTeX-diffs] GNU AUCTeX branch, master, updated. f87d90f74e6849cd3fc5f517c7dce8c58759573c

2021-01-25 Thread Arash Esbati
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
   via  f87d90f74e6849cd3fc5f517c7dce8c58759573c (commit)
  from  8bc74dd3adcde6c7b072abafe3c31ba2e05d5f7d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit f87d90f74e6849cd3fc5f517c7dce8c58759573c
Author: Arash Esbati 
Date:   Mon Jan 25 22:51:20 2021 +0100

Document how to load AUCTeX from a local Git repo

* doc/install.texi (Advice for non-privileged users): Add
instructions to use AUCTeX directly out of a local Git repo.

diff --git a/doc/install.texi b/doc/install.texi
index d055e4c..7dca123 100644
--- a/doc/install.texi
+++ b/doc/install.texi
@@ -520,6 +520,60 @@ If you want others to be able to share your installation, 
you should
 configure it using @samp{--without-texmf-dir}, in which case things
 should work as well for them as for you.
 
+@subsubsection Using @AUCTeX{} from local Git repo
+
+With the techniques described above, it is also possible to use @AUCTeX{}
+directly from a local Git repository.  Let's assume you have your Git
+repositories under
+@example
+~/development/
+@end example
+
+First, you have to fetch a copy of the @AUCTeX{} Git repository.  In a
+shell, change directory to @samp{~/development/} and do:
+@example
+git clone https://git.savannah.gnu.org/git/auctex.git
+@end example
+
+Now change directory to @samp{~/development/auctex} and run
+@samp{./autogen.sh}.  Next thing is to run @command{configure} like this:
+@example
+./configure --without-texmf-dir --with-lispdir=.
+@end example
+
+@noindent
+When finished, simply enter
+@example
+make
+@end example
+@noindent
+and you're finished.  Note that the @samp{make install} step is not
+necessary.
+
+Now you have to tell Emacs about the plan.  The following variables must
+be set in your init file because their normal values are only correct when
+@AUCTeX{} is installed:
+@lisp
+(setq TeX-data-directory "~/development/auctex"
+  TeX-lisp-directory TeX-data-directory)
+@end lisp
+
+@noindent
+The info files will be available with this:
+@lisp
+(eval-after-load 'info
+   '(add-to-list 'Info-additional-directory-list
+ "~/development/auctex/doc"))
+@end lisp
+
+@noindent
+Now you're ready to load @file{auctex.el} and @file{preview-latex.el} out
+of this directory:
+@lisp
+(load "~/development/auctex/auctex.el" nil t t)
+(load "~/development/auctex/preview-latex.el" nil t t)
+@end lisp
+
 @ifclear rawfile
 @node Installation under MS Windows
 @section Installation under MS Windows

---

Summary of changes:
 doc/install.texi | 54 ++
 1 file changed, 54 insertions(+)


hooks/post-receive
-- 
GNU AUCTeX

___
auctex-diffs mailing list
auctex-di...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-diffs


Re: Loading AUCTeX out of Git repo

2021-01-25 Thread Arash Esbati
Hi Tassilo and Uwe,

Tassilo Horn  writes:

>>> this topic has been discussed couple of times and I think we should
>>> add a recipe to the manual.  My suggestion looks like this, any
>>> comments welcome:
>
> LGTM.

Thanks, I polished it a bit and pushed it.

>> I do compile auctex regularly from git master.
>>
>> What's against the idea to run
>>
>>  make install 
>>
>> I find it a bit cleaner to separate the repository from the
>> installation.
>
> I find it a bit more convenient to run directly from the checkout in
> order to be sure to run the most current version (or the version I've
> explicitly checked out).  With "make install", you are running the
> version of the last "make install", without "make install" you are
> running the version of the last "git pull".

I think this is the most convenient way while developing: I can change
files, load them and see if my change works.  With an installation in
parallel, it would be only hassle about `which file was actually
loaded and which one did I change?'

Best, Arash




Re: Loading AUCTeX out of Git repo

2021-01-25 Thread Colin Baxter


I think there's something wrong with commit f87d90f. I get a build doc
error:

install.texi:523: raising the section level of @subsubsection which is too low
Makefile:167: recipe for target '../INSTALL' failed
make[1]: *** [../INSTALL] Error 1
make[1]: Leaving directory '/home/redknight/git/auctex/doc'
Makefile:236: recipe for target 'docs' failed
make: *** [docs] Error 2

If I revert commit f87d90f74e6849cd3fc5f517c7dce8c58759573c then the
error disappears.

Best wishes,

Colin.

-- 
Colin Baxter
URL: http://www.Colin-Baxter.com
-
GnuPG fingerprint: 68A8 799C 0230 16E7 BF68  2A27 BBFA 2492 91F5 41C8
-