unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: joakim@verona.se
To: alinsoar@voila.fr
Cc: "Emacs Dev \[emacs-devel\]" <emacs-devel@gnu.org>
Subject: Re: help about the display iterator.
Date: Fri, 16 Jan 2009 18:38:59 +0100	[thread overview]
Message-ID: <m3ljtbm9qk.fsf@verona.se> (raw)
In-Reply-To: <17789087.255901232126663384.JavaMail.www@wwinf4623> (A. Soare's message of "Fri, 16 Jan 2009 18:24:23 +0100 (CET)")

"A. Soare" <alinsoar@voila.fr> writes:

>  I understand that when redisplay_internal is called after direct_output_for_insert, redisplay_internal stops here. But direct_output_for_insert is never called on my emacs. I use GTK+ now.
>
> So it is almost impossible to understand what happens just looking at the code.
>
> To be more specific, let us consider this simple case: suppose that I use the console, not graphics, and that I press the key 'x'; could you make me a brief description of the trace of the code, starting from the moment when the function read_char forces redisplay, until the character is send to the phisical display?
>
> Thanks in advance for any help.

I dont claim to understand how redisplay actually works, but I did
manage to make a patch that modifies redisplay so its possible to insert
GTK widgets inside the text of an emacs buffer.

I did this by sprinkling trace code inside emacs to see what happens
during redisplay. To have a clear view of what modifications I have
done, I have a local bzr branch.

I agree that its not possible to just read the code and understand what
it does.

This doesnt answer your question, but maybe you can get some ideas.

>
> Alin.
>
>
>
>
>
>> 
>> "A. Soare" <alinsoar@voila.fr> writes:
>> 
>> > However, I do not understand the mechanism from `redisplay_ineternal'
>> > (I have the impression that it's this function that creates the
>> > desired_matrix of glyphs) and refresh the display.
>> 
>> You'll have to be more specific in asking these sorts of questions, I'm
>> afraid.  Have you looked at the commentary at the beginning of xdisp.c?
>> 
>> 
>
>
> ____________________________________________________Avec Voila, réalisez en toute simplicité votre videoblog ! http://video.voila.fr/mktg/?op=videoblog
>
>
>
>
-- 
Joakim Verona




  reply	other threads:[~2009-01-16 17:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-16 17:24 help about the display iterator A. Soare
2009-01-16 17:38 ` joakim [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-01-15 18:21 A. Soare
2009-01-16 15:21 ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3ljtbm9qk.fsf@verona.se \
    --to=joakim@verona.se \
    --cc=alinsoar@voila.fr \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).