From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Skip Montanaro Newsgroups: gmane.emacs.help Subject: Re: Emacs Initialization Date: Mon, 12 Jul 2021 10:52:55 -0500 Message-ID: References: <46419a94-2fcc-9b31-fc77-8bb799c4a11b@mail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9287"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help GNU Emacs To: Steve A Branch Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 12 17:54:28 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m2yGK-0002CV-2s for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 12 Jul 2021 17:54:28 +0200 Original-Received: from localhost ([::1]:38958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2yGJ-0002vf-4w for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 12 Jul 2021 11:54:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34088) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2yFI-0002iJ-Ko for help-gnu-emacs@gnu.org; Mon, 12 Jul 2021 11:53:24 -0400 Original-Received: from mail-yb1-xb2b.google.com ([2607:f8b0:4864:20::b2b]:40725) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m2yFH-0002Nk-9S for help-gnu-emacs@gnu.org; Mon, 12 Jul 2021 11:53:24 -0400 Original-Received: by mail-yb1-xb2b.google.com with SMTP id p22so29741086yba.7 for ; Mon, 12 Jul 2021 08:53:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ihkPKM4eEd7fCQ4DH1A+2rj5evfZ0oldYQROb9djQKk=; b=Q5eQTWR9YPlZ6BvrA3aYYOqiwT7vGGrAdLsvWiFJC7ifDGTKVsxF7O1F1DQ9G9YzwU DbVi7jxOI8s45/1QkknXLC/6oMn5cgy7lP8Rf9PPW4x9hRJ0OBz0mLLTlZzkKzcI+Yvt 7xIdbUNXfJ5fr3Ec2pSsBoW3Ay8l84gS3a7e3daI9afxBqOcUYksLpx6iQhH5HRfjQ1n mt0ng/PemeoVCGJ6ITlD0cn4mK+LFpwPNGiHOnLzF80N/20853xPOqe959vBj1PHYocp yRQCDjWGPEG/C4doI3BNVzGgS6YaLw1K/rOntZPWXecyjXjfR6Kkj/L/g+A5csKo3qAK kk2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ihkPKM4eEd7fCQ4DH1A+2rj5evfZ0oldYQROb9djQKk=; b=P5PlCOihwHBsbIM7QN6CODBSOU/JBIJXdSEokOGXyDHe4cNSRJFG/8ZdQaHZFmel3u dzLHaAwy4Q44TcxwLPOAzin46xB7s9xRUhWhGZHHqVBan0MNm/n8KOhpXDvyON+35ck8 5O/qBdMYaUfMhqeepPHQzNRvNuV66E4LcT5PFepoJXK4gf29zeizFUMPfASGRnmPAQkE lvNQVg7DBG3a2U+nwVFkQFq5BLx0wJXD6JBSyvHOFm5fQFJ6rd1gpQSrASK0Md+LUUq6 C0lRtVSUGLYTWQaySw1bBR8j1155imtj+O/av7NBwng9lH5176Rz3+8Fav//ErpiNLfp dwgQ== X-Gm-Message-State: AOAM533qVt2WN0wI1zuTyMtRJBI5neZER4D+dBnExO80+CQW9gOrSOHV bm+VGCqCL5UaiU+G8B2pZ2FUUrQDKsjP8XpYOwHlOL4= X-Google-Smtp-Source: ABdhPJyPLAEbj/zUL6Y2P51BIeMiPJfthOZjg2qjQzvMwLKfmOeEMs4BVbXGELwi75I1x2bOFzsVDHOKrtRP2WYD7Ic= X-Received: by 2002:a25:8a:: with SMTP id 132mr29837385yba.67.1626105201638; Mon, 12 Jul 2021 08:53:21 -0700 (PDT) In-Reply-To: <46419a94-2fcc-9b31-fc77-8bb799c4a11b@mail.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::b2b; envelope-from=skip.montanaro@gmail.com; helo=mail-yb1-xb2b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:131668 Archived-At: > I have a confusing problem that I have encountered since starting to > learn how to code in Python 3. I want my emacs window to initialize > itself using my ~/.emacs.d/init.el initialization file. I have enclosed > it for your information. Steve, A few questions: * You mention Python 3, but I see nothing in the init file you posted which looks Python-related. * I don't think you need to set default-drectory. It's buffer local and will be set no matter what you're editing. Can you explain why you do? * You mentioned that it takes several starts to get the initial window to open at the desired height. - Does the "initialized" message always display even when the initial window height isn't correct? - Is it possible your window manager and other open windows are conspiring to limit your initial window dimensions? Skip