help-emacs-windows
[Top][All Lists]
Advanced

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

Re: [h-e-w] Emacs windows goes "under" the vertical taskbar when maximiz


From: Joon Ro
Subject: Re: [h-e-w] Emacs windows goes "under" the vertical taskbar when maximized
Date: Fri, 3 Jan 2014 11:37:19 +0900

I'm sorry, since there was another thread about this (http://lists.gnu.org/archive/html/help-emacs-windows/2011-10/msg00011.html) I thought this happens universally. 

First, the versions are:

* Windows 8.1 64bit
* GNU Emacs 24.3.1 (i386-mingw-nt6.2.9200)

How to replicate: 

1. Vertical windows taskbar - in my case it is on the right side of the screen
2. Open Emacs
3. Maximize it by either double clicking on the title bar or clicking the maximize button of the emacs window.


But then, I found the culprit. I have the following in my ``.emacs``:

```lisp
(add-hook 'after-make-frame-functions
  (if window-system
    (progn
        (cond ((eq system-type 'gnu/linux)
                 ;(set-face-attribute 'default nil :font "Inconsolata-g-10")
                 (setq initial-frame-alist '(
                   (font . "Monospace-11")
                 ))
                 (setq default-frame-alist '(
                   (font . "Monospace-11")
                 ))
                 (set-fontset-font "fontset-default" 'korean-ksc5601 "-unknown-NanumGothicCoding-normal-normal-normal-*-*-*-*-*-d-0-iso10646-1"))
              ((eq system-type 'windows-nt)
               (progn
                 (set-face-attribute 'default nil :font "Consolas 13")
                 ))
        )
        )))
```

And when I take this out, maximization works as expected. How should I change this so I can have default font set without?

Best,
Joon



On Fri, Jan 3, 2014 at 2:18 AM, Raymond Zeitler <address@hidden> wrote:
FWIW, I cannot corroborate this behavior.  It works for me as expected.

Win 7 Pro 64-bit, SP1
GNU Emacs 24.1.1 (i386-mingw-nt6.1.7601) of 2012-06-10 on MARVIN

Maximized Emacs by clicking the Maximize / Restore button in the upper right corner of the window.

Sorry about the backwards manner of quoting.

- Ray


-----Original Message-----
Date: Thu, 02 Jan 2014 17:19:22 +0200
From: Eli Zaretskii <address@hidden>
To: Joon Ro <address@hidden>
Cc: address@hidden
Subject: Re: [h-e-w] Emacs windows goes "under" the vertical taskbar
        when    maximized
Message-ID: <address@hidden>

> Date: Thu, 2 Jan 2014 12:45:38 +0900
> From: Joon Ro <address@hidden>
>
> When I maximize my Emacs window, it goes under the vertical taskbar -
> instead of properly maximized.
> That is, if my resolution is 1600x900, with taskbar having 100 pixels on
> the right, when I maximize Emacs window, it becomes 1600x900 instead of
> 1500x900.

Please tell at least the versions of Emacs and of Windows, and also
how do you maximize the Emacs frame, otherwise it is very hard to say
anything about this report.




reply via email to

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