From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: turn on orgalist in message buffer Date: Mon, 07 May 2018 10:34:32 +0200 Message-ID: <87y3gvq2xz.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFbe4-0000JS-9j for emacs-orgmode@gnu.org; Mon, 07 May 2018 04:37:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fFbe1-0004ah-6R for emacs-orgmode@gnu.org; Mon, 07 May 2018 04:37:20 -0400 Received: from [195.159.176.226] (port=42020 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fFbe0-0004aB-VU for emacs-orgmode@gnu.org; Mon, 07 May 2018 04:37:17 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fFbbr-0007CP-No for emacs-orgmode@gnu.org; Mon, 07 May 2018 10:35:03 +0200 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" To: emacs-orgmode@gnu.org Hi Maybe I am old fashioned but is the only way of turning orgalist on in a message buffer. (defun turn-on-orgalist () (interactive) (orgalist-mode 'toggle)) (add-hook 'mail-mode-hook 'turn-on-orgalist) (add-hook 'message-mode-hook 'turn-on-orgalist) I could use a anonymous lambda function, but I try to avoid that in a hook. Uwe Brauer