~ubuntu-branches/ubuntu/feisty/wnn7egg/feisty

« back to all changes in this revision

Viewing changes to elisp/Setup_wnn7egg

  • Committer: Bazaar Package Importer
  • Author(s): ISHIKAWA Mutsumi
  • Date: 2004-09-22 17:39:30 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040922173930-pna2yuvlq63wxgc9
Tags: 1.02-5
update dolist macro confliction fix, thanks TSUCHIYA Masatoshi.
realy closes: #270839

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
###    wnn7egg Setup Script
 
3
###    (c) Copyright OMRON SOFTWARE Co., Ltd. 2001
 
4
###    
 
5
 
 
6
LINE1="(if (featurep 'xemacs)"
 
7
LINE2="    (setq load-path (append '(\"/usr/share/wnn7/elisp/xemacs21\") load-path))"
 
8
LINE3="  (setq load-path (append '(\"/usr/share/wnn7/elisp/emacs20\") load-path)))"
 
9
LINE4="(global-set-key \"\C-\\\\\" 'toggle-input-method)"
 
10
LINE5="(load \"wnn7egg-leim\")"
 
11
LINE6="(if (featurep 'xemacs)"
 
12
LINE7="    (select-input-method \"japanese-egg-wnn7\")"
 
13
LINE8="  (set-input-method \"japanese-egg-wnn7\"))"
 
14
LINE9="(set-language-info \"Japanese\" 'input-method \"japanese-egg-wnn7\")"
 
15
 
 
16
FILE1="$HOME/.emacs.el"
 
17
FILE2="$HOME/.emacs"
 
18
 
 
19
if [ -f $FILE1 ]; then
 
20
    FILE=$FILE1
 
21
else
 
22
    FILE=$FILE2
 
23
fi
 
24
 
 
25
echo
 
26
echo "$FILE �� wnn7egg �ε�ư�����ư�ɲä��ޤ���"
 
27
echo "�񤭹��ޤ�����Ƥϰʲ����̤�Ǥ���"
 
28
echo "-----------------------------------------------------------------------------"
 
29
 
 
30
echo $LINE1
 
31
echo $LINE2
 
32
echo $LINE3
 
33
echo $LINE4
 
34
echo $LINE5
 
35
echo $LINE6
 
36
echo $LINE7
 
37
echo $LINE8
 
38
echo $LINE9
 
39
echo "-----------------------------------------------------------------------------"
 
40
#echo "��������Ǥ����� (y/n)"
 
41
#read ans
 
42
#if [ "$ans" = "y" -o "$ans" = "Y" ]; then
 
43
    echo ";;; auto defined with Setup_wnn7egg script ------------------" >> $FILE
 
44
    echo $LINE1 >> $FILE
 
45
    echo $LINE2 >> $FILE
 
46
    echo $LINE3 >> $FILE
 
47
    echo $LINE4 >> $FILE
 
48
    echo $LINE5 >> $FILE
 
49
    echo $LINE6 >> $FILE
 
50
    echo $LINE7 >> $FILE
 
51
    echo $LINE8 >> $FILE
 
52
    echo $LINE9 >> $FILE
 
53
 
 
54
    echo
 
55
    echo "��λ���ޤ�����"
 
56
    echo "wnn7egg �λ�����ˡ������ˤĤ��ޤ��Ƥϡ�/usr/share/wnn7/elisp/README "
 
57
    echo "���ɤ߲�������"
 
58
#fi
 
59