all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Loris Bennett" <loris.bennett@fu-berlin.de>
To: help-gnu-emacs@gnu.org
Subject: Re: killing the result of isearch
Date: Tue, 07 Nov 2017 16:08:03 +0100	[thread overview]
Message-ID: <87wp32f7os.fsf@hornfels.zedat.fu-berlin.de> (raw)
In-Reply-To: mailman.3114.1510058721.27995.help-gnu-emacs@gnu.org

Jean-Christophe Helary <jean.christophe.helary@gmail.com> writes:

>> On Nov 7, 2017, at 19:49, Loris Bennett <loris.bennett@fu-berlin.de> wrote:
>> 
>> 
>> So doesn't searching-and-replace with an empty replacement work?
>
> It works to accomplish the same result but it takes many more step as I wrote
> earlier:
>
> isearch string isearch-query-replace (replace with nothing)
>
>> As to Emacs behaving differently to other editors, I think it is the other way
>> round ;-)
>
> No, actually it really is the other way round. Emacs is not a text editor, it is
> a Lisp virtual machine with text editing functions.

According to https://www.gnu.org/software/emacs/ GNU Emacs is:

  An extensible, customizable, free/libre text editor — and more.

> Applications that are created to be specialized in text editing are
> closer to what the users need in terms of interaction. Which is the
> point of the current discussion.

My point was that you are comparing the editing idiom of Emacs, which
arose in the 1980s, with that of more modern editors.  In addition, you
are talking about what you need, rather than what "users" need.

> The problem with emacs and searches, is that you only search, you don't *find*,
> as in the action of searching does not result in an object that you can act
> upon. Which defeats the purpose of searching.
>
> A simple "search" does nothing but put the point at the end of the match. it is
> nice to navigate the document but it does nothing about the match. isearch is
> even more treacherous since it makes it look like you are finding something,
> when actually you have also just moved the point in the buffer and nothing more.
>
> A simple "search" should at least be able to create a region on the match, it
> doesn't even do that.

If Emacs doesn't do something, to me, that suggests it is not a very
common thing to do.  However, fortunately Emacs is extensible and
customizable and so you can make it do less common things too.

Cheers,

Loris

-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email loris.bennett@fu-berlin.de


  parent reply	other threads:[~2017-11-07 15:08 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-07  2:41 killing the result of isearch Jean-Christophe Helary
2017-11-07  5:34 ` Drew Adams
2017-11-07  6:01   ` Jean-Christophe Helary
2017-11-07  6:25     ` Søren Pilgård
     [not found]     ` <mailman.3103.1510035932.27995.help-gnu-emacs@gnu.org>
2017-11-07  7:07       ` Loris Bennett
2017-11-07  7:49         ` Jean-Christophe Helary
2017-11-07  8:43         ` Jean-Christophe Helary
     [not found]         ` <mailman.3106.1510044223.27995.help-gnu-emacs@gnu.org>
2017-11-07 10:49           ` Loris Bennett
2017-11-07 12:45             ` Jean-Christophe Helary
2017-11-07 15:26               ` Drew Adams
2017-11-07 15:51                 ` Jean-Christophe Helary
2017-11-07 16:46                   ` Drew Adams
2017-11-07 22:38                     ` Jean-Christophe Helary
2017-11-07 16:53                   ` Eric Abrahamsen
2017-11-07 17:24                     ` Drew Adams
2017-11-07 17:45                       ` Eric Abrahamsen
2017-11-08  8:21               ` Thien-Thi Nguyen
2017-11-08 13:47                 ` Emanuel Berg
2017-11-11 15:36                   ` Charles A. Roelli
     [not found]             ` <mailman.3114.1510058721.27995.help-gnu-emacs@gnu.org>
2017-11-07 15:08               ` Loris Bennett [this message]
2017-11-07 15:28                 ` Jean-Christophe Helary
2017-11-07 16:24                   ` Drew Adams
2017-11-07 22:34                     ` Jean-Christophe Helary
2017-11-07 22:54                       ` Drew Adams
2017-11-08 22:24                   ` Tomas Nordin
2017-11-08 22:44                     ` Jean-Christophe Helary
2017-11-08 23:07                       ` Emanuel Berg
2017-11-09 21:38                       ` Tomas Nordin
2017-11-10 13:11                         ` Jean-Christophe Helary
2017-11-10 16:54                           ` Drew Adams
2017-11-07  8:31     ` Marcin Borkowski
2017-11-07 15:26     ` Drew Adams
2017-11-07 20:59     ` Bob Proulx
2017-11-07 22:10       ` Drew Adams
2017-11-07 22:53         ` Bob Proulx
2017-11-07 23:15       ` Jean-Christophe Helary
2017-11-08  4:27         ` Bob Proulx
2017-11-08  5:29           ` Jean-Christophe Helary
2017-11-08 18:50             ` Bob Proulx
2017-11-07 17:53 ` Stefan Monnier
2017-11-07 22:59   ` Jean-Christophe Helary
2017-11-12 20:02     ` Tomas Nordin
2017-11-12 22:13       ` Emanuel Berg
2017-11-13 21:17         ` Tomas Nordin
2017-11-13 22:13           ` Emanuel Berg
2017-11-20  3:24           ` Emanuel Berg
2017-11-15 14:48       ` Emanuel Berg

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=87wp32f7os.fsf@hornfels.zedat.fu-berlin.de \
    --to=loris.bennett@fu-berlin.de \
    --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.