[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Info-mode patch
From: |
Eli Zaretskii |
Subject: |
Re: Info-mode patch |
Date: |
Tue, 27 Jun 2023 14:45:53 +0300 |
> From: Juri Linkov <juri@linkov.net>
> Cc: emacs-devel@gnu.org
> Date: Mon, 26 Jun 2023 20:56:19 +0300
>
> > -(defun Info-directory ()
> > +(defun Info-directory (&optional window)
> > "Go to the Info directory node."
> > (interactive)
> > - (Info-find-node "dir" "top"))
> > + (with-selected-window (or window (info-window))
> > + (Info-find-node "dir" "top")))
>
> I wonder why you modified a lot of commands instead of implementing
> a non-intrusive approach of creating standard wrapper commands like
>
> (defun Info-directory-other-window (&optional window)
> "Go to the Info directory node in another window."
> (interactive)
> (with-selected-window (or window (info-window))
> (Info-directory)))
Someone, I think it was Stefan, suggested to use a kind of "universal
window argument", similar to "C-x RET c" (which is bound to
universal-coding-system-argument, and allows to specify a
coding-system for the next command. Wouldn't that approach resulted
in a cleaner, more elegant solution?
- Re: Info-mode patch, (continued)
- Re: Info-mode patch, Arthur Miller, 2023/06/29
- Re: Info-mode patch, Juri Linkov, 2023/06/29
- Re: Info-mode patch, Arthur Miller, 2023/06/29
- RE: [External] : Re: Info-mode patch, Drew Adams, 2023/06/29
- Re: [External] : Re: Info-mode patch, Arthur Miller, 2023/06/29
- Re: Info-mode patch, Juri Linkov, 2023/06/29
- Re: Info-mode patch, Arthur Miller, 2023/06/30
- Re: Info-mode patch, Juri Linkov, 2023/06/30
- Re: Info-mode patch, Arthur Miller, 2023/06/30
- Re: Info-mode patch, Juri Linkov, 2023/06/30
- Re: Info-mode patch,
Eli Zaretskii <=
- Re: Info-mode patch, Arthur Miller, 2023/06/27
- Re: Info-mode patch, Eli Zaretskii, 2023/06/27
- Re: Info-mode patch, Arthur Miller, 2023/06/27
- Re: Info-mode patch, Eli Zaretskii, 2023/06/27
- Re: Info-mode patch, Arthur Miller, 2023/06/27