unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: angelo.graziosi@alice.it, 19060@debbugs.gnu.org
Subject: bug#19060: [FIX INCLUDED] Off-by-one-line scrolling bug	in	window_scroll_pixel_based
Date: Sun, 16 Nov 2014 12:37:03 +0100	[thread overview]
Message-ID: <54688C5F.9090201@gmx.at> (raw)
In-Reply-To: <54678AE4.6050304@alice.it>

 >> (you can use the function `window--dump-frame' for that) and what the
 >> height stored by `desktop-save' is.  I suppose this is somewhere in a
 >> cons whose car is something like `height' or `frame-height' or the like.
 >
 > I am afraid, I wasn't able to use that function.. How to evaluate it? I tried a few command but they didn't work.

M-: (window--dump-frame)

The results appear in a buffer called *window-frame-dump*.  Do this
please once before exiting one session and once after entering the
subsequent session and post the respective buffer contents here.  And
please do that in the appropriate thread, namely for bug#19048.

 > First I removed the current desktop and history files. So I started
 > Emacs and moved it so that it was centered in the Windows desktop (I
 > tried this with the Cygwin build..). Then I closed Emacs and it asked
 > to save the desktop. Yes - and this generated the "desktop-00"
 > file. Then I restarted Emacs and closed it obtaining the "desktop-01"
 > file. I repeated this 2 times obtaining "desktop-03". After repeating
 > this a few times I obtained the "desktop" file: now Emacs frame is
 > conspicuously short.

I suppose the frame height is stored in the (height . xx) conses.  In
desktop-00 you have (height . 34), in desktop-01 (height . 33) and in
desktop-03 (height . 31).  So your frame height seems to decrease by one
line every time you restore it.  Using `window--dump-frame' we should be
able to see what the frame height was before exiting one session and
after restoring it in another one and hopefully why the frame decreases
by that line.

Thanks, martin





  reply	other threads:[~2014-11-16 11:37 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <emacs-mail-is-unusable-4>
2014-11-15 14:10 ` bug#19060: [FIX INCLUDED] Off-by-one-line scrolling bug in window_scroll_pixel_based Angelo Graziosi
2014-11-15 14:33   ` martin rudalics
2014-11-15 17:18     ` Angelo Graziosi
2014-11-16 11:37       ` martin rudalics [this message]
2014-11-16 13:02         ` bug#19048: Frame height decreases at Emacs start Angelo Graziosi
2014-11-16 13:54           ` martin rudalics
2014-11-16 14:16             ` Angelo Graziosi
2014-11-16 14:22               ` martin rudalics
2014-11-16 14:33                 ` Angelo Graziosi
2014-11-16 14:42                   ` Angelo Graziosi
2014-11-16 15:14                   ` martin rudalics
2014-11-16 18:05                     ` Angelo Graziosi
2014-11-17 10:56                     ` Angelo Graziosi
2014-11-17 12:51                       ` Angelo Graziosi
2014-11-17 18:25                         ` martin rudalics
2014-11-17 19:50                           ` Angelo Graziosi
2014-11-18  7:51                             ` martin rudalics
2014-11-18 13:46                               ` Angelo Graziosi
2014-11-18 14:38                               ` Angelo Graziosi
2014-11-18 17:33                                 ` martin rudalics
2014-11-19  8:30                                   ` martin rudalics
2014-11-19 11:34                                     ` Angelo Graziosi
2014-11-19 15:52                                       ` martin rudalics
     [not found] <emacs-mail-is-unusable-4@[87.69.4.28]>
2014-11-15  9:27 ` bug#19060: [FIX INCLUDED] Off-by-one-line scrolling bug in window_scroll_pixel_based Eli Zaretskii
2014-11-15 11:13   ` martin rudalics
2014-11-15 11:17     ` Eli Zaretskii
2014-11-15 12:12       ` martin rudalics
2014-11-15 13:05         ` Eli Zaretskii
2014-11-15 13:29           ` martin rudalics
2014-11-15 13:47             ` Eli Zaretskii
2014-11-15 14:32               ` martin rudalics
2014-11-15 17:06                 ` Eli Zaretskii
2014-11-15  6:57 Kelly Dean

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=54688C5F.9090201@gmx.at \
    --to=rudalics@gmx.at \
    --cc=19060@debbugs.gnu.org \
    --cc=angelo.graziosi@alice.it \
    /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).