all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* About glyph matrices
@ 2013-03-02  0:36 Xue Fuqiao
  2013-03-02  8:01 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Xue Fuqiao @ 2013-03-02  0:36 UTC (permalink / raw)
  To: help-gnu-emacs

In (info "(elisp) Window Internals"):

  `current_matrix'
  `desired_matrix'
     Glyph matrices describing the current and desired display of this
     window.

I didn't know what is "the current and desired display" of window.  Then I went
to window.h:

    /* Glyph matrices.  */
    struct glyph_matrix *current_matrix;
    struct glyph_matrix *desired_matrix;

But they didn't help.  I didn't find it in the manual, either.  Can
anybody help?  Thanks.

-- 
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: About glyph matrices
  2013-03-02  0:36 About glyph matrices Xue Fuqiao
@ 2013-03-02  8:01 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2013-03-02  8:01 UTC (permalink / raw)
  To: help-gnu-emacs

> Date: Sat, 2 Mar 2013 08:36:22 +0800
> From: Xue Fuqiao <xfq.free@gmail.com>
> 
> In (info "(elisp) Window Internals"):
> 
>   `current_matrix'
>   `desired_matrix'
>      Glyph matrices describing the current and desired display of this
>      window.
> 
> I didn't know what is "the current and desired display" of window.

These are data structures manipulated by the Emacs display engine.
The current matrix describes the current state of the window display;
the desired matrix describes what _should_ be displayed.  The display
engine constructs the desired matrix, then compares it with the
current matrix, and invokes the display-specific back end to redraw
the parts that are different.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-02  8:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-02  0:36 About glyph matrices Xue Fuqiao
2013-03-02  8:01 ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.