From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: hiding footnotes Date: Thu, 29 Nov 2012 11:54:19 +0530 Message-ID: <87vccp7wq4.fsf@gmail.com> References: <87sj7t4p0l.fsf@gmail.com> <3483.1354165215@alphaville> <87zk217ww5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdxVL-0004u0-4D for emacs-orgmode@gnu.org; Thu, 29 Nov 2012 01:21:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdxVK-0008Jd-8h for emacs-orgmode@gnu.org; Thu, 29 Nov 2012 01:21:47 -0500 Received: from mail-pa0-f41.google.com ([209.85.220.41]:56346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdxVK-0008JW-2g for emacs-orgmode@gnu.org; Thu, 29 Nov 2012 01:21:46 -0500 Received: by mail-pa0-f41.google.com with SMTP id bj3so6336275pad.0 for ; Wed, 28 Nov 2012 22:21:45 -0800 (PST) In-Reply-To: <87zk217ww5.fsf@gmail.com> (Jambunathan K.'s message of "Thu, 29 Nov 2012 11:50:42 +0530") 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: emacs-orgmode@gnu.org Jambunathan K writes: > Install the following defun, put the cursor on fontified text and do M-x > toggle-face. > > (defun toggle-face (&optional face-from) > (interactive (list (read-face-name "Face" (face-at-point)))) > (let ((f (assq face-from face-remapping-alist)) > (face-to 'default)) > (if f (setq face-remapping-alist (delq f face-remapping-alist)) > (push (cons face-from face-to) face-remapping-alist)))) > > See also (info "(elisp) Face Remapping") For the benefit of novice readers, you need to try M-x toggle-face RET and M-x toggle-face RET twice in succession.