From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: List of major modes? Date: Thu, 10 Nov 2005 02:15:29 +0100 Message-ID: <43729F31.5090800@student.lu.se> References: <1131584641.442905.231770@z14g2000cwz.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1131585446 16338 80.91.229.2 (10 Nov 2005 01:17:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 10 Nov 2005 01:17:26 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 10 02:17:24 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ea12c-0004wt-O4 for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Nov 2005 02:15:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ea12c-0008KY-6G for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Nov 2005 20:15:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ea12R-0008KJ-Mc for help-gnu-emacs@gnu.org; Wed, 09 Nov 2005 20:15:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ea12R-0008K5-4P for help-gnu-emacs@gnu.org; Wed, 09 Nov 2005 20:15:39 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ea12Q-0008K2-VZ for help-gnu-emacs@gnu.org; Wed, 09 Nov 2005 20:15:39 -0500 Original-Received: from [81.228.11.159] (helo=pne-smtpout2-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ea12Q-00062x-Qm for help-gnu-emacs@gnu.org; Wed, 09 Nov 2005 20:15:39 -0500 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout2-sn1.fre.skanova.net (7.2.060.1) id 436FB1AD000C18C9; Thu, 10 Nov 2005 02:15:29 +0100 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: rgb In-Reply-To: <1131584641.442905.231770@z14g2000cwz.googlegroups.com> X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:30950 Archived-At: rgb wrote: >>Here's the best I could come up with: >> >>(apropos-internal "-mode\\'" >> (lambda (mode) >> (and (commandp mode) >> (string-match "\\`Major mode\\>" >> (documentation mode))))) >> >> > >Slick. >It needed a slight tweek on my machine running CVS Emacs. >(documentation mode) would sometimes return nil and blow up >string-match. tooltip-mode was one that returned nil. I don't >understand why though. It does seem to be documented.... hmm. > > C-h f tooltip-mode RET gives a default help string. This actually says that tooltip-mode is not documented.