From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#5809: 23.1.94; cross-reference by anchor yields in accurate position Date: Sun, 04 Apr 2010 14:07:28 +0300 Organization: JURTA Message-ID: <87bpdzzdfu.fsf@mail.jurta.org> References: <837hoszubi.fsf@gnu.org> <87hbnwy2un.fsf@mail.jurta.org> <83y6h8xz8a.fsf@gnu.org> <8739zf5bif.fsf@mail.jurta.org> <83y6h7vy6p.fsf@gnu.org> <87y6h7uitd.fsf@mail.jurta.org> <83wrwqx6r2.fsf@gnu.org> <83vdcax5hu.fsf@gnu.org> <87d3yi85sv.fsf@mail.jurta.org> <87eiix5u1a.fsf@mail.jurta.org> <878w94dxf2.fsf@mail.jurta.org> <831vev21be.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1270380502 10771 80.91.229.12 (4 Apr 2010 11:28:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 4 Apr 2010 11:28:22 +0000 (UTC) Cc: 5809@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 04 13:28:18 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NyNzz-0008Ic-OL for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Apr 2010 13:28:16 +0200 Original-Received: from localhost ([127.0.0.1]:38406 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NyNzy-0001VJ-1R for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Apr 2010 07:28:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NyNzt-0001Ua-Ib for bug-gnu-emacs@gnu.org; Sun, 04 Apr 2010 07:28:09 -0400 Original-Received: from [140.186.70.92] (port=41077 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NyNzr-0001Hv-By for bug-gnu-emacs@gnu.org; Sun, 04 Apr 2010 07:28:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NyNxj-0003Sc-Bf for bug-gnu-emacs@gnu.org; Sun, 04 Apr 2010 07:25:56 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49397) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NyNxj-0003SY-8Q for bug-gnu-emacs@gnu.org; Sun, 04 Apr 2010 07:25:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NyNiM-0005Yl-Tk; Sun, 04 Apr 2010 07:10:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Apr 2010 11:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5809 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 5809-submit@debbugs.gnu.org id=B5809.127037938921360 (code B ref 5809); Sun, 04 Apr 2010 11:10:02 +0000 Original-Received: (at 5809) by debbugs.gnu.org; 4 Apr 2010 11:09:49 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NyNi9-0005YT-Ex for submit@debbugs.gnu.org; Sun, 04 Apr 2010 07:09:49 -0400 Original-Received: from smtp-out2.starman.ee ([85.253.0.4] helo=mx2.starman.ee) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NyNi7-0005YO-Lo for 5809@debbugs.gnu.org; Sun, 04 Apr 2010 07:09:48 -0400 X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Original-Received: from mail.starman.ee (82.131.69.202.cable.starman.ee [82.131.69.202]) by mx2.starman.ee (Postfix) with ESMTP id C6B063F408F; Sun, 4 Apr 2010 14:09:35 +0300 (EEST) In-Reply-To: <831vev21be.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 04 Apr 2010 09:12:37 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 04 Apr 2010 07:10:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:35921 Archived-At: >> There are still a problem. I can't find a way to move the cursor >> inside the overlay's after-string and click links inside it. >> Any suggestions? > > Does it work to change the character of the overlay string on which > you put the `cursor' property? (You will need to redefine C-f, C-b, > and friends for that.) Sorry, I don't understand what do you mean. Could you modify the example you recently sent to emacs-devel: (let ((pos (goto-char (point-max)))) (insert "foobar") (overlay-put (make-overlay (+ pos 2) (+ pos 3)) 'after-string (propertize "-" 'cursor t))) to allow the cursor to move inside 'after-string and to not jump over it? -- Juri Linkov http://www.jurta.org/emacs/