* 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
* Re: Word search
2008-03-25 8:13 Word search 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
2 siblings, 1 reply; 33+ messages in thread
From: Jason Rumney @ 2008-03-25 10:24 UTC (permalink / raw)
To: Vincent Belaïche; +Cc: juri, emacs-devel, rms, monnier
Vincent Belaïche wrote:
> 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-s C-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
I get this error with emacs -Q, but not when I execute the following
three lines:
(require 'cedet)
(semantic-load-enable-minimum-features)
(global-semantic-idle-summary-mode 1)
So something in the mess of macros and hooks that implements
global-semantic-idle-summary-mode seems to be fixing the problem.
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Word search
2008-03-25 10:24 ` Jason Rumney
@ 2008-03-25 21:48 ` Juri Linkov
0 siblings, 0 replies; 33+ messages in thread
From: Juri Linkov @ 2008-03-25 21:48 UTC (permalink / raw)
To: Jason Rumney; +Cc: Vincent Belaïche, emacs-devel, rms, monnier
>> 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-s C-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
>
> I get this error with emacs -Q, but not when I execute the following three
> lines:
>
> (require 'cedet)
> (semantic-load-enable-minimum-features)
> (global-semantic-idle-summary-mode 1)
>
> So something in the mess of macros and hooks that implements
> global-semantic-idle-summary-mode seems to be fixing the problem.
I have seen reports about `semantic' blocking isearch in Info because
it overwrites isearch functions with its own. Even though it seems not
the problem reported by OP, I think we should find a way to avoid a
problem of conflicts between packages that redefine isearch functions.
But maybe there is no problem at all, if `semantic' doesn't really need
to change isearch functions in Info. Then there is a bug in `semantic'
if it does this unintentionally.
--
Juri Linkov
http://www.jurta.org/emacs/
^ permalink raw reply [flat|nested] 33+ messages in thread
* RE: Word search
2008-03-25 8:13 Word search Vincent Belaïche
2008-03-25 10:24 ` Jason Rumney
@ 2008-03-25 14:12 ` Drew Adams
2008-03-25 14:42 ` Johan Bockgård
2 siblings, 0 replies; 33+ messages in thread
From: Drew Adams @ 2008-03-25 14:12 UTC (permalink / raw)
To: 'Vincent Belaïche', rms; +Cc: juri, monnier, emacs-devel
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.
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Word search
2008-03-25 8:13 Word search Vincent Belaïche
2008-03-25 10:24 ` Jason Rumney
2008-03-25 14:12 ` Drew Adams
@ 2008-03-25 14:42 ` Johan Bockgård
2 siblings, 0 replies; 33+ messages in thread
From: Johan Bockgård @ 2008-03-25 14:42 UTC (permalink / raw)
To: emacs-devel
Vincent Belaïche <vincent.b.1@hotmail.fr> writes:
> 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 ?
Thanks for the report. I've checked in a fix.
--
Johan Bockgård
^ permalink raw reply [flat|nested] 33+ messages in thread
* 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-26 20:47 Vincent Belaïche
@ 2008-03-26 21:16 ` Drew Adams
2008-03-30 6:13 ` Vincent Belaïche
0 siblings, 1 reply; 33+ messages in thread
From: Drew Adams @ 2008-03-26 21:16 UTC (permalink / raw)
To: 'Vincent Belaïche'; +Cc: juri, emacs-devel, rms, monnier
Again, please use plain-text mail, not HTML mail.
From: Vincent Belaïche Sent: Wednesday, March 26, 2008 1:48 PM
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).
C-s does not terminate isearch. But RET (hitting `Enter') should.
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).
Please do not use an HTML mail format for this mailing list. Please find out how
to use your plug-in or Thunderbird in a way that sends plain-text mail.
> 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 cannot follow you. I don't see the difference in the HTML mail you sent.
Please use plain text and type the text you want people to read.
> 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 "".
As you can see, it doesn't appear that way. Please use plain text, not HTML.
> 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)]"
That sounds like a bug. Please report it using `M-x report-emacs-bug'. Describe
step by step how to reproduce the problem, starting from emacs -Q (that is, with
no .emacs).
...
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"
I believe that is normal; the text is copied from the source buffer to the
isearch edit area. You then must hit RET to accept the edited text as your
search string. Then hit C-s to search for that text.
FYI: help-gnu-emacs@gnu.org is for help questions. M-x report-emacs-bug is for
bug reports. emacs-devel@gnu.org is for discussion of Emacs development.
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Word search
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 21:59 ` Johan Bockgård
0 siblings, 2 replies; 33+ messages in thread
From: Vincent Belaïche @ 2008-03-30 6:13 UTC (permalink / raw)
To: Drew Adams; +Cc: juri, emacs-devel, rms, monnier
Dear Drew,
Thank you for your patience with me, and sorry for the disturbance.
Finally I created another email address on Google, because the one on
hotmail was too difficult to use in plain text. Please tell me clearly
if you wish me to file a bug and stop any disturbance on this developers
only list as you seemed to suggest in your previous email.
I am writing again to you as I made some more investigation on my word
search problem, and I have more news about it. Hereinafter I tried only
non-interactive word search with the sequence "C-s<RET>C-w SEARCHED FOR
WORD SEQUENCE <RET>".
1) It *DOES NOT FULLY* work in *info* node "Word Search", which is
better than *FULLY DOES NOT WORK* :
1.1) In the case of an existing word sequence, it will not find it. If
for instance I search for the word sequence "the words" it will not find
it, whereas this word sequence is at end of 1st line of text. The search
will exit with the message in the minibuffer "[(wrong-type-argument
integer-or-marker-p t)]" tailing the current content of minibuffer.
1.2) however, in the case of a non existing word sequence, it will
correctly exit indicating that the sequence does not exists. For
instance if in the same node I search for the word sequence "Drew
Adams", it will cleanly exit with the following content of the
minibuffer "Failing word search: Drew Adams [initial mode]"
2) however it FULLY works in the *scratch* buffer : it does not find
anything if the sequence does not exist in the buffer, and it finds
something if the sequence does exists. If for instance I search for
"evaluation If" it will correctly point at the end of first word in
second line
3) When in the *info* node "Word Search" messages appear between square
bracket at the end of the search buffer, which is not the same behaviour
as in other modes (such message do not occur there, maybe some traces
intended for debug only have been forgotten to disable).
4) The failure does not depend of which *info* node is considered (I
made the same type of test in the Top node, as the point value fits into
16 bits there).
5) Still in the *info* node "Word Search", I switched the buffer to text
mode by the sequence "M-x text-mode", then I tried to make the same word
search (searching for "the words") and it worked !
6) I opened some LaTeX files of mine, and tested word search there, and
it also works in LaTeX-mode.
7) Then, I simply tried "M-x word-search-forward" in the *info* node
"Word search" that was again in info mode (not text mode) to make the
word search, I entered the word sequence "the words", and it worked ! So
this is very strange, word search does not work in info mode when it is
invoked though the "C-s<RET>C-w" key sequence, but it does work if it is
invoked directly by "M-x word-search-forward"
Sorry for the long mail, I am just hoping that this information is
useful to Emacs developpers,
Vincent.
PS-1: FYI, when I sent my 1st email, I thought that word search was not
working at all in my environment because when I learn things from *info*
I try them as I am reading the documentation. So even if word search is
not that useful in *info* as such, it is useful in the sense that people
trying the command as they read the document may be puzzled by not
achieving it working, and then may not use the command at all as this
was my case for years ! So I am spamming again this email list only for
the benefit of the community : I personally don't need to make word
searches in *info*, I need that only in LaTeX, and it works there.
PS-2: You wrote :
> I believe that is normal; the text is copied from the source buffer to the
> isearch edit area. You then must hit RET to accept the edited text as your
> search string. Then hit C-s to search for that text.
Sorry to have believed that an arrow key could be used to terminate the
sequence of words to be searched for. Actually I was trying ARROW RIGHT
because in the mail you sent before you had written :
> To terminate the search, you can just use RET or an arrow
> key or another non-isearch key (except C-g).
I now am realizing that there was a misunderstanding, because I meant to
terminate the word sequence to be searched for so that search is
executed as it is in the sate when the search sequence is entered by
user, and you understood that I was trying to terminate the incremental
search processes whereas it is in the state when the search is waiting
for some more command (e.g. to search next occurrence).
This made me realize that the documentation on incremental word search
is not that clear, I may contribute later on on this. But I think that
some other problems concerning the way as the incremental word search is
invoked and accessed have to be solved first.
Drew Adams a écrit :
> Again, please use plain-text mail, not HTML mail.
>
> From: Vincent Belaïche Sent: Wednesday, March 26, 2008 1:48 PM
> 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).
>
> C-s does not terminate isearch. But RET (hitting `Enter') should.
>
> 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).
>
> Please do not use an HTML mail format for this mailing list. Please find out how
> to use your plug-in or Thunderbird in a way that sends plain-text mail.
>
> > 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 cannot follow you. I don't see the difference in the HTML mail you sent.
> Please use plain text and type the text you want people to read.
>
> > 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 "".
>
> As you can see, it doesn't appear that way. Please use plain text, not HTML.
>
> > 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)]"
>
> That sounds like a bug. Please report it using `M-x report-emacs-bug'. Describe
> step by step how to reproduce the problem, starting from emacs -Q (that is, with
> no .emacs).
>
> ...
> 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"
>
> I believe that is normal; the text is copied from the source buffer to the
> isearch edit area. You then must hit RET to accept the edited text as your
> search string. Then hit C-s to search for that text.
>
> FYI: help-gnu-emacs@gnu.org is for help questions. M-x report-emacs-bug is for
> bug reports. emacs-devel@gnu.org is for discussion of Emacs development.
>
>
>
>
>
^ permalink raw reply [flat|nested] 33+ messages in thread
* RE: Word search
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 21:59 ` Johan Bockgård
1 sibling, 1 reply; 33+ messages in thread
From: Drew Adams @ 2008-03-30 6:45 UTC (permalink / raw)
To: 'Vincent Belaïche'; +Cc: juri, emacs-devel, rms, monnier
> Please tell me clearly if you wish me to file a bug
Your latest mail seems clear enough. The only missing info is the Emacs version.
I see the same things you describe in the Emacs 22.1 release:
In GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600)
of 2007-06-02 on RELEASE
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -Ic:/gnuwin32/include'
FYI, an advantage of using `M-x report-emacs-bug' is that it sends this info and
more along with your text, and it sends it to the proper mailing list, depending
on the Emacs version used. But what you have sent now seems clear enough.
Thanks.
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Word search
2008-03-30 6:45 ` Drew Adams
@ 2008-03-30 7:02 ` Vincent Belaïche
2008-03-30 16:58 ` Drew Adams
0 siblings, 1 reply; 33+ messages in thread
From: Vincent Belaïche @ 2008-03-30 7:02 UTC (permalink / raw)
To: Drew Adams; +Cc: juri, emacs-devel, rms, monnier
Dear Drew,
Here is the version information provided by the report-emacs-bug command
In GNU Emacs 22.0.990.1 (i386-mingw-nt5.0.2195)
of 2007-05-31 on COCOTTE
Windowing system distributor `Microsoft Corp.', version 5.0.2195
configured using `configure --with-gcc (3.4) --cflags
-Ic:/Programme/GnuWin32/include'
Vincent
PS-1 : I am under the process of configuring my Emacs to send mail with
it with the SMTP library, when this is done, I promise that I use
report-emacs-bug ;-).
PS-2 : There is no such include path as "/Programme/GnuWin32/include" on
my PC, it compiled with the minGw libs for Windows.
Drew Adams a écrit :
>> Please tell me clearly if you wish me to file a bug
>
> Your latest mail seems clear enough. The only missing info is the Emacs version.
> I see the same things you describe in the Emacs 22.1 release:
>
> In GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600)
> of 2007-06-02 on RELEASE
> Windowing system distributor `Microsoft Corp.', version 5.1.2600
> configured using `configure --with-gcc (3.4) --cflags -Ic:/gnuwin32/include'
>
> FYI, an advantage of using `M-x report-emacs-bug' is that it sends this info and
> more along with your text, and it sends it to the proper mailing list, depending
> on the Emacs version used. But what you have sent now seems clear enough.
> Thanks.
>
>
^ permalink raw reply [flat|nested] 33+ messages in thread
* RE: Word search
2008-03-30 7:02 ` Vincent Belaïche
@ 2008-03-30 16:58 ` Drew Adams
0 siblings, 0 replies; 33+ messages in thread
From: Drew Adams @ 2008-03-30 16:58 UTC (permalink / raw)
To: 'Vincent Belaïche'; +Cc: juri, emacs-devel, rms, monnier
> PS-1 : I am under the process of configuring my Emacs to send
> mail with it with the SMTP library, when this is done, I
> promise that I use report-emacs-bug ;-).
FYI - `M-x report-emacs-bug' should work with any mail client. You need not wait
until you configure Emacs to be your mail client.
I use `M-x report-emacs-bug' with MS Outlook as my mail client, for instance.
Exiting the bug report buffer with `C-c C-c' and confirming sending causes the
mail client to open a new message pre-addressed to the proper mailing list. I
just paste into the message body and then click Send. When you exit
`report-emacs-bug', it copies the report buffer contents, so you can immediately
paste them into your mail body.
Of course, if you do use Emacs for your mail client, so much the better. HTH.
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Word search
2008-03-30 6:13 ` Vincent Belaïche
2008-03-30 6:45 ` Drew Adams
@ 2008-03-30 21:59 ` Johan Bockgård
1 sibling, 0 replies; 33+ messages in thread
From: Johan Bockgård @ 2008-03-30 21:59 UTC (permalink / raw)
To: emacs-devel
Vincent Belaïche <vincent.belaiche@gmail.com> writes:
> If for instance I search for the word sequence "the words" it will not
> find it, whereas this word sequence is at end of 1st line of text. The
> search will exit with the message in the minibuffer
> "[(wrong-type-argument integer-or-marker-p t)]"
I already fixed this after your original report, five days ago.
Thanks.
--
Johan Bockgård
^ 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 16:43 Vincent Belaïche
@ 2008-03-25 18:02 ` Drew Adams
0 siblings, 0 replies; 33+ messages in thread
From: Drew Adams @ 2008-03-25 18:02 UTC (permalink / raw)
To: 'Vincent Belaïche'; +Cc: juri, emacs-devel, rms, monnier
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.
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 "". Does it at least work, in
the sense that it finds what you are looking for, regardless of how you
terminate the search? 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 ""?
^ 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-25 8:13 Word search 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
-- strict thread matches above, loose matches on Subject: below --
2008-03-26 20:47 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
2008-03-25 16:43 Vincent Belaïche
2008-03-25 18:02 ` Drew Adams
[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).