From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.devel Subject: Re: (un)expand-region-abbrevs Date: Fri, 06 Jun 2014 14:37:30 +0200 Message-ID: <87iooefc39.fsf@gilgamesch.quim.ucm.es> References: <87fvjipfak.fsf@gilgamesch.quim.ucm.es> <874mzy2ssl.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1402058291 8731 80.91.229.3 (6 Jun 2014 12:38:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Jun 2014 12:38:11 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 06 14:38:04 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WstPI-0002ac-4t for ged-emacs-devel@m.gmane.org; Fri, 06 Jun 2014 14:38:04 +0200 Original-Received: from localhost ([::1]:46942 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WstPH-0004kq-KV for ged-emacs-devel@m.gmane.org; Fri, 06 Jun 2014 08:38:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WstP9-0004kk-NI for emacs-devel@gnu.org; Fri, 06 Jun 2014 08:38:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WstP3-0001Nk-Ps for emacs-devel@gnu.org; Fri, 06 Jun 2014 08:37:55 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:41292) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WstP3-0001Nc-Ig for emacs-devel@gnu.org; Fri, 06 Jun 2014 08:37:49 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WstP1-0002Q5-Bv for emacs-devel@gnu.org; Fri, 06 Jun 2014 14:37:47 +0200 Original-Received: from gilgamesch.quim.ucm.es ([147.96.12.99]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Jun 2014 14:37:47 +0200 Original-Received: from oub by gilgamesch.quim.ucm.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Jun 2014 14:37:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 24 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: gilgamesch.quim.ucm.es Mail-Copies-To: never User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:IDEG6FI3HcQ0KW+3DAMFY2KTHC8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:172390 Archived-At: >>>>> "Stephen" == Stephen J Turnbull writes: > Uwe Brauer writes: >> I find expand-region-abbrevs quite useful, so would it be possible >> to have the inverse function? Unexpand-region-abbrev? > I don't see why you believe there would be an inverse. Suppose I have > abbrevs > u -> Uwe > b -> Brauer > ub -> Uwe Brauer No, no, the case I have in mind is very different. I have a huge abbrev list which expands hebrew words to hebrew words with niqqud, like שלום --> שָלֹם So sometimes I want to delete the niqqud. One might argue that I would be better off to write a short trans-tab which replaces the niqqud by "nothing", but I got curious whether I could use an inverse abbrev function.