unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* issue emacs 27 package loading lsp-java
@ 2020-08-31 10:07 Ernst Reissner
  0 siblings, 0 replies; only message in thread
From: Ernst Reissner @ 2020-08-31 10:07 UTC (permalink / raw)
  To: help-gnu-emacs

Hi all,
I just migrated to emacs 27.

in my .emacs file i have  
```
(setq custom-file "~/.gnu-emacs-custom"); exists in my installation (ER)
  (load "~/.gnu-emacs-custom" t t) ; sets variables and faces (ER)
```
and a bit later

```
(require 'package)
;(package-initialize); moved from the beginning, removed for >=27.0.0 (ER)
(add-to-list 'package-archives
         '("melpa-stable" . "https://stable.melpa.org/packages/")
         ;'("melpa"        . "https://melpa.org/packages/")
         )
(package-initialize)

```


In .gnu-emacs-custom i find
```
(custom-set-variables
...
'(package-selected-packages
   (quote
    (ac-emacs-eclim auctex autodisass-java-bytecode csharp-mode
java-imports javadoc-lookup javaimp jdecomp jedi markdown-mode
organize-imports-java lsp-java)))
 '(show-paren-mode t))
```

I read that package-initialize is no longer needed,
but i must invoke it and i must do after adding melpa,
else melpa-stable does not show up in package-show-lackage-list does not
show up. 

This is different from what I would suspect from the posts in the comunity.


What is quite strange is, that lsp-java is not installed although
mentioned in package-selected-packages.
I dont think this has to do with my unusual setup.

In the list lsp-java has version 3.0 and is loaded as lsp-java-3.0 and
requires lsp-mode-6.0,

but an error occurs "lsp-mode-7.0 not found". In the list i have
lsp-mode 7.0 indeed.

I feel it is strange, that seemingly not the dependency is resolved but
the available package is fetched.


Strange enough, at melpa I can seee lsp-java 3.1 and lsp-mode 7.0.1.

But even in lps-java 3.1 I have dependency to lsp-mode 6.0 according to
melpa.

In a sense, that lsp-mode 7.0.1 is there not 7.0 gives some explanation.

But:

How can I fix this????


I found out that i cannot upgrade also... Frustrating.


So in a sense, I have two questions: one with upgrade of emacs to 27 and
another one concerning melpa... 


Thanks in advance for help.


Best regards,


Ernst

al






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-31 10:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-31 10:07 issue emacs 27 package loading lsp-java Ernst Reissner

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).