all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: martin rudalics <rudalics@gmx.at>
Cc: 4147@emacsbugs.donarmstrong.com, Jamie Lokier <jamie@shareable.org>
Subject: bug#4147: 23.1.50: Info-search command strange behaviour
Date: Sat, 05 Dec 2009 02:48:27 +0200	[thread overview]
Message-ID: <877ht2ryys.fsf@mail.jurta.org> (raw)
In-Reply-To: <4A86898F.6060508@gmx.at> (martin rudalics's message of "Sat, 15 Aug 2009 12:10:23 +0200")

>>     s blahblah RET
>>     => Says it can't find it, but moves point forward a few characters.
>
> I suppose something like the attached patch should cure that.

This patch works only when initially point was in the Top node,
and fails in other nodes.

The odd behavior when point moves forward by a few characters
is caused by breadcrumbs inserted to the Info buffer (the distance
point moves forward is the length of the breadcrumbs string).

Setting `Info-breadcrumbs-depth' to 0 fixes this problem.
But it is difficult to fix this when `Info-breadcrumbs-depth' > 0.

>> Go back to the Info directory:
>>     d
>> Search:
>>     s blahblah RET
>>     => Says "Wrong type argument: stringp, nil"
>
> FWIW this happens because in the
>
> 	      (with-current-buffer (marker-buffer Info-tag-table-marker)
>
> form `Info-tag-table-marker' is nil and `with-current-buffer' expects
> either a valid buffer or a string naming a buffer.  I don't know how
> Info tags are handled so I leave this to someone more knowledgeable.

For unknown reasons, `Info-current-subfile' is not nil in `dir'.
I'll take care of this bug.

-- 
Juri Linkov
http://www.jurta.org/emacs/





  reply	other threads:[~2009-12-05  0:48 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-15  3:49 bug#4147: 23.1.50: Info-search command strange behaviour Jamie Lokier
2009-08-15 10:10 ` martin rudalics
2009-12-05  0:48   ` Juri Linkov [this message]
2009-12-05 19:50     ` Juri Linkov
2009-12-08 20:12       ` Juri Linkov
2009-12-14 21:54         ` Juri Linkov
2009-12-14 23:00           ` martin rudalics
2009-12-14 23:56             ` Juri Linkov
2009-12-15  8:16               ` martin rudalics
2009-12-16  0:45                 ` Juri Linkov
2009-12-16  7:53                   ` martin rudalics
2009-12-16  9:17                     ` Juri Linkov
2009-12-16 15:04                       ` martin rudalics
2009-12-16 19:21                         ` Drew Adams
     [not found]                         ` <87my1ibip3.fsf@mail.jurta.org>
     [not found]                           ` <4B29E99D.9060501@gmx.at>
2009-12-17 23:34                             ` Juri Linkov
     [not found]                               ` <4B2B318A.7010300@gmx.at>
2009-12-19  0:30                                 ` Juri Linkov
2009-12-19  9:09                                   ` martin rudalics
2009-12-21  0:34                                     ` Juri Linkov
2009-12-21  8:21                                       ` martin rudalics
2009-12-19  0:45                               ` Juri Linkov
2009-12-19  9:09                                 ` martin rudalics
2009-12-21  0:36                                   ` Juri Linkov
2009-12-21  8:21                                     ` martin rudalics
2009-12-15  4:07           ` Eli Zaretskii
2011-10-06  3:41 ` Glenn Morris

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=877ht2ryys.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=4147@emacsbugs.donarmstrong.com \
    --cc=jamie@shareable.org \
    --cc=rudalics@gmx.at \
    /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.