From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: outline does not change heading line endings Date: Fri, 26 Oct 2007 21:54:42 +0200 Message-ID: <47224602.3070002@student.lu.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1193431594 8522 80.91.229.12 (26 Oct 2007 20:46:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Oct 2007 20:46:34 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 26 22:46:36 2007 Return-path: Envelope-to: geb-bug-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 1IlW4f-0005S1-CG for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Oct 2007 22:46:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IlW4W-0004P1-Au for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Oct 2007 16:46:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IlVGh-00064o-Cc for bug-gnu-emacs@gnu.org; Fri, 26 Oct 2007 15:54:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IlVGf-00062s-PH for bug-gnu-emacs@gnu.org; Fri, 26 Oct 2007 15:54:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IlVGf-00062c-F1 for bug-gnu-emacs@gnu.org; Fri, 26 Oct 2007 15:54:53 -0400 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IlVGe-0003u7-R5 for bug-gnu-emacs@gnu.org; Fri, 26 Oct 2007 15:54:53 -0400 Original-Received: from c83-254-148-228.bredband.comhem.se ([83.254.148.228]:64795 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1IlVGb-00014e-5r for bug-gnu-emacs@gnu.org; Fri, 26 Oct 2007 21:54:50 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666 X-Antivirus: avast! (VPS 071025-1, 2007-10-25), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.148.228 X-Scan-Result: No virus found in message 1IlVGb-00014e-5r. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1IlVGb-00014e-5r ad21c4112b530691f8837c7171fe586e X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) X-Mailman-Approved-At: Fri, 26 Oct 2007 16:46:22 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16846 Archived-At: In outline there are two variables that are used to match heading lines, outline-regexp and outline-heading-end-regexp. When using outline-demote etc only the beginning of the heading is changed even if both this variables have similar values. An example of this is if you try to edit wiki articles and have the variables set with something like this: (set (make-local-variable 'outline-regexp) "==+") (set (make-local-variable 'outline-heading-end-regexp) "==+") Wiki header lines look like this: = H1 = == H2 == === H3 === This is for Emacs 22.