From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: =?UTF-8?Q?progn=3A_Symbol=E2=80=99s_function_definition_is_void=3A_f=2Dsym?= =?UTF-8?Q?link?= Date: Sat, 18 Dec 2021 22:40:29 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14168"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 18 15:41:54 2021 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 1myauH-0003Yt-QK for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 18 Dec 2021 15:41:53 +0100 Original-Received: from localhost ([::1]:42186 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myauG-00084w-UZ for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 18 Dec 2021 09:41:52 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40286) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myatA-000673-49 for help-gnu-emacs@gnu.org; Sat, 18 Dec 2021 09:40:44 -0500 Original-Received: from [2607:f8b0:4864:20::933] (port=46899 helo=mail-ua1-x933.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1myat7-0004DC-Np for help-gnu-emacs@gnu.org; Sat, 18 Dec 2021 09:40:43 -0500 Original-Received: by mail-ua1-x933.google.com with SMTP id 30so9556174uag.13 for ; Sat, 18 Dec 2021 06:40:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=Gnm2YSN1ZZHH+ZgMRRJyzg89TUPyG8TsoU1qNTDUtFg=; b=gMs8VzBiuBbDIb5H1UrO4m4tK8I7bHC4+bXMbiSsu6aqnCIZavud/Zu3xqwofdU1hg FZ6ltSYcYUL1I8myUlWr+WhmMOXPvi7ecrOr/xt2h/reWcfHc6O8NqIrdTKGTlu8zvNy uXng39teUre3OjAjDs2SNiFwyJstAeALmQrOIssgqzAdQUOpoSxWa728fi+odDXjpbB8 Ed93vHgQB/ooArdlXbN2ZnxbhirqQbeVJcVBPKZtakyz7236IeEcTsgU32+1/7bR2/tM ydO5gBFDWUndng+4w3PXZWGKknN65xq34SVHYvX1AoWWZLDLaaBTnDmpVyXpil4O9WNy xmJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=Gnm2YSN1ZZHH+ZgMRRJyzg89TUPyG8TsoU1qNTDUtFg=; b=JUUeQDXPKK6s4fuOw7cUyhbMjMJryHWLz5Fzjz8aqHJOKjOUSHwaiEdR7yp3Ue6ZKx 3ZepBS7aLZ3oHsvqx2B+SytkX02ntcr4Pk1c9E5EvysT1wxQzVhhngMlnNVF6jXsW8EU nsDNnZNcwyXFmQjX2bttmYRFaS4BTwA1gqFeyrgcxaMEV076Z5rZ5BnIgLGI7yakfe/j nJ+LwycUy9rcRiEg6xDXEZtHB+hTYx5FaNyypKWdE+y5bcNsbwiS451JOSArRJXDEhmR s8cHyeusQipTpZx+iUgLpcUkx/grHeZ4Cdr/kcn6Az8AcZjCll1/QrwiEqDWwHMiAeUG +4dQ== X-Gm-Message-State: AOAM533il1AyF4Mt8cL5gIPnQvQARn/S26YC23rUiBOJQF/FG1xrJWe4 2I4W9Z9tHEj89oV6GkCU9NPlj1ax9rxQbY+supUjJnMxRMVOUNj56UM= X-Google-Smtp-Source: ABdhPJypGIhL6GclYZA6iuGdGZ0x6xNQz9aaJNINNGqiUwjo8wBa+voEB20sZG1U5vT+1wujeTNkJXcmsoRXowjKyB8= X-Received: by 2002:a05:6102:e14:: with SMTP id o20mr2744861vst.26.1639838440161; Sat, 18 Dec 2021 06:40:40 -0800 (PST) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::933 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::933; envelope-from=hongyi.zhao@gmail.com; helo=mail-ua1-x933.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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:134987 Archived-At: I use the following code in my `.emacs.d/init.el` to install the qe-modes [= 1]: ;;;;;;; begin ;;;;;;; (let ((qe-modes-source "~/.emacs.d/qe-modes") (qe-modes-symlink "~/Public/hpc/QEF/q-e.git/GUI/QE-modes/qe-modes") (qe-modes-emacs "~/Public/hpc/QEF/q-e.git/GUI/QE-modes/qe-modes.emacs= ")) (when (not (file-directory-p (file-truename qe-modes-source))) (when (file-symlink-p qe-modes-source) (delete-file qe-modes-source)) (f-symlink (file-truename qe-modes-symlink) qe-modes-source)) (load-file qe-modes-emacs)) ;;;;;;; end ;;;;;;; All the files required for the above code exist on my computer: werner@X10DAi-00:~$ ls ~/Public/hpc/QEF/q-e.git/GUI/QE-modes/qe-modes cp-mode.el neb-mode.el pp-mode.el pwtk-mode.el qe-mode.el cp-mode.elc neb-mode.elc pp-mode.elc pwtk-mode.elc qe-mode.elc ld1-mode.el ph-mode.el pw-mode.el qe-funcs.el qe-modes.el ld1-mode.elc ph-mode.elc pw-mode.elc qe-funcs.elc qe-modes.elc werner@X10DAi-00:~$ ls ~/Public/hpc/QEF/q-e.git/GUI/QE-modes/qe-modes.emacs /home/werner/Public/hpc/QEF/q-e.git/GUI/QE-modes/qe-modes.emacs But when I start Emacs, the following error is triggered: progn: Symbol=E2=80=99s function definition is void: f-symlink Any hints for fixing this problem? [1] http://pwtk.ijs.si/qe-modes.html Regards HZ