Commit Graph

56 Commits

Author SHA1 Message Date
Bastien Guerry 2369090328 UTILITIES/server.mk: delete whitespaces. 2012-05-18 07:46:25 +02:00
Achim Gratz 4ea1573b9d Remove "release_" prefix from org-version when org-fixup is run
* UTILITIES/org-fixup.el: Remove "release_" prefix from org-version
  when it is established from git.
2012-05-18 07:45:47 +02:00
Achim Gratz 58e4e212f2 Re-introduce server.mk
* UTILITIES/server.mk: Re-introduce, keep in UTILITIES like the other
  server stuff.  Implement "helpserver" and link into "help" and
  "helpall" targets.  Add "reltest" target to clean up the work tree
  and produce release archives, uses internal target "rel-dirty" for
  the actual archive creation.  Warn if $(ORGVERSION) is different
  from $(GITVERSION), as a release should only be made from a revision
  that has an annotated tag.
2012-05-18 07:45:47 +02:00
Achim Gratz 4f29c630d8 XEmacs compatibility improvements
* lisp/org-compat.el (org-find-library-dir): rename
  org-find-library-name (misleading) and implement with a function
  that exists identically in Emacs/XEmacs.

* UTILITIES/org-fixup.el: change calls to org-find-library-dir.
  Simplify invocations of git, use the same arguments as in targets.mk
  and use only functions that work the same in EMacs and XEmacs.

* lisp/org-exp-blocks.el: change calls to org-find-library-dir.

* lisp/org.el: change calls to org-find-library-dir.  Make require for
  noutline fail silently because it is missing from XEmacs.
2012-05-18 07:45:45 +02:00
Achim Gratz e7d2e4e186 ensure that M-x org-version always delivers something useful
* UTILITIES/org-fixup.el (org-make-org-version): change defconst to
  defun for org-release and org-git-version and close over those
  variables (do not make them global anymore).

* UTILITIES/org-fixup.el (org-fixup): check for org-version.el or try
  to use git to get the version from the worktree (code uses parts of
  the former implementation from org.el).

* lisp/org.el (org-version): use functions instead of global variables
  to get the version strings and remove the defvaralias to
  org-version.  Warn when encountering a mixed installation (org and
  org-install.el should be found in the same directory).

Supported use-cases:

1) Org uninstalled (and possibly uncompiled) from Git or tarball.

1a) No org-version.el or org-install.el exists in worktree.  Partially
supported configuration, org version is determined from git if
possible via UTILITIES/org-fixup.el.  However, Emacs versions
delivered with orgmode will provide autoloads that may or may not work
with that version of org (mixed installation).  If such a situation is
encountered, warn the user.  It can work if the autoloads from the
installation match the ones that would be generated for the worktree,
which generelly is only the case if there is a relatively recent
installation in site-lisp.

1b) Autoload file org-install.el exists in worktree.  Fully supported
configuration, org version is determined from git if possible via
UTILITIES/org-fixup.el.

1c) Both org-version.el or org-install.el exist in worktree.
Recommended configuration for 1), org version is taken from
org-version.el (git never gets invoked).

2) Org installed.  Both org-version.el and org-install.el must exist
in install directory.  Only supported configuration for 2), org
version is taken from org-version.el (git never gets invoked since
UTILITIES/org-fixup.el is not available).

Any unsupported configuration should still yield a version string, but
it will contain "N/A" to alert the user about a botched org
installation.
2012-05-18 07:45:45 +02:00
Achim Gratz df89e3cd0c cleanup in lisp/Makefile, targets; create org-fixup.el, remove version definition
* UTILITIES/org-fixup.el: new file, has functions to create
  org-version.el and org-install.el, now use by the build system.

* lisp/Makefile: delete said definitions, now sourced from toplevel
  make.  "clean" and "cleanall" should do the same thing here, make
  them aliases, ditto for "all" and "compile".  Both autoload files
  must be .PHONY and depend only on each other for correct ordering.
  Make "compile-dirty" actually do that again (i.e. no implied
  "clean", but "cleanauto").  Remove autoload files directly after
  install, so that they will only be present when explicitly requested
  by "autoloads".  Create "org-version.el" before compilation as it is
  mandatory.  Remove $(ORG_MAKE_INSTALL) and $(ORG_MAKE_VERSION),
  source from default.mk/local.mk.

