all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ken <gebser@speakeasy.net>
To: GNU Emacs List <help-gnu-emacs@gnu.org>
Subject: Re: change in fill-paragraph
Date: Sun, 20 Apr 2008 06:26:22 -0400	[thread overview]
Message-ID: <480B1A4E.7090404@speakeasy.net> (raw)
In-Reply-To: <76CdneycsJm7BpfVnZ2dnUVZ_hninZ2d@sysmatrix.net>

On 04/19/2008 09:24 PM B. T. Raven wrote:
> ken wrote:
>>
>> With the versions of emacs I've been using for years, fill-paragraph 
>> won't fill/reformat include in its definition of a paragraph any line 
>> which begins with a space.  However, the newer emacs version I use at 
>> work will.  That is,
>>
>> (1) In the older versions, this will be
>> one paragraph.  M-q will reformat it
>> fine.  I like it this way.
>>  (2) In the older versions, having just a
>> single space at the beginning
>> of a line tells paragraph-fill that this is
>> a separate paragraph.  So this would be a
>> separate paragraph.
>>  (3) In the new emacs version, all of these
>> would constitute one paragraph and so be
>> filled together.  I would much prefer the older way
>> fill-paragraph works... so that (1), (2), and (3)
>> stay where they are.
>>
>> How would I restore the old behavior to the new version of emacs?
>>
>>
>> Thanks much.
>>
> 
> You can get this with
> 
> "(paragraph-indent-text-mode)
> 
> Major mode for editing text, with leading spaces starting a paragraph.
> In this mode, you do not need blank lines between paragraphs
> when the first line of the following paragraph starts with whitespace.
> `paragraph-indent-minor-mode' provides a similar facility ..."

Thanks for this, but I didn't want to change the entire mode, as the 
behavior above by fill-paragraph happens also when I'm using 
html-helper-mode, what I use for editing/creating html.  It may well 
happen in other modes also, e.g., perl-mode, c-mode... not sure, because 
I haven't tried a lot of other modes at work yet.

In brief, I just want to change the behavior of fill-paragraph back to 
what it was previously for all modes.  If paragraph-indent-minor-mode 
will do this, what would I need to put in ~/.emacs to invoke it for any 
file I might open and not have "paragraph-indent-minor-mode" show up in 
the mode line?  (My mode line already is already occupied with all it 
can accomodate.)


Again, thanks for your help.


-- 
The significant problems we face cannot be solved at the
same level of thinking we were at when we created them.
	-- Albert Einstein





  reply	other threads:[~2008-04-20 10:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.10585.1208626191.18990.help-gnu-emacs@gnu.org>
2008-04-20  1:24 ` change in fill-paragraph B. T. Raven
2008-04-20 10:26   ` ken [this message]
     [not found]   ` <mailman.10602.1208687193.18990.help-gnu-emacs@gnu.org>
2008-04-20 17:32     ` B. T. Raven
2008-04-22  6:57       ` ken
2008-04-22 22:30         ` ken
2008-04-30  3:39           ` John J Foerch
2008-04-19 17:29 ken

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=480B1A4E.7090404@speakeasy.net \
    --to=gebser@speakeasy.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.