From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= Newsgroups: gmane.emacs.help Subject: Re: Searching text Date: Wed, 04 Sep 2024 01:39:58 +0200 Message-ID: References: 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="4742"; mail-complaints-to="usenet@ciao.gmane.io" To: Heime , Heime via Users list for the GNU Emacs text editor Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 04 01:40:48 2024 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 1sld8g-00012G-AV for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 04 Sep 2024 01:40:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sld8E-0003Fh-Cp; Tue, 03 Sep 2024 19:40:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sld85-0003Ew-Ep for help-gnu-emacs@gnu.org; Tue, 03 Sep 2024 19:40:10 -0400 Original-Received: from fout4-smtp.messagingengine.com ([103.168.172.147]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sld81-00063s-IK for help-gnu-emacs@gnu.org; Tue, 03 Sep 2024 19:40:09 -0400 Original-Received: from phl-compute-07.internal (phl-compute-07.phl.internal [10.202.2.47]) by mailfout.phl.internal (Postfix) with ESMTP id E6E761380228; Tue, 3 Sep 2024 19:40:00 -0400 (EDT) Original-Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-07.internal (MEProxy); Tue, 03 Sep 2024 19:40:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamkovic.org; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1725406800; x=1725493200; bh=b+yIJo0C0lfM/ogg+VGhQcYwwz/RSOf9o9aG5M3YLEc=; b= QI+9dXxGKzs3kOLFqn1iE0Bqf94YQ9ujoEt8PTZkjAkujXQ2cxePZV7ldH5Y9cXR OD67e5ClYl/itfDbRVoR3hWVXowoeNrb5f77dy98QOiGbEkb+y1JgxNJUgZao3XC ETq4YcrLugHPPWZt70zC0SFq5791sh8xIwo2+cMUVOq0HAPzlrrwpuaVEdFxFRYE 2Hx2vHLbcupOKSIBE1RkR2B6zKNP/SzAkWa80mEBX8Uufs8sXXk9fFr6R8ldrVam cQP2q3v6oScQa4+Q0dw0wBjMiVYuEvzg9WOhX9ssPPT1pAezNRsN0AqzYoQ5azNe lxzFWPuphzhYfa+xy5MBNQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1725406800; x= 1725493200; bh=b+yIJo0C0lfM/ogg+VGhQcYwwz/RSOf9o9aG5M3YLEc=; b=E CyEwXuTD6qRzfCP2AkUOahgX5/RyUsPD5QfQNEkMrwp7JebXt2SC2Guc9CbL/vJL QNUjv9LPEgNXI3X4BWjmtIEPyu3sm3Mxp5vo1HiAbbbH6RZENAhghj+39vHDrLqO OUnvV7F0Nz6Uy88Vm8milWjQGv2RCD4oMfZRw7Vu5T0H8iIL79Zd5S3NbpxtYREi QWyQjwW6jT6xmL+BMX8qV3suOpB1AKWz1SGsQlalIiOZfyKiBCFMBoP7thIQsPvs orTaAzEuI+6fMEYHyQ4FiyJjUdSgzdybBeSbLMFXYPZcxKOEn/QkqfnzvgQ0/ZMU hnBf1YqLMCugYRy2zCROQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudehiedgvdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvufgjfhffkfggtgfgsehtqhertddttdejnecu hfhrohhmpeftuhguohhlfhcutegurghmkhhovhhitgcuoehruhguohhlfhesrggurghmkh hovhhitgdrohhrgheqnecuggftrfgrthhtvghrnhephefghffhfeetheeitdevffelffet veduteejkeehvdfhjeevvdeukeehgfffheetnecuffhomhgrihhnpegruggrmhhkohhvih gtrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhho mheprhhuugholhhfsegruggrmhhkohhvihgtrdhorhhgpdhnsggprhgtphhtthhopedvpd hmohguvgepshhmthhpohhuthdprhgtphhtthhopehhvghlphdqghhnuhdqvghmrggtshes ghhnuhdrohhrghdprhgtphhtthhopehhvghimhgvsghorhhgihgrsehprhhothhonhhmrg hilhdrtghomh X-ME-Proxy: Feedback-ID: i88214938:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 3 Sep 2024 19:39:59 -0400 (EDT) In-Reply-To: Received-SPF: pass client-ip=103.168.172.147; envelope-from=rudolf@adamkovic.org; helo=fout4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:147895 Archived-At: Heime writes: > I need to search for phrases like 'others contend' within a buffer, even > when they span across multiple lines. Me too. From my Emacs config: Search across spaces, tabs, and newlines. #+BEGIN_SRC emacs-lisp :results none (with-eval-after-load 'isearch (setq isearch-lax-whitespace t isearch-regexp-lax-whitespace t search-whitespace-regexp "[ \t\r\n]+")) #+END_SRC Works well. Enjoy! Rudy --=20 "It is no paradox to say that in our most theoretical moods we may be nearest to our most practical applications." --- Alfred North Whitehead, 1861-1947 Rudolf Adamkovi=C4=8D [he/him] http://adamkovic.org