* Icicles
@ 2023-01-29 12:46 Gottfried
2023-01-29 16:04 ` [External] : Icicles Drew Adams
0 siblings, 1 reply; 3+ messages in thread
From: Gottfried @ 2023-01-29 12:46 UTC (permalink / raw)
To: help-gnu-emacs@gnu.org, Drew Adams
[-- Attachment #1.1.1: Type: text/plain, Size: 690 bytes --]
Hi Drew,
I installed Icicles in Emacs and Emacs put it in the
home/gfp/.config/emacs/elpa directory
but when I want to run it, it said:
did not find file/directory
(in German language: Datei oder Verzeichnis nicht gefunden, icicles-mac)
message:
Leaving directory ‘/home/gfp/.config/emacs/elpa/icicles-2022.1.26’
\f
Compiling file /home/gfp/.config/emacs/elpa/icicles-2022.1.26/icicles.el
at Sun Jan 29 13:31:14 2023
Entering directory ‘/home/gfp/.config/emacs/elpa/icicles-2022.1.26/’
icicles.el:1695:16: Error: Cannot open load file: Datei oder Verzeichnis
nicht gefunden, icicles-mac
How can I solve the problem?
--
Kind regards
Gottfried
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [External] : Icicles
2023-01-29 12:46 Icicles Gottfried
@ 2023-01-29 16:04 ` Drew Adams
0 siblings, 0 replies; 3+ messages in thread
From: Drew Adams @ 2023-01-29 16:04 UTC (permalink / raw)
To: Gottfried, help-gnu-emacs@gnu.org
> I installed Icicles in Emacs and Emacs put it in the
> home/gfp/.config/emacs/elpa directory
> but when I want to run it, it said:
> did not find file/directory
> message:
> Leaving directory ‘/home/gfp/.config/emacs/elpa/icicles-2022.1.26’
> Compiling file /home/gfp/.config/emacs/elpa/icicles-2022.1.26/icicles.el
> at Sun Jan 29 13:31:14 2023
> Entering directory ‘/home/gfp/.config/emacs/elpa/icicles-2022.1.26/’
> icicles.el:1695:16: Error: Cannot open load file: Datei oder Verzeichnis
> nicht gefunden, icicles-mac
>
> How can I solve the problem?
You don't say exactly what you did. Or what Emacs
version you have.
A guess is that you just didn't add the directory
where you have the source files to your value of
variable `load-path'. Emacs can't know where to
find libraries if you don't tell it.
[ Caveat: I don't have or use Emacs 29, which includes
native compilation, so I can't help you there -
except to say that you can, I expect, still follow
the regular directions (see below). If it for some
reason needs the macros file (`icicles-mac.el')
loaded first, then do that. ]
___
Normally all you need to do is add the directory
where you have the Icicles files to the value of
your `load-path' variable:
(add-to-list 'load-path
"/wherever/you/have/Icicles/files/")
Then (require 'icicles) or `M-x load-library icicles'.
This is described here:
https://www.emacswiki.org/emacs/Icicles#ObtainingAndInstalling
___
Of course, it's better to byte-compile the files,
if you want to do more than just give Icicles a
quick try.
You can byte-compile Icicles after you've loaded
it (source files).
Or you can do it anytime. But you must always
have loaded `icicles-mac.el', to be able to
byte-compile any of the source files (including
`icicles-mac.el' itself).
This is described here:
https://www.emacswiki.org/emacs/Icicles_-_Libraries#byte-compile
E.g., just Dired the directory with the files,
mark them, and `B' to byte-compile them.
(After having loaded `icicles-mac.el'.)
You can see other reminders of the need to first
load `icicles-mac.el' in the source files. E.g.:
;; ******************
;; NOTE: Whenever you update Icicles (i.e., download
;; new versions of Icicles source files), I recommend
;; that you do the following:
;;
;; 1. Delete all existing byte-compiled Icicles
;; files (icicles*.elc).
;; 2. Load Icicles (`load-library' or `require').
;; 3. Byte-compile the source files.
;;
;; In particular, always load `icicles-mac.el' (not
;; `icicles-mac.elc') before you byte-compile new
;; versions of the files, in case there have been any
;; changes to Lisp macros (in `icicles-mac.el').
;; ******************
(This isn't special to Icicles; it's just standard
Lisp practice.)
___
FYI: This is the code in `icicles.el' that loads
the other files when you load it:
;;; Load other Icicles files
(eval-when-compile
(or (condition-case nil
;; Use load-library to ensure latest .elc.
(load-library "icicles-mac")
(error nil))
;; Require, so can load separately if not on `load-path'.
(require 'icicles-mac)))
(require 'icicles-face)
(require 'icicles-opt) ;; Requires face
(require 'icicles-var) ;; Requires opt
(require 'icicles-fn) ;; Requires mac, opt, var
(require 'icicles-mcmd) ;; Requires mac, opt, var, fn
(require 'icicles-cmd1) ;; Requires mac, opt, var, fn, mcmd
(require 'icicles-cmd2) ;; Requires mac, opt, var, fn, mcmd, cmd1
(require 'icicles-mode) ;; Requires mac, face, opt, cmd1, cmd2
___
HTH. If you have some follow-up, I think you
can drop the ccing of help-gnu-emacs@gnu.org.
^ permalink raw reply [flat|nested] 3+ messages in thread
* icicles
@ 2023-01-30 16:24 Gottfried
2023-01-30 17:34 ` [External] : icicles Drew Adams
0 siblings, 1 reply; 3+ messages in thread
From: Gottfried @ 2023-01-30 16:24 UTC (permalink / raw)
To: Drew Adams, help-gnu-emacs@gnu.org
[-- Attachment #1.1.1: Type: text/plain, Size: 9148 bytes --]
Hi Drew,
thanks very much for your exact description.
I have Emacs 28.2
> A guess is that you just didn't add the directory
> where you have the source files to your value of
> variable `load-path'. Emacs can't know where to
> find libraries if you don't tell it.
and as an Emacs newbie I didn't know that I have to add it to my
load-path. (I thought it will do it by itself).
I am learning.
So when I started emacs it loads icicles
but it gives me some missing dependencies
and I installed all of them through your given wiki page.
Now Icicles is running, every time I start emacs, but those given
messages I don't know what to do with them
Loading /home/gfp/.config/emacs/custom.el (source)...done
Loading /home/gfp/.config/emacs/elpa/icicles-2022.1.26/icicles-mac.el
(source)...done
.config/emacs/elpa/icicles-2022.1.26/hexrgb.el: Warning: ‘case’ is an
obsolete alias (as of 27.1); use ‘cl-case’ instead.
.config/emacs/elpa/icicles-2022.1.26/icicles-opt.el: Warning: ‘incf’ is
an obsolete alias (as of 27.1); use ‘cl-incf’ instead. [2 times]
.config/emacs/elpa/icicles-2022.1.26/icicles-opt.el: Warning: ‘callf’ is
an obsolete alias (as of 27.1); use ‘cl-callf’ instead.
.config/emacs/elpa/icicles-2022.1.26/icicles-opt.el: Warning: ‘incf’ is
an obsolete alias (as of 27.1); use ‘cl-incf’ instead. [2 times]
.config/emacs/elpa/icicles-2022.1.26/icicles-opt.el: Warning: ‘callf’ is
an obsolete alias (as of 27.1); use ‘cl-callf’ instead.
.config/emacs/elpa/icicles-2022.1.26/icicles-opt.el: Warning: ‘loop’ is
an obsolete alias (as of 27.1); use ‘cl-loop’ instead. [3 times]
.config/emacs/elpa/icicles-2022.1.26/icicles-opt.el: Warning: ‘callf’ is
an obsolete alias (as of 27.1); use ‘cl-callf’ instead.
.config/emacs/elpa/icicles-2022.1.26/icicles-opt.el: Warning: ‘loop’ is
an obsolete alias (as of 27.1); use ‘cl-loop’ instead. [2 times]
Loading /home/gfp/.config/emacs/elpa/icicles-2022.1.26/icicles-mac.el
(source)...done
.config/emacs/elpa/icicles-2022.1.26/icicles-fn.el: Warning: ‘case’ is
an obsolete alias (as of 27.1); use ‘cl-case’ instead. [5 times]
.config/emacs/elpa/icicles-2022.1.26/icicles-fn.el: Warning: ‘loop’ is
an obsolete alias (as of 27.1); use ‘cl-loop’ instead.
.config/emacs/elpa/icicles-2022.1.26/icicles-fn.el: Warning: ‘case’ is
an obsolete alias (as of 27.1); use ‘cl-case’ instead. [5 times]
.config/emacs/elpa/icicles-2022.1.26/icicles-fn.el: Warning: ‘loop’ is
an obsolete alias (as of 27.1); use ‘cl-loop’ instead. [2 times]
Loading /home/gfp/.config/emacs/elpa/icicles-2022.1.26/icicles-mac.el
(source)...done
.config/emacs/elpa/icicles-2022.1.26/icicles-mcmd.el: Warning: ‘case’ is
an obsolete alias (as of 27.1); use ‘cl-case’ instead. [4 times]
.config/emacs/elpa/icicles-2022.1.26/icicles-mcmd.el: Warning: ‘loop’ is
an obsolete alias (as of 27.1); use ‘cl-loop’ instead.
.config/emacs/elpa/icicles-2022.1.26/icicles-mcmd.el: Warning: ‘case’ is
an obsolete alias (as of 27.1); use ‘cl-case’ instead. [8 times]
.config/emacs/elpa/icicles-2022.1.26/icicles-mcmd.el: Warning: ‘flet’ is
an obsolete macro (as of 24.3); use either ‘cl-flet’ or ‘cl-letf’.
.config/emacs/elpa/icicles-2022.1.26/icicles-mcmd.el: Warning: ‘case’ is
an obsolete alias (as of 27.1); use ‘cl-case’ instead. [6 times]
Loading /home/gfp/.config/emacs/elpa/icicles-2022.1.26/icicles-mac.el
(source)...done
.config/emacs/elpa/icicles-2022.1.26/icicles-cmd1.el: Warning: ‘case’ is
an obsolete alias (as of 27.1); use ‘cl-case’ instead.
.config/emacs/elpa/icicles-2022.1.26/icicles-cmd1.el: Warning: ‘loop’ is
an obsolete alias (as of 27.1); use ‘cl-loop’ instead.
.config/emacs/elpa/icicles-2022.1.26/icicles-cmd1.el: Warning: ‘case’ is
an obsolete alias (as of 27.1); use ‘cl-case’ instead.
.config/emacs/elpa/icicles-2022.1.26/icicles-cmd1.el: Warning: ‘pushnew’
is an obsolete alias (as of 27.1); use ‘cl-pushnew’ instead.
.config/emacs/elpa/icicles-2022.1.26/icicles-cmd1.el: Warning: ‘loop’ is
an obsolete alias (as of 27.1); use ‘cl-loop’ instead. [2 times]
.config/emacs/elpa/icicles-2022.1.26/icicles-cmd1.el: Warning: ‘case’ is
an obsolete alias (as of 27.1); use ‘cl-case’ instead. [2 times]
.config/emacs/elpa/icicles-2022.1.26/icicles-cmd1.el: Warning: ‘loop’ is
an obsolete alias (as of 27.1); use ‘cl-loop’ instead.
Loading /home/gfp/.config/emacs/elpa/icicles-2022.1.26/icicles-mac.el
(source)...done
.config/emacs/elpa/icicles-2022.1.26/icicles-cmd2.el: Warning: ‘pushnew’
is an obsolete alias (as of 27.1); use ‘cl-pushnew’ instead.
.config/emacs/elpa/icicles-2022.1.26/icicles-cmd2.el: Warning: ‘loop’ is
an obsolete alias (as of 27.1); use ‘cl-loop’ instead. [4 times]
.config/emacs/elpa/icicles-2022.1.26/icicles-cmd2.el: Warning: ‘incf’ is
an obsolete alias (as of 27.1); use ‘cl-incf’ instead. [3 times]
.config/emacs/elpa/icicles-2022.1.26/icicles-cmd2.el: Warning: ‘case’ is
an obsolete alias (as of 27.1); use ‘cl-case’ instead. [2 times]
.config/emacs/elpa/icicles-2022.1.26/icicles-cmd2.el: Warning: ‘loop’ is
an obsolete alias (as of 27.1); use ‘cl-loop’ instead. [2 times]
Loading /home/gfp/.config/emacs/elpa/icicles-2022.1.26/icicles-mac.el
(source)...done
.config/emacs/elpa/icicles-2022.1.26/icicles-mode.el: Warning: ‘pushnew’
is an obsolete alias (as of 27.1); use ‘cl-pushnew’ instead.
.config/emacs/elpa/icicles-2022.1.26/icicles-mode.el: Warning: ‘case’ is
an obsolete alias (as of 27.1); use ‘cl-case’ instead. [2 times]
For information about GNU Emacs and the GNU system, type C-h C-a.
Package yow is deprecated
Package cl is deprecated
Beginning of buffer [2 times]
--
Kind regards
Gottfried
You don't say exactly what you did. Or what Emacs
version you have.
A guess is that you just didn't add the directory
where you have the source files to your value of
variable `load-path'. Emacs can't know where to
find libraries if you don't tell it.
[ Caveat: I don't have or use Emacs 29, which includes
native compilation, so I can't help you there -
except to say that you can, I expect, still follow
the regular directions (see below). If it for some
reason needs the macros file (`icicles-mac.el')
loaded first, then do that. ]
___
Normally all you need to do is add the directory
where you have the Icicles files to the value of
your `load-path' variable:
(add-to-list 'load-path
"/wherever/you/have/Icicles/files/")
Then (require 'icicles) or `M-x load-library icicles'.
This is described here:
https://www.emacswiki.org/emacs/Icicles#ObtainingAndInstalling
___
Of course, it's better to byte-compile the files,
if you want to do more than just give Icicles a
quick try.
You can byte-compile Icicles after you've loaded
it (source files).
Or you can do it anytime. But you must always
have loaded `icicles-mac.el', to be able to
byte-compile any of the source files (including
`icicles-mac.el' itself).
This is described here:
https://www.emacswiki.org/emacs/Icicles_-_Libraries#byte-compile
E.g., just Dired the directory with the files,
mark them, and `B' to byte-compile them.
(After having loaded `icicles-mac.el'.)
You can see other reminders of the need to first
load `icicles-mac.el' in the source files. E.g.:
;; ******************
;; NOTE: Whenever you update Icicles (i.e., download
;; new versions of Icicles source files), I recommend
;; that you do the following:
;;
;; 1. Delete all existing byte-compiled Icicles
;; files (icicles*.elc).
;; 2. Load Icicles (`load-library' or `require').
;; 3. Byte-compile the source files.
;;
;; In particular, always load `icicles-mac.el' (not
;; `icicles-mac.elc') before you byte-compile new
;; versions of the files, in case there have been any
;; changes to Lisp macros (in `icicles-mac.el').
;; ******************
(This isn't special to Icicles; it's just standard
Lisp practice.)
___
FYI: This is the code in `icicles.el' that loads
the other files when you load it:
;;; Load other Icicles files
(eval-when-compile
(or (condition-case nil
;; Use load-library to ensure latest .elc.
(load-library "icicles-mac")
(error nil))
;; Require, so can load separately if not on `load-path'.
(require 'icicles-mac)))
(require 'icicles-face)
(require 'icicles-opt) ;; Requires face
(require 'icicles-var) ;; Requires opt
(require 'icicles-fn) ;; Requires mac, opt, var
(require 'icicles-mcmd) ;; Requires mac, opt, var, fn
(require 'icicles-cmd1) ;; Requires mac, opt, var, fn, mcmd
(require 'icicles-cmd2) ;; Requires mac, opt, var, fn, mcmd, cmd1
(require 'icicles-mode) ;; Requires mac, face, opt, cmd1, cmd2
___
HTH. If you have some follow-up, I think you
can drop the ccing of help-gnu-emacs@gnu.org.
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [External] : icicles
2023-01-30 16:24 icicles Gottfried
@ 2023-01-30 17:34 ` Drew Adams
0 siblings, 0 replies; 3+ messages in thread
From: Drew Adams @ 2023-01-30 17:34 UTC (permalink / raw)
To: Gottfried, help-gnu-emacs@gnu.org
The byte-compiler warnings are benign - ignore them.
They're due to the library supporting also old Emacs
releases (including releases prior to the ability to
inhibit warnings).
(Please drop help-gnu-emacs@gnu.org from CC from now
on, if you reply with additional, specific Icicles
feedback.)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-01-30 17:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-29 12:46 Icicles Gottfried
2023-01-29 16:04 ` [External] : Icicles Drew Adams
-- strict thread matches above, loose matches on Subject: below --
2023-01-30 16:24 icicles Gottfried
2023-01-30 17:34 ` [External] : icicles Drew Adams
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.