* [Stephen.Berman@gmx.net: isearch-yank-line and field text property]
@ 2006-06-11 16:16 Richard Stallman
2006-06-13 1:51 ` Miles Bader
0 siblings, 1 reply; 3+ messages in thread
From: Richard Stallman @ 2006-06-11 16:16 UTC (permalink / raw)
Is there a bug here? Miles, could you please take a look?
------- Start of forwarded message -------
To: emacs-pretest-bug@gnu.org
From: Stephen Berman <Stephen.Berman@gmx.net>
Date: Tue, 06 Jun 2006 13:53:45 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: isearch-yank-line and field text property
X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO
autolearn=failed version=3.0.4
(I posted this to help-gnu-emacs last Friday but there hasn't been a
response to date, so I'm posting it here, in case it is a bug.)
The following seems like a bug to me, but maybe it's a feature of the
field property or isearch-yank-line that I don't understand; if so,
I'd appreciate a pointer to documentation (I couldn't find anything
apposite in either the Emacs or Elisp manuals).
1. emacs -Q
2. Type the following three lines in an empty buffer:
test
test
test
3. Now put the cursor at the beginning of the second line and type this:
`M-: (add-text-properties (point) (point-max) '(field test))'
4. Now type `C-s C-y'. The minibuffer contains the prompt "I-search:"
but the line is not yanked into the search string, and in fact nothing
else happens at all as long as you keep typing `C-y'.
This happens only with isearch-yank-line, and only at that position;
any other isearch command (including isearch-yank-word) at that
position works fine. Moreover, isearch-yank-line from any following
position also works fine, although they also have the field property;
isearch-yank-line from any preceding position works up to that
position and then stops as above.
This happens in both CVS Emacs and in Emacs 21.3. The two Emacsen
differ in the return value of field-string called with the cursor over
the first character with the field property: in Emacs 21.3 it is "",
while in CVS Emacs it is "test^J".
In GNU Emacs 22.0.50.14 (i686-pc-linux-gnu, GTK+ Version 2.8.10)
of 2006-04-17 on escher
X server distributor `The X.Org Foundation', version 11.0.60802000
configured using `configure '--with-x-toolkit=gtk''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Major mode: Summary
Minor modes in effect:
tabbar-mwheel-mode: t
tabbar-mode: t
recentf-mode: t
show-paren-mode: t
display-time-mode: t
tooltip-mode: t
auto-compression-mode: t
tool-bar-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: identity
Recent input:
y <select-window> <select-window> <help-echo> <help-echo>
<down-mouse-3> <mouse-3> C-c r e <tab> <return> . <tab>
<tab> s <tab> l <tab> <return> <end> <prior> <home>
<next> C-c r C <return> q C-c r c <tab> <return> i
<tab> <return> <help-echo> <help-echo> M-x g u <return>
J j y <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> M-g <return> <return> <down> SPC
t t <down-mouse-1> <mouse-movement> <mouse-movement>
<drag-mouse-1> M-x r e p o <tab> r <tab> <return>
Recent messages:
Loading gnus-ml...done
Fetching headers for gmane.emacs.help...done
Generating summary...done
Loading gnus-bcklg...done
Loading gnus-async...done
Loading smiley...done
Loading gnus-cite...done
Parsing BBDB... (frobnicating...done)
Making completion list...
Loading emacsbug...done
_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Stephen.Berman@gmx.net: isearch-yank-line and field text property]
2006-06-11 16:16 [Stephen.Berman@gmx.net: isearch-yank-line and field text property] Richard Stallman
@ 2006-06-13 1:51 ` Miles Bader
2006-06-13 13:53 ` Richard Stallman
0 siblings, 1 reply; 3+ messages in thread
From: Miles Bader @ 2006-06-13 1:51 UTC (permalink / raw)
Cc: emacs-devel
Richard Stallman <rms@gnu.org> writes:
> Is there a bug here? Miles, could you please take a look?
I'll look at it
-miles
--
(\(\
(^.^)
(")")
*This is the cute bunny virus, please copy this into your sig so it can spread.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Stephen.Berman@gmx.net: isearch-yank-line and field text property]
2006-06-13 1:51 ` Miles Bader
@ 2006-06-13 13:53 ` Richard Stallman
0 siblings, 0 replies; 3+ messages in thread
From: Richard Stallman @ 2006-06-13 13:53 UTC (permalink / raw)
Cc: emacs-devel
> Is there a bug here? Miles, could you please take a look?
I'll look at it
Please respond to this when you have looked.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-06-13 13:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-11 16:16 [Stephen.Berman@gmx.net: isearch-yank-line and field text property] Richard Stallman
2006-06-13 1:51 ` Miles Bader
2006-06-13 13:53 ` 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).