unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4381: 23.1.50; Cocoa Emacs: face background for 'region set in ns-win.el after .emacs
@ 2009-09-18 23:57 Adrian Robert
  2009-09-19  4:19 ` Erik Charlebois
  0 siblings, 1 reply; 14+ messages in thread
From: Adrian Robert @ 2009-09-18 23:57 UTC (permalink / raw)
  To: 4381; +Cc: Erik Charlebois

http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4381

Thanks for looking into this.  Does changing the setting in ns-win.el  
to the customize-face form work?  (Not sure that's the way to go  
though.  I suspect we'll need to put some conditional code in the  
place that sets up the face.)






^ permalink raw reply	[flat|nested] 14+ messages in thread
* bug#4381: 23.1.50; Cocoa Emacs: face background for 'region set in ns-win.el after .emacs
@ 2009-09-09  7:23 Erik Charlebois
  2009-09-10  6:27 ` Glenn Morris
  0 siblings, 1 reply; 14+ messages in thread
From: Erik Charlebois @ 2009-09-09  7:23 UTC (permalink / raw)
  To: emacs-pretest-bug


Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the emacs-pretest-bug@gnu.org  
mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

term/ns-win.el line 1068 sets the face background for 'region to
"ns_selection_color", which is defaulted to lightgoldenrod2 on Macs
and looks rather harsh on dark backgrounds. My problem is that
ns-win.el is eval'd after your .emacs/init.el and will override
any color choices you made for 'region. I'm working around it by
setting the 'region background in a window-setup-hook (which is
after frame-notice-user-settings in startup.el).

It seems like this is a mistake and the 'region face background
should not be set in ns-win.el. It's unintuitive that one specific  
face setting
isn't honoured in your init.el.

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
     `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/Users/erikc/Documents/emacs/nextstep/Emacs.app/Contents/Resources/etc/ 
DEBUG for instructions.


In GNU Emacs 23.1.50.3 (i386-apple-darwin10.0.0, NS apple- 
appkit-1038.00)
of 2009-09-08 on ermac.local
Windowing system distributor `Apple', version 10.3.1038
configured using `configure  '--with-ns''

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
   value of $XMODIFIERS: nil
   locale-coding-system: nil
   default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
   display-time-mode: t
   show-paren-mode: t
   global-whitespace-mode: t
   savehist-mode: t
   global-auto-revert-mode: t
   yas/global-mode: t
   yas/minor-mode: t
   shell-dirtrack-mode: t
   mouse-wheel-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   global-auto-composition-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   column-number-mode: t
   line-number-mode: t
   transient-mark-mode: t

Recent input:
M-x r e p o r t q <backspace> <tab> <return>

Recent messages:
Loading ~/.viper...done
Loading tramp...done
Building list of manual directory expansions...
Building completion list of all manual topics...
Loading /Users/erikc/.emacs.d/anything-c-adaptive-history...done
Setting up CEDET packages...done
Loading /Users/erikc/.emacs.d/haskell-mode-2.4/haskell-site-file.el  
(source)...done
Loading fu...done
Ido mode enabled
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
/Users/erikc/.emacs.d/cedet-1.0pre6/speedbar/speedbar hides /Users/ 
erikc/Documents/emacs/nextstep/Emacs.app/Contents/Resources/lisp/ 
speedbar
/Users/erikc/.emacs.d/cedet-1.0pre6/speedbar/sb-image hides /Users/ 
erikc/Documents/emacs/nextstep/Emacs.app/Contents/Resources/lisp/sb- 
image
/Users/erikc/.emacs.d/cedet-1.0pre6/common/ezimage hides /Users/erikc/ 
Documents/emacs/nextstep/Emacs.app/Contents/Resources/lisp/ezimage
/Users/erikc/.emacs.d/cedet-1.0pre6/speedbar/dframe hides /Users/erikc/ 
Documents/emacs/nextstep/Emacs.app/Contents/Resources/lisp/dframe


Erik Charlebois
erikcharlebois@gmail.com









^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2009-09-24 17:35 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-18 23:57 bug#4381: 23.1.50; Cocoa Emacs: face background for 'region set in ns-win.el after .emacs Adrian Robert
2009-09-19  4:19 ` Erik Charlebois
2009-09-20 13:37   ` Stefan Monnier
2009-09-22 23:19     ` Adrian Robert
2009-09-23 22:44       ` Stefan Monnier
2009-09-24  3:19         ` Adrian Robert
2009-09-24 15:14           ` Stefan Monnier
2009-09-24 16:15             ` Adrian Robert
2009-09-24 17:35               ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2009-09-09  7:23 Erik Charlebois
2009-09-10  6:27 ` Glenn Morris
2009-09-13 21:56   ` Erik Charlebois
2009-09-14  1:09     ` Glenn Morris
2009-09-14  6:07       ` Erik Charlebois

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).