From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thorsten Jolitz Newsgroups: gmane.emacs.devel Subject: Re: Modern Conventions for Emacs Lisp files? Date: Mon, 15 Apr 2013 10:37:21 +0200 Message-ID: <87y5cknq9q.fsf@gmail.com> References: <87hajhswdh.fsf@gmail.com> <87y5csu7ml.fsf@gmail.com> <87hajgu5bp.fsf@gmail.com> <87li8m3sny.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1366015058 32017 80.91.229.3 (15 Apr 2013 08:37:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Apr 2013 08:37:38 +0000 (UTC) Cc: Bastien To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 15 10:37:40 2013 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 1UReuv-00019d-IO for ged-emacs-devel@m.gmane.org; Mon, 15 Apr 2013 10:37:37 +0200 Original-Received: from localhost ([::1]:47311 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UReuv-0006xS-70 for ged-emacs-devel@m.gmane.org; Mon, 15 Apr 2013 04:37:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51091) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UReur-0006xE-BT for emacs-devel@gnu.org; Mon, 15 Apr 2013 04:37:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UReuq-000539-00 for emacs-devel@gnu.org; Mon, 15 Apr 2013 04:37:33 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:47926) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UReup-00052y-Q6 for emacs-devel@gnu.org; Mon, 15 Apr 2013 04:37:31 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UReuo-00011A-AQ for emacs-devel@gnu.org; Mon, 15 Apr 2013 10:37:30 +0200 Original-Received: from e178191116.adsl.alicedsl.de ([85.178.191.116]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Apr 2013 10:37:30 +0200 Original-Received: from tjolitz by e178191116.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Apr 2013 10:37:30 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 58 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: e178191116.adsl.alicedsl.de User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:WePFdNcnPyxqPD56YHIDG6ofsXY= 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:158916 Archived-At: Thorsten Jolitz writes: > PS > There is one strange problem I have: > > I can not open org.el any more, now that the oldschool elisp headers are > recognized by 'outshine' too. Its a big file, but size can't be the > problem since other quite big files open within 1 or 2 seconds or so. > When I try to open org.el, Emacs apparently goes into an infinite loop > and uses 100pc CPU - I have to kill the Emacs process and restart Emacs > to recover from that. > > What might be different in org.el than in all the other elisp files I > tested so far to cause this problem? FYI: I figured out whats different in org.el and causes the problem described above: its the one long line consisting only of ';' in the preamble, just above the 'Commentary:' section. ,------------------------------------------------------------------------------ | ;;; org.el --- Outline-based notes management and organizer | | ;; Carstens outline-mode for keeping track of everything. | ;; Copyright (C) 2004-2013 Free Software Foundation, Inc. | ;; | ;; Author: Carsten Dominik | ;; Maintainer: Bastien Guerry | ;; Keywords: outlines, hypermedia, calendar, wp | ;; Homepage: http://orgmode.org | ;; | ;; This file is part of GNU Emacs. | | [...] | | ;; You should have received a copy of the GNU General Public License | ;; along with GNU Emacs. If not, see . | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ;; | ;;; Commentary: | ;; | | [...] `------------------------------------------------------------------------------ I would prefer in this case not to investigate why this line causes such problems but rather to consider writing such a line a bug. So maybe Bastien could consider this a bug-report and remove this line? Because otherwise org.el with its more than 23000 lines is just a perfect example were the use of outline/outshine and navi-mode for file structuring, high-level (over)views on the file and easy navigation makes sense. -- cheers, Thorsten