* Info-mouse-follow-nearest-node should take prefix arg to fork
@ 2006-01-08 18:37 Drew Adams
2006-01-09 16:58 ` Richard M. Stallman
2006-01-22 0:43 ` Juri Linkov
0 siblings, 2 replies; 3+ messages in thread
From: Drew Adams @ 2006-01-08 18:37 UTC (permalink / raw)
Why not add an optional FORK arg to Info-mouse-follow-nearest-node, so it
opens the node in a separate window? The only change is to add the arg and
pass it to Info-try-follow-nearest-node.
(defun Info-mouse-follow-nearest-node (click &optional fork)
"...
With a prefix argument, open the node in a separate window."
(interactive "e\nP")
(mouse-set-point click)
(and (not (Info-try-follow-nearest-node fork))
(save-excursion (forward-line 1) (eobp))
(Info-next-preorder)))
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Info-mouse-follow-nearest-node should take prefix arg to fork
2006-01-08 18:37 Info-mouse-follow-nearest-node should take prefix arg to fork Drew Adams
@ 2006-01-09 16:58 ` Richard M. Stallman
2006-01-22 0:43 ` Juri Linkov
1 sibling, 0 replies; 3+ messages in thread
From: Richard M. Stallman @ 2006-01-09 16:58 UTC (permalink / raw)
Cc: emacs-devel
Please save new feature suggestions for later.
Please don't post them now.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Info-mouse-follow-nearest-node should take prefix arg to fork
2006-01-08 18:37 Info-mouse-follow-nearest-node should take prefix arg to fork Drew Adams
2006-01-09 16:58 ` Richard M. Stallman
@ 2006-01-22 0:43 ` Juri Linkov
1 sibling, 0 replies; 3+ messages in thread
From: Juri Linkov @ 2006-01-22 0:43 UTC (permalink / raw)
Cc: emacs-devel
> Why not add an optional FORK arg to Info-mouse-follow-nearest-node, so it
> opens the node in a separate window? The only change is to add the arg and
> pass it to Info-try-follow-nearest-node.
>
> (defun Info-mouse-follow-nearest-node (click &optional fork)
> "...
> With a prefix argument, open the node in a separate window."
> (interactive "e\nP")
> (mouse-set-point click)
> (and (not (Info-try-follow-nearest-node fork))
> (save-excursion (forward-line 1) (eobp))
> (Info-next-preorder)))
IIRC, using an optional FORK arg is a deprecated feature.
You can use M-n instead.
--
Juri Linkov
http://www.jurta.org/emacs/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-01-22 0:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-08 18:37 Info-mouse-follow-nearest-node should take prefix arg to fork Drew Adams
2006-01-09 16:58 ` Richard M. Stallman
2006-01-22 0:43 ` Juri Linkov
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).