On Aug 21, 2008, at 11:12 AM, David Reitter wrote:

On 21 Aug 2008, at 08:07, Adrian Robert wrote:

but I still get grey strips which are
opaque to the text until the cursor moves over them or I select the region
with the mouse.

Can you reproduce starting with Emacs -Q?

I can. After startup, select a row of text, click onto another application, then back. I don't know if this was there before the patch.

It appears that -Q is not respected: org.gnu.Emacs.plist is still read.

As stated before on the list, the defaults are a replacement for X resources. The latter ARE read on X systems when -q/Q is given. I think the reason the behavior is unexpected under NS is that unlike other systems, NS emacs will WRITE into the defaults database (to save user options). The attached patch will therefore cause these resources not to be read, only under NS, if -q/Q is given.



That's why I couldn't reproduce this, but I can see the bars now.

This only occurs when cursor-type is set to t.

It seems that w->phys_cursor_width is sometimes uninitialized.



PS.: Getting these.  Presumably unrelated.

2008-08-21 11:03:37.251 Emacs[13746:10b] Unlocking Focus on wrong view (<EmacsView: 0x2bbc510>), expected <NSView: 0x2bc1900> 2008-08-21 11:03:38.385 Emacs[13746:10b] Unlocking Focus on wrong view (<EmacsView: 0x2bbc510>), expected <NSView: 0x2bc1900>

This indicates a bug somewhere, possibly introduced by the patch, or possibly revealed by the patch.



Attachment: defaultsIgnore.patch
Description: Binary data




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emacs-app-dev- mailing list
Emacs-app-dev-@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-

Reply via email to