Package: emacs;
Reported by: Emanuel Berg <moasen <at> zoho.com>
Date: Mon, 27 Nov 2017 01:23:01 UTC
Severity: minor
Found in version 24.4
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
View this message in rfc822 format
From: help-debbugs <at> gnu.org (GNU bug Tracking System) To: Emanuel Berg <moasen <at> zoho.com> Subject: bug#29462: closed (Re: bug#29462: 24.4; eval-when-compile won't mute warning as says in info doc) Date: Mon, 27 Nov 2017 16:27:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report #29462: 24.4; eval-when-compile won't mute warning as says in info doc which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 29462 <at> debbugs.gnu.org. -- 29462: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29462 GNU Bug Tracking System Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org> To: Emanuel Berg <moasen <at> zoho.com> Cc: 29462-done <at> debbugs.gnu.org Subject: Re: bug#29462: 24.4; eval-when-compile won't mute warning as says in info doc Date: Mon, 27 Nov 2017 18:26:25 +0200> From: Emanuel Berg <moasen <at> zoho.com> > Date: Mon, 27 Nov 2017 02:21:53 +0100 > > > In (info "(elisp) Warning Tips"), it says > > * If you use many functions and variables > from a certain file, you can add > a ‘require’ for that package to avoid > compilation warnings for them. > For instance, > > (eval-when-compile > (require 'foo)) > > However that won't mute the warnings. > Using (eval-when-compile (require 'cl-lib)) it says > > In end of data: > wrap-search-cp.el:133:1:Warning: the > function `cl-find-if' might not be defined > at runtime. Thanks, fixed.
[Message part 3 (message/rfc822, inline)]
From: Emanuel Berg <moasen <at> zoho.com> To: bug-gnu-emacs <at> gnu.org Subject: 24.4; eval-when-compile won't mute warning as says in info doc Date: Mon, 27 Nov 2017 02:21:53 +0100In (info "(elisp) Warning Tips"), it says * If you use many functions and variables from a certain file, you can add a ‘require’ for that package to avoid compilation warnings for them. For instance, (eval-when-compile (require 'foo)) However that won't mute the warnings. Using (eval-when-compile (require 'cl-lib)) it says In end of data: wrap-search-cp.el:133:1:Warning: the function `cl-find-if' might not be defined at runtime. Perhaps that should be `eval-and-compile', or plain `require'? In GNU Emacs 24.4.1 (arm-unknown-linux-gnueabihf, GTK+ Version 3.14.5) of 2015-03-10 on bm-wb-01, modified by Debian System Description: Raspbian GNU/Linux 8.0 (jessie) Configured using: `configure --build arm-linux-gnueabihf --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp --build arm-linux-gnueabihf --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-z,relro' Important settings: value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: Summary Minor modes in effect: diff-auto-refine-mode: t show-paren-mode: t shell-dirtrack-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t erc-scrolltobottom-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-compression-mode: t buffer-read-only: t transient-mark-mode: t Recent input: SPC DEL DEL DEL DEL DEL T i s p SPC DEL ) DEL " ) RET ESC : ESC p C-e C-b C-b C-b C-b C-d C-f s SPC a n d SPC G u i d DEL DEL DEL DEL DEL DEL DEL DEL DEL RET k k k k k C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n TAB RET Ď C-o i b i Ď RET C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p C-p C-p C-p C-p C-p C-e C-e C-n C-e C-a C-a C-e C-a C-a ESC o C-l C-u 1 0 0 s C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p C-p C-p C-p C-p C-p C-n RET k RET k RET k RET i ESC o ESC p C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-@ C-n C-n C-n C-n C-n C-p C-n C-p C-e ESC w ဃ ESC o ESC o ESC o ESC p ESC o ESC x C-g ESC o ESC o ESC p ESC x r e p - DEL o r t - b u g RET Recent messages: Follow the link (error "No buttons or fields found") in widget-move Follow the link [4 times] mouse-2: hide the MIME part; down-mouse-3: more options No hit. Saving file /home/incal/.newsrc-dribble... Wrote /home/incal/.newsrc-dribble [2 times] (user-error "No such node or anchor: Tisp") in user-error nil Mark set [2 times] Load-path shadows: /usr/share/emacs/24.4/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup ~/.emacs.d/emacs-init/misc hides /usr/share/emacs/24.4/lisp/misc /usr/share/emacs24/site-lisp/flim/md4 hides /usr/share/emacs/24.4/lisp/md4 /usr/share/emacs24/site-lisp/flim/hex-util hides /usr/share/emacs/24.4/lisp/hex-util ~/.emacs.d/lisp/abbrev hides /usr/share/emacs/24.4/lisp/abbrev ~/.emacs.d/emacs-init/gnus/server hides /usr/share/emacs/24.4/lisp/server /usr/share/emacs24/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/24.4/lisp/textmodes/ispell /usr/share/emacs24/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/24.4/lisp/textmodes/flyspell /usr/share/emacs24/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/24.4/lisp/net/sasl-ntlm /usr/share/emacs24/site-lisp/flim/sasl-cram hides /usr/share/emacs/24.4/lisp/net/sasl-cram /usr/share/emacs24/site-lisp/flim/ntlm hides /usr/share/emacs/24.4/lisp/net/ntlm /usr/share/emacs24/site-lisp/flim/sasl hides /usr/share/emacs/24.4/lisp/net/sasl /usr/share/emacs24/site-lisp/flim/hmac-def hides /usr/share/emacs/24.4/lisp/net/hmac-def /usr/share/emacs24/site-lisp/flim/hmac-md5 hides /usr/share/emacs/24.4/lisp/net/hmac-md5 /usr/share/emacs24/site-lisp/flim/sasl-digest hides /usr/share/emacs/24.4/lisp/net/sasl-digest Features: (shadow nnir emacsbug diff-mode mm-archive mail-extr gnus-async gnus-bcklg qp tabify sh-script smie executable gnus-dup gnus-ml nnfolder pop3 nndraft nnmh nnml gnutls network-stream starttls tls gnus-agent nnvirtual nntp gnus-cache mule-util cl-macs gv w3m-filter ffap paren xsel w3m-form google-translate-core-ui ido google-translate-core google-translate-tk url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars json time-my tabs parse-time tramp-sh netrc term disp-table ehelp my-faces bibtex t-mouse man tex-mode iterate-files isbn slime-presentations slime-repl slime-parse bridge nroff-mode sgml-mode cobol-mode ada-mode which-func imenu align find-file checkdoc cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs guile summary message-my moggle mail-to-many mail smtpmail sendmail global-keys yank-my wrap-search w3m-unisearch w3m-search spell-new ispell sort-my sort slime etags arc-mode archive-mode noutline outline easy-mmode hyperspec shell-cli revert-buffer-my lisp-new ielm linux-shell kill keys help-new debug apropos help-mode dired-x compile-my mode-line compile article gnus-cite dl bookmarks w3m-bookmark file-write-to erc-my fill-new erc-dcc quit gnus-my group group-summary gnus-srvr gnus-score score-mode gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap gnus-sum nnoo gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-int gnus-range gnus-win message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus gnus-ems nnheader mail-utils info slime-autoloads package epg-config edit dired-my w3m-my w3m-tabs cus-edit cus-start cus-load w3m-session w3m browse-url doc-view jka-compr image-mode timezone w3m-hist w3m-fb bookmark-w3m w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util files-my tramp tramp-compat tramp-loaddefs trampver shell advice sudo-user-path find-command window-new count get-search-string caps-back buffer-menu switch-to-buffer super scroll error dired close buc switch-to-buffer-regexp subr-x align-new erc-list erc-menu easymenu erc-join erc-ring erc-networks erc-pcomplete pcomplete comint ansi-color ring erc-track erc-match erc-button wid-edit cl-loaddefs cl-lib erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat format-spec auth-source eieio byte-opt bytecomp byte-compile cconv eieio-core gnus-util time-date mm-util help-fns mail-prsvr password-cache thingatpt pp my-string search-regexp-in-files w3m-load tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 8 469435 40357) (symbols 24 50602 0) (miscs 20 229 1144) (strings 16 132933 14298) (string-bytes 1 3852919) (vectors 8 43283) (vector-slots 4 823124 10990) (floats 8 395 639) (intervals 28 8487 0) (buffers 512 36) (heap 1024 30760 9225)) -- underground experts united http://user.it.uu.se/~embe8573
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.