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: Re: [External] : Re: Package cl is deprecated Date: Fri, 30 Jul 2021 13:33:56 +0800 Message-ID: References: <01eaf257-1142-c407-c9c0-0d6a2e3148b1@gmail.com> <874kceadmj.fsf@t14.reltub.ca> <83fsvytude.fsf@gnu.org> <87r1fi8qor.fsf@t14.reltub.ca> <83y29qs31w.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6461"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 30 07:34:34 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 1m9LAH-0001SR-Tx for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 30 Jul 2021 07:34:33 +0200 Original-Received: from localhost ([::1]:54662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m9LAG-0003ks-H6 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 30 Jul 2021 01:34:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43530) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m9L9w-0003kW-HA for help-gnu-emacs@gnu.org; Fri, 30 Jul 2021 01:34:12 -0400 Original-Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]:34653) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m9L9v-0005nq-2r; Fri, 30 Jul 2021 01:34:12 -0400 Original-Received: by mail-lj1-x22f.google.com with SMTP id f12so10686078ljn.1; Thu, 29 Jul 2021 22:34:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=11ZjkoG1HpbRGmLMUr3K87HR+eptQR6dncSTLrXFL3w=; b=GeYlrWxAXONZ+m/dZckzjkUPx4TMpnZs88KacR/iToU6DHoXTXURlkbKQQ+1uJ38+s ZRT4CXriirhLkplZ3MIivCPph7ryx/s9/KQAxsYRUUR+gDXGwlhHaQvdUKpGvIOPlSkH DAvTgpVA2S8B/drHI2wHu14rIkFXJ5S5IBFYPRCXFfkidPyM3qYbiXnrJHHbTugJtpVx +k1flK373mVxQSjjskrjXshoH+fTK4Q/uJiQ7mBDf/vIflfh9lFfPx1uasIwBBqbCXRZ /n1P+P6GuZi1Sdywr6fu+PR0WS15uVvPy6am40Ls/OPE5ewjt91fGQ7hjcBooyC22bnl Nktg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=11ZjkoG1HpbRGmLMUr3K87HR+eptQR6dncSTLrXFL3w=; b=keb0IdTVg65cwHEFSSWmMMI1PfIEaQslnei5XYj+86VbV197hUbTlZomsJb5KkfE7U CV6ZgjqWHkyaKf/n28tPjbfkj89LcydkOIVQGALCAnc6mRHJQEnf2GDNx4ZP3otTi39L h6ISohoj27Uz+8DvL1faJI/leo3Hy9xIb54oYyZ1ljY1YR23Cz1SAS1sHhzUjxf9jbmX OfajQ4yHMlH+0fqVyk+8cHFIQJI9rIPixRYLf5kSLcM6sHslsTXUqTmgBFvVAkS7pECU NYKA7NyE+cShmXjQ36mucpsecZhhYONktsjW/TFfztZlZy6ZNn/g4krZz6c/CSoVIhX2 HEDw== X-Gm-Message-State: AOAM5338p+GKImXNrK6nliuO6Nga7pKrvHGbvtwVtBRyA6z9Xywf5hS5 Q+IQpqSgr/6kNbk1Bhv/gKnAfyn9IJpwMJrRzSY= X-Google-Smtp-Source: ABdhPJzD+dyx/lu2UULJXjoZlGESw9cAc56DD9KXwa831F552C6IlJp0lZEW/AJmtLiQBJ1Tljg7n/dcjwIPGmgZgco= X-Received: by 2002:a05:651c:12c4:: with SMTP id 4mr519234lje.320.1627623248688; Thu, 29 Jul 2021 22:34:08 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::22f; envelope-from=hongyi.zhao@gmail.com; helo=mail-lj1-x22f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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:132188 Archived-At: On Fri, Jul 30, 2021 at 12:03 PM Drew Adams wrote: > > > > You can also try `C-h v load-history'. > > > > > > Or type `load-history' in *scratch* (without the > > > quotes), put your cursor after that text, and use > > > `M-x pp-eval-last-sexp'. > > > > > > Each of those shows you your complete history of > > > loading Elisp files. > > > > > > Search the *Help* buffer (for `C-h v') or search > > > the *Pp Eval Output* buffer (for `pp-...') for > > > loading of cl.el[c]. Just before that you'll see > > > other loads - those can give you a hint of what > > > caused cl.el[c] to be loaded. > > > > Thank you very much for letting me know so many wonderful tricks. I > > tried with swiper to search the *Pp Eval Output* buffer, but nothing > > matched, as shown in the attachment. Did I do something wrong? > > Try just Isearch. Search for `(require . cl)' (note the dot). Do you mean: `M-x isearch-forward RET (require . cl) RET'? I tried the above command under `.emacs.d/straight/repos' directory, but it doesn't give any results. > If you have a library `foo.el' in directory > `/some/dir/somewhere/', where `foo.el' requires > library cl then you'll find a sexp such as this: > > ("/some/dir/somewhere/foo.el" > ... > (require . cl) > ...) > > You may well have loaded multiple libraries that > require cl. You may be interested in all of them, > but the first one is likely the one that loaded > cl.el[c]. > > (Searching `C-h v load-history' in *Help* is > harder, because it may split `(require 'cl)' across > two lines.) If so, the spanning line pattern should do the trick. Am I right? Regards -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Vocational University of Technology and Engineering No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province