unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: Artur Malabarba <bruce.connor.am@gmail.com>
Cc: 20834@debbugs.gnu.org
Subject: bug#20834: 25.0.50; install-autoremove cycle with the tablist package
Date: Wed, 17 Jun 2015 16:10:24 +0200	[thread overview]
Message-ID: <87y4jis9wv.fsf@gnu.org> (raw)
In-Reply-To: <87oake4f9a.fsf@gnu.org> (Tassilo Horn's message of "Wed, 17 Jun 2015 15:48:49 +0200")

Tassilo Horn <tsdh@gnu.org> writes:

> Ok, there's a new package version for `names'.  So here's what I get
> with your recipe.
>
>> Could you try the following?
>>
>> 1. Delete `tablist`.
>
> Done (or rather I've uninstalled it previously in another emacs
> instance).
>
>> 2. Hit `U` to mark packages for upgrade.
>
> I can upgrade names-20150611.636 to the recent version 20150617.359.
>
>> 3. Does `tablist` get marked for installation?
>
> No.
>
> Now I went through all installed packages and their dependencies, and
> none of them requires tablist.  So that suggests that when doing
> `package-autoremove' the removed packages might still be left over in
> some variable which forces a reinstall with the next upgrade.  This
> doesn't seem to happen when I explicitly remove a package using `U'

I've meant `d', not `U'.

> followed by `x'.

Anyway.  I've just restarted emacs and it errored during startup because
actually the pdf-tools package uses tablist although it doesn't
explicitly declare it as dependency.  In its git repository, it has
tablist.el bundled but that's not distributed via the package.  Reported
here:

  https://github.com/politza/pdf-tools/issues/103

Does that explain something?  E.g., package-autoremove only works with
the declared dependencies whereas a package upgrade will also recognize
that (featurep 'tablist) is true in the currently running emacs which
means it is actually used and thus it must be installed again?

Bye,
Tassilo





  parent reply	other threads:[~2015-06-17 14:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-17  8:48 bug#20834: 25.0.50; install-autoremove cycle with the tablist package Tassilo Horn
2015-06-17 11:11 ` Artur Malabarba
2015-06-17 12:21   ` Tassilo Horn
2015-06-17 13:48   ` Tassilo Horn
2015-06-17 14:06     ` Artur Malabarba
2015-06-17 14:12       ` Tassilo Horn
2015-06-17 14:44       ` Artur Malabarba
2015-06-17 14:10     ` Tassilo Horn [this message]
2015-06-17 16:07       ` Artur Malabarba
2015-06-18 21:38       ` Andreas Politz
2015-06-19  5:59         ` Tassilo Horn

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=87y4jis9wv.fsf@gnu.org \
    --to=tsdh@gnu.org \
    --cc=20834@debbugs.gnu.org \
    --cc=bruce.connor.am@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).