From: Aubrey Jaffer <agj@alum.mit.edu>
Cc: bug-emacs@gnu.org
Subject: Re: [agj@alum.mit.edu: Re: ":" in Scheme names.]
Date: Tue, 21 Jan 2003 00:59:40 -0500 (EST) [thread overview]
Message-ID: <13163.4163125002$1043184394@news.gmane.org> (raw)
In-Reply-To: <E18aRut-0000kB-00@colo.agora-net.com> (message from Thien-Thi Nguyen on Sun, 19 Jan 2003 21:44:03 -0500)
| From: Thien-Thi Nguyen <ttn@glug.org>
| Date: Sun, 19 Jan 2003 21:44:03 -0500
|
| From: Aubrey Jaffer <agj@alum.mit.edu>
| Date: Sun, 19 Jan 2003 16:59:45 -0500 (EST)
|
| If the patch improves some (but not all) behaviors, then it is still
| worth releasing.
|
| yes. which behaviors does it improve? what goes in the change log?
(Info-index): Fixed for index names containing colons.
| If you show me how to provoke the remaining misbehaviors, then I can
| look at fixing them.
|
| here is an interactive test case, w/ expected output:
|
| evaluate: (info "/usr/share/info/slib.tar.gz")
|
| then,
| ; type ; expect
| i RET buffer changes to show index
| C-s array-indexes RET point moves to match
| m RET buffer changes to show array mapping funcs
| l back to index
| C-s batch: RET point moves to match
| m RET buffer changes to show batch funcs
Appended is a patch to Info-menu so it grabs the correct default.
Also patched is Info-extract-menu-item so it goes to the ": ". But I
still get an error from Info-find-node-2 with the wrong value for
nodename:
let: No such anchor in tag table or node in tag table or file: modify-table: HTML Tables
Somewhere there is a forward search to ":"; but I lost the trail of
where this happens to nodename.
Here is an unrelated bug in Info-follow-nearest-node:
evaluate: (info "/usr/share/info/slib.tar.gz")
then,
; type ; expect
i RET buffer changes to show index
C-s array-indexes RET point moves to match
RET buffer changes to show array mapping funcs
l back to index
RET buffer changes to Getopt !!
-=-=-=-=-
cd /usr/share/emacs/21.2/lisp/
diff -c /usr/share/emacs/21.2/lisp/info.el\~ /usr/share/emacs/21.2/lisp/info.el
*** /usr/share/emacs/21.2/lisp/info.el~ Sun Jan 19 17:31:53 2003
--- /usr/share/emacs/21.2/lisp/info.el Tue Jan 21 00:33:40 2003
***************
*** 1477,1483 ****
(save-excursion
(goto-char p)
(end-of-line)
! (if (re-search-backward "\n\\* +\\([^:\t\n]*\\):" beg t)
(setq default (match-string-no-properties 1))))))
(let ((item nil))
(while (null item)
--- 1477,1483 ----
(save-excursion
(goto-char p)
(end-of-line)
! (if (re-search-backward "\n\\* +\\([^\t\n]+\\): " beg t)
(setq default (match-string-no-properties 1))))))
(let ((item nil))
(while (null item)
***************
*** 1509,1515 ****
(goto-char (point-min))
(or (search-forward "\n* menu:" nil t)
(error "No menu in this node"))
! (or (re-search-forward (concat "\n\\* +" menu-item ":") nil t)
(re-search-forward (concat "\n\\* +" menu-item) nil t)
(error "No such item in menu"))
(beginning-of-line)
--- 1509,1515 ----
(goto-char (point-min))
(or (search-forward "\n* menu:" nil t)
(error "No menu in this node"))
! (or (re-search-forward (concat "\n\\* +" menu-item ": ") nil t)
(re-search-forward (concat "\n\\* +" menu-item) nil t)
(error "No such item in menu"))
(beginning-of-line)
Diff finished at Tue Jan 21 00:33:44
next prev parent reply other threads:[~2003-01-21 5:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-16 4:15 [agj@alum.mit.edu: Re: ":" in Scheme names.] Aubrey Jaffer
2003-01-18 0:20 ` Thien-Thi Nguyen
[not found] ` <20030119215945.A1190D86@mail.voluntocracy.org>
2003-01-20 2:44 ` Thien-Thi Nguyen
2003-01-21 5:59 ` Aubrey Jaffer [this message]
[not found] <jklm1eym9x.fsf@totally-fudged-out-message-id>
2003-01-25 1:03 ` Thien-Thi Nguyen
2003-01-25 2:37 ` Aubrey Jaffer
2003-01-25 3:02 ` Thien-Thi Nguyen
2003-01-26 19:51 ` Kim F. Storm
2003-01-26 23:11 ` Thien-Thi Nguyen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='13163.4163125002$1043184394@news.gmane.org' \
--to=agj@alum.mit.edu \
--cc=bug-emacs@gnu.org \
/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 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).