Gnus development mailing list
 help / color / mirror / Atom feed
From: Gerd Moellmann <gerd@gnu.org>
Cc: bug-gnu-emacs@gnu.org, ding@gnus.org
Subject: Re: mail-utils.el (rmail-dont-reply-to) is still buggy
Date: Sat, 12 Feb 2000 17:43:59 +0100 (CET)	[thread overview]
Message-ID: <200002121643.RAA01313@online.de> (raw)
In-Reply-To: Jim Meyering's message of "09 Feb 2000 19:22:25 +0100"

Jim Meyering <meyering@ascend.com> writes:

> Obviously, I don't want the leading comma.
> 

This should fix it

diff -c -r1.1 mail-utils.el
*** mail-utils.el       2000/02/12 16:37:16     1.1
--- mail-utils.el       2000/02/12 16:42:07
***************
*** 247,253 ****
      (if (setq pos (string-match "[ ,\t\n]*\\'" userids))
        (setq userids (substring userids 0 pos)))
      ;; remove leading spaces. they bother me.
!     (if (string-match "\\s *" userids)
        (substring userids (match-end 0))
        userids)))
  
--- 247,253 ----
      (if (setq pos (string-match "[ ,\t\n]*\\'" userids))
        (setq userids (substring userids 0 pos)))
      ;; remove leading spaces. they bother me.
!     (if (string-match "\\(\\s \\|,\\)*" userids)
        (substring userids (match-end 0))
        userids)))
  



      reply	other threads:[~2000-02-12 16:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-25 21:20 string-match doesn't honor anchor when START is nonzero Jim Meyering
2000-01-26 14:42 ` Richard Stallman
2000-01-26 15:08   ` Jim Meyering
2000-01-26 16:07 ` Gerd Moellmann
2000-01-26 16:34   ` Jim Meyering
2000-01-27 12:53     ` Gerd Moellmann
2000-01-27 16:30       ` Jim Meyering
2000-02-09 18:22         ` mail-utils.el (rmail-dont-reply-to) is still buggy Jim Meyering
2000-02-12 16:43           ` Gerd Moellmann [this message]

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=200002121643.RAA01313@online.de \
    --to=gerd@gnu.org \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=ding@gnus.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).