all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Boruch Baum <boruch_baum@gmx.com>
To: Emacs-Devel List <emacs-devel@gnu.org>
Cc: Eli Zaretskii <eliz@gnu.org>,
	Daniel Colascione <dancol@dancol.org>,
	Arthur Miller <arthur.miller@live.com>
Subject: Re: Proposal: new default bindings for winner and windmove
Date: Sun, 22 Aug 2021 03:37:43 -0400	[thread overview]
Message-ID: <20210822073742.dy2ifft45ot24h6o@E15-2016.optimum.net> (raw)

> From: Eli Zaretskii
> Date: Sun, 22 Aug 2021 09:02:23 +0300
>
> > From: Arthur Miller <arthur.miller@live.com>
> > Date: Sat, 21 Aug 2021 22:20:22 +0200
> >
> > > I'm actually surprised they have key bindings.  How frequently do you
> > > undo/redo window configuration changes?
> > You obviously don't need to call help functions as often as I :).

Adding myself to the list of people who use winner-mode often and are
happy with the keybinding status quo.

> > It is handy to restore back windows after
> > ...

+1

> My solution to the "window configuration issue" is to keep several
> frames, one each for different tasks.  Each frame has windows arranged
> as appropriate for that task, and that configuration rarely if ever
> changes.

As a case in point, I found `ediff' mode very frustrating in that upon
quitting, it would always leave me with an undesirable window
configuration, and I never figured out how to *reliably* automate using
`winner-undo' for that situation. What did work was what you're
suggesting:

   (defun my-ediff-pre ()
     "Stuff to perform before starting any `ediff' session.
   Meant to be an entry in variable `ediff-before-setup-hook'."
     (make-frame-command)
     (set-frame-name "ediff"))

   (defun my-ediff-post ()
     "Stuff to perform after exiting any `ediff' session.
   Meant to be an entry in variable `ediff-quit-hook'."
     (condition-case nil
       (progn
         (select-frame-by-name "ediff")
         (delete-frame))))

   (add-hook 'ediff-before-setup-hook #'my-ediff-pre)
   (add-hook 'ediff-quit-hook #'my-ediff-post 100)

IMO, this should be considered as a default setup for ediff, and the
notion of defaulting to a dedicated frame for certain other specific
tasks should be considered (eg. calendar/diary). BTW, I do this with
packages diredc and crossword.

--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0



             reply	other threads:[~2021-08-22  7:37 UTC|newest]

Thread overview: 186+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-22  7:37 Boruch Baum [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-02 16:36 Proposal: new default bindings for winner and windmove Pedro Andres Aranda Gutierrez
2021-08-21 19:10 Daniel Colascione
2021-08-21 19:23 ` Eli Zaretskii
2021-08-21 19:27   ` Daniel Colascione
2021-08-21 19:36     ` Eli Zaretskii
2021-08-22  8:35       ` Juri Linkov
2021-08-21 19:42   ` Clément Pit-Claudel
2021-08-25 13:12     ` Kaushal Modi
2021-08-21 20:20   ` Arthur Miller
2021-08-22  6:02     ` Eli Zaretskii
2021-08-22  8:32       ` Arthur Miller
2021-08-22  0:43   ` Phil Sainty
2021-08-22  5:13   ` Teemu Likonen
2021-08-22  9:22     ` Teemu Likonen
2021-08-21 19:26 ` Arthur Miller
2021-08-22  8:37 ` Juri Linkov
2021-08-22 14:05   ` Arthur Miller
2021-08-22 19:16   ` Daniel Colascione
2021-08-22 17:52 ` Stefan Monnier
2021-08-22 22:01   ` Lars Ingebrigtsen
2021-08-23  5:16     ` Bozhidar Batsov
2021-08-24 21:33       ` Stefan Monnier
2021-08-25  3:42       ` Richard Stallman
2024-06-21 19:03   ` Stefan Monnier
2024-06-21 20:39     ` Stefan Kangas
2024-06-23 10:05       ` Alan Mackenzie
2024-06-23 11:14         ` Daniel Colascione
2024-06-23 12:05           ` Alan Mackenzie
2024-06-23 12:30             ` Stefan Kangas
2024-06-23 13:29               ` Alan Mackenzie
2024-06-23 13:34                 ` Daniel Colascione
2024-06-23 13:45                 ` Eli Zaretskii
2024-06-23 20:55                   ` chad
2024-06-23 12:57             ` Daniel Colascione
2024-06-23 13:40               ` Po Lu
2024-06-23 13:45                 ` Daniel Colascione
2024-06-23 14:15                   ` Po Lu
2024-06-23 14:22                     ` Eli Zaretskii
2024-06-24  7:41                       ` Gregor Zattler
2024-06-24 12:13                         ` Daniel Colascione
2024-06-24 12:41                         ` Eli Zaretskii
2024-06-24 15:09                           ` Gregor Zattler
2024-06-24 15:36                             ` Eli Zaretskii
2024-06-25  1:41                               ` Joel Reicher
2024-06-24 15:57                       ` Petteri Hintsanen
2024-06-25 21:26                       ` Jeremy Bryant
2024-06-26 11:23                         ` Eli Zaretskii
2024-06-26 11:44                           ` Daniel Colascione
2024-06-26 13:19                             ` Eli Zaretskii
2024-06-26 13:57                               ` Daniel Colascione
2024-06-26 15:38                                 ` Eli Zaretskii
2024-06-26 15:49                                   ` Daniel Colascione
2024-06-28 19:47                                 ` Hovav Shacham
2024-07-01  1:58                                   ` Stefan Kangas
2024-06-26 13:22                             ` Alan Mackenzie
2024-06-26 13:51                               ` Daniel Colascione
2024-06-26 14:13                                 ` Po Lu
2024-06-26 14:21                                   ` Daniel Colascione
2024-06-26 15:15                                     ` Po Lu
2024-06-26 15:27                                       ` Alan Mackenzie
2024-06-26 15:42                                       ` Colin Baxter
2024-06-26 16:00                                         ` Eli Zaretskii
2024-06-26 14:41                                   ` Joel Reicher
2024-06-26 15:43                                   ` Eli Zaretskii
2024-06-26 14:49                                 ` Alan Mackenzie
2024-06-26 14:27                               ` Stefan Monnier
2024-06-26 15:14                                 ` Alan Mackenzie
2024-06-26 13:53                             ` Po Lu
2024-06-26 14:18                               ` Daniel Colascione
2024-06-26 14:48                                 ` Po Lu
2024-06-26 14:27                               ` Stefan Monnier
2024-06-26 14:51                                 ` Po Lu
2024-06-26 15:01                                 ` Alan Mackenzie
2024-06-27 15:35                                 ` Augusto Stoffel
2024-07-02  6:28                       ` Visuwesh
2024-06-23 14:28                     ` Daniel Colascione
2024-06-23 14:37                       ` Po Lu
2024-06-23 14:45                         ` Daniel Colascione
2024-06-24 10:35                       ` Joel Reicher
2024-06-23 13:48                 ` Daniel Colascione
2024-06-23 14:25                   ` Po Lu
2024-06-23 14:38                     ` Daniel Colascione
2024-06-23 15:24                 ` Stefan Kangas
2024-06-23 15:36                   ` Eli Zaretskii
2024-06-23 19:10                 ` Gregor Zattler
2024-06-23 13:59               ` Alan Mackenzie
2024-06-23 14:06                 ` Daniel Colascione
2024-06-23 18:44         ` Eli Zaretskii
2024-06-23 18:51           ` Daniel Colascione
2024-06-23 19:26             ` Eli Zaretskii
2024-06-23 19:34               ` Eli Zaretskii
2024-06-23 19:55                 ` Stefan Monnier
2024-06-23 20:07               ` Dmitry Gutov
2024-06-23 19:52           ` Stefan Monnier
2024-06-23 20:07             ` Dmitry Gutov
2024-06-23 20:23             ` Stefan Kangas
2024-06-24  2:28             ` Eli Zaretskii
2024-06-24 10:41               ` Dmitry Gutov
2024-06-24 11:45                 ` Po Lu
2024-06-25  2:26                 ` Eli Zaretskii
2024-06-24  3:29       ` Philip Kaludercic
2024-06-24  6:32         ` Juri Linkov
2024-06-26 15:48       ` Stefan Monnier
2024-06-26 20:38         ` Alan Mackenzie
2024-07-01  1:29         ` Stefan Kangas
2024-07-01 10:07           ` Alan Mackenzie
2024-07-01 10:47             ` Po Lu
2024-07-01 11:12               ` Dmitry Gutov
2024-07-01 13:20                 ` Po Lu
2024-07-01 18:21                   ` Dmitry Gutov
2024-07-02  0:52                     ` Po Lu
2024-07-01 11:25             ` Dmitry Gutov
2024-07-01 13:28               ` Po Lu
2024-07-01 13:34                 ` Eli Zaretskii
2024-07-01 19:05                 ` Dmitry Gutov
2024-07-01 21:24               ` Alan Mackenzie
2024-07-01 22:07                 ` Daniel Colascione
2024-07-02  1:00                   ` Po Lu
2024-07-02  7:28                   ` Philip Kaludercic
2024-07-02 11:41                   ` Eli Zaretskii
2024-07-02  1:01                 ` Dmitry Gutov
2024-07-02 22:41                   ` Stefan Kangas
     [not found]                 ` <87h6d87op5.fsf@dancol.org>
2024-07-02 13:08                   ` Alan Mackenzie
2024-07-04  2:26             ` Richard Stallman
2024-07-01 23:18           ` Daniel Colascione
2024-07-02  1:02             ` Po Lu via Emacs development discussions.
2024-07-02  2:03               ` Howard Melman
2024-07-02 12:21                 ` Eli Zaretskii
2024-07-02  3:29               ` Stefan Monnier
2024-07-02  4:14                 ` Po Lu
2024-07-02 13:04                   ` Stefan Monnier
2024-07-02 13:36                     ` Eli Zaretskii
2024-07-02 14:20                       ` Stefan Monnier
2024-07-02 14:43                         ` Eli Zaretskii
2024-07-02 12:18               ` Eli Zaretskii
2024-07-02 12:52                 ` Daniel Colascione
2024-07-02 13:34                   ` Eli Zaretskii
2024-07-02 13:53                     ` Daniel Colascione
2024-07-02 14:15                       ` Eli Zaretskii
2024-07-02 14:41                         ` Daniel Colascione
2024-07-02 15:00                           ` Eli Zaretskii
2024-07-02 22:28                 ` Dmitry Gutov
2024-07-03  3:14                   ` Hovav Shacham
2024-07-02  6:50             ` Juri Linkov
2024-07-02  8:07               ` Yuri Khan
2024-07-02 16:27                 ` Juri Linkov
2024-07-02 11:50               ` Daniel Colascione
2024-07-02 16:32                 ` Juri Linkov
2024-07-02 16:47                   ` Daniel Colascione
2024-07-02 12:46               ` Eli Zaretskii
2024-07-02 13:31               ` Alfred M. Szmidt
2024-07-02 18:03               ` Dmitry Gutov
2024-07-02 18:07                 ` Alfred M. Szmidt
2024-07-02 18:29                 ` Eli Zaretskii
2024-07-02 18:30                 ` Yuri Khan
2024-07-02 20:00                   ` Dmitry Gutov
2024-07-03 11:56                     ` Yuri Khan
2024-07-03 13:53                       ` Stefan Monnier
2024-07-03 14:14                         ` Dmitry Gutov
2024-07-03 16:15                         ` Yuri Khan
2024-07-03 16:26                           ` Daniel Colascione
2024-07-03 22:12                             ` John ff
2024-07-02 18:34                 ` Alan Mackenzie
2024-07-02 19:53                   ` Dmitry Gutov
2024-07-02 20:12                     ` Alan Mackenzie
2024-07-02 21:13                       ` Daniel Colascione
2024-07-03  6:21                         ` Juri Linkov
2024-07-02 21:54                       ` Dmitry Gutov
2024-07-02 18:37                 ` Juri Linkov
2024-07-02 20:03                   ` Dmitry Gutov
2024-07-03  6:24                     ` Juri Linkov
2024-07-03 13:48                       ` Stefan Monnier
2024-07-03  6:56                 ` Visuwesh
2024-07-02  7:08             ` Philip Kaludercic
2024-07-02 11:46               ` Daniel Colascione
2024-07-02 13:31                 ` Alan Mackenzie
2024-07-02 13:52                   ` Dmitry Gutov
2024-07-02 13:55                   ` Daniel Colascione
2024-07-02 14:42                     ` Alan Mackenzie
2024-07-02 15:36                     ` Alfred M. Szmidt
2024-07-02 11:57             ` Eli Zaretskii
2024-07-02 23:20             ` Stefan Kangas
2024-07-03  1:19             ` Liu Hui
2024-06-23  6:59     ` Juri Linkov
2021-08-22 18:58 ` Dmitry Gutov

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210822073742.dy2ifft45ot24h6o@E15-2016.optimum.net \
    --to=boruch_baum@gmx.com \
    --cc=arthur.miller@live.com \
    --cc=dancol@dancol.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.