APPROVE COMMIT
NOTE: This patch has been committed.
This is Sylvain’s patch from 1110230487.1786.3.camel@saturne , of
2005/03/07. I’ve been running with this since then, without problems, though
I can’t say for certain that the reasoning is right.
Sylvain, have you looked into this further? Have you tried the symmetric
case, as you mentioned in your mail?
Giacomo, this commit should resolve the issue for you.
src/ChangeLog addition:
2005-11-18 Aidan Kehoe <kehoea(a)parhasard.net>
* window.c (change_window_height): Have change_window_height
change the window width when requested to do so; fixes bugs and
error messages with VM, BBDB.
XEmacs Trunk source patch:
Diff command: cvs -q diff -u
Files affected: src/window.c
Index: src/window.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/window.c,v
retrieving revision 1.88
diff -u -u -r1.88 window.c
--- src/window.c 2005/10/25 11:16:30 1.88
+++ src/window.c 2005/11/18 12:17:39
@@ -4314,7 +4314,14 @@
if (NILP (parent))
{
if (widthflag)
- invalid_operation ("No other window to side of this one", Qunbound);
+ {
+ int new_pixsize;
+ sizep = &CURSIZE (w);
+ dim = CURCHARSIZE (w);
+ new_pixsize = inpixels?(*sizep + delta):(dim+delta);
+ set_window_pixsize (window, new_pixsize, 0, 0);
+ return;
+ }
break;
}
if (widthflag
--
“I, alone, perhaps, in this city of nearly two million, view it with sadness,
sympathy, and respect, seeing in the millions of Russian youngsters who laid
down their lives in that war a tragedy rising above all the political
emotions of that time [...]” -- George Kennan on Vienna's „Erbsenkönig“
Show replies by date