From: Ross Biro <ross.biro@mindspring.com>
To: martin rudalics <rudalics@gmx.at>
Cc: 13479@debbugs.gnu.org
Subject: bug#13479: Cross Compiling for ARM
Date: Tue, 22 Jan 2013 22:49:12 -0500 [thread overview]
Message-ID: <CAJ56fyi6i_ws3Cu877CAqH-eUAy3Tepx21Bz1_mOWub0RMVS8A@mail.gmail.com> (raw)
In-Reply-To: <50FA7153.403@gmx.at>
[-- Attachment #1: Type: text/plain, Size: 2069 bytes --]
I don't have a wset_new_total. Is that a new function? I'm using mostly
stock 24.2.
Ross
On Sat, Jan 19, 2013 at 5:11 AM, martin rudalics <rudalics@gmx.at> wrote:
> I haven't investigated. But because protecting those calls by if
>> (initialized) and even moving the lisp->C binding for
>> window_root_window_resize_**vertically to after initialization didn't
>> help, I
>> suspect the issue might be deeper than just protecting C calls to lisp. I
>> really don't know how to follow up though.
>>
>
> If Lisp hasn't been called yet, the root window cannot have
> been split yet. So in the case at hand the following patch
> sould work. Can you please try it?
>
> Thanks, martin
>
>
> === modified file 'src/window.c'
> --- src/window.c 2013-01-11 23:08:55 +0000
> +++ src/window.c 2013-01-19 09:54:07 +0000
> @@ -4207,8 +4207,15 @@
>
> root = FRAME_ROOT_WINDOW (f);
> r = XWINDOW (root);
> - value = call2 (Qwindow_resize_root_window_vertically,
> - root, make_number (- delta));
> + if (WINDOW_LIVE_P (root))
> + {
> + wset_new_total (r, make_number (XFASTINT (r->total_lines) - delta));
> + value = make_number (- delta);
> + }
> + else
> + value = call2 (Qwindow_resize_root_window_vertically,
> + root, make_number (- delta));
> +
> if (INTEGERP (value) && window_resize_check (r, 0))
> {
> block_input ();
> @@ -4245,8 +4252,15 @@
> {
> root = FRAME_ROOT_WINDOW (f);
> r = XWINDOW (root);
> - value = call2 (Qwindow_resize_root_window_vertically,
> - root, make_number (size - 1));
> + if (WINDOW_LIVE_P (root))
> + {
> + wset_new_total (r, make_number (XFASTINT (r->total_lines) + size
> - 1));
> + value = make_number (size - 1);
> + }
> + else
> + value = call2 (Qwindow_resize_root_window_vertically,
> + root, make_number (size - 1));
> +
> if (INTEGERP (value) && window_resize_check (r, 0))
> {
> block_input ();
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 2743 bytes --]
next prev parent reply other threads:[~2013-01-23 3:49 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-17 19:36 bug#13479: Cross Compiling for ARM Ross Biro
2013-01-18 14:26 ` Stefan Monnier
2013-01-18 17:55 ` martin rudalics
2013-01-18 22:09 ` Ross Biro
2013-01-19 10:11 ` martin rudalics
2013-01-23 3:49 ` Ross Biro [this message]
2013-01-23 7:31 ` martin rudalics
2013-01-19 1:18 ` Stefan Monnier
2013-01-24 4:42 ` Jason Rumney
2024-01-10 11:11 ` Stefan Kangas
-- strict thread matches above, loose matches on Subject: below --
2011-07-28 18:53 bug#9192: Cross-compile " Toon Claes
2024-01-10 11:11 ` bug#13479: Cross Compiling " Stefan Kangas
2024-01-10 11:44 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-10 11:56 ` Stefan Kangas
2024-01-10 13:10 ` Toon Claes via Bug reports for GNU Emacs, the Swiss army knife of text editors
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJ56fyi6i_ws3Cu877CAqH-eUAy3Tepx21Bz1_mOWub0RMVS8A@mail.gmail.com \
--to=ross.biro@mindspring.com \
--cc=13479@debbugs.gnu.org \
--cc=rudalics@gmx.at \
/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 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.