From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ken Newsgroups: gmane.emacs.help Subject: Re: upgrade nonsensifies fill-paragraph Date: Mon, 31 Dec 2012 07:57:37 -0500 Message-ID: <50E18BC1.5000202@mousecar.com> References: <294728dc-130c-4f96-aa30-a06ee100ba5e@googlegroups.com> Reply-To: gebser@mousecar.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1356958674 24504 80.91.229.3 (31 Dec 2012 12:57:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Dec 2012 12:57:54 +0000 (UTC) To: GNU Emacs List Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 31 13:58:11 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 1TpewU-0006J2-Aa for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Dec 2012 13:58:10 +0100 Original-Received: from localhost ([::1]:34783 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TpewF-0003Vx-K1 for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Dec 2012 07:57:55 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:60046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tpew9-0003Vq-Iw for help-gnu-emacs@gnu.org; Mon, 31 Dec 2012 07:57:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tpew7-0008Pk-SY for help-gnu-emacs@gnu.org; Mon, 31 Dec 2012 07:57:49 -0500 Original-Received: from mout.perfora.net ([74.208.4.194]:54378) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tpew7-0008Pf-M2 for help-gnu-emacs@gnu.org; Mon, 31 Dec 2012 07:57:47 -0500 Original-Received: from dellap.mousecar.net (dsl093-011-016.cle1.dsl.speakeasy.net [66.93.11.16]) by mrelay.perfora.net (node=mrus3) with ESMTP (Nemesis) id 0MXqFb-1TV9ms2mut-00WMnj; Mon, 31 Dec 2012 07:57:45 -0500 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.11) Gecko/20121120 Thunderbird/10.0.11 In-Reply-To: <294728dc-130c-4f96-aa30-a06ee100ba5e@googlegroups.com> X-Provags-ID: V02:K0:bCpync9nBgFvyyxC3k39IQNnJ3BeQuefg51lGdu8m3/ O3oQ3iUo/F4bmIshX2icB15dbMYEVF86+pCUgpQm4zTbgUC3NT A76Xtg/uI9f2snftj4kk9H/2cbV4ygggzlXN2l6e+uttifJlTL vSC2UbauA3545YiyppSBpHtbJrDNQaCj9eGVkYKhjCGYkazlE5 rg9ri8SdcTeXE+9Sc7Dw6CVZJkSyhwSEG8Ndk9Q9V2mpnoN94s 5qvYAoC0fGnC/me+fSxSB2HA3COUfL+FqkTwGqzhwPl0t4DnZN ddJMbhv2e1d4MYPrmvP/e0jnkCRgPl6EEVLHPIi2eoznD8NQCz pPM1dEgk3q9C+kbBirTIVUk1Hk18Bfaku0zUkHly7 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 74.208.4.194 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:88371 Archived-At: On 12/31/2012 02:07 AM Jason Rumney wrote: > On Wednesday, 26 December 2012 02:15:10 UTC+8, ken wrote: > >> The problem, I believe, has to do with emacs' definition of what >> signifies the end of a paragraph. But I couldn't find any such >> definition. Any help? > > What is the major mode for the buffer? Is it the same as in Emacs > 21.4 previously, or different? You ask a good question. Yes, it's the same and it's called html-helper-mode. In both versions I loaded/visited html files/buffers which then became subject to this hook in my ~/.emacs: (autoload 'html-helper-mode "html-helper-mode" "Yay HTML" t) Current version is: GNU Emacs 22.1.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2012-12-14. I thought that perhaps in this newer version there was some minor mode loaded by default (automatically, without my intention) which caused the change of behavior. Output from "C-h m" for current emacs version (redacted for brevity): --------------------------------------------------------------- Enabled minor modes: Abbrev Auto-Compression Auto-Fill Blink-Cursor Delete-Selection Desktop-Save Encoded-Kbd File-Name-Shadow Font-Lock Global-Font-Lock Line-Number Menu-Bar Mouse-Wheel Pc-Selection Shell-Dirtrack Show-Paren Tool-Bar Tooltip Unify-8859-On-Encoding Utf-Translate-Cjk (Information about these minor modes follows the major mode info.) HTML helper mode: Mode for editing HTML documents. The main function html-helper-mode provides is a menu and keybindings for the HTML tags one inserts when writing HTML documents. Selecting the menu item or typing the key sequence for a command inserts the corresponding tag and places point in the right place. If a prefix argument is supplied, the tags is instead wrapped around the region. Alternately, one can type in part of the tag and complete it with M-TAB. There is also code for indentation, timestamps, skeletons for new documents, and lots of other neat features. Uses :`visual-basic-mode' (optional - see below ) for ASP and VBScript `easymenu' for menu creation `cc-mode' for javascript support `tempo' for templates Supports server (actually ASP & PHP, JSP) and client (JavaScript, VBScript) scripting Customizable flags you would like to alter `html-helper-mode-uses-visual-basic' : non nil requires visual-basic-mode and activates ASP and VBScript support functions `html-helper-mode-uses-bold-italic' : non nil creates a bold italic face (could fail if there's not such face available) `html-helper-mode-uses-KG-style' : nil to make Emacs consider PHP/JSP/ASP code blocks beginning in the first colum `html-helper-mode-global-JSP-not-ASP' : non nil to make Emacs consider <% %> sequence as JSP blocks by default in html-helper-mode, set to nil in asp-html-helper-mode, set to t in jsp-html-helper-mode. Alter the behaviour locally by changing html-helper-mode-local-JSP-not-ASP value Special command (not in menu - default bound to [f4]): attempts a smart narrowing to the current scripting block. Fails in client script containing server script sections. key binding --- ------- C-c Prefix Command TAB html-helper-indent-command RET newline-and-indent ESC Prefix Command html-script-toggle-narrow .... Written by nelson@santafe.edu, http://www.santafe.edu/~nelson/ Mantained by lauri@eng.it, http:/www.gest.unipd.it/~saint/ Abbrev minor mode (indicator Abbrev): Toggle Abbrev mode in the current buffer. With argument ARG, turn abbrev mode on iff ARG is positive. In Abbrev mode, inserting an abbreviation causes it to expand and be replaced by its expansion. Auto-Compression minor mode (no indicator): Toggle automatic file compression and uncompression. With prefix argument ARG, turn auto compression on if positive, else off. Return the new status of auto compression (non-nil means on). Auto-Fill minor mode (indicator Fill): Toggle Auto Fill mode. With arg, turn Auto Fill mode on if and only if arg is positive. In Auto Fill mode, inserting a space at a column beyond `current-fill-column' automatically breaks the line at a previous space. The value of `normal-auto-fill-function' specifies the function to use for `auto-fill-function' when turning Auto Fill mode on. .... ---------------------------------------------------------------