PlanDuSite ModificationsRécentes Nouvelles SectionElisp CommentFaire

Help and Completions Frames

This page is part of the description of OneOnOneEmacs, by DrewAdams. See Library: Lisp:oneonone.el

Cette page est aussi disponible en franglais ;-): Français:Frames Help et Completions

The *Help* buffer is treated specially in several minor ways in Emacs. I decided to give it its own frame style and display function. I added this frame definition to ‘special-display-buffer-names’.

Here’s a screenshot of the *Help* frame:

DrewsEmacsHelpImage

I did the same thing for the *Completions* buffer. Here’s a screenshot of the *Completions*frame:

DrewsEmacsCompletionsFrameImage

However, in this case, the display function I use also does this:

  (redirect-frame-focus (selected-frame) 1on1-minibuffer-frame)

That makes the *Completions* frame redirect user actions to the minibuffer frame, ‘1on1-minibuffer-frame’, which is the behavior we need for *Completions*.

Several user options are available for customizing the appearance of these frames. In particular, the ‘*Completions*’ frame is automatically zoomed out, to make its text slightly smaller than normal, and you can customize this zoom amount (using option ‘1on1-completions-frame-zoom-font-difference’).

See Also: Icicles for a discussion of the frame-focus problem that this frame redirection solves.


OneOnOneEmacs CategoryFrames FrameModes CategoryDisplay