LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-25-2020, 08:06 PM   #1
MattRW
Member
 
Registered: Feb 2018
Location: Los Angeles area
Distribution: ubuntu, redhat, fedora
Posts: 34

Rep: Reputation: Disabled
ubuntu 20.10, was 18.04, now emacs frame size not honored


I've upgraded from Ubuntu 18.02 to 20.10.
Emacs was upgraded to 26.3. I'm setting my frame-size in .emacs using
Code:
(setq initial-frame-alist '((top . 1) (left . 1) (width . 80) (height . 44)))
(setq default-frame-alist '((width . 80) (height . 44)))
Now my emacs windows are instantiated with frame with of 79, never 80. I even elimiated ~/.emacs and started it from the command line using `-geometry 80x20' but still have 79 columns. This all worked with 18.04.

Any ideas what the issue might be or how to chase it down?
 
Old 01-01-2021, 06:51 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
Check if there is an X resources file which would override your init
 
Old 01-01-2021, 03:52 PM   #3
MattRW
Member
 
Registered: Feb 2018
Location: Los Angeles area
Distribution: ubuntu, redhat, fedora
Posts: 34

Original Poster
Rep: Reputation: Disabled
Thanks for the .Xresources suggestion. I did have something set, to 80 columns. I commented it out and rebooted but the same behavior exists. I think it might be related to fonts. I don't know how to check the fonts, but if I try to "set default font .." it looks like I have 'Ubuntu Mono Regular" 13.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I get emacs -nw when I call emacs from a terminal but GUI emacs elsewhere? Blackened Justice Linux - Newbie 4 09-08-2011 07:57 AM
how does pixel aspect relate to frame size in mplayer/how do you find vid frame size? BrianK Linux - General 3 10-31-2007 01:08 PM
Frame-by-frame video jeffChuck Linux - Software 0 10-12-2004 10:04 PM
calling a frame from another frame : JAVA randomx Programming 0 10-07-2004 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration