From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Narendra Joshi Newsgroups: gmane.emacs.help Subject: Re: A package for common configuration options with use-package Date: Sat, 11 Mar 2017 01:57:32 +0530 Message-ID: <87d1do98sr.fsf@vicarie> References: <871su9xc08.fsf@vicarie> <87lgshyo5s.fsf@gmail.com> <87h934x4gh.fsf@vicarie> <87h9327flw.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1489177404 388 195.159.176.226 (10 Mar 2017 20:23:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 10 Mar 2017 20:23:24 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: Gnu Emacs Help To: Alex Kost Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 10 21:23:18 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 1cmR4C-0007QM-Qr for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Mar 2017 21:23:12 +0100 Original-Received: from localhost ([::1]:40848 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmR4I-0003eZ-Tb for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Mar 2017 15:23:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50951) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmR3c-0003eE-1M for help-gnu-emacs@gnu.org; Fri, 10 Mar 2017 15:22:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmR3Y-0007KD-Rs for help-gnu-emacs@gnu.org; Fri, 10 Mar 2017 15:22:36 -0500 Original-Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]:35492) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cmR3Y-0007K3-N5 for help-gnu-emacs@gnu.org; Fri, 10 Mar 2017 15:22:32 -0500 Original-Received: by mail-pf0-x242.google.com with SMTP id 67so11891967pfg.2 for ; Fri, 10 Mar 2017 12:22:32 -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=zKf9wvjmSAS4yx1ps01JbrWLY6qx+Cb6TIxIhaPd3pI=; b=EEabFYHGBnx7OvI26By8tpI4bnx53gNWc1O1L7WixIGwzvsyaJImIztTHu7l+nU2bt L57YvAzt7KEg5fI0hKUm5drLkoWBWdb/e2UV1ESg/Uxpynt4MtNr8IgQneh8jNmTcb8C irB3YAstCtjpPNcsNm00B61ibBGXzYriH8DsYcvjjwuoXZKFlLFocejMBj9itGWS7jWq y3um74yQsqNbnWCzUqm7uMmVJlANChqcEf+LYEMUnd0sPcn7Ys7Yu9oOXpH6+WxynQct 1Spar92EvZ808F4LvsZEFpoUyDBQP7/YCXD0baVI5v4y7E4dpWfqiwTCLUPVa2Wn0s1i YNcg== 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=zKf9wvjmSAS4yx1ps01JbrWLY6qx+Cb6TIxIhaPd3pI=; b=J+EFXc5iN64DZogHIu7ESwGnGdpknEfHJ+29UPCczhQIpPrmFFXN9qZIBC7slWrsNi WKW2t8v/7+ua1EkkSYmigrOiCcgFQsDiLr1E0Yes78tahVwusOgM2o2egwPGEIKDc/4V yn7z4+kxSYCL4uAAHxTRHAkQ4dFYwthC49bodL72wphzW/2HAE8G+jmuxjb7SIrRAHsG tp4wTLEw+IFOHrgOQv2uIFzN3mKt5uc4UFgtBK+gNhiJ+dNIUYnCspZOz8PNcnHMYEru nHfffFRHy6oDY8+iY40F3RIgXRweKKdP41f6VQcBRErtOiab374C/ow6UyhunWYhUxJl /0yg== X-Gm-Message-State: AMke39n2xdux+SPcnSAeHT/rkC7Kr4/oKEvBWPwkiUMrPZlHRxi3Riv1q3JeTC75PdiIlg== X-Received: by 10.99.154.9 with SMTP id o9mr22668967pge.69.1489177351600; Fri, 10 Mar 2017 12:22:31 -0800 (PST) Original-Received: from vicarie ([223.229.138.220]) by smtp.gmail.com with ESMTPSA id c124sm19082349pga.63.2017.03.10.12.22.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 Mar 2017 12:22:31 -0800 (PST) In-Reply-To: <87h9327flw.fsf@gmail.com> (Alex Kost's message of "Thu, 09 Mar 2017 16:18:51 +0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::242 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:112524 Archived-At: Alex Kost writes: > 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" ...)? No, I hadn't tried (use-package "foo"). I will try it thanks. :) >> 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. Now, that I have moved most of my configuration into `use-package' declarations, I agree with you and Kaushal to some extent. -- Narendra Joshi