質問

使ってい maxframe.el 最大限の自Emacsます。

でも全ての主要プラットフォームを除き、自分のデュアルヘッドのMacアクセス-コントロールにより、Macbook Pro15インチノート付23インチモニター)

時の最大化するEmacsフレームのフレームへの展開を記入の幅 モニターの高さは大きい。

明らかにしていきたいと思いますフレームを記入のみをモニターです。できるかを検出し並びに決議されましたの個人モニターを使用elisp?

おかげさ ジェイコブ

編集:としてデニスさんのおっしゃったように、設定mf-max-widthのリーズナブルな回避策.ものとして記載されているものつくろうと思いましたソリューションによるモニタで要求される。かOSX-特定のスタイルのWindows特有のw32-送信-sys-コマンドです。

役に立ちましたか?

解決

私はすぐにスキャンの参考にご提供頂いた maxframe.elとは思わない かんな同じ技術を使用します。は、以下のコードスニペットを手伝ってくれる人はいます?


(defun toggle-fullscreen ()
  "toggles whether the currently selected frame consumes the entire display or is decorated with a window border"
  (interactive)
  (let ((f (selected-frame)))
    (modify-frame-parameters f `((fullscreen . ,(if (eq nil (frame-parameter f 'fullscreen)) 'fullboth nil))))))

他のヒント

なcustomising mf-max-width'す。そのドキュメンテーション

"*The maximum display width to support.  This helps better support the true
nature of display-pixel-width.  Since multiple monitors will result in a
very large display pixel width, this value is used to set the stop point for
maximizing the frame.  This could also be used to set a fixed frame size
without going over the display dimensions."

このようなものジョブのウィンドウマネージャではなく、仕事のemacs.(例えば、Xmonad取り扱うフル画面をemacsです。)

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top