Browse Source

Move Elisp code for themes in code/elisp/

Bastien 1 year ago
parent
commit
b9e4880eef

color-themes/color-theme-folio.el → code/elisp/color-theme-folio.el


color-themes/color-theme-manoj.el → code/elisp/color-theme-manoj.el


color-themes/color-theme-railscast.el → code/elisp/color-theme-railscast.el


color-themes/color-theme-tangotango.el → code/elisp/color-theme-tangotango.el


color-themes/color-theme-zenash.el → code/elisp/color-theme-zenash.el


color-themes/color-theme-zenburn.el → code/elisp/color-theme-zenburn.el


+ 2 - 2
code/elisp/emacs.el

@@ -60,7 +60,7 @@
 (setq worg-base-directory worg-base)
 (setq worg-base-style-directory (concat worg-base "style/"))
 (setq worg-base-code-directory (concat worg-base "code/"))
-(setq worg-base-color-themes-directory (concat worg-base "color-themes/"))
+(setq worg-base-color-themes-directory (concat worg-base "code/elisp/"))
 (setq worg-base-images-directory (concat worg-base "images/"))
 (setq worg-publish-directory worg-htmlroot)
 (setq worg-publish-style-directory (concat worg-htmlroot "style/"))
@@ -177,7 +177,7 @@ r later.  The code examples and css stylesheets are licensed under the <a href=\
   (let ((org-format-latex-signal-error nil)
 	(worg-base-directory worg-base)
 	(worg-base-code-directory (concat worg-base "code/"))
-	(worg-base-color-themes-directory (concat worg-base "color-themes/"))
+	(worg-base-color-themes-directory (concat worg-base "code/elisp/"))
 	(worg-base-images-directory (concat worg-base "images/"))
 	(worg-publish-directory worg-htmlroot))
     (set-org-publish-project-alist)

+ 13 - 13
org-color-themes.org

@@ -12,7 +12,7 @@
 # This file is the default header for new Org files in Worg.  Feel free
 # to tailor it to your needs.
 
-#+MACRO: screenshot #+HTML: <br style="clear:both;"/><div class="figure"><p><img style="float:center;margin:20px 20px 20px 20px;" width="500px" src="$2"/></p><p><a href="http://repo.or.cz/w/Worg.git/blob_plain/HEAD:/color-themes/$1">$1</a></p></div>
+#+MACRO: screenshot #+HTML: <br style="clear:both;"/><div class="figure"><p><img style="float:center;margin:20px 20px 20px 20px;" width="500px" src="$2"/></p><p><a href="https://code.orgmode.org/bzg/worg/raw/master/code/elisp/$1">$1</a></p></div>
 
 [[file:index.org][{Back to Worg's index}]]
 
@@ -22,8 +22,8 @@
 # 1) place your screenshot in the /images/screenshots/ directory in the
 #    base of the worg repository -- or not if you'd rather host the
 #    image externally
-# 2) place your color-theme-*.el file in the /color-themes/ file in the
-#    base of the worg repository
+# 2) place your color-theme-*.el file in the code/elisp/ directory in
+#    the base of the worg repository
 # 3) add a macro call like those shown below passing the name of your
 #    color theme and the link to your screen-shot respectively to the
 #    =screenshot= macro
@@ -35,13 +35,13 @@
 A popular way of customizing Emacs colours is to use the color-theme
 package (see [[http://www.emacswiki.org/emacs/ColorTheme][color-theme emacswiki page]].)
 
-Here is a list of color themes that are aware of Org:
-You can see screen shots of these themes [[file:color-themes-screenshot.org][here]]. Once you have
-installed a theme it is easy to tweak its appearance by editing the
-theme's lisp file.
+Here is a list of color themes that are aware of Org: You can see
+screen shots of these themes [[file:./color-themes-screenshot.org][here]]. Once you have installed a theme it
+is easy to tweak its appearance by editing the theme's lisp file.
 
 Some of these themes are available in Worg in the color-themes
-directory, whilst others are linked either to the author's site, or to Github.
+directory, whilst others are linked either to the author's site, or to
+Github.
 
 There is a page with screenshots of each of the themes [[file:color-themes-screenshot.org][here]] .
 
@@ -55,16 +55,16 @@ Links to Scott's themes all point directly to his site.
 
 ** [[https://github.com/fniessen/color-theme-leuven][color-theme-leuven.el]] (Fabrice Niessen)
 
-** [[file:color-themes/color-theme-zenburn.el][color-theme-zenburn.el]] (Daniel Brockman Adrian C., Bastien Guerry)
+** [[file:code/elisp/color-theme-zenburn.el][color-theme-zenburn.el]] (Daniel Brockman Adrian C., Bastien Guerry)
 
-** [[file:color-themes/color-theme-tangotango.el][color-theme-tangotango.el]] (Julien Barnier)
+** [[file:code/elisp/color-theme-tangotango.el][color-theme-tangotango.el]] (Julien Barnier)
 [[http://blog.nozav.org/post/2010/07/12/Updated-tangotango-emacs-color-theme][Link]] to Julien's blog post about tangotango. [[http://github.com/juba/color-theme-tangotango][Link]] to the Github repository.
 
-** [[file:color-themes/color-theme-folio.el][color-theme-folio.el]] color-theme-folio.el (David O'Toole)
+** [[file:code/elisp/color-theme-folio.el][color-theme-folio.el]] color-theme-folio.el (David O'Toole)
 
-** [[file:color-themes/color-theme-manoj.el][color-theme-manoj.el]] (maintained by [[http://www.golden-gryphon.com/blog/manoj/blog/2008/05/26/Theming_Emacs/][Memnon]])
+** [[file:code/elisp/color-theme-manoj.el][color-theme-manoj.el]] (maintained by [[http://www.golden-gryphon.com/blog/manoj/blog/2008/05/26/Theming_Emacs/][Memnon]])
 
-** [[file:color-themes/color-theme-zenash.el][color-theme-zenash.el]] (maintained by Yavuz Arkun)
+** [[file:code/elisp/color-theme-zenash.el][color-theme-zenash.el]] (maintained by Yavuz Arkun)
 A modified version of zenburn. [[http://github.com/yarkun/zenash][Link]] to the Github repository.
 
 ** [[http://github.com/suvayu/.emacs.d/blob/master/lisp/color-theme-dark-emacs.el][color-theme-dark-emacs.el]] (maintained by Suvayu Ali)

+ 3 - 3
org-tutorials/advanced-searching.org

@@ -97,8 +97,8 @@ with =C-c [= or by setting the variable =org-agenda-files=.
   :END:
 
 For querying a collection of org files, Org-mode includes a powerful
-built-in search-engine, [[https://orgmode.org/manual/Agenda-Views.html#Agenda-Views][the agenda]] (=C-c a=). As its name suggests,
-the most common use of [[https://orgmode.org/manual/Agenda-Views.html#Agenda-Views][the agenda]] is to pull together, from all the
+built-in search-engine, [[https://orgmode.org/manual/Agenda-views.html#Agenda-views][the agenda]] (=C-c a=). As its name suggests,
+the most common use of [[https://orgmode.org/manual/Agenda-views.html#Agenda-views][the agenda]] is to pull together, from all the
 agenda files, a daily or weekly schedule or a list of todos. But the
 agenda is also a powerful search engine that offers various ways tools
 for querying both the metadata and the text of org-mode entries. In
@@ -278,7 +278,7 @@ of parentheses:
    :CUSTOM_ID: property-searches
    :END:
 
-Org-mode allows outline entries to contain any number of [[https://orgmode.org/manual/Properties-and-Columns.html#Properties-and-Columns][arbitrary
+Org-mode allows outline entries to contain any number of [[https://orgmode.org/manual/Properties-and-columns.html#Properties-and-columns][arbitrary
 data pairs]], which are conveniently hidden within a folding PROPERTIES
 drawer, e.g.:
 

+ 4 - 4
worgtest-init.el

@@ -106,7 +106,7 @@
 	   :base-directory ,worg-base-color-themes-directory
 	   :base-extension "el"
 	   :html-extension "html"
-	   :publishing-directory ,(concat worg-htmlroot "/color-themes/")
+	   :publishing-directory ,(concat worg-htmlroot "/code/elisp/")
 	   :recursive t
 	   :publishing-function org-publish-attachment)
 	  ("worg-images-dir"
@@ -142,7 +142,7 @@
 
 (setq worg-base-directory worg-base)
 (setq worg-base-code-directory (concat worg-base "code/"))
-(setq worg-base-color-themes-directory (concat worg-base "color-themes/"))
+(setq worg-base-color-themes-directory (concat worg-base "code/elisp/"))
 (setq worg-base-images-directory (concat worg-base "images/"))
 (setq worg-publish-directory worg-htmlroot)
 (set-org-publish-project-alist)
@@ -160,7 +160,7 @@
    (let ((org-format-latex-signal-error nil)
 	 (worg-base-directory worg-base)
 	 (worg-base-code-directory (concat worg-base "code/"))
-	 (worg-base-color-themes-directory (concat worg-base "color-themes/"))
+	 (worg-base-color-themes-directory (concat worg-base "code/elisp/"))
 	 (worg-base-images-directory (concat worg-base "images/"))
 	 (worg-publish-directory worg-htmlroot))
      (set-org-publish-project-alist)
@@ -173,7 +173,7 @@
    (let ((org-format-latex-signal-error nil)
 	 (worg-base-directory worg-base)
 	 (worg-base-code-directory (concat worg-base "code/"))
-	 (worg-base-color-themes-directory (concat worg-base "color-themes/"))
+	 (worg-base-color-themes-directory (concat worg-base "code/elisp/"))
 	 (worg-base-images-directory (concat worg-base "images/"))
 	 (worg-publish-directory worg-htmlroot))
      (set-org-publish-project-alist)