[ < ] | [ > ] | [ << ] | [Plus haut] | [ >> ] | [Top] | [Table des matières] | [Index] | [ ? ] |
The prefix key C-x 5 is analogous to C-x 4, with parallel subcommands. The difference is that C-x 5 commands create a new frame rather than just a new window in the selected frame (voir la section Displaying in Another Window). If an existing visible or iconified frame already displays the requested material, these commands use the existing frame, after raising or deiconifying as necessary.
The various C-x 5 commands differ in how they find or create the buffer to select:
Create a new frame (make-frame-command
).
Select buffer bufname in another frame. This runs
switch-to-buffer-other-frame
.
Visit file filename and select its buffer in another frame. This runs
find-file-other-frame
. Voir la section Visiting Files.
Select a Dired buffer for directory directory in another frame. This
runs dired-other-frame
. Voir la section Dired, the Directory Editor.
Start composing a mail message in another frame. This runs
mail-other-frame
. It is the other-frame variant of C-x m.
@xref{Sending Mail}.
Find a tag in the current tag table in another frame. This runs
find-tag-other-frame
, the multiple-frame variant of M-..
Voir la section Tags Tables.
Visit file filename read-only, and select its buffer in another
frame. This runs find-file-read-only-other-frame
. Voir la section Visiting Files.
You can control the appearance of new frames you create by setting the frame
parameters in default-frame-alist
. You can use the variable
initial-frame-alist
to specify parameters that affect only the
initial frame. Voir (elisp)Initial Parameters section `Initial Parameters' dans The Emacs Lisp Reference Manual, for more information.
The easiest way to specify the principal font for all your Emacs frames is
with an X resource (voir la section Font Specification Options), but you can also do it by modifying
default-frame-alist
to specify the font
parameter, as shown
here:
(add-to-list 'default-frame-alist '(font . "10x20")) |
Here's a similar example for specifying a foreground color:
(add-to-list 'default-frame-alist '(foreground-color . "blue")) |
By putting such customizations in your ‘~/.emacs’ init file, you can control the appearance of all the frames Emacs creates, including the initial one.
[ < ] | [ > ] | [ << ] | [Plus haut] | [ >> ] | [Top] | [Table des matières] | [Index] | [ ? ] |
Ce document a été généré par Eric Reinbold le 23 Février 2009 en utilisant texi2html 1.78.