From mboxrd@z Thu Jan 1 00:00:00 1970 From: 42 147 Subject: Re: hiding footnotes Date: Wed, 28 Nov 2012 22:24:39 -0500 Message-ID: References: <87sj7t4p0l.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=14dae9340b43bd228804cf99d2bc Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tdujx-0003JS-BC for emacs-orgmode@gnu.org; Wed, 28 Nov 2012 22:24:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tdujw-0006jk-5u for emacs-orgmode@gnu.org; Wed, 28 Nov 2012 22:24:41 -0500 Received: from mail-ie0-f169.google.com ([209.85.223.169]:64751) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tdujw-0006jf-11 for emacs-orgmode@gnu.org; Wed, 28 Nov 2012 22:24:40 -0500 Received: by mail-ie0-f169.google.com with SMTP id c14so9350562ieb.0 for ; Wed, 28 Nov 2012 19:24:39 -0800 (PST) In-Reply-To: <87sj7t4p0l.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jambunathan K Cc: emacs-orgmode@gnu.org --14dae9340b43bd228804cf99d2bc Content-Type: text/plain; charset=ISO-8859-1 Very nice. However, I'd like to write a function that toggles the color value (without recourse to the customize menu), since it would be useful to highlight the footnotes from time to time. After some tests, it is clear I also disliked the underlining. On Wed, Nov 28, 2012 at 12:26 PM, Jambunathan K wrote: > > > Reading an org-file. I should note, it is the highlighting that is the > > problem, not the footnote itself. If I could somehow toggle it to the > > color of the text, that would solve my problem. > > Put your cursor on the footnote. Then do > > C-u C-x = > > In the resulting buffer, toward the end, you will see something like > this. > > ,---- > | There are text properties here: > | face org-footnote > | font-lock-fontified t > | font-lock-multiline t > | fontified t > | help-echo "Footnote reference" > | keymap [Show] > | mouse-face highlight > | org-category "test-new" > | org-no-flyspell t > `---- > > Click on the face property (which is `org-footnote'). Click on > "customize this face" link. Change the face foreground color to > whatever you want. > > Or > > A fast way to do that would be > M-x customize-face RET org-footnote RET > > You can also try > M-x customize-group RET org-faces RET > -- > --14dae9340b43bd228804cf99d2bc Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Very nice.

However, I'd like to write a function that toggles t= he color value (without
recourse to the customize menu), since it would = be useful to highlight the
footnotes from time to time.

After som= e tests, it is clear I also disliked the underlining.

On Wed, Nov 28, 2012 at 12:26 PM, Jambunatha= n K <kjambunathan@gmail.com> wrote:

> Reading an org-file. I should note, it is the highlighting that is the=
> problem, not the footnote itself. If I could somehow toggle it to the<= br> > color of the text, that would solve my problem.

Put your cursor on the footnote. =A0Then do

=A0 =A0 C-u C-x =3D

In the resulting buffer, toward the end, you will see something like
this.

=A0 =A0 ,----
=A0 =A0 | There are text properties here:
=A0 =A0 | =A0 face =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 org-footnote
=A0 =A0 | =A0 font-lock-fontified =A0t
=A0 =A0 | =A0 font-lock-multiline =A0t
=A0 =A0 | =A0 fontified =A0 =A0 =A0 =A0 =A0 =A0t
=A0 =A0 | =A0 help-echo =A0 =A0 =A0 =A0 =A0 =A0"Footnote reference&quo= t;
=A0 =A0 | =A0 keymap =A0 =A0 =A0 =A0 =A0 =A0 =A0 [Show]
=A0 =A0 | =A0 mouse-face =A0 =A0 =A0 =A0 =A0 highlight
=A0 =A0 | =A0 org-category =A0 =A0 =A0 =A0 "test-new"
=A0 =A0 | =A0 org-no-flyspell =A0 =A0 =A0t
=A0 =A0 `----

Click on the face property (which is `org-footnote'). =A0Click on
"customize this face" link. =A0Change the face foreground color t= o
whatever you want.

Or

A fast way to do that would be
=A0 =A0 M-x customize-face RET org-footnote RET

You can also try
=A0 =A0 M-x customize-group RET org-faces RET
--

--14dae9340b43bd228804cf99d2bc--