From: Olivier Tétard Date: Tue, 25 Aug 2009 07:54:13 +0000 (+0200) Subject: Emacs: suppression configuration emacs-wiki X-Git-Url: http://olivier.miskin.fr/git/?p=dotfiles.git;a=commitdiff_plain;h=fc7d4ae223a202d6fd30d9f0ec9e4b3e1fd9c913 Emacs: suppression configuration emacs-wiki --- diff --git a/emacs/emacs-wiki/footer.html b/emacs/emacs-wiki/footer.html deleted file mode 100644 index e3259db..0000000 --- a/emacs/emacs-wiki/footer.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - diff --git a/emacs/emacs-wiki/header.html b/emacs/emacs-wiki/header.html deleted file mode 100644 index 0e8ef7a..0000000 --- a/emacs/emacs-wiki/header.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - Toutoune25 - <lisp>(emacs-wiki-page-title)</lisp> - - - - - - emacs-wiki-style-sheet - - - -
- - - - - -
diff --git a/emacs/emacs-wiki/style.css b/emacs/emacs-wiki/style.css deleted file mode 100644 index 4ecc993..0000000 --- a/emacs/emacs-wiki/style.css +++ /dev/null @@ -1,392 +0,0 @@ -/* ********************** - * Apparence Générale * - **********************/ - -html -{ - font-family: "Bitstream Vera Sans", Tahoma, Arial, Helvetica, sans-serif; - background: white; -} - -#page -{ - width: 950px; - border: 1px solid black; - margin: 0 auto; - padding-left: 1em; - padding-right: 1em; - padding-bottom: 1em; - background: #f1f1f1; -} - -p -{ - font-size: 11pt; -} - - -img -{ - border: none; - } - -a:link -{ - color: #36598e; - text-decoration: none; - } - -a:visited -{ - color: #36598e; - text-decoration: none; - } - -a:hover -{ - text-decoration: underline; - } - -td -{ - padding: 5px; - border: 1px solid black; -} - -hr -{ - border: 0; - width: 80%; - color: #f00; - background-color: black; - height: 1px; - } - -h1 -{ - color: black; - text-align: center; - } - -h2 -{ - margin-left: 0px; - margin-right: 0px; - margin-top: 20px; - margin-bottom: 20px; - border: 1px solid #ccc; - padding-top: 5px; - padding-bottom: 5px; - padding-right: 10px; - padding-left: 10px; - background-color: #ffeb79; - -moz-border-radius: 13px; - font-size: 13pt; - } - -h2 > a:hover -{ - text-decoration: none; - } - -h3 -{ - color: black; - font-size: 13pt; - } - -dl.contents -{ - margin-top: 0; - } - -dt.contents a:hover -{ - text-decoration: none; - } - -dt.contents -{ - margin-bottom: 0; - border-bottom: 1px solid black; - border-left: 6px solid black; - } - -dt.contents:hover -{ - border-bottom: 1px solid #808080; - border-left: 6px solid #808080; - } - -dd > dl.contents > dt.contents -{ - border: 0; - } - -dt -{ - font-weight: bold; - padding: 3px; - } - -em -{ - font-style: italic; - } - -li -{ - margin-bottom: 5px; - } - -pre.example -{ - margin-left: 5%; - margin-bottom: 2.5em; - } - -pre.source -{ - /* Used by emacs-wiki-srctag.el */ - } - -pre.verse -{ - font-family: inherit; - line-height: 2em; - margin-left: 5%; - } - -strong -{ - font-weight: bold; - } - -ul -{ - list-style-type: disc; - } - -input, textarea -{ - border: 1px solid black; - background-color: white; - color: #333333; - font-family: Geneva, Arial, Helvetica, sans-serif; - font-size: 1em; - -moz-border-radius: 4px; - padding-left: 0.2em; -} - -input:hover, textarea:hover -{ - background: #f1f1f1; -} - -input:focus, textarea:focus -{ - background-color: #ffeb79; -} - -fieldset -{ - border: 0; - padding-bottom: 0px; - } - -pre -{ - border: 1px solid #808080; - background-color: white; - padding: 0.5em; - margin-right: 1em; - font-family: monospace; - margin-left: 5%; - white-space: pre; - } - -.nonexistent -{ - background-color: white; - font-weight: bold; - } - -/* ********** - * Header * - ***********/ - -#header -{ - margin: 0.5em -0.5em 0.5em -0.5em; - padding-top: 0.5em; - background-color: #ffeb79; - } - -#header h1 a -{ - margin: 0; - color: black; - } - -#header h1 a:visited -{ - margin: 0; - color: black; - } - -#header h1 a:hover -{ - margin: 0; - padding: 0; - background-color: transparent; - } - -#header ul -{ - margin: 0; - padding: 0; - text-align: center; - } - -#header li -{ - display: inline; - } - -#header a -{ - color: black; - padding-left: 1em; - padding-right: 1em; - margin: 0px; - text-decoration: none; - color: #36598e; - } - -#header a:hover -{ - color: black; - -moz-border-radius: 10px; - background-color: #f1f1f1; - } - -#header li > a -{ - border: 1px solid #808080; - -moz-border-radius: 10px; - } - -#header li > a:hover -{ - border: 1px solid #808080; - } - -#header a:visited -{ - color: black; - padding-left: 1em; - padding-right: 1em; - margin: 0px; - text-decoration: none; - color: #36598e; - } - -#header h1#top -{ - margin-top: 0.2em; - border-top: 3px solid black; - border-bottom: 3px solid black; - background-color: #f1f1f1; - } - - -/* ******** - * Main * - ********/ - -div#main > div > h3 -{ - border-bottom: 1px solid black; - margin-right: 0.7em; - } - - -/* ********** - * Footer * - **********/ - -#footer -{ - border-top: 3px solid black; - margin: 0.5em -0.5em -0.5em -0.5em; - padding-bottom: 0.1em; - padding-top: 0.1em; - background-color: #ffeb79; - text-align: center; - } - -#footer .footdate -{ - text-align: left; - color: red; - } - - -/* ************** - * Emacs-Wiki * - **************/ - -/* --- Emacs Wiki src-tag --- */ -.comment -{ - /* font-lock-comment-face */ - color: #DEBC83; - } - -.doc -{ - /* font-lock-doc-face */ - color: #F0A4A4; - } - -.constant -{ - /* font-lock-constant-face */ - color: #D8ACDD; - } - -.function-name -{ - /* font-lock-function-name-face */ - color: #96CEF8; - } - -.keyword -{ - /* font-lock-keyword-face */ - color: #78f5e6; - } - -.preprocessor -{ - /* font-lock-preprocessor-face */ - color: #96CEF8; - } - -.string -{ - /* font-lock-string-face */ - color: #F0A4A4; - } - -.type -{ - /* font-lock-type-face */ - color: #9BEEB8; - } - -.variable-name -{ - /* font-lock-variable-name-face */ - color: #B5CF76; - } diff --git a/emacs/emacs-wiki/tt25-emacs-wiki.el b/emacs/emacs-wiki/tt25-emacs-wiki.el deleted file mode 100644 index fd92cdc..0000000 --- a/emacs/emacs-wiki/tt25-emacs-wiki.el +++ /dev/null @@ -1,85 +0,0 @@ -;; -*- emacs-lisp -*- - -;; Author: Olivier Tetard -;; URL : http://www.miskin.be/ - -;; This file is free software; you can redistribute it and/or modify it -;; under the terms of the GNU General Public License as published by the -;; Free Software Foundation; either version 2, or (at your option) any -;; later version. - -;; This file is distributed in the hope that it will be useful, but -;; WITHOUT ANY WARRANTY; without even the implied warranty of -;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -;; General Public License for more details. - -;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to the Free -;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -;; 02111-1307, USA. - -;; Inspiré par les fichiers de : -;; * Michael Olson (http://www.mwolson.org/web/WelcomePage.html) - -(require 'emacs-wiki) -(require 'emacs-wiki-srctag) -(require 'emacs-wiki-table) - -;; Set projects list -(setq emacs-wiki-projects - `(("MainWiki" . - ((emacs-wiki-directories . ("~/src/wiki/www/")) - (emacs-wiki-project-server-prefix . "/emacs-wiki/") - (emacs-wiki-publishing-directory . "~/emacs-wiki/"))) - ("TestWiki" . - ((emacs-wiki-directories . ("~/src/wiki/test/")) - (emacs-wiki-project-server-prefix . "/~toutoune25/test/") - (emacs-wiki-publishing-directory . "~/emacs-wiki-test/"))) - )) - -;; On utilise le mode recursif -(setq emacs-wiki-recurse-directories t) - -;; srctag -(add-to-list 'emacs-wiki-src-tag-modes-alist - '("sh" . sh-mode)) - -;;; Functions - -;; Insert header -(defun my-emacs-wiki-insert-header () - (ignore (insert-file-contents - "~/src/wiki/common/header.html"))) - -;; Insert footer -(defun my-emacs-wiki-insert-footer () - (ignore (insert-file-contents - "~/src/wiki/common/footer.html"))) - -;; On utilise le mode 644 pour les nouveaux fichiers publiés -;; http://www.emacswiki.org/cgi-bin/wiki/EmacsWikiMode - -(defun my-emacs-wiki-chmod-644-published-file (file) - (let* ((page (emacs-wiki-page-name file)) - (published (emacs-wiki-published-file page))) - (shell-command (concat "chmod 644 " published)))) - -(add-hook 'emacs-wiki-after-file-publish-hook - 'my-emacs-wiki-chmod-644-published-file) - -;;; Customizations - -(custom-set-variables - '(emacs-wiki-autogen-headings (quote outline)) - '(emacs-wiki-charset-default "iso-8859-15") - '(emacs-wiki-coding-default (quote iso-8859-15)) - '(emacs-wiki-default-project "MainWiki") - '(emacs-wiki-default-page "HomePage") - '(emacs-wiki-home-page "HomePage") - '(emacs-wiki-maintainer "WhoAmI.html") - '(emacs-wiki-table-attributes "class=\"ewiki-table\"") - '(emacs-wiki-publishing-footer "(my-emacs-wiki-insert-footer)") - '(emacs-wiki-publishing-header "(my-emacs-wiki-insert-header)") - '(emacs-wiki-style-sheet "")) - -(provide 'tt25-emacs-wiki) diff --git a/emacs/tt25-emacs-wiki.el b/emacs/tt25-emacs-wiki.el deleted file mode 100644 index 50db8cf..0000000 --- a/emacs/tt25-emacs-wiki.el +++ /dev/null @@ -1,85 +0,0 @@ -;; -*- emacs-lisp -*- - -;; Author: Olivier Tetard -;; URL : http://www.miskin.be/ - -;; This file is free software; you can redistribute it and/or modify it -;; under the terms of the GNU General Public License as published by the -;; Free Software Foundation; either version 2, or (at your option) any -;; later version. - -;; This file is distributed in the hope that it will be useful, but -;; WITHOUT ANY WARRANTY; without even the implied warranty of -;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -;; General Public License for more details. - -;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to the Free -;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -;; 02111-1307, USA. - -;; Inspiré par les fichiers de : -;; * Michael Olson (http://www.mwolson.org/web/WelcomePage.html) - -(require 'emacs-wiki) -(require 'emacs-wiki-srctag) -(require 'emacs-wiki-table) - -;; Set projects list -(setq emacs-wiki-projects - `(("MainWiki" . - ((emacs-wiki-directories . ("~/src/wiki/www/")) - (emacs-wiki-project-server-prefix . "/emacs-wiki/") - (emacs-wiki-publishing-directory . "~/emacs-wiki/"))) - ("TestWiki" . - ((emacs-wiki-directories . ("~/src/wiki/test/")) - (emacs-wiki-project-server-prefix . "/~toutoune25/test/") - (emacs-wiki-publishing-directory . "~/emacs-wiki-test/"))) - )) - -;; On utilise le mode recursif -(setq emacs-wiki-recurse-directories t) - -;; srctag -(add-to-list 'emacs-wiki-src-tag-modes-alist - '("sh" . sh-mode)) - -;;; Functions - -;; Insert header -(defun my-emacs-wiki-insert-header () - (ignore (insert-file-contents - "~/src/wiki/common/header.html"))) - -;; Insert footer -(defun my-emacs-wiki-insert-footer () - (ignore (insert-file-contents - "~/src/wiki/common/footer.html"))) - -;; On utilise le mode 644 pour les nouveaux fichiers publiés -;; http://www.emacswiki.org/cgi-bin/wiki/EmacsWikiMode - -(defun my-emacs-wiki-chmod-644-published-file (file) - (let* ((page (emacs-wiki-page-name file)) - (published (emacs-wiki-published-file page))) - (shell-command (concat "chmod 644 " published)))) - -(add-hook 'emacs-wiki-after-file-publish-hook - 'my-emacs-wiki-chmod-644-published-file) - -;;; Customizations - -(custom-set-variables - '(emacs-wiki-autogen-headings (quote outline)) - '(emacs-wiki-charset-default "utf-8") - '(emacs-wiki-coding-default "utf-8") - '(emacs-wiki-default-project "MainWiki") - '(emacs-wiki-default-page "HomePage") - '(emacs-wiki-home-page "HomePage") - '(emacs-wiki-maintainer "WhoAmI.html") - '(emacs-wiki-table-attributes "class=\"ewiki-table\"") - '(emacs-wiki-publishing-footer "(my-emacs-wiki-insert-footer)") - '(emacs-wiki-publishing-header "(my-emacs-wiki-insert-header)") - '(emacs-wiki-style-sheet "")) - -(provide 'tt25-emacs-wiki)