From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Newsgroups: gmane.emacs.help Subject: Re: code folding with ? Date: Mon, 09 Apr 2012 12:07:44 +0200 Message-ID: <87aa2lgqvj.fsf@altern.org> References: <87ty0wdkyc.fsf@live.com> <874nsv99x9.fsf@altern.org> <87mx6mtvgq.fsf@live.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1333966004 7436 80.91.229.3 (9 Apr 2012 10:06:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 9 Apr 2012 10:06:44 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Yagnesh Raghava Yakkala Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 09 12:06:41 2012 Return-path: Envelope-to: geh-help-gnu-emacs@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 1SHBUf-0006TO-78 for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Apr 2012 12:06:41 +0200 Original-Received: from localhost ([::1]:39476 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHBUe-0007Ks-G3 for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Apr 2012 06:06:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHBUY-0007Kn-5z for help-gnu-emacs@gnu.org; Mon, 09 Apr 2012 06:06:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SHBUW-00063K-BH for help-gnu-emacs@gnu.org; Mon, 09 Apr 2012 06:06:33 -0400 Original-Received: from mail-we0-f169.google.com ([74.125.82.169]:43450) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHBUW-000630-2S for help-gnu-emacs@gnu.org; Mon, 09 Apr 2012 06:06:32 -0400 Original-Received: by werj55 with SMTP id j55so3194511wer.0 for ; Mon, 09 Apr 2012 03:06:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=sender:from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type:content-transfer-encoding; bh=LfV75M8gld5BIft02iq+M8ISvP3rdr1Eq2E17JgMDHA=; b=WuWZCzFXM9Urs0yPZcAfAf+dunqubnQpfO36bVBVdxAx4WYqfUoYGiJZ9nxwThKnw7 ZrxFQAyzl3O9fOZu4mmWfU1r2SDrGvCobzKPka188oPHTZNLSqaHsxS1evW7hcKh4WEW YlCwwh/a1tZl+S6OBt614oPH7YyVQZs+kGQZkPWgqlbsDsSlwtDiRimbhuzcQvDmMWoH rihPP/HWhCdiidZFXku28Tx47HA7abJyLiovMk5pAOZl2/99vN2XE3BJZFNTtwJ8w/1s 5xm4CFVRozoiZnYnwdnaxMIBqht82XWuN0dv73ol5YsuwGzgzv8oGCR1uVlkLNcYKJTp 0FmQ== Original-Received: by 10.180.101.8 with SMTP id fc8mr14777183wib.12.1333965990041; Mon, 09 Apr 2012 03:06:30 -0700 (PDT) Original-Received: from myhost.localdomain (pha75-11-82-236-86-204.fbx.proxad.net. [82.236.86.204]) by mx.google.com with ESMTPS id 17sm30477002wis.0.2012.04.09.03.06.28 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 09 Apr 2012 03:06:29 -0700 (PDT) Original-Received: by myhost.localdomain (Postfix, from userid 1000) id 313A5856E; Mon, 9 Apr 2012 12:07:45 +0200 (CEST) In-Reply-To: <87mx6mtvgq.fsf@live.com> (Yagnesh Raghava Yakkala's message of "Sun, 08 Apr 2012 18:37:57 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:84386 Archived-At: Hi Yagnesh, Yagnesh Raghava Yakkala writes: > Wow this is great, working nice too (except when point is at the end of > buffer). I didn't think, Org itself can be used here. I wonder why its not > working with other programming modes, say perl and python. This is because lisp-mode.el sets the value for ̀outline-regexp': (setq outline-regexp ";;;\\(;* [^ \t\n]\\|###autoload\\)\\|(") I don't know about other modes. Perhaps you can try to patch Emacs and set a relevant value for `outline-regexp' (among other changes, see lisp-mode.el for details.) HTH, -- Bastien