all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nikolaj Schumacher <me@nschum.de>
To: Adrian Robert <adrian.b.robert@gmail.com>
Cc: emacs-pretest-bug@gnu.org, "Chong Yidong" <cyd@stupidchicken.com>,
	"Alberto Simões" <albie@alfarrabio.di.uminho.pt>
Subject: bug#4194: 23.0.91; Cursor face not changing
Date: Tue, 18 Aug 2009 22:56:44 +0200	[thread overview]
Message-ID: <F9811120-7DEE-47AD-B5E3-84B410BD68F1@nschum.de> (raw)
In-Reply-To: <B570AFC8-E843-4AD4-832D-F2D7925678E3@gmail.com>

Sorry for the delay. I checked this again using a build from today.

On 2009-05-31, at 17:27, Adrian Robert wrote:

> On Apr 3, 2009, at 5:33 AM, Chong Yidong wrote:
>
>>> Although I am able to configure the cursor face using the usual
>>> custumization tool, the real colors/face doesn't change.
>>
>> I can't reproduce this, so it's likely a bug on NS.  Adrian, can you
>> reproduce it?
>
> I cannot.

Setting the background color seems to work now. The foreground color,  
inverse-video, and others don't stick.

> Nikolaj Schumacher added later that:
>
>> The same seems to happen for the region face.  The background color
>> reverts to ns_selection_color sometime after the custom variables are
>> read.  (It works when reading the custom settings again, later.)
>
> I looked at the code and cannot see how this could be happening.   
> The region face is set to ns_selection_color in ns-win.el, but this  
> should be overridden by .emacs read later.  This should have been  
> cleared up by David Reitter's changes around 2009-03-14, though  
> since the ChangeLog entries are incomplete it is difficult to be  
> certain when the last broken code was removed.
>
> Anyway, if you still observe these in a recent build let me know and  
> I'll go on a more thorough witch-hunt.

I've looked at this further, and it seems to work with an empty .emacs.
It fails with my configuration, because I set the frame's background  
color like this:

   (setq default-frame-alist
         '((background-color . "#040420")
           (foreground-color . "wheat")))

If I don't set the background-color, I get my customized region face.

If I manually evaluate the line after the initial frame was created,  
any additional frame uses the default ns_selection_color for the  
region. The first frame and customize-face keep my color.


Nik






  reply	other threads:[~2009-08-18 20:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-02 22:33 bug#2870: 23.0.91; Cursor face not changing Chong Yidong
2009-05-31 15:27 ` bug#3434: " Adrian Robert
2009-08-18 20:56   ` Nikolaj Schumacher [this message]
2011-11-17  0:17     ` bug#4194: " Glenn Morris

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=F9811120-7DEE-47AD-B5E3-84B410BD68F1@nschum.de \
    --to=me@nschum.de \
    --cc=4194@emacsbugs.donarmstrong.com \
    --cc=adrian.b.robert@gmail.com \
    --cc=albie@alfarrabio.di.uminho.pt \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-pretest-bug@gnu.org \
    /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.