From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Ideas for hl-line-mode Date: Fri, 30 Sep 2011 18:01:03 +0300 Message-ID: <83wrcqcbww.fsf@gnu.org> References: <838vp6ecsk.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1317394898 21380 80.91.229.12 (30 Sep 2011 15:01:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 30 Sep 2011 15:01:38 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dave Abrahams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 30 17:01:35 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R9eak-0004gL-Bp for ged-emacs-devel@m.gmane.org; Fri, 30 Sep 2011 17:01:34 +0200 Original-Received: from localhost ([::1]:43935 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9eak-0000gP-0h for ged-emacs-devel@m.gmane.org; Fri, 30 Sep 2011 11:01:34 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:42896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9eah-0000gA-Hd for emacs-devel@gnu.org; Fri, 30 Sep 2011 11:01:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R9eaf-00089M-N0 for emacs-devel@gnu.org; Fri, 30 Sep 2011 11:01:31 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:58426) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9eaf-00088s-D2 for emacs-devel@gnu.org; Fri, 30 Sep 2011 11:01:29 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LSC00C00CCON600@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Fri, 30 Sep 2011 18:01:00 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.74.35]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LSC00CAHCDN9890@a-mtaout22.012.net.il>; Fri, 30 Sep 2011 18:01:00 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 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:144496 Archived-At: > From: Dave Abrahams > Cc: emacs-devel@gnu.org > Date: Fri, 30 Sep 2011 10:17:25 -0400 > > > Does > > > > (eq (get major-mode 'mode-class) 'special) > > > > do what you want? > > Cool, I was hoping someone would point out an existing facility I didn't > know about... > > Oh, interesting. It's probably a very good heuristic, though I'm not > sure the description of this mode-class as "only for specially-prepared > text" really implies that horizontal position is irrelevant. If you provide a list of those modes which you are interested in, we could see whether the fact they are `special' is a coincidence or something else.