[Top][All Lists]

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

Re: New Surface computer, several problems

From: Eli Zaretskii
Subject: Re: New Surface computer, several problems
Date: Tue, 15 Nov 2022 14:55:50 +0200

> From: Allen Windhorn <>
> Date: Mon, 14 Nov 2022 10:53:37 -0600
> I have a new computer, running Windows 11. 

You have my sympathy ;-)

> (1) My old (crufty) .emacs file no longer runs. I would like the feature that 
> asks for confirmation before closing
> the last buffer - can anyone recommend code for that. 

I don't think I understand what do you mean by "closing the last
buffer".  How about if you describe this in terms of Emacs commands or
key sequences that you type, and tell at which step would you like
Emacs to ask for confirmation.

> (2) when Emacs starts, the font is #5 and the window is tiny. I can't figure 
> how to set it to a larger font and
> stay that way. 

Does invoking Emacs as "emacs -fn "Courier New-15" change the window
size?  If it does, try to find the number instead of 15 that gives the
best results.  Then, inside Emacs type:

  M-: (face-font 'default) RET

This will show a long string that defines the font you are using.  Add
the following line to your ~/.emacs init file:

  (add-to-list 'default-frame-alist '(font . "FONT"))

where FONT is that long line specifying the font.

> (3) Also, the icons on the menu are very small. 

You mean, tool-bar buttons?  I don't think you can do anything about
that, sorry.

> (4) when I try to print, I get something like "permission denied: Epson 
> RS480". 

Suggest to read the "Windows Printing" node in the Emacs user manual,
it describes several possible methods of solving this.

> (5) the default directory is c:emacs-xx.x despite having HOME set to my home 
> directory. 

Check the "Start in" property of the icon or the shortcut through
which you invoke Emacs: it specifies the directory in which Emacs
should start.

> and (6) I can't double-click a text file and have it open in Emacs any more. 

In File Explorer?  You need to set up Emacs as the default application
for TXT files.

Good luck!

reply via email to

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