From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: Changing colour of ruler-mode-current-column Date: Sun, 11 Sep 2022 13:57:44 +0200 Message-ID: References: <83k06aa3xs.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28760"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 11 13:58:36 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oXLbf-0007KP-QA for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 11 Sep 2022 13:58:35 +0200 Original-Received: from localhost ([::1]:35890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXLbe-00078l-R9 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 11 Sep 2022 07:58:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34692) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXLaz-00078S-B6 for help-gnu-emacs@gnu.org; Sun, 11 Sep 2022 07:57:53 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:41077) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXLaw-0006yp-FK; Sun, 11 Sep 2022 07:57:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1662897464; bh=xyJRnKs9Izqt0fyqEJMxUa50I9dlLzMwvfNw4ES9/j4=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=f2sXpKnsbAJZ96tXGwAiPnapxgxUMha/b/f9ZpCLMYYXGkVD321/LUQS4i3eW8JEm fV4tTuNrS71y/N/tgbrTB+2JCMPtZ9RdUVS5l0ScmA8UgSOKK0Mq7/tCpynOQCjmVo d4ozwD6K4u/m0JuWJrasozmeHj9ksOaruqLOqBIc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [92.251.127.164] ([92.251.127.164]) by web-mail.gmx.net (3c-app-mailcom-bs04.server.lan [172.19.170.170]) (via HTTP); Sun, 11 Sep 2022 13:57:44 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <83k06aa3xs.fsf@gnu.org> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:qiWmt+Odumdh53QGeKrWoE5wrKRC0Q2lQwypSbDb1JYZ+VtDdOBkwTwSi/cxsTNVAK177 +XSKP6JWCNrb398Ab9U03foPLJLiDqOth0Ic0na7FBsdM/jvMFR/OlPjXOPWtSqz2BaEj47pim42 KfRNLsV7mLrT0mxOludyIerd/El//8YzdV0J7pWZOty6vsOd/bQJPe2ocwSi1jnWA8jKfS8ckgPB o5ty6ONBasipPSpesH/ESmB9nUCm05ECF2jVsvDzDeaaKvXfHxslPm4fs4HqLnds3qScQ7Ihc8nE Xk= X-UI-Out-Filterresults: notjunk:1;V03:K0:Bzjef1elV+M=:xY3SI0jTaTGPbozU+ORJeD JcbuZDMp1q5tNfyuTngBtPM/ghfXaLqhjGv9xmx5T1i3GnvlDB9sixnVnbI8vJYjH0ySZrWhR UcUocCKtxGkZjwDqNObjcf0gO/eLDH1Tvh5q754j3DdnwRomX5CPA9D/G5yxxGEZ4LXVlkOUz EBqA29WXyKo/GOdWR81xwRaU0rbE/fnGd/xdAsk+Uy11cde+ZhzwPiE6AiwA7FcjCmZ3PYY5x Es6RcN+zOKNyWM5QS2j6cOs3xnvvtNypVCvoysd8pG+eJ4xMtj6wxjgGKm642sij3gqIHkZtZ lqTziXA9jhbuo2sD0Wr1RCYt/cbC2bNyIqEEtwTHh7a8oNkMCfryTQeXmK4Rkl71ey7Qo538S tRrYVZ61TILIVenvWnDBn/gf8uEQtiMPT1Y3WbpTzQ7+CIRYW5f2yz1EL+SeRz7jJOC4/Mbfv wC4PEqZj7waUwTUo+xlkrOVIvnmCfkJvxsfWlUDwkgICSmLvSH+wVzS2bOBkSR3Wc5s6qfPCu AeaIqDJwGY/6q2voydPwTdS2WHg1xS+1svLA/aQ8TKN/r37Fn7OZF7/ZMH7/XiJHJQ9Juwgc7 3qgdGCxdm9303A2uZC1VU8e8KL3rmiP2+2IDWmM7j7DESuu3wz/DFw45SCKlOhKaaNCdqxd5k tum0ax+zjo8W1eGu++E0UNo3y7n6UJ0d4JW/dZz8jXLI4Ky6JBfouKH5ux2NFlkD5QEom2Phh HqIDH8NURUEdbywZ+sfqSEoiFFkIaT8Iymni5r0Q5Oo5Qz1Ycih8YV7grkzOuJmxsSomH6nE Received-SPF: pass client-ip=212.227.15.15; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:139361 Archived-At: > Sent: Sunday, September 11, 2022 at 5:13 PM > From: "Eli Zaretskii" > To: help-gnu-emacs@gnu.org > Subject: Re: Changing colour of ruler-mode-current-column > > > Date: Sat, 10 Sep 2022 22:58:01 +0000 > > From: uzibalqa > > > > I am using ruler-mode and would like to change the background and fore= ground colour of the cursor indicator. > > > > Had a go but ruler-mode-current-column is not a face. > > > > (set-face-attribute 'ruler-mode-current-column nil > > :background "#ff4500" :foreground "#ffffff") > > Yes, ruler-mode-current-column _is_ a face, and the above works for > me: the colors of the current-column indicator change. There exists the possibility of needing this (require 'ruler-mode)