From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pankaj Jangid Newsgroups: gmane.emacs.help Subject: Re: package-autoremove ? Date: Thu, 03 Sep 2020 12:08:12 +0530 Organization: J4D Network Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18343"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.50 (darwin) Cc: help-gnu-emacs@gnu.org To: David Masterson Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 03 08:39:14 2020 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 1kDitu-0004hI-6U for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 03 Sep 2020 08:39:14 +0200 Original-Received: from localhost ([::1]:57464 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kDitt-0000Z4-8s for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 03 Sep 2020 02:39:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kDitB-0000Yu-GJ for help-gnu-emacs@gnu.org; Thu, 03 Sep 2020 02:38:29 -0400 Original-Received: from sender-op-o10.zoho.in ([103.117.158.10]:2177) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kDit4-0004Uv-S3 for help-gnu-emacs@gnu.org; Thu, 03 Sep 2020 02:38:29 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1599115096; cv=none; d=zohomail.in; s=zohoarc; b=L1v/YHb2nl4inDemUD8bva6VH5rQFq5g2BA2WMVrBuNVdlF3dncIdacZAZ7QgkI6ReMjEXOdTx/MEFH0atTwHXeNv0F8UaG2JF1tL4gPx/bxBcsk8nTSjCNRM5F5TKLjxZUdje24MQxDmoWWzqYoK0fd2xGDj6+hszYExq7bU6A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1599115096; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=X8G8OB98GFdNRtvRPN6hk9+ZJbIowwoxe8MxswHwJnY=; b=eFmwzGqr6/LqZJp7TB/aERfCFas8O7mHDNC18clPco/eOPu9JHfRkajdyOaMv7GRSq6iih6PB8qM4bA7i0V0QneU5xAuSTxsKgQpTMG6d7NqSyqnbbOQwaMS7IUkb9K4hwdZwjBf+JxEruqjmbfSw8BGOYLPMzlJbJwNRKYEIY0= ARC-Authentication-Results: i=1; mx.zohomail.in; dkim=pass header.i=j4d.net; spf=pass smtp.mailfrom=p4j@j4d.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1599115096; s=zoho; d=j4d.net; i=p4j@j4d.net; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID:MIME-Version:Content-Type; bh=X8G8OB98GFdNRtvRPN6hk9+ZJbIowwoxe8MxswHwJnY=; b=NVdXXUiNzohIr38d7XAZIMOtT2yFyxw/YPJfH5gID8yLaug0KcOylWOMB2t+ZQog GWdFlfOw9f3wVezEkgHGH+W33/6NJ9lbSS1iYSz5UI7Knd5/IOl+85TRwcLIrbL2rZn yMpUCmaUxE8cBEpklYycPqMkESjpWecLVEN+SBnI= Original-Received: from BigBook.local (49.36.133.185 [49.36.133.185]) by mx.zoho.in with SMTPS id 1599115094531773.9026664097214; Thu, 3 Sep 2020 12:08:14 +0530 (IST) X-Face: #1mZPTdyZkzei|Hk$MhE?f(3T[Uxh9MW'Ewn610"\p9Q@7LjiO{4>uH&z3p'6Y?_, h)GQ'Y A; .i)[28BKd`Ton]]cOd|#isdz)&E!jRx@DX8N/*63[|x&JqwC,AmukEFVvt&AA*2H..Z'wxqs([H> kbp(Q/\fTwAm% !C}\xG0DS7(DaXPynsU3VED[SbY_:*`C`U'@; vp[YQ6I\#>E/slE#fLI4ap(^kSLS\*/ ]XNNMD6#b9KK\|:=(=DFek9%)L-ZTg3n#$0B In-Reply-To: (David Masterson's message of "Wed, 02 Sep 2020 21:35:06 -0700") X-ZohoMailClient: External Received-SPF: pass client-ip=103.117.158.10; envelope-from=p4j@j4d.net; helo=sender-op-o10.zoho.in X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/03 02:38:18 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] 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, 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:123921 Archived-At: David Masterson writes: > The package-autoremove is giving a list of packages to be removed, but > many of the packages seem to be dependents of other packages, so I > don't want to remove them. How does package-autoremove decide on > which packages can be removed? Can I force it to keep some of the > packages? I have faced a similar issue when I was re-writing my init.el to modularize using use-package. It split the big file into tiny little files. In my case, the problem was that the packages where installed as a dependency and actual call (use-package package-name :ensure t) for those packages were not encountered by the interpreter. I debugged it using a very inefficient method. Commented out the (require ...) statements from the init.el and uncommented one-by-one to find the problem.