From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Is there any elisp functions to tell whether the cursor is in a comment block? Date: Tue, 15 Jul 2008 14:21:25 -0700 Message-ID: <001c01c8e6c0$bd3203a0$0200a8c0@us.oracle.com> References: <87tzetis7w.fsf@DEBLAP1.BeNet> <71bcf427-442c-45b8-95d6-5f8289c85297@z72g2000hsb.googlegroups.com> <87iqv8sdyi.fsf@DEBLAP1.BeNet> <87mykk1b1r.fsf@DEBLAP1.BeNet><487BDF2F.8010202@gmail.com> <487C526A.6010806@gmail.com> <003201c8e685$3d7f9770$0200a8c0@us.oracle.com> <487D0D8B.7050907@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1216156994 5113 80.91.229.12 (15 Jul 2008 21:23:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Jul 2008 21:23:14 +0000 (UTC) Cc: 'Tom Tromey' , help-gnu-emacs@gnu.org To: "'Lennart Borgman \(gmail\)'" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 15 23:24:02 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KIs04-0001tE-95 for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Jul 2008 23:23:56 +0200 Original-Received: from localhost ([127.0.0.1]:58147 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIrzB-00033z-QL for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Jul 2008 17:23:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KIrys-00033d-36 for help-gnu-emacs@gnu.org; Tue, 15 Jul 2008 17:22:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KIryq-000336-I7 for help-gnu-emacs@gnu.org; Tue, 15 Jul 2008 17:22:41 -0400 Original-Received: from [199.232.76.173] (port=36733 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIryq-000333-CB for help-gnu-emacs@gnu.org; Tue, 15 Jul 2008 17:22:40 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]:39180) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KIryq-0006qw-5Z for help-gnu-emacs@gnu.org; Tue, 15 Jul 2008 17:22:40 -0400 Original-Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.186.110]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m6FLMZLw023142; Tue, 15 Jul 2008 15:22:35 -0600 Original-Received: from acsmt350.oracle.com (acsmt350.oracle.com [141.146.40.150]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m6E8MO18017625; Tue, 15 Jul 2008 15:22:34 -0600 Original-Received: from inet-141-146-46-1.oracle.com by acsmt351.oracle.com with ESMTP id 3709123741216156880; Tue, 15 Jul 2008 14:21:20 -0700 Original-Received: from dradamslap1 (/141.144.75.28) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 15 Jul 2008 14:21:20 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <487D0D8B.7050907@gmail.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Thread-Index: AcjmvSXzgUldnrtZTfCkvWXNbAIufgAAvrwg X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:55607 Archived-At: > >> I am thinking about a page on EmacsWiki that holds the > >> information. This page could for example have entries like > >> > >> === Tabkey2.el 21=n 22=y 23=y === > >> elisp:tabkey2.el > >> comment ... comment ... > >> > >> ELPA could then fetch information from this page. And > >> users could too. > >> > >> The elisp pages on EmacsWiki could at the bottom have a link > >> to this page. > > > > A file-header field in each library file can give the same > > information. I use this field, for example: > > > > ;; Compatibility: GNU Emacs 20.x, GNU Emacs 21.x, GNU Emacs 22.x > > > > However, the field value is free-form at present. A > > conventional form would let tools pick up the value. > > > > An advantage is locality of reference and update: some > > developers are more likely to update a file header field than > > a separate wiki page. > > Yes, that might be good too, but it can't be used for packages. Why not? If a tool (e.g. ELPA) can pick up the info from a wiki page, as you suggest, why can't it pick it up from an elisp file (which can also be a wiki page) or a "package file" or whatever. IOW, whatever info you would provide in the form you suggested could alternatively be provided in the source code itself. No?