From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arash Esbati Newsgroups: gmane.emacs.help Subject: Re: Shortening words with multiple rules Date: Wed, 17 Aug 2022 14:15:56 +0200 Message-ID: <864jybqd4z.fsf@gnu.org> References: <86tu6c4lg1.fsf@gnu.org> <86zgg4mpqf.fsf@gnu.org> <0ted8gWpziSeCqNIXIk-7J8IFrB2n29gZ5zJoBSzzCaLgig-oKvge9-s7T5Ss8Gbv2BxzrcSZjAUQg4pMD9HlPna-ETm22UNu6PVqZYLa18=@proton.me> <86wnb7xuln.fsf@gnu.org> <86wnb75gjl.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36582"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 Cc: uzibalqa via Users list for the GNU Emacs text editor To: uzibalqa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 17 14:23:06 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 1oOI4g-0009R4-2h for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 17 Aug 2022 14:23:06 +0200 Original-Received: from localhost ([::1]:56768 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oOI4d-0004PO-Dr for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 17 Aug 2022 08:23:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOHyJ-0001Wr-Ey for help-gnu-emacs@gnu.org; Wed, 17 Aug 2022 08:16:34 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34404) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOHy0-0005Px-TT; Wed, 17 Aug 2022 08:16:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=2Yi6lJdfbfjL1AkZ8jLYdgrB/FDrgGfyjYI/51aNyEY=; b=DOuOWJP7x8GBA60+hLjX KXuIC8OnmUERi/0oen+nypw3j5Q3YZV+u8j81hNlDpCC2RO0/XL4JztRplXF9IbOkANrC9KGhGMwV B8bOgljfqU/ADceKCIQeUwvqN4w7RqR29nwLCHNS3zx4CwQMSRxGy/uWQrHMC/eg0wD71JEM0sbNp VZ4PYHU4k5XZV8umlTnK4iQvASKKHMUO1W+HwSUOTcmFxSASxYS2LRfFXflf5P/LJEvbzmoIW4VMh 2Gl1p4DCRGYws0EOBU4SfrSf053oFZShvrCqDXCcBDnbYhwBB2bacQ/I2o054380dTHXlbufNG/PK gePEoBJMkAqVbQ==; Original-Received: from pd9fb77f7.dip0.t-ipconnect.de ([217.251.119.247]:63572 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOHxz-0003Co-Bn; Wed, 17 Aug 2022 08:16:11 -0400 In-Reply-To: (uzibalqa@proton.me's message of "Wed, 17 Aug 2022 11:00:50 +0000") 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" Xref: news.gmane.io gmane.emacs.help:138902 Archived-At: uzibalqa writes: > Would you have a solution that uses `search-forward-regexp' ? I think > one can have all three possibilities function with > `search-forward-regexp'. This one is left as an exercise for the reader :-) Best, Arash