[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Carbon/Mac OS X] fringe-mode does not update frames
From: |
nand |
Subject: |
[Carbon/Mac OS X] fringe-mode does not update frames |
Date: |
Sun, 21 Nov 2004 04:29:49 +0900 |
On Carbon Emacs on Mac OS X,
(fringe-mode 'none) has no effect for frames which are already
displayed.
To repeat:
* invoke Emacs.app
* M-x fringe-mode <RET> none <RET>
* (no change seen)
With the following patch, it seems to work fine for me.
But I doubt it is correct fix. (I wonder why are these
"x_set_fringe_width" commented out?)
Regards,
Nozomu Ando
---
Index: src/macfns.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/macfns.c,v
retrieving revision 1.42
diff -u -u -r1.42 macfns.c
--- src/macfns.c 2 Nov 2004 08:21:16 -0000 1.42
+++ src/macfns.c 19 Nov 2004 11:50:34 -0000
@@ -4415,8 +4415,8 @@
0, /* MAC_TODO: x_set_scroll_bar_background, */
x_set_screen_gamma,
x_set_line_spacing,
- 0, /* MAC_TODO: x_set_fringe_width, */
- 0, /* MAC_TODO: x_set_fringe_width, */
+ x_set_fringe_width,
+ x_set_fringe_width,
0, /* x_set_wait_for_wm, */
0, /* MAC_TODO: x_set_fullscreen, */
};
---
In GNU Emacs 21.3.50.1 (powerpc-apple-darwin7.6.0)
of 2004-11-20 on panel.jk.homeunix.org
Distributor `Apple Computers', version 10.3.6
configured using `configure '--prefix=/usr/local'
'--oldincludedir=/Developer/SDKs/MacOSX10.2.8.sdk' '--with-carbon'
'--without-x''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
locale-coding-system: nil
default-enable-multibyte-characters: t
Major mode: Shell
Minor modes in effect:
encoded-kbd-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
global-font-lock-mode: 0
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
line-number-mode: t
Recent input:
<escape> x g n u s SPC C-g <escape> x r e p o r t SPC
SPC SPC SPC <return>
Recent messages:
Loading /Users/nand/lib/emacs21/.emacs...
Loading encoded-kb...done
failed setting anti-aliasing threshold: (void-function
mac-set-antialiased-text-threshold)
Loading egg...done
Loading gtags...done
GNU Emacs 21.3.50.1 (powerpc-apple-darwin7.6.0)
of 2004-11-20 on panel.jk.homeunix.org
Loading /Users/nand/lib/emacs21/.emacs...done
Quit
Loading emacsbug...done
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Carbon/Mac OS X] fringe-mode does not update frames,
nand <=