From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daimrod Newsgroups: gmane.emacs.devel Subject: Re: Finding packages to enable by default Date: Fri, 20 Jun 2014 08:57:24 +0900 Message-ID: <87sin0tpuj.fsf@tanger.home> References: <87ob4fg3zp.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1403222272 29880 80.91.229.3 (19 Jun 2014 23:57:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Jun 2014 23:57:52 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 20 01:57:45 2014 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 1WxmDB-0006f5-Fn for ged-emacs-devel@m.gmane.org; Fri, 20 Jun 2014 01:57:45 +0200 Original-Received: from localhost ([::1]:38377 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxmDB-00013h-1z for ged-emacs-devel@m.gmane.org; Thu, 19 Jun 2014 19:57:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxmD2-000139-Be for emacs-devel@gnu.org; Thu, 19 Jun 2014 19:57:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxmCw-0007d8-Tz for emacs-devel@gnu.org; Thu, 19 Jun 2014 19:57:36 -0400 Original-Received: from mail-pd0-x230.google.com ([2607:f8b0:400e:c02::230]:60304) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxmCw-0007ct-Mn for emacs-devel@gnu.org; Thu, 19 Jun 2014 19:57:30 -0400 Original-Received: by mail-pd0-f176.google.com with SMTP id ft15so2321891pdb.21 for ; Thu, 19 Jun 2014 16:57:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=fE1Jqc4BsPII9cGTRph9WzdfWK3FyjRvtdoRFfnNv1w=; b=Yvz4D3nHdYFNFda+pPHlHkxAsoPoS3hDoCYN4xaeXhKBhT1JJllH8n4FB08n97ZBwr iQfCv8hBeIKr8+NWDJsofR/wNaM2eeEB+ftWs7JAtUwUYKRFCFyRmOl1BlUHAvC04Fr4 8Wu0tWwPcOXnxz9A4nUu7warl/qsnJrbsd9neeEic7HeDVu5a1yHFRsaUtxCg1jI0UWK DkcDQW84cPXQEW2AA3oZAIUrIkC+SmWiFbdD/3tYO1qPvzmIBpmg/h7ZlpiCGI6K1IQm 07ArxknTKHkgkb8IhWqGSrra7pqTvLhHaX8VjuN5HyXyaWpuU8HMUxiIDLUNM/2nTO8w O5Jw== X-Received: by 10.66.161.69 with SMTP id xq5mr9670825pab.62.1403222249010; Thu, 19 Jun 2014 16:57:29 -0700 (PDT) Original-Received: from localhost (i118-21-141-133.s30.a048.ap.plala.or.jp. [118.21.141.133]) by mx.google.com with ESMTPSA id ty3sm33849472pab.20.2014.06.19.16.57.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Jun 2014 16:57:27 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Thu, 19 Jun 2014 11:26:40 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c02::230 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:172549 Archived-At: Stefan Monnier writes: >> | flyspell-mode | 41 | > > I'd be happy to enable this by default, but we currently don't have > a `global-flyspell-mode', so we need someone to write one for us. > Such a global mode should be careful to only enable flyspell where it > "makes sense". E.g. I think that by default in prog-mode buffers, only > strings and comments should be flyspell'd. Couldn't we just use regular hooks instead of a global mode? (add-hook 'text-mode-hook 'flyspell-mode) (add-hook 'prog-mode-hook 'flyspell-prog-mode) Best, -- Daimrod/Greg