unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: Word search
@ 2008-03-26 20:47 Vincent Belaïche
  2008-03-26 21:16 ` Drew Adams
  0 siblings, 1 reply; 33+ messages in thread
From: Vincent Belaïche @ 2008-03-26 20:47 UTC (permalink / raw)
  To: drew.adams; +Cc: juri, emacs-devel, rms, monnier

[-- Attachment #1: Type: text/plain, Size: 3582 bytes --]


Dear Drew,

I am realizing that there was no mistake in the mail before the latest 
one I sent, but that the mailing system has stripped off a part of it. 
What I meant was "C-sxxxC-w" where instread of "xxx" I had written "RET" 
between less-than and greater-than signs. But it seems that this xxx has 
been stripped off by the mailing system.
Similarly I meant that I terminated the interactive search by "C-s" or 
by "xxx" where xxx has the same meaning as above (a carriage return 
key). The fact is that I am writing to you with Thunderbird using an 
adds-on that allows to use hotmail without going through the Web 
interface (it seems that there is some bug with this when HTML is used).

More  answers embedded below (please read at least the last one) :

Drew Adams a écrit :
> Two comments: (1) help-gnu-emacs@gnu.org might be a more appropriate list.
> Consider moving this there. (2) Please use plain-text for these mailing lists.
>
> 	Sorry Drew, There was a mistake in my mail, I did not mean
>       "C-sC-w" but I meant "C-sC-w".
>
> What's the difference? They look the same to me.
>   

They were not the same when I sent the mail there was RET bracketted 
with LT and GT signs in between "C-s" and "C-w". So when I am sending 
this mail "C-sC-w" is different from "C-sC-w"
>       I tested it again and it does not work.
> 	
> 	That you for the information on the incremental word search 
> 	("C-sM-eC-w"). I tested it on the same node, and whether I terminate by 
> 	"C-s" or by "" it fails in the same way. To tell you the truth, I 
> 	had not even tried that, as the plain non incremental one was not 
> 	working in the first place.
>
> Not sure what you mean by terminate by "C-s" or by "". 
When I sent the mail between the pair of double quotes "" there was a 
RET bracketted by LT and GT signs. So when I ma sending this mail "" is 
different from "".
> Does it at least work, in
> the sense that it finds what you are looking for, regardless of how you
> terminate the search? 
It does not find what I am looking for. When I type "C-sM-eC-w" I enter 
Incremental word search (I can see that as on the left side of the 
minibuffer is written "Word I-search").  Then if I type "the words" and 
then RET   I get an error message "[(wrong-type-argument 
integer-or-marker-p t)]" and the cursor of the *info* buffer remains at 
the same position, that is to say on the Top Left of the window, just on 
the "F" in "File: emacs,  Node: Word Search,  Next: Regexp Search,  
Prev: Nonincremental Search,  Up: Search"

More strange is the following: if I enter again the incremental word 
search, and I type on the right arrow key, what happens is that the 
content of the *info* buffer is copied character by character into the 
minibuffer. That is to say, assume that I type 5 times on the right 
arrow key, then the effect is as if I had entered the five characters 
"F" "i" "l" "e" and ":" consecutively (remember that when I enter the 
Word-I-search the *info* buffer point is pointing at the beginning the 
text "File: emacs,  Node: Word Search,  Next: Regexp Search,  Prev: 
Nonincremental Search,  Up: Search"

Regards,
       Vincent.
> To terminate the search, you can just use RET or an arrow
> key or another non-isearch key (except C-g). What do you mean by ""?
>
>
>
>   



_________________________________________________________________
Votre contact a choisi Hotmail, l'e-mail ultra sécurisé. Créez un compte gratuitement !
http://www.windowslive.fr/hotmail/default.asp

[-- Attachment #2: Type: text/html, Size: 3906 bytes --]

^ permalink raw reply	[flat|nested] 33+ messages in thread
* Re: Word search
@ 2008-03-25 16:43 Vincent Belaïche
  2008-03-25 18:02 ` Drew Adams
  0 siblings, 1 reply; 33+ messages in thread
