From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Kost Newsgroups: gmane.emacs.help Subject: Re: A package for common configuration options with use-package Date: Thu, 09 Mar 2017 16:18:51 +0300 Message-ID: <87h9327flw.fsf@gmail.com> References: <871su9xc08.fsf@vicarie> <87lgshyo5s.fsf@gmail.com> <87h934x4gh.fsf@vicarie> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1489065566 17107 195.159.176.226 (9 Mar 2017 13:19:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 9 Mar 2017 13:19:26 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: Gnu Emacs Help To: Narendra Joshi Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 09 14:19:22 2017 Return-path: Envelope-to: geh-help-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 1clxyT-0003xk-NH for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Mar 2017 14:19:21 +0100 Original-Received: from localhost ([::1]:34085 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clxyZ-0001tX-NI for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Mar 2017 08:19:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clxy8-0001tG-96 for help-gnu-emacs@gnu.org; Thu, 09 Mar 2017 08:19:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1clxy3-0002Wx-CI for help-gnu-emacs@gnu.org; Thu, 09 Mar 2017 08:19:00 -0500 Original-Received: from mail-lf0-x22e.google.com ([2a00:1450:4010:c07::22e]:33509) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1clxy3-0002WU-57 for help-gnu-emacs@gnu.org; Thu, 09 Mar 2017 08:18:55 -0500 Original-Received: by mail-lf0-x22e.google.com with SMTP id a6so28093205lfa.0 for ; Thu, 09 Mar 2017 05:18:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=U2yuM5bxmVA2ZCBwrXXTSN3sm8OlRppTrvyZRXOo5O8=; b=FaAXqNaU+bbPn7wfP9KfdN/O9lX5OROYculmR8M3YOCNuJTIIKg7+TYSZggn9O0QUP 5doNcfBnjdtPT9zyeTDK6bv2Wmg/kQCKHxumMCQfUs9uOZLm/4b/wE3nx8Dn7GLuQyfO kyFPUI33U5cdwk9bwBagaOdvOCejnCu+VhfmJHw1h7vFXGuecq8ZH5gJ3UUKWH1VYacr zpNykuzTimW8thMvaIauWJtBKySxHZCsf03lBrqAKSeT/Dqq5O6OVPS8cP5rDfb7C14F Yner049/NLk0r3Zb3/mEUhREs2xkFUg3nU85nf94wC4dbh4+eJrVR9iqE+uSnkfuvUDa zIdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=U2yuM5bxmVA2ZCBwrXXTSN3sm8OlRppTrvyZRXOo5O8=; b=HsZPo9g4QuAenuziXmOMq+I6oZSAlknhwgL7/OKKPBJXL8Nbns6C10ZJxRBDjxCDzf wbRGdRh8mb71ENDG3EOArn6jI63blB9l6XWVTsno/IKHOBFeN/9aIjX+yDo2w5NZpbNy 3EJN/ACPmf3Xo3ihb61qtJWjQM2ZiH+MjnQJdqQJY4NNyWSlmGIE2ImCT6+1cD5p+Kr8 Aso1abtQ8G+sH5fL6r1pZpk3er1/UntjiiSWSZKJfedim1xhfT57/qm5W58MK2z9iYv+ BuiakL4JzfcdHqXWvLSRAodg4whjhmHvf2ESJJULZvSJpTzYmuPFQzWiwlzdoZE4ZdRh JM4A== X-Gm-Message-State: AMke39m0AV+WUgD5d6NZrYWgNLbecZWmpyKQ5FQwAjO60CiMKo9Jex956c3vVBxV4OLwAw== X-Received: by 10.46.14.26 with SMTP id 26mr4140496ljo.76.1489065532327; Thu, 09 Mar 2017 05:18:52 -0800 (PST) Original-Received: from leviafan ([217.107.194.131]) by smtp.gmail.com with ESMTPSA id m203sm1249047lfm.28.2017.03.09.05.18.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 Mar 2017 05:18:51 -0800 (PST) In-Reply-To: <87h934x4gh.fsf@vicarie> (Narendra Joshi's message of "Wed, 08 Mar 2017 01:08:22 +0530") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::22e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112481 Archived-At: Narendra Joshi (2017-03-08 01:08 +0530) wrote: > Alex Kost writes: > >> Narendra Joshi (2017-03-07 22:25 +0530) wrote: >> >>> Hi, >>> >>> I have started organizing my Emacs configuration with `use-package'. I >>> like to keep everything inside some or the other `use-package' >>> declaration. How do you deal with configuration that is in an Elisp file >>> that doesn't `provide` any symbol. >> >> IIRC, you can use (use-package "foo" ...), where "foo.el" is the file >> that does not provide a feature. > > Sadly > (use-package startup > ...) > didn't work for me. I told about (use-package "foo" ...) not (use-package foo ...). Did you try (use-package "startup" ...)? > The only way I think I can do this is to create empty Elisp files that > provide some feature. This looks like a redundant complication for me. I agree with Kaushal, that you can simply use: (setq inhibit-startup-message t) without touching use-package at all. -- Alex