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: Sun, 1 Aug 2021 09:36:16 +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="34995"; 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 Sun Aug 01 03:37:07 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 1mA0Pb-0008v6-78 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 01 Aug 2021 03:37:07 +0200 Original-Received: from localhost ([::1]:48796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mA0Pa-0007Jm-3U for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 31 Jul 2021 21:37:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mA0P2-0007Je-8N for help-gnu-emacs@gnu.org; Sat, 31 Jul 2021 21:36:32 -0400 Original-Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]:42706) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mA0P0-0002h0-Hl; Sat, 31 Jul 2021 21:36:31 -0400 Original-Received: by mail-lf1-x134.google.com with SMTP id u3so26534246lff.9; Sat, 31 Jul 2021 18:36:29 -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=/2XAzMBdiBzc4AlJKuaR2m9hlZKaLJS64j1ne4RcPGI=; b=jK9PRZEWBuESICL/AkrTp9KwSeciTm9Egwtv+/SwzQECZFhhi97huE6OSS8bA35bH5 2BxvwiQYvlkZM1Y8yZnTJwqit2LnSkVqC7vNZDDeXoKlpCM1GGrImDfjcUL5OBgLP9PP sgOCg6SttYMp3xxzS/2Odu47gNt3UciWCrGYZFI6EbUDxbev7d+oW3b6XeLeoDHGsuOT QpqcEdP5cQSlSFwASXaJiPmoiFtKMiwNnJCT5o8dkBbT0ukprQbgNoj0Dzj8IetP+xVq L8weW2Gs6b7CPoRHyU2NWkYXI1oXvzKheBPHAxOZiwEjPpQ4v49UtX9adMGHV1Hh1Ays 1ynA== 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=/2XAzMBdiBzc4AlJKuaR2m9hlZKaLJS64j1ne4RcPGI=; b=C7VEwWtmIaJOBUh0prQN1RfJmVHtL5r5C06Q/70eSlosSJWg3797GqUekyE8MUG5ui luFDTOjG5HeGlbDbGWPksjjXN4rTClsZceikR+PhtpYs0h12LijGPCB0H7GRow8h1RFe dNZDE/+CfMx0QYndNPZBCeC0sdviZEnN23qAuApl0X82w21ARzJW6HH04yovHso2XnGI 22PX/p2z7C/vDvBejOc7mSJn9owK23ur4pEQDXWa9bL8jCVo1nbCe2aJdc/lhKwWukYF bSL4/RSgrpC3gyrJLmpSUdOf0fGK9Q+ydO47La3df1trQ5aOIxb0R0jzkLL7B1gayDsR 2UVA== X-Gm-Message-State: AOAM533fhFtaHHzlVLp9lV3n4vEU/7di9vzPZrF62cDabTS0/jrF3wjO Vv+jfe+r3+dYEJO9MZj7T3pJjPLhE2/GQ6wcSt4= X-Google-Smtp-Source: ABdhPJxP4od2MdiAmkNTwJA9A4bw7wwrlDGxDlv7/+5xoGUUBveMvbSDA0dYwoKtjeOBzxYtCElX1gHBtQs6hKlE2eA= X-Received: by 2002:a05:6512:3114:: with SMTP id n20mr7675572lfb.231.1627781788218; Sat, 31 Jul 2021 18:36:28 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::134; envelope-from=hongyi.zhao@gmail.com; helo=mail-lf1-x134.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:132229 Archived-At: On Sun, Aug 1, 2021 at 5:10 AM Drew Adams wrote: > > > > `C-s (require . cl)' > > > > I tried again and it worked, as shown in the attachment. > > > > > > Yes. `C-M-s' for this in *Help* for `C-h v load-history'. > > > > > > (require[ > > > ]+[.][ > > > ]+cl) > > > > Thank you for showing me this pattern. TBF, it seems to me that the > > syntax of line spanning match pattern is very strange. It would be > > nice if there were some explanation for how to build this pattern. > > See the Emacs manual, node `Lax Search'. Depending on your > value of option `search-whitespace-regexp' you can just > type a space char to match one or more whitespace chars, > including newline chars. I you set it to "[ > > ]+" (which corresponds to "[ \t\r\n]+" then you can just > search with `C-s' for `(require . cl)'. That will cross > newlines. > > https://www.gnu.org/software/emacs/manual/html_node/emacs/Lax-Search.html Thank you very much for the information, but I still can't figure out what's the meaning of `Lax' used here. 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