Browse Source

updated emacs24, yatex, FD spec files

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@2443 ec354946-7b23-47d6-9f5a-488ba84defc7
munepi 13 years ago
parent
commit
5eea599cd0
4 changed files with 82 additions and 4 deletions
  1. 4 1
      F/FD/FD-vl.spec
  2. 5 2
      e/emacs24/emacs24-vl.spec
  3. 64 0
      y/yatex/vine-default-yatex.el
  4. 9 1
      y/yatex/yatex-vl.spec

+ 4 - 1
F/FD/FD-vl.spec

@@ -1,7 +1,7 @@
 Summary: file & directory maintenance tool for the UNIX based OS
 Summary(ja): ファイル & ディレクトリ管理ツール
 Name: FD
-Version: 3.00i
+Version: 3.00j
 Release: 1%{?_dist_release}
 Group: Applications/System
 Source: http://hp.vector.co.jp/authors/VA012337/soft/fd/FD-%{version}.tar.gz
@@ -70,6 +70,9 @@ _fdrc または fd2rc.vine を .fd2rc という名前でコピーし、fdrc を
 %doc fd2rc.vine
 
 %changelog
+* Mon Jan 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 3.00j-1
+- new upstream release
+
 * Sat Aug 21 2010 Munehiro Yamamoto <munepi@vinelinux.org> 3.00i-1
 - new upstream release
 - added BuildRequires: ncurses-devel

+ 5 - 2
e/emacs24/emacs24-vl.spec

@@ -1,6 +1,6 @@
 %define emacsversion 24.0.50
-%define bzrdate 20101203
-%define emacsrelease 1%{?bzrdate:.%bzrdate}%{?_dist_release}
+%define bzrdate 20110101
+%define emacsrelease 2%{?bzrdate:.%bzrdate}%{?_dist_release}
 
 %define _noVersionedDependencies 1
 %define prereq_ge()  %(LC_ALL="C" rpm -q --queryformat 'PreReq:%%{NAME} >= %%{VERSION}' %1| grep -v "is not")
@@ -391,6 +391,9 @@ unset PRIORITY
 
 
 %changelog
+* Thu Dec 23 2010 Munehiro Yamamoto <munepi@vinelinux.org> 24.0.50-2.20110101
+- emacs24 24.0.50 (20110101) snapshot
+
 * Sun Dec 05 2010 Munehiro Yamamoto <munepi@vinelinux.org> 24.0.50-1.20101203
 - emacs24 24.0.50 (20101203) snapshot 
 - applied new vine-default system

+ 64 - 0
y/yatex/vine-default-yatex.el

@@ -0,0 +1,64 @@
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;  -*- coding: utf-8-unix -*-
+;;  FSF Emacs 23 用 Vine Linux YaTeX 設定
+;;    Munehiro Yamamoto <munepi@vinelinux.org>
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; YaTeX 1.73
+;;   [La]TeX 入力モード
+;;   M-x yatex とするか、.tex で終わるファイルを読み込むと起動します
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+(autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t)
+
+;; YaTeX-mode
+;; yatex-mode を起動させる設定
+;; (setq auto-mode-alist
+;;       (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist))
+(setq auto-mode-alist 
+      (append 
+       '(("\\.\\(tex\\|sty\\|cls\\|fd\\|ind\\|idx\\|ltx\\|clo\\|bbl\\)$" . 
+	  yatex-mode)) auto-mode-alist))
+(setq YaTeX-kanji-code 4               ; 1: SJIS, 2: JIS, 3: EUC, 4: UTF-8
+      YaTeX-latex-message-code 'utf-8  ; 文字化けしないようにする
+      ;;YaTeX-no-begend-shortcut t       ; shortcut ではなく補完を利用
+      YaTeX-use-AMS-LaTeX t
+      YaTeX-use-LaTeX2e t
+      YaTeX-use-font-lock t
+      dvi2-command "xdvi"
+      tex-command "platex -kanji=utf8 -src-specials"
+      dviprint-command-format "dvips %s | lpr"
+      makeindex-command "mendex"
+)
+
+;; 自動改行を無効
+(add-hook 'yatex-mode-hook 
+	  '(lambda () (setq auto-fill-function nil))) 
+(add-hook 'yahtml-mode-hook
+	  '(lambda () (setq auto-fill-function nil)))
+
+;;; TeX-master に関しては safe にする
+;;; from AUCTeX tex.el 
+(put 'TeX-master 'safe-local-variable
+     (lambda (x)
+       (or (stringp x)
+	   (member x (quote (t nil shared dwim))))))
+
+;;; emacsclient サーバを起動
+(add-hook 'yatex-mode-hook 
+	  '(lambda () (server-start)))
+
+;; YaHtml-mode
+(setq auto-mode-alist
+      (cons (cons "\\.html$" 'yahtml-mode) auto-mode-alist))
+(autoload 'yahtml-mode "yahtml" "Yet Another HTML mode" t)
+(setq yahtml-www-browser "firefox")
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+(provide 'vine-default-yatex)
+
+;; Local Variables:
+;; mode: emacs-lisp
+;; End:

+ 9 - 1
y/yatex/yatex-vl.spec

@@ -3,7 +3,7 @@
 
 Name:          yatex
 Version:       1.74
-Release:       1%{?_dist_release}
+Release:       3%{?_dist_release}
 License:       Distributable
 Source0:       http://www.yatex.org/yatex%{version}.tar.gz 
 #Source0:       http://www.yatex.org/yatex10203151806.tar.gz 
@@ -164,6 +164,14 @@ fi
 
 
 %changelog 
+* Tue Jan 04 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.74-3
+- updated vine-default-yatex.el
+  - added bbl extension in auto-mode-alist to run yatex-mode
+
+* Sun Dec 05 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.74-2
+- updated vine-default-yatex.el
+  - supported new vine-default
+
 * Mon Jan 04 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.74-1
 - new upstream release