emacs-devel
[Top][All Lists]
Advanced

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

Re: master 18b680cfd1: Fix bug#52467 by adding a new custom variable 'di


From: Juri Linkov
Subject: Re: master 18b680cfd1: Fix bug#52467 by adding a new custom variable 'display-comint-buffer-action'
Date: Mon, 03 Jan 2022 09:51:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)

>> This is how we can make customization simpler, helping to get the old 
>> behavior
>> back for a set of commands.  Currently there are 11 comint commands that
>> have invocations like:
>>
>>    (pop-to-buffer "*inferior-lisp*" display-comint-buffer-action)
>>    (pop-to-buffer "*scheme*" display-comint-buffer-action)
>>    ...
>
> IIUC 'shell' still has (pop-to-buffer buffer), 'sh-show-shell' has
> (pop-to-buffer (process-buffer (sh-shell-process t))).  Shouldn't these
> become part of the same scheme?

Right, this omission should be fixed.

> Yet the problem remains how to easily get back the old behavior for
> individual 'display-buffer'-based calls we decided to change.

There was an idea to create a package that will revert all changes
in the default values since the last release.  So e.g. antinews-29.el
could contain:

    ;; Revert variable-pitch mode-line back to fixed:
    (set-face-attribute 'mode-line nil :inherit 'fixed-pitch)

    ;; Display comint buffers in another window again:
    (add-to-list 'display-buffer-alist
                 '("\\*inferior-lisp\\*\\|\\*scheme\\*\\|..."
                   (display-buffer-pop-up-window
                    . ((inhibit-same-window . t)))))
    ...



reply via email to

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