From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "jindam, vani" Newsgroups: gmane.emacs.help Subject: =?utf-8?B?UmU6IChuZXdiaWUpIHNlYXJjaCAmIHJlcGxhY2UgKOKAlG0=?= =?utf-8?B?YXRjaCBjYXNlKSBhbGwgYXQgb25jZSB3aXRob3V0IGNvbmZpcm1hdGk=?= =?utf-8?B?b24gYXV0b21hdGlvbg==?= Date: Thu, 03 Nov 2022 04:15:40 +0000 Message-ID: <6216071ad4d136c1e8773e5c40f0f86ff7374f50@disroot.org> References: <4e26d2c27ced788d6d210ea33df88b876fc12908@disroot.org> 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="34607"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 03 05:16:37 2022 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 1oqRef-0008pW-IL for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 03 Nov 2022 05:16:37 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqRdy-0001EK-GN; Thu, 03 Nov 2022 00:15:54 -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 1oqRdw-0001E0-Rj for help-gnu-emacs@gnu.org; Thu, 03 Nov 2022 00:15:52 -0400 Original-Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqRdr-0007xT-4X for help-gnu-emacs@gnu.org; Thu, 03 Nov 2022 00:15:49 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 28EB9412BE for ; Thu, 3 Nov 2022 05:15:42 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Original-Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0RljOAun5FzO for ; Thu, 3 Nov 2022 05:15:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1667448941; bh=bhGwZTQ5NFYPBeaF5aPM02xRUpcSKlqUbK11ecixPMk=; h=Date:From:Subject:To:In-Reply-To:References; b=hukymAREZ8ktGI0omIJMCK7fKjzG5vbjHWArj+nQMTUVDCXMNhiNC2TwqC7nc7IIG e5utn7He/4ZGJtDa364gaUVUxiCaYKAPSJrY7q5kbkOIo8WrxIPMe9r0Mj3qdaFm0X wr1TO90Wmzaoxdo6GoG8/AiWagYS+FLrBmNna3tgCgUwbTMA6a22rBEAmw+7MJI/vh eJadL093RXOn7mB8PFBHHwfKuwT4mzVMVulyJi4xbbGqK7YlqNTxyLS6eUmejH+aBb u/Y28BfEVPm992cyHRnahCDGk3ioeEZS6beCiGEWnv9MHnvMuTknno8306W6YpaDjq 1fDth+5eL2I3w== In-Reply-To: Received-SPF: pass client-ip=178.21.23.139; envelope-from=jindam.vani@disroot.org; helo=knopi.disroot.org 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, 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.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "help-gnu-emacs" Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:140588 Archived-At: November 2, 2022 at 5:36 PM, tomas@tuxteam.de wrote: >=20 >=20On Wed, Nov 02, 2022 at 12:26:20PM +0000, jindam, vani wrote: >=20 >=20>=20 >=20> hello emacs users, > >=20=20 >=20> after trying several gui text editors, i=20 >=20> hesistantly installed & familiarising emacs. > > so far, good. i have decided to use as default=20 >=20> text editor. > >=20=20 >=20> my search contains characters such as { or - or =3D=20 >=20> and alphabets. in other cli/gui editors, i choose=20 >=20> "match case" and "replace all". > > for example: "{{cite", "agree=3Dyes" > >=20 >=20 > By default, search is case insensitive (unless your search > string has mixed case). >=20 >=20To change that, you change the value of the variable `case-fold-searc= h' > (try: M-x customize-variable, then `case-fold-search': you get a buffer > with a button where you can switch it on or off). >=20 >=20There are multiple other ways to achieve that, of course. >=20 >=20>=20 >=20> straight to point: > > * where can i find examples for "search & replace=20 >=20> (=E2=80=94match case) all at once without confirmation"? > > * is it possible to use more than one for=20 >=20> search & replace? i mean, i want to replace=20 >=20> "{{cite", "agree=3Dyes" at once? > > * if i cant use more than one, how do i automate? > >=20 >=20 > Once you get your search-and-replace running, it will stop at the first > match. There you can type 'y' or just SPACE to effect the replacement, > 'n' to skip to the next match. If you want to do "all the rest", you > just type '!'. There is a little message at the bottom of your edit > window which tells you that (and the other options you have). >=20 >=20That said, I'd recommend that you walk the extra mile and learn > "incremental search". For one you get immediate feedback while > you are entering your search string; then, you can pick up parts > of your buffer text to complete your search string. You can change > case sensitivity on the fly, change between regular expression and > literal string on the fly, too, and lastly, upgrade your search > to a search-and-replace. >=20 >=20Sounds complicated, but you don't have to learn everything at once. > It's woth it :) i always assumed emacs as pure cli, but i was wrong. my immediate priority is to find one click solution. i have noted your tips, thank you. i will try today=20 and=20if i have any issues, i will ask here. regards, jindam, vani toots: @jindam_vani@c.im others: en.wikipedia.org/wiki/User:Jindam_vani > Cheers > --=20 >=20t >