From: Vincent Belaïche @ 2008-03-25 16:43 UTC (permalink / raw)
  To: drew.adams; +Cc: juri, emacs-devel, rms, monnier

[-- Attachment #1: Type: text/plain, Size: 2306 bytes --]


Sorry Drew,

There was a mistake in my mail, I did not mean "C-sC-w" but I meant 
"C-sC-w". I tested it again and it does not work.

That you for the information on the incremental word search 
("C-sM-eC-w"). I tested it on the same node, and whether I terminate by 
"C-s" or  by "" it fails in the same way. To tell you the truth, I 
had not even tried that, as the plain non incremental one was not 
working in the first place.

Regards,
       Vincent.

Drew Adams a écrit :
> 	I fully agree with Juri's point that the current keys to enter word 
> 	search is inconvenient, and I find the double meaning of C-w between 
> 	usual editing and word search difficult (I would prefer to have a less 
> 	easy to remember key to enter word search provided that that it does not
>
> 	overload the meaning of usual edition keys like C-w).
>
> C-s C-w is not word search in the sense that you write below. C-s C-w yanks
> characters or words into the search string, starting at the cursor position.
> 	
> 	FYI, unfortunately I was never able to have word search work properly. 
> 	For instance, when I try word search in the *info* node "Word search" 
> 	and I type "C-sC-w" then I type "the words" (all of these things 
> 	without double quotes) and then I type "", I would expect to find 
> 	the first occurrence at the end of first line of info node text which is
> :
> 	
> 	---- excerpt from info node Word Search --------------
> 	Word search searches for a sequence of words without regard to how the
> 	words are separated. More precisely, you type a string of many words,
> 	---- end of excerpt -------------------------------------
> 	
> I think what you want is incremental search for words. In vanilla Emacs you can
> get to it this way: `C-s M-e C-w' - this is mentioned in the Emacs manual node
> you cited, Word Search. Library isearch+.el binds the same thing to `C-s M-w',
> which is a bit easier to use. 
>
> FYI, isearch+.el is here: http://www.emacswiki.org/cgi-bin/wiki/isearch%2b.el.
> It is described here: http://www.emacswiki.org/cgi-bin/wiki/IsearchPlus.
>
>
>
>
>
>   



_________________________________________________________________
Créez gratuitement votre disque dur virtuel Windows Live SkyDrive !
http://skydrive.live.com

[-- Attachment #2: Type: text/html, Size: 2631 bytes --]

^ permalink raw reply	[flat|nested] 33+ messages in thread
* Re: Word search
@ 2008-03-25  8:13 Vincent Belaïche
  2008-03-25 10:24 ` Jason Rumney
                   ` (2 more replies)
  0 siblings, 3 replies; 33+ messages in thread
From: Vincent Belaïche @ 2008-03-25  8:13 UTC (permalink / raw)
  To: rms; +Cc: juri, monnier, emacs-devel

[-- Attachment #1: Type: text/plain, Size: 2412 bytes --]


Hello valuated Emacs developpers,

Just to answer Richard's suggestion "let's ask them" and the wish to 
poll users : I am new to this mailing list and one suggestion I was 
going to make was concerning word search, when I discovered that this 
was already being discussed.

I am using Emacs mainly for editing LaTeX documents where auto-fill-mode 
+ indentation is active, and therefore word search is a must and 
incremental word search is a very very nice to have.

I fully agree with Juri's point that the current keys to enter word 
search is inconvenient, and I find the double meaning of C-w between 
usual editing and word search difficult (I would prefer to have a less 
easy to remember key to enter word search provided that that it does not 
overload the meaning of usual edition keys like C-w).

FYI, unfortunately I was never able to have word search work properly. 
For instance, when I try word search in the *info* node "Word search" 
and I type "C-sC-w" then I type "the words" (all of these things 
without double quotes) and then I type "", I would expect to find 
the first occurrence at the end of first line of info node text which is :

---- excerpt from info node Word Search --------------
Word search searches for a sequence of words without regard to how the
words are separated.  More precisely, you type a string of many words,
---- end of excerpt -------------------------------------

Instead of that, I get the following error message : 
"[(wrong-type-argument integer-or-marker-p t)]" which is displayed in 
the Minibuffer and has no trace in the *Message* buffer. Is that normal 
? My emacs version is "GNU Emacs 22.0.990.1 (i386-mingw-nt5.0.2195) of 
2007-05-31".

Sorry to dwell on it, if this is an already known or solved problem, I 
am jumping into this thread without having read all of it since the 
beginning.

BR,
        Vincent.


Richard Stallman a écrit :
>     But I doubt that many people use it because for many years of existence
>     of word search, very few people tried to find a way to enable incremental
>     word search (according to mailing list archives) until recently.
>
> Maybe you're right.  But let's ask them.
>
>
>
>
>   



_________________________________________________________________
Créez gratuitement votre disque dur virtuel Windows Live SkyDrive !
http://skydrive.live.com

[-- Attachment #2: Type: text/html, Size: 2743 bytes --]

^ permalink raw reply	[flat|nested] 33+ messages in thread
[parent not found: <AD44E90D-EAA9-4E0B-AED7-CB4505DC73F9@t-online.de>]

end of thread, other threads:[~2008-03-30 21:59 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-26 20:47 Word search Vincent Belaïche
2008-03-26 21:16 ` Drew Adams
2008-03-30  6:13   ` Vincent Belaïche
2008-03-30  6:45     ` Drew Adams
2008-03-30  7:02       ` Vincent Belaïche
2008-03-30 16:58         ` Drew Adams
2008-03-30 21:59     ` Johan Bockgård
  -- strict thread matches above, loose matches on Subject: below --
2008-03-25 16:43 Vincent Belaïche
2008-03-25 18:02 ` Drew Adams
2008-03-25  8:13 Vincent Belaïche
2008-03-25 10:24 ` Jason Rumney
2008-03-25 21:48   ` Juri Linkov
2008-03-25 14:12 ` Drew Adams
2008-03-25 14:42 ` Johan Bockgård
     [not found] <AD44E90D-EAA9-4E0B-AED7-CB4505DC73F9@t-online.de>
     [not found] ` <87myp99rd3.fsf@jurta.org>
2008-03-09 21:59   ` First two elements of search-ring shown twice in minibuffer when using M-p multiple times? Juri Linkov
2008-03-10 14:31     ` Stefan Monnier
2008-03-10 17:12       ` Word search (was: First two elements of search-ring shown twice in minibuffer when using M-p multiple times?) Juri Linkov
2008-03-10 18:34         ` Word search Stefan Monnier
2008-03-10 22:38           ` Juri Linkov
2008-03-11 18:47             ` Stefan Monnier
2008-03-12  0:35               ` Juri Linkov
2008-03-12  1:49                 ` Stefan Monnier
2008-03-12 10:38                   ` Juri Linkov
2008-03-12 14:09                     ` Stefan Monnier
2008-03-12 17:51                 ` Richard Stallman
2008-03-11 20:24             ` Richard Stallman
2008-03-12  0:37               ` Juri Linkov
2008-03-12 17:51                 ` Richard Stallman
2008-03-13  2:08                   ` Juri Linkov
2008-03-13 22:24                     ` Richard Stallman
2008-03-13 10:55                   ` René Kyllingstad
2008-03-14  1:08                     ` Juri Linkov
2008-03-12 19:18                 ` Drew Adams
2008-03-13  1:06                   ` Richard Stallman
2008-03-13  2:17                   ` Juri Linkov
2008-03-13 22:24                     ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).