all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: 4147@emacsbugs.donarmstrong.com
Subject: bug#4147: 23.1.50: Info-search command strange behaviour
Date: Tue, 08 Dec 2009 22:12:33 +0200	[thread overview]
Message-ID: <87bpi9uszm.fsf@mail.jurta.org> (raw)
In-Reply-To: <87k4x1b7vd.fsf@mail.jurta.org> (Juri Linkov's message of "Sat, 05 Dec 2009 21:50:22 +0200")

>>>>     s blahblah RET
>>>>     => Says it can't find it, but moves point forward a few characters.
>>
>> 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).
>
> To fix this one idea is to remove the breadcrumbs line on leaving
> from the node, so breadcrumbs in all nodes located above the current
> node will not affect the point position.  And in the case of getting
> the current point position, subtract the length of breadcrumbs in
> the current node.

Another idea I've considered is using point positions relative to the
beginning of the node.  But to be able to fix this for Isearch in Info
we have to change semantics of Isearch variables like `isearch-other-end',
to use relative point positions.  This is too much trouble too.

The only sane way I see to fix this problem is:

1. not to insert breadcrumbs to the Info buffer;

2. display breadcrumbs in the header line;

3. not to hide next/prev/up navigation links in the first line
   of the node.

`Info-use-header-line' could provide an additional value `breadcrumbs'
that does this and set it by default.

If this is acceptable, I can prepare a patch.

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





  reply	other threads:[~2009-12-08 20:12 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
2009-12-05 19:50     ` Juri Linkov
2009-12-08 20:12       ` Juri Linkov [this message]
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=87bpi9uszm.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=4147@emacsbugs.donarmstrong.com \
    /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.