unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Passer By <sender@sender.send>
Subject: Looking for (fill-paragraph) Like Functions
Date: Wed, 29 Nov 2006 10:48:23 GMT	[thread overview]
Message-ID: <87d576msui.fsf@localhost.localdomain> (raw)




My first learned function and loved function of emacs was the M-q but
there are cases where M-q doesn't do exactly what i want and i would
like to make an improved version or find one somewhere.


Here is an example of what i would want my improved (fill-paragraph)
to do.


1) this is a sentence
2) this is another sentence in a list 
3) this is a sentence is long i would like to hit M-q now but emacs will not just rap this line it will rap all the lines and that makes me mad
4) this is another line M-q here would be good if it would make all the lines nice up to 1)


I would like my M-q to work for any "bulleted" list like this

so the above when My M-q'ed any place in the list would go to 

1) this is a sentence
2) this is another sentence in a list 
3) this is a sentence is long i would like to hit M-q now but emacs
   will not just rap this line it will rap all the lines and that
   makes me mad
4) this is another line M-q here would be good if it would make all
   the lines nice up to 1)

instead of this 


1) this is a sentence 2) this is another sentence in a list 3) this is
a sentence is long i would like to hit M-q now but emacs will not just
rap this line it will rap all the lines and that makes me mad 4) this
is another line M-q here would be good if it would make all the lines
nice up to 1)


Thanks!

             reply	other threads:[~2006-11-29 10:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-29 10:48 Passer By [this message]
2006-11-29 11:05 ` Looking for (fill-paragraph) Like Functions Mathias Dahl
2006-11-29 14:35 ` Micha Feigin
2006-11-29 15:00   ` Perry Smith
     [not found]   ` <mailman.1286.1164812410.2155.help-gnu-emacs@gnu.org>
2006-12-01 10:29     ` Passer By
2006-11-29 16:19 ` Floyd L. Davidson
2006-11-29 16:54   ` Markus Triska
2006-11-29 23:01     ` Floyd L. Davidson
2006-11-29 23:19       ` Markus Triska
2006-11-30  7:29         ` Floyd L. Davidson

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87d576msui.fsf@localhost.localdomain \
    --to=sender@sender.send \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).