その他


行番号等のON/OFF

type: Tips
こんなに簡単にポップアップメニューから実行できます。

使用例:
  ;;; C-RBtnUpで独自のポップアップメニューにします。
  (global-set-key #\C-RBtnUp 'my-apps-popup)
  (defun my-apps-popup ()
    (interactive)
    (track-popup-menu  
     (define-popup-menu
              (:item nil "行番号(&L)"
               'toggle-line-number)
              (:item nil "スクロールバー(&B)"
               'toggle-vscroll-bar)
              (:item nil "モードライン(&M)"
               'toggle-mode-line)
              (:item nil "ファンクションキー(&F)"
               'toggle-function-bar)
              (:item nil "折り返し(&T)"
               'toggle-fold-line)
              (:item nil "リードオンリー(&R)"
               'toggle-read-only))))

[ Intro | 目次 | 索引 | 目的別 | その他 ]

各種ロード関係の関数の違い

type: Tips
load         インタプリタでloadします。

load-library *.lcがあればそれをロードします。
             *.lcがなければ*.lをロードします。

autoload     関数1つ単位で、呼ばれたときloadするようにできます。
             関数が呼ばれるまではloadされません。

require      あるライブラリをロードします。ただし、既に
             ロード済みならロードしません。

*modules*    この変数を見ると今どのモジュールがロード済か分かります。
             既にロード済だともうロードしません。

SeeAlso: load
[ Intro | 目次 | 索引 | 目的別 | その他 ]

印刷時のヘッダやフッタに関する表記

type: Tips
印刷時のヘッダやフッタに関する表記方法です。以下は 
  Toy's xyzzy memo - Data Library -
  http://www.carabiner-systems.com/xyzzy/data.html)
からの引用です。

--- 引用 ---
印刷時のヘッダやフッタに関する表記 
header and footer 1999/12/25 Written by Tetsuya Kamei [xyzzy:03752] 

  %f   ファイル名
  %F   ファイル名 (ディレクトリ付き)
  %b   バッファ名
  %p   ページ番号
  %P   総ページ数

  %Y   西暦 (YYYY)
  %y   西暦 (YY)
  %m   月   (1〜12)
  %0m  月   (01〜12)
  %*m  月   (January〜December)
  %:m  月   (Jan〜Dec)
  %d   日   (1〜31)
  %0d  日   (01〜31)
  %*w  曜日 (Sunday〜Saturday)
  %:w  曜日 (Sun〜Sat)
  %w   曜日 (日〜土)
  %h   時   (0〜23)
  %0h  時   (00〜23)
  %H   時   (0〜11)
  %0H  時   (00〜11)
  %:H  時   (1〜12)
  %0:H 時   (01〜12)
  %*H       (AM/PM)
  %*:H      (am/pm)
  %M   分   (0〜59)
  %0M  分   (00〜59)
  %s   秒   (0〜59)
  %0s  秒   (00〜59)

  %-   横線

  %l   以前を左詰め
  %r   以降を右詰め
       指定されない部分は中央揃え

  それ以外の文字はそのまま
  --------------------------------------------------------------------------------
  (デフォルト)
    [ヘッダ] %F%l%r%:w, %0d %:m %Y %0h:%0M:%0s
    [フッタ] - %p -

[ Intro | 目次 | 索引 | 目的別 | その他 ]

ファイル操作の例

type: Tips
(defun find-modify-save-test (file)
  (interactive "f")
  (let (temp-buffer)
    (unwind-protect
        (progn
          ;; テンポラリのバッファを作って
          (setq temp-buffer (create-new-buffer "*foo*"))
          ;; カレントバッファにして
          (set-buffer temp-buffer)
          ;; ファイルを読み込む
          (insert-file-contents (merge-pathnames file *src-dir*))
          (goto-char (point-min))
          ;; ここでいろいろやる

          ;; ファイルに書く
          (write-file (merge-pathnames file *dst-dir*)))
      ;; バッファを作っていたら消す(kill-bufferはうるさいのでdelete-bufferで)
      (when temp-buffer
        (delete-buffer temp-buffer)))))

[ Intro | 目次 | 索引 | 目的別 | その他 ]

コマンドによりヒストリを変更するには?

type: Tips
コマンド別にミニバッファのヒストリを管理する方法です。

  ;;; ヒストリのリスト
  (setq foo-history '("qux" "quux" "quuux"))
  
  ;;; 管理したいコマンド
  (defun foo ()
    (interactive)
    (list
     (let ((*minibuffer-default-history* foo-history)) ; ヒストリを設定する
       (prog1
         (completing-read
          "foo: "               ; プロンプト文字列
          '("foo" "bar" "baz")  ; 補完候補
          :must-match nil       ; 必ず補完候補にマッチしなきゃ駄目?
          :case-fold t)         ; 大文字小文字を区別する?
         ; 変更されたかもしれないから戻しておく
         (setq foo-history *minibuffer-default-history*)))))

[ Intro | 目次 | 索引 | 目的別 | その他 ]

キーワードファイルの書き方

type: Tips
キーワードファイルは*keyword-load-path*もしくはetc-pathから検索
をします。$XYZZY/etc配下のファイルを参照して下さい。

形式:
  属性を指定する場合には以下の二つの形式で記述します。

  ;*n[attrib]
  ;**fg[bg[attrib]]

      n       キーワード番号(0-5) 3-5は0-2と同じ色の反転
      fg      文字色 0-f (0ならば普通の色)
      bg      背景色 0-f (0ならば普通の色)
      attrib  属性みたいなもの。以下のものの組み合わせ
              b bold
              u underline
              s strike-out
              l 一行丸ごと
条件:
  xyzzy 0.2.207からload-keyword-fileにconditionを指定する
  ことが可能になりました。conditionはitemと比較を行います。
  $XYZZY/lisp/html-kwd.lを参照

  ;*+         conditionに関わらず以降を有効にする
  ;*-         conditionに関わらず以降を無効にする
  ;*+item     itemがconditionに一致した場合に以降を有効にする
  ;*-item     itemがconditionに一致した場合に以降を無効にする
  ;*&         以降はHTMLのタグ以外でも有効なキーワードとする
  ;*<         以降はHTMLのタグでのみ有効なキーワードとする

[ Intro | 目次 | 索引 | 目的別 | その他 ]

view-register

type: Function
arguments: view-register R
package: editor
file: register.l
レジスタ R の中身をバッファ *output* に表示します。

[ Intro | 目次 | 索引 | 目的別 | その他 ]

update-mode-line

type: Function
arguments: update-mode-line &optional BUFFER
package: editor
file: builtin.l
モード行を更新します。mode-line-formatの変更などを行った場合に、速やかに
モード行に反映したい場合に実行します。

SeeAlso: mode-line-format
[ Intro | 目次 | 索引 | 目的別 | その他 ]

undefined

type: Function
arguments: undefined
package: editor
file: cmds.l
ベルを鳴らします。 ding の interactive 版です。

キーにコマンドが割り当てられてないことを表すのに使われることがあるようです。

SeeAlso: ding
[ Intro | 目次 | 索引 | 目的別 | その他 ]

si:www-url-encode

type: Function
arguments: www-url-encode INPUT-STRING-OR-STREAM &optional OUTPUT-STREAM LITERAL-CHARS
package: system
file: builtin.l
RFC1738 に基づき文字列の URL エンコードを行います。

  INPUT-STRING-OR-STREAM : 入力の文字列または入力ストリームを指定します。
  OUTPUT-STREAM          : 出力ストリームです。
                           t を指定した場合は標準出力へ出力します。
                           省略もしくは nil を指定すると戻り値になります。
  LITERAL-CHARS          : エンコードしない文字群を指定します。
     t                       すべての文字をエンコードする
     nil                     "-A-Za-z0-9$_.+!*'(|),"と同値

使用例:
  ; 標準では Shift_JIS としてエンコード
  (si:www-url-encode "かめ")
  =>"%82%A9%82%DF"
  
  ; EUC-JP としてエンコード
  (si:www-url-encode (map-internal-to-euc "かめ"))
  =>"%A4%AB%A4%E1"
  
  ; 変換しない文字群を明示する
  (si:www-url-encode "www-url-encode" nil "0-9A-Za-z")
  =>"www%2Durl%2Dencode"

補足:
  RFC1738は現在RFC3986によって更新されています。
  RFC3986で定義されている unreserved な文字の種類は "0-9A-Za-z---._~" です。

  xyzzy 0.2.2.233 では builtin.l 中の引数の記述が間違っています。
  0.2.2.234 で修正されました。

SeeAlso: si:www-url-decode
[ Intro | 目次 | 索引 | 目的別 | その他 ]

si:www-url-decode

type: Function
arguments: www-url-decode INPUT-STRING-OR-STREAM &optional OUTPUT-STREAM
package: system
file: builtin.l
URL デコードを行います。

  INPUT-STRING-OR-STREAM : 入力の文字列または入力ストリームを指定します。
  OUTPUT-STREAM          : 出力ストリームです。
                           t を指定した場合は標準出力へ出力します。
                           省略もしくは nil を指定すると戻り値になります。

使用例:
  (si:www-url-decode "%82%D9%82%B0%82%D9%82%B0" nil)
  =>"ほげほげ"

補足:
  xyzzy 0.2.2.233 では builtin.l 中の引数の記述が間違っています。
  0.2.2.234 で修正されました。

SeeAlso: si:www-url-encode
[ Intro | 目次 | 索引 | 目的別 | その他 ]

si:uuencode

type: Function
arguments: uuencode INPUT-STRING-OR-STREAM &optional OUTPUT-STREAM
package: system
file: builtin.l
uuencodeします。

  INPUT-STRING-OR-STREAM : 入力の文字列または入力ストリームを指定します。
  OUTPUT-STREAM          : 出力のストリームを指定します。
        nil     エンコードの結果はuuencodeの戻り値となります。
        nil以外 エンコードの結果はOUTPUT-STREAMに出力されます。

SeeAlso: si:uudecode
[ Intro | 目次 | 索引 | 目的別 | その他 ]

si:uudecode

type: Function
arguments: uudecode INPUT-STRING-OR-STREAM &optional OUTPUT-STREAM
package: system
file: builtin.l
uudecodeします。

  INPUT-STRING-OR-STREAM : 入力の文字列または入力ストリームを指定します。
  OUTPUT-STREAM          : 出力のストリームを指定します。
        nil     デコードの結果はuudecodeの戻り値となります。
        nil以外 デコードの結果はOUTPUT-STREAMに出力されます。

SeeAlso: si:uuencode
[ Intro | 目次 | 索引 | 目的別 | その他 ]

si:quoted-printable-decode

type: Function
arguments: quoted-printable-decode INPUT-STRING-OR-STREAM &optional OUTPUT-STREAM UNDERSCORE-TO-SPACE
package: system
file: builtin.l
Quoted-Printableデコードします。

  INPUT-STRING-OR-STREAM : 入力の文字列または入力ストリームを指定します。
  OUTPUT-STREAM          : 出力のストリームを指定します。
        nil     デコードの結果はquoted-printable-decodeの戻り値となります。
        nil以外 デコードの結果はOUTPUT-STREAMに出力されます。

[ Intro | 目次 | 索引 | 目的別 | その他 ]

si:md5

type: Function
arguments: md5 INPUT-STRING-OR-STREAM
package: system
file: builtin.l
MD5ハッシュ値を得ます。

  INPUT-STRING-OR-STREAM : 入力の文字列または入力ストリームを指定します。

使用例:  
  (si:md5 "ほげほげ")
  => "11e100e3eb6e6171d9681ba6641794e3"

[ Intro | 目次 | 索引 | 目的別 | その他 ]

si:closure-variable

type: Function
arguments: si:closure-variable CLOSURE
package: system
file: builtin.l
クロージャの中身を覗くための関数です。

  CLOSURE : レキシカルクロージャもしくは関数定義に
            レキシカルクロージャを持つシンボルを指定します。

以下の関数でクロージャを参照することが可能です。

  si:closure-variable closure
  si:closure-function closure
  si:closure-frame closure
  si:closure-body closure

使用例:
  (setq foo (let ((x 3)) #'(lambda () (incf x) x)))
  => #<lexical-closure: (anonymous)>
  (funcall foo)
  => 4
  (funcall foo)
  => 5
  (si:closure-variable foo)
  => ((x . 5))

[ Intro | 目次 | 索引 | 目的別 | その他 ]

si:base64-encode

type: Function
arguments: base64-encode INPUT-STRING-OR-STREAM &optional OUTPUT-STREAM
package: system
file: builtin.l
Base64エンコードします。

  INPUT-STRING-OR-STREAM : 入力の文字列または入力ストリームを指定します。
  OUTPUT-STREAM          : 出力のストリームを指定します。
        nil     エンコードの結果はbase64-encodeの戻り値となります。
        nil以外 エンコードの結果はOUTPUT-STREAMに出力されます。

使用例:  
  (si:base64-encode "ほげほげ")
  => "gtmCsILZgrA="

SeeAlso: si:base64-decode
[ Intro | 目次 | 索引 | 目的別 | その他 ]

si:base64-decode

type: Function
arguments: base64-decode INPUT-STRING-OR-STREAM &optional OUTPUT-STREAM FOLD-WIDTH
package: system
file: builtin.l
Base64でデコードします。

  INPUT-STRING-OR-STREAM : 入力の文字列または入力ストリームを指定します。
  OUTPUT-STREAM          : 出力のストリームを指定します。
        nil     デコードの結果はbase64-decodeの戻り値となります。
        nil以外 デコードの結果はOUTPUT-STREAMに出力されます。

使用例:
  (si:base64-decode "gtmCsILZgrA=")
  => "ほげほげ"

SeeAlso: si:base64-encode
[ Intro | 目次 | 索引 | 目的別 | その他 ]

si:*activate-toplevel

type: Function
arguments: *activate-toplevel
package: system
file: builtin.l
xyzzyを他のウィンドウの最前面に表示します。

[ Intro | 目次 | 索引 | 目的別 | その他 ]

show-winhelp

type: Function
arguments: show-winhelp
package: editor
file: winhelp.l
カーソル位置の文字列を WinHelp から検索します。[C-F1]
*winhelp-path* に設定されたヘルプファイルが使用されます。

[ Intro | 目次 | 索引 | 目的別 | その他 ]

show-html-help

type: Function
arguments: show-html-help
package: editor
file: winhelp.l
カーソル位置の文字列を HTML Help から検索します。
*html-help-path* に設定されたヘルプファイルが使用されます。

*html-help-path* の値は、「共通設定」-「ディレクトリ」-「HTML ヘルプ」-
「COL/CHMファイル」から設定できるみたいです。

[ Intro | 目次 | 索引 | 目的別 | その他 ]

set-number-of-function-bar-labels

type: Function
arguments: set-number-of-function-bar-labels N
package: editor
file: builtin.l
ファンクションバーのラベルの数を設定します。指定できる数は、
4/5/8/10/12/15です。
[共通設定] - [表示] - [ファンクションキー] のところでも値を設定できます。

SeeAlso: number-of-function-bar-labels
[ Intro | 目次 | 索引 | 目的別 | その他 ]

set-fill-prefix

type: Function
arguments: set-fill-prefix
package: editor
file: fill.l
行頭からポイントまでをfill prefixに設定します。 [C-x .]
行頭で実行された場合には、fill prefixはクリアされます。auto-fill-mode
では、折り返しが行なわれると行頭にfill prefixが挿入されます。

SeeAlso: fill-prefix
[ Intro | 目次 | 索引 | 目的別 | その他 ]

refresh-screen

type: Function
arguments: refresh-screen &optional F
package: editor
file: builtin.l
画面をリフレッシュします。
キー入力の方が画面の再描画よりも優先されます。従って、外部プロセスから非
同期に入力される文字列をバッファに出力したり、処理の途中でダイアログを表
示すると、画面が追いついていない場合があります。そのような場合に実行します。

SeeAlso: do-events
[ Intro | 目次 | 索引 | 目的別 | その他 ]

popup-string

type: Function
arguments: popup-string STRING POINT &optional TIMEOUT
package: editor
file: builtin.l
文字列をポップアップさせます。ツールチップのポップみたいな表示です。

  STRING  : ポップアップさせる文字列を指定します。
  POINT   : 文字列を表示する位置をポイントで指定します。
  TIMEOUT : 表示を止めるまでの秒数を指定します。

SeeAlso: popup-list
[ Intro | 目次 | 索引 | 目的別 | その他 ]

popup-list

type: Function
arguments: popup-list LIST CALLBACK &optional POINT
package: editor
file: builtin.l
ポップアップリストを表示します。選択された項目を引数にコールバッ
ク関数が呼び出されます。

使用例:
  (defun func ()
    (popup-list
       '("123" "abc" "xyz")
       #'(lambda (x) (msgbox "\"~A\" selected" x))))
  => func

SeeAlso: dabbrev-popup
[ Intro | 目次 | 索引 | 目的別 | その他 ]

OLEオートメーションの使用例

type: Tips
; 意味もなく全部のシートに「東西南北」を書き込む
(setq application (ole-create-object "Excel.Application"))
(ole-putprop application 'visible 1)
(setq workbook (ole-method (ole-getprop application 'Workbooks) 'Add))
(setq numbers-of-worksheets
      (ole-getprop
       (ole-getprop workbook 'worksheets)
       'count))
(setq worksheet-index 1)
(while (<= worksheet-index numbers-of-worksheets)
  (setq worksheet
 (ole-getprop workbook 'Worksheets worksheet-index))
  (ole-putprop (ole-method worksheet 'Range "A1:D1")
        'value #("東" "西" "南" "北"))
  (setq worksheet-index (+ worksheet-index 1)))


こんな小細工をしてみたんですけどどうでしょう?

(defmacro $ (obj prop &rest args)
  `(ole-method ,obj ',prop ,@args))

(defsetf $ (obj prop &rest args) (x)
  `(progn
     (ole-putprop ,obj ',prop ,x ,@args)
     ,x))

(let (app workbook worksheet range)
  (setq app (ole-create-object "Excel.Application"))
  (setf ($ app Visible) t)
  (setq workbook ($ ($ app Workbooks) Add))
  (setq worksheet ($ workbook Worksheets 1))
  (setf ($ ($ worksheet Range "A1:D1") Value) '("North" "South" "East" "West"))
  (setf ($ ($ worksheet Range "A2:B2") Value) #(5.2 10))
  (setf ($ ($ worksheet Range "C2") Value) 8)
  (setf ($ ($ worksheet Range "D2") Value) 20)

  (setq range ($ worksheet Range "A1:D2"))
  ($ range Select)
  ($ ($ workbook Charts) Add)
  (sit-for 5)

  (setf ($ workbook saved) t)
  ($ ($ app ActiveWorkbook) Close 0)
  ($ app Quit))

[ Intro | 目次 | 索引 | 目的別 | その他 ]

number-of-function-bar-labels

type: Function
arguments: number-of-function-bar-labels
package: editor
file: builtin.l
ファンクションバーのラベルの数を返します。非表示の場合でも数値を返します。

SeeAlso: set-number-of-function-bar-labels
[ Intro | 目次 | 索引 | 目的別 | その他 ]

not

type: Function
arguments: not X
package: lisp
file: evalmacs.l
否定を返します。
non nilならばnilを返し、nilならばtを返します。機能としてはnullと同じです。

SeeAlso: null
[ Intro | 目次 | 索引 | 目的別 | その他 ]

lookup-dictionary

type: Function
arguments: lookup-dictionary DIRECTORY DIC-FILE INDEX-FILE WORD
package: editor
file: builtin.l
辞書引き機能
(詳細不明)

使用例:
  (lookup-dictionary *edict-dictionary-path* "xyzzydic" "xyzzye2j" s)

[ Intro | 目次 | 索引 | 目的別 | その他 ]

long-operation

type: Macro
arguments: long-operation &rest BODY
package: editor
file: misc.l
カーソルを砂時計にします。明らかに処理時間が長いことが見込まれる場合にし
ようすると良いと思います。

使用例:
  (long-operation
     (message "start")
     ;; 何か長い処理
     (message "end"))

[ Intro | 目次 | 索引 | 目的別 | その他 ]

load-keyword-file

type: Function
arguments: load-keyword-file NAME &optional ICASE TABLE CONDITION
package: editor
file: kwd.l
キーワードファイルをロードします。

使用例:
  (and *xmldoc-keyword-file*
       (null *xmldoc-keyword-hash-table*)
       (setq *xmldoc-keyword-hash-table*
             (load-keyword-file *xmldoc-keyword-file* t)))
  (when *xmldoc-keyword-hash-table*
    (make-local-variable 'keyword-hash-table)
    (setq keyword-hash-table *xmldoc-keyword-hash-table*))

SeeAlso: キーワードファイルの書き方
[ Intro | 目次 | 索引 | 目的別 | その他 ]

list-servers

type: Function
arguments: list-servers &optional COMMENT-P
package: editor
file: builtin.l
ネットワークコンピュータの一覧が取得できます。
同時にコンピュータに設定されているコメントも取得可能です。

使用例:
  (list-servers)
  => ("SAMURAI" "ROUNIN")
  (list-servers t)
  => (("SAMURAI" "Main Machine") ("ROUNIN" "Sub Machine"))

SeeAlso: list-server-resources
[ Intro | 目次 | 索引 | 目的別 | その他 ]

list-server-resources

type: Function
arguments: list-server-resources SERVER-NAME &optional COMMENT-P
package: editor
file: builtin.l
指定されたコンピュータの共有資源の一覧を取得します。
同時に資源のコメントも取得可能です。

使用例:
  (list-server-resources "SAMURAI")
  => ("SPOOL" "E" "D" "A")
  (list-server-resources "SAMURAI" t)
  => (("SPOOL" "") ("E" "CD-ROM Drive") ("D" "Backup Storage") ("A" "FD Drive"))

SeeAlso: list-servers
[ Intro | 目次 | 索引 | 目的別 | その他 ]

get-image-size

type: Function
arguments: get-image-size FILENAME
package: editor
file: imagehdr.l
指定された画像ファイルの縦・横・フォーマットを取得することが可能です。

使用例:
  ;;; imageタグを挿入してみる
  (require "imagehdr")
  (defun html-write-image-tag (file)
    (interactive "fJPEG, GIF, PNG : ")
    (multiple-value-bind (width height fmt)
      (get-image-size file)
      (insert (format nil "<IMG SRC=\"~a\" WIDTH=~d HEIGHT=~d>" file width height))))

[ Intro | 目次 | 索引 | 目的別 | その他 ]

gc

type: Function
arguments: gc &optional NO-MESSAGE
package: lisp
file: builtin.l
(多分)ゴミ集めをします。

[ Intro | 目次 | 索引 | 目的別 | その他 ]

ed::set-register

type: Function
arguments: set-register R VALUE
package: editor
file: register.l
レジスタ R に値 VALUE を格納します。

SeeAlso: ed::get-register
[ Intro | 目次 | 索引 | 目的別 | その他 ]

ed::get-register

type: Function
arguments: get-register R
package: editor
file: register.l
レジスタ R の値を返します。何も入ってない場合の戻り値は nil です。

SeeAlso: ed::set-register
[ Intro | 目次 | 索引 | 目的別 | その他 ]

DOSのコマンドをキックして結果を文字列にするには?

type: Tips
| DOSのコマンド(コンソールアプリって言ったほうがいいのかな?)
| をキックして、結果を文字列として、取り出す事はできますか?

こんな感じでしょうか。

(defun command-substitution (command)
  (let ((outfile nil)
        (buffer nil))
    (unwind-protect
        (save-excursion
          (setq buffer (create-new-buffer "*foo*"))
          (setq outfile (make-temp-file-name))
          (call-process command :output outfile :show :hide :wait t)
          (set-buffer buffer)
          (insert-file-contents outfile)
          (goto-char (1- (point-max)))
          (when (looking-for "\n")
            (delete-char 1))
          (goto-char (point-min))
          (replace-buffer "\n+" " " :regexp t)
          (buffer-substring (point-min) (point-max)))
      (and buffer
           (delete-buffer buffer))
      (and outfile
           (delete-file outfile)))))

[ Intro | 目次 | 索引 | 目的別 | その他 ]

do-events

type: Function
arguments: do-events
package: lisp
file: builtin.l
長い処理の途中に、Windowsのイベントを処理してあげるおまじないらしい。

使用例:
  ;;; イベント処理をしてみる。
  (do-events)
  => nil

SeeAlso: refresh-screen
[ Intro | 目次 | 索引 | 目的別 | その他 ]

ding

type: Function
arguments: ding
package: editor
file: builtin.l
音を鳴らします?(詳細不明)

使用例:
  ;;; 音を鳴らす。
  (ding)
  => t

SeeAlso: undefined
[ Intro | 目次 | 索引 | 目的別 | その他 ]

decode-mime-header

type: Function
arguments: decode-mime-header
package: editor
file: encdec.l
現在行から下にRFC822ヘッダを探してMIMEデコードします。

[ Intro | 目次 | 索引 | 目的別 | その他 ]

continue-popup

type: Function
arguments: continue-popup
package: editor
file: builtin.l
popup-stringで前回表示した内容を再度表示します。

SeeAlso: popup-string
[ Intro | 目次 | 索引 | 目的別 | その他 ]

C-z でアイコン化させるには?

type: Tips
(require "wip/winapi")
(c:define-dll-entry winapi:BOOL ShowWindow (winapi:HWND c:int) "user32")

(global-set-key #\C-z #'(lambda () (interactive)
                          (ShowWindow (get-window-handle) 6)))

[ Intro | 目次 | 索引 | 目的別 | その他 ]

add-file-history-to-menu

type: Function
arguments: add-file-history-to-menu
package: editor
file: app-menu.l
ファイルメニューの履歴のところに履歴を記録する?
(詳細不明)
(add-file-history-to-menu)

SeeAlso: *minibuffer-file-name-history
[ Intro | 目次 | 索引 | 目的別 | その他 ]

*print-option-show-dialog*

type: Variable
package: editor
file: estartup.l
nilの場合は、コマンドラインオプションで -p を指定した時、印刷ダイアログ
を表示しません。

[ Intro | 目次 | 索引 | 目的別 | その他 ]

*popup-completion-list-default*

type: Variable
package: editor
file: complete.l
補完リスト表示のデフォルトの動作を制御します。
  :always   必ずポップアップ表示します。
  :never    *Completion*バッファで表示します。
  上記以外  個々の設定(*minibuffer-popup-completion-list*等)が
            適用されます。

SeeAlso: *minibuffer-popup-completion-list*
[ Intro | 目次 | 索引 | 目的別 | その他 ]