From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: Disemvowelment Mode? Date: Tue, 14 May 2019 10:01:29 +0200 Message-ID: <87bm0531nq.fsf@fastmail.fm> References: Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="110364"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: mu4e 1.3.2; emacs 26.2 Cc: Stefan Monnier To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 14 10:02:12 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hQSO3-000SUo-B3 for geh-help-gnu-emacs@m.gmane.org; Tue, 14 May 2019 10:02:11 +0200 Original-Received: from localhost ([127.0.0.1]:41496 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQSO2-0004s5-Cg for geh-help-gnu-emacs@m.gmane.org; Tue, 14 May 2019 04:02:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQSNp-0004ql-Q6 for help-gnu-emacs@gnu.org; Tue, 14 May 2019 04:01:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQSNl-0001Fv-He for help-gnu-emacs@gnu.org; Tue, 14 May 2019 04:01:55 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:35763) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hQSNj-000124-N2 for help-gnu-emacs@gnu.org; Tue, 14 May 2019 04:01:52 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 77C6D24384; Tue, 14 May 2019 04:01:33 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 14 May 2019 04:01:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm3; bh=inpnOBwPfIm7Jskpjbny2U4XRd WbXVRwXoiBN3vp6zw=; b=cCTroWOVdjsNLevz/z+ssJ6sHBLQGUJGDzojiLe0ym 9306ocd+UGS6Gdm+iQinpL/R742lydUehBMcKoki0f+U6pCd2DYqg61jnhE+4h+1 GAHyMmspALZ93ZIfzTSiuCvsZkorsCZb6cK96RlNejb0eEf7JoVldpjKcq7DtCds wBrhTNZpfJ1eLSRcJ5Jev6gogp+Aq8bf0M5rOM/fsDQKv6xBKOo8Z0lGXrLEMRkh UDleHiuf3KlJc4+8tke8MNgwW81nhnDgZiAnnm8b4beDy8VCWawQ/g5Y704PQIkI o+xekWM0E0ELebVNMd2VC3UNk/DrruEiTdGtLIL8E12g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=inpnOB wPfIm7Jskpjbny2U4XRdWbXVRwXoiBN3vp6zw=; b=43O4wUCEktVTVQcUSTO7a7 tLXptMkIG/H/tPC7Ea2eVINNEOqJbRAM45WZZMFwwmE3OyVZHKxMEVOA+aUtvOpJ xj+9bahSgTjgDCdfRZvq/7CppyaVB6hOB3fwTPkaD8gGharu9HwUXfFaglO9xk+u 4GdjaZ1IfIvXTLWPaBdhJkySN7fk6DTWqJUmnPbEXvGdeSips99y+Tx16Kq6FlbC gE3P/KEcyVA5aGkk+X/t0xVG3uRlxehgHUTV4/nsFEZa+4kyC8tPrMbUdWn5R9wa X8MykTJZ6bggPvLPkBcIDnHgZlQpAaqs26Eowg7rFKaDxVrjhdcXyaQnBJx6MxRw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrleehgdduvdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufgjfffkgggtsehttdertddtredtnecuhfhrohhmpeflohhoshht ucfmrhgvmhgvrhhsuceojhhoohhsthhkrhgvmhgvrhhssehfrghsthhmrghilhdrfhhmqe enucfkphepuddvledrjedtrddutdehrddugeegnecurfgrrhgrmhepmhgrihhlfhhrohhm pehjohhoshhtkhhrvghmvghrshesfhgrshhtmhgrihhlrdhfmhenucevlhhushhtvghruf hiiigvpedt X-ME-Proxy: Original-Received: from Swift.fastmail.com (dhcp-129-70-105-144.dhcp.uni-bielefeld.de [129.70.105.144]) by mail.messagingengine.com (Postfix) with ESMTPA id B1A728005C; Tue, 14 May 2019 04:01:32 -0400 (EDT) In-reply-to: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.26 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:120360 Archived-At: On Tue, May 14 2019, Grant Rettke wrote: > When I am typing, most of the time I can keep up and more or > less apply the simple rules I am trying to follow. The problem > is when I get distracted (or tired, or the speaker goes to fast > and I can't keep up) and I just start typing word-for-word. In > those cases, I don't want to have to go back over the document > to clean it up. That is why I was thinking about the mode > "looking back at the last two words or so" to do the right thing > to them. The thing that I still don't understand, is why you would want to convert the document to shorthand at all? Isn't the purpose in the end to have a legible written version of the talk? Why would it matter when some of the words are written in full? > Having talked through this now, there is certainly a case for > not > doing this in a mode -_- :). Well, in any case you'd need to write a function that can disemvowel a word. You can call this function manually (or wrap it in another function that runs over a region/the buffer), or you could run it in an (idle) timer or something similar. If you use a timer, there's no reason AFAICT to *not* create a minor mode for it. -- Joost Kremers Life has its moments