* default.mk: move definitions for $(ORG_MAKE_INSTALL) and
  $(ORG_MAKE_VERSION) here so that they can be more easily configured.
  Remove definition of "org-release" from $(BATCH) and $(BTEST), now
  sourced from "org-version.el".

* targets.mk: target reorganization, introduce "stop" targets to
  prevent cleaning of org-version.el.  Use new targets for "oldorg" to
  make it more robust in case of errors.  New target "cleanutils" to
  remove any "*.elc" files that may have been produced there and add
  this target to "cleanall". Do the same in cleancontrib.
2012-05-18 07:45:44 +02:00
Bastien Guerry 96dd842ee1 UTILITIES/mansplit.pl: mention http://orgmode.org
Thanks to Thierry Stoehr for suggesting this.
2012-04-30 18:30:13 +02:00
Bastien Guerry ad812d8cd1 UTILITIES/manfull.pl: mention http://orgmode.org
Thanks to Thierry Stoehr for suggesting this.
2012-04-30 18:28:31 +02:00
Achim Gratz 00d357ab98 keep Emacs' Changelog clean
* UTILITIES/make_emacs_changelog: remove UTILITIES/ and all
	Makefiles from Emacs' Changelog
2012-04-20 21:04:08 +02:00
David Maus 4480ebe5f5 UTILITIES/pw: Fix type in error message
* pw (action_update_patch): Fix type in error message.
2012-03-20 02:39:33 +01:00
Bastien Guerry 9d51ba9b13 UTILITIES: Use a separate css for the HTML manuals. 2011-12-13 00:21:16 +01:00
Bastien Guerry 4dfc520711 UTILITIES/man*: Fix bug: don't insert </style> 2011-12-10 13:46:50 +01:00
Bastien Guerry 65411f40e1 set-version.pl: don't set current version in ORGWEBPAGE/index.org 2011-01-09 18:43:40 +01:00
Carsten Dominik 561c00930b More information into the README_maintainer file 2010-12-11 17:56:55 +01:00
Carsten Dominik 3a6d86960e Improve changelog creation 2010-10-29 08:29:05 +02:00
Carsten Dominik ea16ef9535 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode
Conflicts:
	UTILITIES/pw
2010-08-16 17:21:18 +02:00
Carsten Dominik ef56c6f361 Another bug in pw... 2010-08-16 17:19:29 +02:00
Carsten Dominik 4a523e0cf0 Big bug in pw script 2010-08-16 17:17:15 +02:00
Carsten Dominik 652e7f2840 Revert "Bug fix in pw script"
This reverts commit 3363a7b995.
2010-08-16 17:13:53 +02:00
Carsten Dominik 3363a7b995 Bug fix in pw script 2010-08-16 12:44:59 +02:00
Carsten Dominik 1f17384792 pw: Initialize comment_str 2010-08-13 22:33:14 +02:00
Bastien Guerry 788f562168 Fix typo in UTILITIES/pw.
s/Maintaner/Maintainer/g
2010-08-12 12:17:31 +02:00
Carsten Dominik 2072def1b9 Fix lower-case bug in pw script 2010-08-02 08:19:52 +02:00
Carsten Dominik 918280ec26 Update usage message of pw script 2010-07-20 14:49:15 +02:00
Carsten Dominik d2e7f9b11a Update pw script to send better email notifications
The workflow is now:

$ pw branch NNN

  To create a branch with patch numb er NNN

$ git commit --amend

  To check and modify the commit message where necessary

$ pw merge -m "Comment for notification email" NNN

  To merge that branch.  The -m comment will be added to the
  notification email that is sent to the mailing list.

The -m comment can also be given to the update command,if the update
sends an email:

