From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Haines Brown Newsgroups: gmane.emacs.help Subject: Re: Changing color of transient mark Date: Thu, 12 Feb 2015 11:36:55 -0500 Message-ID: <87egpvccig.fsf@engels.histomat.net> References: <87lhk4jnuz.fsf@engels.histomat.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1423759227 9598 80.91.229.3 (12 Feb 2015 16:40:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Feb 2015 16:40:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 12 17:40:27 2015 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 1YLwoQ-0002Xw-Ry for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Feb 2015 17:40:23 +0100 Original-Received: from localhost ([::1]:51027 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLwoQ-0007c4-92 for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Feb 2015 11:40:22 -0500 Original-Path: usenet.stanford.edu!news.glorb.com!peer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!Xl.tags.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Thu, 12 Feb 2015 10:36:56 -0600 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:KvyXyfigm14jHXHdwAOHEwtAFMQ= Original-Lines: 19 X-Usenet-Provider: http://www.giganews.com Original-X-Trace: sv3-2j0Xeizu+8IFh7CDIYqBGFtLWcFKcsiZk8IAHvl+ipi85PmH07YoVMi6KWNstGf5bKYejVutQYaCHrc!kQ7QXYc2wDgpc9ADSvryqQ7sxqPQjFk9OSep/3GsUFKt6goAy64a5mYW7BAIQw== Original-X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1789 X-Received-Bytes: 1932 X-Received-Body-CRC: 3058819913 Original-Xref: usenet.stanford.edu gnu.emacs.help:210404 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:102681 Archived-At: Marcin Borkowski writes: > On 2015-02-11, at 19:37, Haines Brown wrote: > >> I'm running emacs 24.4.1, and the transient mark color is a very dark >> blue. This makes the highlighted text hard to read. >> >> Id like to redefine the background color something like this: >> >> ((transient-mark-mode 1) >> (set-background-color "mistyrose") >> (set-foreground-color "firebrick")) > See the function `set-face-attribute'. Because all my emacs sessions have the -q option and use their own init files, I'm unable to save the highlight background color. What lisp code would define the background within init files?