all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: Andreas Roehler <andreas.roehler@easy-emacs.de>,
	rms@gnu.org, emacs-devel <emacs-devel@gnu.org>
Subject: Re: string-strip
Date: Wed, 21 Jun 2006 00:03:03 +0200	[thread overview]
Message-ID: <m31wtjscx4.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <17560.20884.675268.166167@kahikatea.snap.net.nz> (Nick Roberts's message of "Wed, 21 Jun 2006 07:50:44 +1200")

Nick Roberts <nickrob@snap.net.nz> writes:

>  > > 	(string-match
>  > >     "\\`[[:space:]\n]*\\(\\(?:.\\|\n\\)*?\\)[[:space:]\n]*\\'" str)
>  > >
>  > > I think [[:space:]] obeys the syntax table,
>  > > and that is not good.
>  > >
>  > >   
>  > Why not? :
>  > 
>  > Not to lobby the concept of syntax-tables as such, but
>  > 
>  > "The syntax table is relevant only for a buffer.
>  > This has nothing to do with any particular buffer."
>  > 
>  > AFAIU  just the syntax of the current buffer  will be used
>  > - where is the problem?
>  > 
>  > A white space is a white space is a white space ...
>
> Except when the syntax-table says otherwise.  In the speedbar,
> for example (, ), { ,[ etc are whitespace.

So don't use string-strip there if you want to preserve those chars.
Or ....

We now have three or four different opinions about something which
is utterly irrelevant, and diverting focus from the release!

Let me repeat my suggestion to postpone this to after the release.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

  reply	other threads:[~2006-06-20 22:03 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-16  8:07 string-strip Andreas Roehler
2006-06-19  7:42 ` string-strip Richard Stallman
2006-06-19 17:59   ` string-strip Lars Hansen
2006-06-19 18:24     ` string-strip Stuart D. Herring
2006-06-19 20:20       ` string-strip Lars Hansen
2006-06-19 20:23       ` string-strip Andreas Schwab
2006-06-19 22:04         ` string-strip Kim F. Storm
2006-06-19 23:19       ` string-strip Richard Stallman
2006-06-20  6:34         ` string-strip Lars Hansen
2006-06-20 17:55           ` string-strip Richard Stallman
2006-06-20 19:28             ` string-strip Andreas Roehler
2006-06-20 19:50               ` string-strip Nick Roberts
2006-06-20 22:03                 ` Kim F. Storm [this message]
2006-06-20 22:25                   ` string-strip Nick Roberts
2006-06-20 22:42                   ` string-strip Johan Bockgård
2006-06-21 16:47                     ` string-strip Lars Hansen
2006-06-22  9:15                       ` string-strip Kim F. Storm
2006-06-22 11:21                         ` string-strip Andreas Roehler
2006-06-22 15:48                           ` string-strip Kim F. Storm
2006-06-28 11:52                         ` string-strip Lars Hansen
2006-06-28 14:47                           ` string-strip Juri Linkov
2006-06-29 13:00                           ` string-strip Richard Stallman
2006-07-02 16:03                           ` string-strip Stefan Monnier
2006-07-03  9:58                             ` string-strip Lars Hansen
2006-07-06 22:22                               ` string-strip Stefan Monnier
2006-07-07 19:31                                 ` string-strip Richard Stallman
2006-07-08  3:59                                   ` string-strip Stefan Monnier
2006-07-08 20:57                                     ` string-strip Richard Stallman
2006-09-29  7:41                           ` string-strip Andreas Roehler
2006-09-29 14:22                             ` string-strip Lars Hansen
2006-09-29 18:40                               ` string-strip Andreas Roehler
2006-09-29 21:45                               ` string-strip Richard Stallman
2006-11-24 15:02                                 ` string-strip Andreas Roehler
2006-11-25  6:58                                   ` string-strip Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2006-06-20 10:26 string-strip Andreas Roehler

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=m31wtjscx4.fsf@kfs-l.imdomain.dk \
    --to=storm@cua.dk \
    --cc=andreas.roehler@easy-emacs.de \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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.