From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Should outline-minor-mode be globalized? Date: Mon, 04 Apr 2016 08:39:18 -0400 Message-ID: References: <22273.54220.381234.312729@gargle.gargle.HOWL> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1459773649 993 80.91.229.3 (4 Apr 2016 12:40:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Apr 2016 12:40:49 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 04 14:40:40 2016 Return-path: Envelope-to: ged-emacs-devel@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 1an3o7-0002cg-Qo for ged-emacs-devel@m.gmane.org; Mon, 04 Apr 2016 14:40:39 +0200 Original-Received: from localhost ([::1]:58401 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1an3o7-0004iQ-Cr for ged-emacs-devel@m.gmane.org; Mon, 04 Apr 2016 08:40:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1an3ne-0004eu-Iq for emacs-devel@gnu.org; Mon, 04 Apr 2016 08:40:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1an3nZ-0002Yg-K4 for emacs-devel@gnu.org; Mon, 04 Apr 2016 08:40:10 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:58264) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1an3nZ-0002YJ-EI for emacs-devel@gnu.org; Mon, 04 Apr 2016 08:40:05 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1an3nX-0002KY-FN for emacs-devel@gnu.org; Mon, 04 Apr 2016 14:40:03 +0200 Original-Received: from 69-165-138-79.dsl.teksavvy.com ([69.165.138.79]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Apr 2016 14:40:03 +0200 Original-Received: from monnier by 69-165-138-79.dsl.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Apr 2016 14:40:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 69-165-138-79.dsl.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:e6ZiQhJn7yaejnDNrEX0zKH+oDE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:202680 Archived-At: >> It's nice to be able to globally turn on font-lock mode; on a similar note, >> it would be nice to be able to turn on outline-minor-mode globally -- rather >> than setting mode-specific hooks to turn on outline-minor-mode. >> Is there any risk in globalizing outline-minor-mode? > Wouldn't it really just be applicable in text-mode derived buffers? Actually I wouldn't expect it to be very much used in text-mode buffers. These use-cases are probably better supported by outline-mode or org-mode. But maybe (add-hook 'prog-mode-hook #'outline-minor-mode) covers Raman's needs? Stefan