From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: Possible misleading example in `Incremental Search' Info node
Date: Thu, 04 Aug 2016 15:56:15 +0200 [thread overview]
Message-ID: <86mvkszlhc.fsf@student.uu.se> (raw)
In-Reply-To: 87k2fwbu0w.fsf@rudiments.goosenet.in
Udyant Wig wrote:
> Hence, ‘foo bar’ matches ‘foo bar’, ‘foo
> bar’, ‘foo bar’, and so on (but not
> ‘foobar’). More precisely, Emacs matches each
> sequence of space characters in the search
> string to a regular expression specified by
> the variable ‘search-whitespace-regexp’.
All examples with foo and bar are lazy and
unpedagogical at best and incomprehensible
at worst.
Show this to 100 people in the street without
further explanations and ask them explain what
happens and then compile the outcome what came
up on top carrying thru:
(concat "It takes two" " to tango.") ; -> "It takes two to tango."
(concat "foo" "bar") ; -> "foobar"
Worst thing tho is people when they don't know
what to call a thing calls it "foo"! Then this
lingers on in the code! H-e-l-l-o? Even
1) Think
2) Call it the first thing you think of
is better than to call it "foo" because then no
matter how bad an outcome at least you got some
practise using that thing! (The kidney, I mean.)
--
underground experts united .... http://user.it.uu.se/~embe8573
Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic
- so far: 64 Blogomatic articles -
next prev parent reply other threads:[~2016-08-04 13:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-04 12:25 Possible misleading example in `Incremental Search' Info node Udyant Wig
2016-08-04 13:56 ` Emanuel Berg [this message]
2016-08-04 14:21 ` Drew Adams
2016-08-04 15:01 ` Eli Zaretskii
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=86mvkszlhc.fsf@student.uu.se \
--to=embe8573@student.uu.se \
--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.