Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Pascal Bourguignon <pjb@informatimago.com>
To: info-gnus-english@gnu.org
Subject: Re: message bullet/lists
Date: Wed, 07 Feb 2007 20:21:09 +0100	[thread overview]
Message-ID: <87odo522qi.fsf@thalassa.informatimago.com> (raw)
In-Reply-To: <8764aednuc.fsf@gmail.com>

Hadron <hadronquark@gmail.com> writes:

> When composing a mail in emacs/gnus is it possible to create an auto
> numbering list/sequence of bullet points?
>
> e.g
>
> 1 - read gnus manual
> 2 - install gnus
> 3 - figure out how to get a list like this
>
> thanks for any info (clearly I dont want to use muse for this).

Write the list:

- read gnus manual
- install gnus
- figure out how to get a list like this

Type: M-: (setq i 0) RET

Select the list, and type:

M-x replace-regexp RET \(.*\) RET \,(format "%3d %s" (incf i) \1) RET

  1 - read gnus manual
  2 - install gnus
  3 - figure out how to get a list like this

 
-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

COMPONENT EQUIVALENCY NOTICE: The subatomic particles (electrons,
protons, etc.) comprising this product are exactly the same in every
measurable respect as those used in the products of other
manufacturers, and no claim to the contrary may legitimately be
expressed or implied.

  reply	other threads:[~2007-02-07 19:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-07 14:49 Hadron
2007-02-07 19:21 ` Pascal Bourguignon [this message]
2007-02-11  1:02 ` Bastien

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=87odo522qi.fsf@thalassa.informatimago.com \
    --to=pjb@informatimago.com \
    --cc=info-gnus-english@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.
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 NNTP newsgroup(s).