unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [Emacs-diffs] master 021430f: New commands: find-library-other-window, find-library-other-frame
       [not found] ` <20170520114416.7AA8621038@vcs0.savannah.gnu.org>
@ 2017-05-20 12:58   ` Stefan Monnier
  2017-05-26 19:12     ` Charles A. Roelli
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2017-05-20 12:58 UTC (permalink / raw)
  To: emacs-devel; +Cc: Charles A. Roelli

> +** Two new commands for finding the source code of Emacs Lisp
> +libraries: 'find-library-other-window' and 'find-library-other-frame'.

I thought the intention was to move towards the other-frame-window
package, so you can just do

    C-x 5 M-x find-library RET
or
    C-x 4 M-x find-library RET

to open it in another frame resp. window.


        Stefan



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Emacs-diffs] master 021430f: New commands: find-library-other-window, find-library-other-frame
  2017-05-20 12:58   ` [Emacs-diffs] master 021430f: New commands: find-library-other-window, find-library-other-frame Stefan Monnier
@ 2017-05-26 19:12     ` Charles A. Roelli
  2017-05-26 19:26       ` Stefan Monnier
  2017-05-30 23:07       ` Stephen Leake
  0 siblings, 2 replies; 4+ messages in thread
From: Charles A. Roelli @ 2017-05-26 19:12 UTC (permalink / raw)
  To: Stefan Monnier, emacs-devel

This package sounds pretty complicated.  And also, wouldn't it step on 
user bindings made in C-x 4 and C-x 5 keymaps?


On 20/05/2017 14:58, Stefan Monnier wrote:
>> +** Two new commands for finding the source code of Emacs Lisp
>> +libraries: 'find-library-other-window' and 'find-library-other-frame'.
> I thought the intention was to move towards the other-frame-window
> package, so you can just do
>
>      C-x 5 M-x find-library RET
> or
>      C-x 4 M-x find-library RET
>
> to open it in another frame resp. window.
>
>
>          Stefan




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Emacs-diffs] master 021430f: New commands: find-library-other-window, find-library-other-frame
  2017-05-26 19:12     ` Charles A. Roelli
@ 2017-05-26 19:26       ` Stefan Monnier
  2017-05-30 23:07       ` Stephen Leake
  1 sibling, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2017-05-26 19:26 UTC (permalink / raw)
  To: Charles A. Roelli; +Cc: emacs-devel

> This package sounds pretty complicated.

Indeed, you can't replace all the *-other-window and *-other-frame
functions (and automatically create all the ones that have been missing)
once and forall without some effort.

> And also, wouldn't it step on user bindings made in C-x 4 and C-x
> 5 keymaps?

They'd need to update their .emacs to bind them in another map, yes.
Tho, IIRC, we could add some hack to try and keep some of those old
configs working as expected, but I'm not sure it's worth the trouble.


        Stefan



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Emacs-diffs] master 021430f: New commands: find-library-other-window, find-library-other-frame
  2017-05-26 19:12     ` Charles A. Roelli
  2017-05-26 19:26       ` Stefan Monnier
@ 2017-05-30 23:07       ` Stephen Leake
  1 sibling, 0 replies; 4+ messages in thread
From: Stephen Leake @ 2017-05-30 23:07 UTC (permalink / raw)
  To: emacs-devel

"Charles A. Roelli" <charles@aurox.ch> writes:

> This package sounds pretty complicated.  

(I'm the author of other-frame-window, with lots of input from
Stefan)

Do you mean "complicated to use"?

I don't see why; it's just prefix keys that mean "other frame" or "other
window". You can rebind the keys to something convenient.

I recently improved the package description in Gnu ELPA; let me know how
it could be improved further.

If you mean "complicated to implement", it wasn't, but that's not very
relevant anyway, since it _is_ implemented, and Just Works. That's the
beauty of packages.

In the long run, it makes all other packages simpler, because they don't
have to provide *-other-frame/window versions of functions.

> And also, wouldn't it step on user bindings made in C-x 4 and C-x 5
> keymaps?

By default, it uses C-x 7, 9, but you might want to rebind those to C-x
4, 5.


> On 20/05/2017 14:58, Stefan Monnier wrote:
>>> +** Two new commands for finding the source code of Emacs Lisp
>>> +libraries: 'find-library-other-window' and 'find-library-other-frame'.
>> I thought the intention was to move towards the other-frame-window
>> package, so you can just do
>>
>>      C-x 5 M-x find-library RET
>> or
>>      C-x 4 M-x find-library RET
>>
>> to open it in another frame resp. window.
>>
>>
>>          Stefan
>
>
>

-- 
-- Stephe



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-05-30 23:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20170520114415.22119.72054@vcs0.savannah.gnu.org>
     [not found] ` <20170520114416.7AA8621038@vcs0.savannah.gnu.org>
2017-05-20 12:58   ` [Emacs-diffs] master 021430f: New commands: find-library-other-window, find-library-other-frame Stefan Monnier
2017-05-26 19:12     ` Charles A. Roelli
2017-05-26 19:26       ` Stefan Monnier
2017-05-30 23:07       ` Stephen Leake

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).