unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Noam Postavsky <npostavs@gmail.com>
Cc: Immanuel Litzroth <immanuel.litzroth@gmail.com>, 37053@debbugs.gnu.org
Subject: bug#37053: 26.2; window.el does not (provide 'window)
Date: Wed, 21 Aug 2019 05:03:46 +0200	[thread overview]
Message-ID: <CADwFkmnSAmnkG_7RZpZa8rN-M5t2SZ1t3-+aud9FLy2zU8n5fg@mail.gmail.com> (raw)
In-Reply-To: <85y2ztj78r.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 752 bytes --]

Noam Postavsky <npostavs@gmail.com> writes:

> >> (use-package window
> >>   :custom (split-height-threshold nil "Minimum height for splitting windows sensibly."))
> >
> > For builtin variables like this, you can just do
> >
> > (use-package emacs
> >    :custom (split-height-threshold nil "Minimum height for splitting windows sensibly."))
>
> Oh, (use-package "window" ...) should work as well.  See also
> https://debbugs.gnu.org/25026 for a similar report about isearch.el.

Since the third party package use-package by John Wiegley is gaining
popularity in the Emacs community, perhaps we should make life a bit
easier for these users.  The attached patch is simple enough.  Does
anyone disagree with making such a change?

Thanks,
Stefan Kangas

[-- Attachment #2: 0001-lisp-window.el-Add-provide-statement.-Bug-37053.patch --]
[-- Type: text/x-patch, Size: 601 bytes --]

From daed6b4e6e67bb3c38acf7ed07ed25e997741902 Mon Sep 17 00:00:00 2001
From: Stefan Kangas <stefankangas@gmail.com>
Date: Wed, 21 Aug 2019 05:00:36 +0200
Subject: [PATCH] * lisp/window.el: Add provide statement.  (Bug#37053)

---
 lisp/window.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/window.el b/lisp/window.el
index 80dbd64f18..ed94d34c8b 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -9870,4 +9870,6 @@ ctl-x-map
 (define-key ctl-x-map "+" 'balance-windows)
 (define-key ctl-x-4-map "0" 'kill-buffer-and-window)
 
+(provide 'window)
+
 ;;; window.el ends here
-- 
2.20.1


  reply	other threads:[~2019-08-21  3:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-16  9:27 bug#37053: 26.2; window.el does not (provide 'window) Immanuel Litzroth
2019-08-16 14:48 ` Noam Postavsky
2019-08-16 18:27   ` Noam Postavsky
2019-08-21  3:03     ` Stefan Kangas [this message]
2019-08-21 12:24       ` Noam Postavsky
2019-08-21 16:04         ` Eli Zaretskii
2019-08-21 22:31       ` Richard Stallman
2019-08-23 22:57         ` Stefan Kangas
2019-08-24  3:05           ` Noam Postavsky
2019-08-24 22:59             ` Richard Stallman
2020-09-15 13:39       ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADwFkmnSAmnkG_7RZpZa8rN-M5t2SZ1t3-+aud9FLy2zU8n5fg@mail.gmail.com \
    --to=stefan@marxist.se \
    --cc=37053@debbugs.gnu.org \
    --cc=immanuel.litzroth@gmail.com \
    --cc=npostavs@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).