From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#26537: Problems with Emacs frame (GTK) Date: Tue, 18 Apr 2017 10:07:11 +0200 Message-ID: <58F5C92F.6010400@gmx.at> References: <58F47A0D.8030308@gmx.at> <433b9ec9-bf7e-efd4-a1e1-1a80326aff6a@alice.it> <58F4E294.8050701@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1492502890 31027 195.159.176.226 (18 Apr 2017 08:08:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 18 Apr 2017 08:08:10 +0000 (UTC) To: Angelo Graziosi , 26537@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 18 10:08:05 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0OBA-0007wI-QB for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Apr 2017 10:08:04 +0200 Original-Received: from localhost ([::1]:40535 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0OBG-0002b3-DX for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Apr 2017 04:08:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0OBB-0002ax-6e for bug-gnu-emacs@gnu.org; Tue, 18 Apr 2017 04:08:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0OB8-0002ZJ-0T for bug-gnu-emacs@gnu.org; Tue, 18 Apr 2017 04:08:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55169) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d0OB7-0002ZF-TW for bug-gnu-emacs@gnu.org; Tue, 18 Apr 2017 04:08:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d0OB7-000292-Ok for bug-gnu-emacs@gnu.org; Tue, 18 Apr 2017 04:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Apr 2017 08:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26537 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 26537-submit@debbugs.gnu.org id=B26537.14925028498198 (code B ref 26537); Tue, 18 Apr 2017 08:08:01 +0000 Original-Received: (at 26537) by debbugs.gnu.org; 18 Apr 2017 08:07:29 +0000 Original-Received: from localhost ([127.0.0.1]:53367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0OAb-000289-68 for submit@debbugs.gnu.org; Tue, 18 Apr 2017 04:07:29 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:54776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0OAZ-00027v-SI for 26537@debbugs.gnu.org; Tue, 18 Apr 2017 04:07:28 -0400 Original-Received: from [192.168.1.100] ([213.162.68.49]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0McDl1-1chtya42kx-00JeUn; Tue, 18 Apr 2017 10:07:20 +0200 In-Reply-To: X-Provags-ID: V03:K0:tdWAIJ7MvaaLHg4F6GdG6gE3/m5QWyst8MjaO99SpL8TsidfJLG 9cInGaONiDx0Q04v0BTzOLoevf/CduPSSVSfPtIlhGL7V4Lz/bYSS8uM8t4BAzjMNf6+Deh PzGho+0qU9Fop9WUWJSXhfv7ZRKypM4v7AZt5AxJXVU836eYY3svjSq9EspNx9Up2kVZMyL Eqa+ierwwWtODafPdkIpA== X-UI-Out-Filterresults: notjunk:1;V01:K0:RV0MWzlzPfI=:YIFtc0Q5QInAShVe73hvev aKEks/D2J7aQuUy46ijej/KDt+QMomEqG8CcUoJ0CSrNlIlNrln6i5IEJMAN4ox7VJeyZG0Ew FmU2Fln9seBVg4cFmXDT/1jMki0CSXfrs7C1tUnI2k35XJ7H08m0Zmde2ufTFBXovTEbqLV6r cSziA30KGuC+7XeTJiHotxE6iGnPe29Nc73ANvR54AvjJX9tkqFwDAFwnsQyvazTCnqXRRyii Dt+DTodh2uSU+70d9Zzd66Bhw38McnSKN19ji6le7+f+dCl9EwQLJBXpxdCwkgb7GxggLrzh0 FbzC+3Gubc+NuDeBwx75f8CdxFALJ99yAwO8iP/eA5dK7tt513mkrkQd4wnMoykOlFCtZDG9m ShL3IKTmS1wEwDzPgOeloTIGAfWsozo6vFnaphOrIDmTQROJOphrA7eSuuxV5qFeDRgRSU+qY BIpKkpN6wc53phOFES9YejpxkCqiU/dVMjmGR3H6b2TXU6aLewqtiypywFv7iR7tcM+7Jt3TZ k5EQoxBsmX4DGbknj+Jyd351Vg3J9Cuuf0VK4c2YlxKqYyD1Zdmv5nHa6nS++xzw2JfdFNVXV yZhnHJilWJgER8soxJOL6NhBGywgeUgSZBPxhVXPr6CZDZN2kK8i2lxfcK6DVEj/Yp4QLrGMH Odrt8f1hOO+KSK5x2MlkVSmEIOsYGxPoYnyANoHlaVsepKCde9qfC4MiAz+bdweoqCRQOyVY1 T1OVZ9iieoWh5STMpmplIAorgnngbj62NoSgAV4RgzUCa2xwwXM8uib6IB5KBqu+0f77BIWj X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:131719 Archived-At: I looked into your init.el file now. Your problem can be encapsulated in the following two forms: (setq default-frame-alist '( (width . 110) ; character (height . 49) ; lines (font . "Monospace-11") ; font )) (add-hook 'emacs-startup-hook 'start-sr-speedbar) According to its doc-string, =E2=80=98emacs-startup-hook=E2=80=99 is run = "after loading init files and handling the command line". This means that you want to split a window and give the new window a size of 30 characters. And afterwards you want to enlarge the window's frame to 110 characters and change its default font and at the same time keep the window size at 30 characters. This is (almost) asking for the impossible. The hook you want to put =E2=80=98start-sr-speedbar=E2=80=99 on is =E2=80= =98window-setup-hook=E2=80=99. According to its doc-string: "This is very similar to `emacs-startup-hook'. The only difference is that this hook runs after frame parameters have been set up in response to any settings from your init file. Unless this matters to you, use `emacs-startup-hook' instead." I'm quite confident that "it matters to you" ;-) martin