* dired customization
@ 2021-07-02 15:09 Klaus Jantzen
2021-07-02 15:52 ` Emanuel Berg via Users list for the GNU Emacs text editor
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Klaus Jantzen @ 2021-07-02 15:09 UTC (permalink / raw)
To: emacs-list
Hi,
in dired I can use 'New Frame' (C-x 5 2) to display a previously
selected file in a new, bigger frame.
Looking through the customization options for dired I did not find a
solution for the following question:
Which option do I have to change to alter the dimensions of this new frame?
I am using Emacs 26.1 under Debian Buster.
--
K.D.J.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: dired customization
2021-07-02 15:09 dired customization Klaus Jantzen
@ 2021-07-02 15:52 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-02 16:09 ` [External] : " Drew Adams
2021-07-05 7:52 ` Klaus Jantzen
2 siblings, 0 replies; 4+ messages in thread
From: Emanuel Berg via Users list for the GNU Emacs text editor @ 2021-07-02 15:52 UTC (permalink / raw)
To: help-gnu-emacs
Klaus Jantzen wrote:
> in dired I can use 'New Frame' (C-x 5 2) to display
> a previously selected file in a new, bigger frame.
>
> Looking through the customization options for dired I did
> not find a solution for the following question:
>
> Which option do I have to change to alter the dimensions of
> this new frame?
C-h k C-x 5 2
C-h f make-frame-command RET
TAB (or `forward-button')
RET (or `push-button')
You are now in /usr/local/share/emacs/28.0.50/lisp/frame.el.gz
line 785 and see
(if (display-graphic-p)
(make-frame)
(select-frame (make-frame)) )
so if you are in X that's `make-frame' for you...
C-h f make-frame RET
(make-frame &optional PARAMETERS)
[...] Each element of PARAMETERS should have the form
(NAME . VALUE), for example [...]
(width . NUMBER) The frame should be NUMBER characters in width.
(height . NUMBER) The frame should be NUMBER text lines high.
--
underground experts united
https://dataswamp.org/~incal
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [External] : dired customization
2021-07-02 15:09 dired customization Klaus Jantzen
2021-07-02 15:52 ` Emanuel Berg via Users list for the GNU Emacs text editor
@ 2021-07-02 16:09 ` Drew Adams
2021-07-05 7:52 ` Klaus Jantzen
2 siblings, 0 replies; 4+ messages in thread
From: Drew Adams @ 2021-07-02 16:09 UTC (permalink / raw)
To: Klaus Jantzen, emacs-list
> in dired I can use 'New Frame' (C-x 5 2) to display a previously
> selected file in a new, bigger frame.
>
> Looking through the customization options for dired I did not find a
> solution for the following question:
>
> Which option do I have to change to alter the dimensions of this new frame?
Dired does not have any settings that control
frame size.
The characteristics of the frame you get when
you use `C-x 5 2' are those defined by option
`default-frame-alist'.
However, if you want to _clone_ the selected
frame, that is, copy it as a new frame with the
same characteristics as the current frame, then
you can use command `clone-frame' from library
`frame-cmds.el'. I bind that to `C-x 5 2'
instead of the default binding, which is to
command `make-frame-command'.
Code:
https://www.emacswiki.org/emacs/download/frame-cmds.el
Doc:
https://www.emacswiki.org/emacs/FrameModes#frame-cmds.el
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: dired customization
2021-07-02 15:09 dired customization Klaus Jantzen
2021-07-02 15:52 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-02 16:09 ` [External] : " Drew Adams
@ 2021-07-05 7:52 ` Klaus Jantzen
2 siblings, 0 replies; 4+ messages in thread
From: Klaus Jantzen @ 2021-07-05 7:52 UTC (permalink / raw)
To: help-gnu-emacs
Hi,
thank you very much for your help.
I will try to implement your suggestions and will cry for help in case I
goofed up my system.
K.D.J.
On 7/2/21 5:09 PM, Klaus Jantzen wrote:
> Hi,
>
> in dired I can use 'New Frame' (C-x 5 2) to display a previously
> selected file in a new, bigger frame.
>
> Looking through the customization options for dired I did not find a
> solution for the following question:
>
> Which option do I have to change to alter the dimensions of this new
> frame?
>
> I am using Emacs 26.1 under Debian Buster.
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-07-05 7:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-02 15:09 dired customization Klaus Jantzen
2021-07-02 15:52 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-02 16:09 ` [External] : " Drew Adams
2021-07-05 7:52 ` Klaus Jantzen
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).