From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: gerlach Newsgroups: gmane.emacs.help Subject: Re: set the highlight color when searching Date: Tue, 14 May 2013 21:57:08 +0200 Message-ID: References: <83y5bh7jqn.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1368578340 22339 80.91.229.3 (15 May 2013 00:39:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 May 2013 00:39:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 15 02:39:00 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UcPk8-0005Kf-20 for geh-help-gnu-emacs@m.gmane.org; Wed, 15 May 2013 02:38:56 +0200 Original-Received: from localhost ([::1]:50658 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcPk7-0002cp-Kv for geh-help-gnu-emacs@m.gmane.org; Tue, 14 May 2013 20:38:55 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 48 Original-X-Trace: individual.net sADKHv8/6aa+KEE66Pmw1Q7rI7dbAjpAdaB0dFlYtntvNG+v4O Cancel-Lock: sha1:cJbAwnZ/Cq31nWwliA+rur+Ia1I= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 In-Reply-To: Original-Xref: usenet.stanford.edu gnu.emacs.help:198509 X-Mailman-Approved-At: Tue, 14 May 2013 20:38:46 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:90788 Archived-At: Am 14.05.2013 21:23, schrieb gerlach: > Am 14.05.2013 17:55, schrieb gerlach: > >> .... >> [X] Foreground: white (sample) >> .... >> >> where "sample" is blue colored! The "white" didn't take effekt. Why? > > some hours later I made some further tests: > green works, black, too! And red also, but not white and yellow! Who has > programmed such nonsense? All useful colors are blocked!?!?! > In another test I saved "black" as background and got "black" in .emacs but red in emacs search !?!?! I tested all colors changing (custom-set-faces '(isearch ((((class color) (min-colors 8)) (:background "white" :foreground "black")))) background entry. Only "green" appears as green, all other colors change to other colors! What a mess! Inserting "white" results in blue (cyan) background, and in combination with foreground black (that appears as black, what a surprise!) I CAN WORK!!! Black on cyan is readable!!! GREAT! As next "isearch-fail" was also unreadable , red background and grey foreground. I went to configuration with M-x customize-apropos-faces RET isearch RET and saved somewhat color for background. I looked at my .emacs file and detected: '(isearch-fail ((((class color) (min-colors 8)) (:background "red"))))) I tested all possible colors yellow, black, green, .... All colors appeard in other color like observed with "isearch", inserting "cyan1" instead von red I get lightblue (=cyan) at isearch-fail. And I CAN READ IT AND I CAN WORK! What surprise and what a mess ... After I detected that "isearch" was resetted to magenta background ..., I looked at .emacs and indeed: emacs config has manipulated the colors in isearch entry although I didn' change "isearch" in M-x customize-apropos-faces RET isearch RET !! What mess, bugs-over-bugs ... in emacs 23.3+1-1ubuntu9.1 Eckard