emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Some developement questions


From: hw
Subject: Re: Some developement questions
Date: Mon, 10 Sep 2018 08:47:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Juri Linkov <address@hidden> writes:

>> BTW, when I was reading it, I was wishing I could open links in other
>> buffers or windows like I would open another tab in a web brower.  Is
>> there some way to do something like that?  It can make it easier to keep
>> track of the history as you can break up a history tree into something
>> far more navigable by using tabs as anchors of branches (that have
>> branches, etc.).
>
> Here is what could help you to emulate web browser tabs:
>
> (define-key Info-mode-map [C-down-mouse-1]
>   (lambda (click)
>     (interactive "e")
>     (mouse-set-point click)
>     (Info-follow-nearest-node 'fork)))

Thanks to everyone for their suggestions!


I've written a function to use X frames when I follow another branch:


(defun my-new-info-tab ()
  (interactive)
  (with-current-buffer (clone-buffer)
    (Info-follow-nearest-node)
    (display-buffer-pop-up-frame (current-buffer) nil)))


Is there a way to make it so that the frame used to display a branch
deletes itself when the cloned buffer it has been created for is killed?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]