🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.editor.mule
Article #102

Does anyone have a translate table between mule and xemacs?

#102
From: Kiyohiro Higashijima
Date: Tue, 17 Feb 1998 00:00
47 lines
2201 bytes
こんには、
東島@ケイデンスです。

どなたか、muleの関数とxemacsの関数の対応表などという便利なもの
を
お持ちの方いらしゃいませんか?
是非、私に公開してください。
以下のコードは、私がmule時代に使用していたものです。これは、カーソル
の位置をずれない
様に設定するためのものです。
この関数の中で使用している previous-commandが、xema
csには確か
無いはずです。それで、使用しているxemacs20.3(かんなが使えるx
emacs)が、
うまくありません。
なにか別の方法があったなら、それも併せてご教示ください。
(本人の意図は、スクロール移動などをやってもカーソルはできるだけ、編集し
ていた位置に
あるいは、画面中央に位置してほしい)

では、

(defun n-previous-line ()
    "Customized previous-line()."
    (interactive)
    (if (not (eq major-mode 'dir-mode))
    (progn
        (if (not (or
                (eq (previous-command) 'n-previous-line)
                (eq (previous-command) 'n-next-line)
                (eq (previous-command) 'n-scroll-up)
                (eq (previous-command) 'n-scroll-down)
            ))
            (setq previous-column (current-column))
        )
        (previous-line 1)
        (move-to-column previous-column)
    )
    (progn
        (if (bobp)
            (other-window 1)
            (previous-line 1)
        )
    )
    )
)
Technical Details
Message-ID: <34E8FB9B.B5D41913@cadence.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: 10eba4,7550092a02d0c4ad,start
X-Google-Attributes: gid10eba4,public
X-Google-Thread: 1107f7,7550092a02d0c4ad,start
X-Google-Attributes: gid1107f7,public
X-Google-Thread: ff358,7550092a02d0c4ad,start
X-Google-Attributes: gidff358,public
From: Kiyohiro Higashijima <higashi@cadence.com>
Subject: Does anyone have a translate table between mule and xemacs?
Date: 1998/02/17
Message-ID: <34E8FB9B.B5D41913@cadence.com>
X-Deja-AN: 325745174
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Reply-To: higashi@cadence.com
Content-Type: text/plain; charset=iso-2022-jp
Organization: Cadence Design System, Inc.
Newsgroups: fj.editor.mule,fj.editor.xemacs,fj.editor.emacs