$ pw update -s "changes requested" -m "comment for email" NNN
2010-07-20 14:43:11 +02:00
Carsten Dominik 78ef1ed410 Fix manual and guide tools to remove broken links 2010-07-19 19:00:24 +02:00
Carsten Dominik 2708579dc6 Make setversion.pl also change the version number of the guide 2010-07-19 13:31:14 +02:00
Carsten Dominik a760c250a5 New option -o for setversion script 2010-07-19 08:21:12 +02:00
Carsten Dominik b01660fd51 Fix make_emacs_changelog to include mentioning of tiny changes 2010-07-12 11:57:08 +02:00
Carsten Dominik fb29271143 Add `show' command to pw, same `view' 2010-07-08 19:24:52 +02:00
Carsten Dominik a11ee296f5 Add script to create ChangeLog for Emacs 2010-07-07 08:44:48 +02:00
Carsten Dominik 28731855f7 Update git-changelog by John Wiegley 2010-07-07 08:37:11 +02:00
Carsten Dominik 3b5351c7da Fix bug in pw 2010-07-02 10:07:15 +02:00
Carsten Dominik fb2a1c36c1 Install John Wiegleys new pw script 2010-07-02 05:51:56 +02:00
Carsten Dominik 115a2d1c95 Prepare the html manual and guide generation for release 7
There is a new chapter in both manual and guide, this needs to be
reflected in the content links.
2010-07-01 18:21:02 +02:00
Carsten Dominik 548b6f6105 Add new utilities 2010-06-26 06:24:58 +02:00
Carsten Dominik c069b7c5c6 Make update of ascii refcard auomatic 2010-05-12 16:22:06 +02:00
Carsten Dominik c38d101fff New compact Org-mode guide 2010-05-01 07:42:54 +02:00
James TD Smith 0410d6460c Add an X11 equivalent to org-mac-idle-seconds.
This needs a small C program (in UTILITIES/x11idle.c) to work.
2009-10-22 15:09:34 +02:00
Carsten Dominik 5ed87b2b95 Restructure Manual
The reorganizes parts of the manual.  The Archiving stuff has been
moved into the new chapter "Capture-Refile-Archive".  Also, there is a
new chapter "Markup" to contains both the markup rules (moved there
from the Export chapter) and the embedded LaTeX stuff.
2009-10-04 10:12:23 +02:00
Carsten Dominik a2d0dc50af Update short contents for the web manual 2009-10-01 08:59:22 +02:00
Carsten Dominik 31ceed47ff New minor mode org-indent-mode
This mode implements outline indentation similar to clean view, but in
a dynamic and virtual way, at display time.
2009-08-03 06:24:24 +02:00
Carsten Dominik bc5b0056e7 Release 6.22b 2009-02-10 20:21:33 +01:00
Carsten Dominik 86c8daa1f6 Utilities: Make sure that version number changes do not touch snapshot links. 2009-02-07 15:20:32 +01:00
Carsten Dominik e76dd96fce Bugfix: No "language" attribute in <script> tag.
Reported by Sebastian Rose.
2009-01-19 14:30:42 +01:00
Carsten Dominik ab310f9405 Website: Improve reading experience of the manual
The manual now used better the org.css file.  It also reacts to single
key presses like "n" and "p", and has a top-level table of contents
that is always active and visible.
2009-01-19 12:45:20 +01:00
Carsten Dominik 75ca89400a Utilities: New perl program to extract hooks
A new perl program, list-hooks.pl, now extracts the full list of hook
and function variables in Org, for inclusion into Worg's org-hooks.org.

Also, add a docstring to a few hooks that did not have one.
2009-01-01 09:54:13 +01:00
Carsten Dominik 69673b3c1f Put the examples in the manual under GPL. 2008-06-16 17:05:31 +02:00
Carsten Dominik ad673b4c6a Modify web version only when explicitly requested.
The set_version.pl program sets the version number in all
relevant files.  From now on, it will need an option -a
to also affect the webpage files.
2008-04-15 14:20:26 +02:00
Carsten Dominik 1a2d615023 6.02pre02, with an implementation of summaries in agenda columns. 2008-04-15 11:05:39 +02:00