From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Danny Nguyen Newsgroups: gmane.emacs.bugs Subject: bug#17603: Emacs enhancement request Date: Mon, 26 May 2014 12:44:31 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c3b244d9cdc204fa52ceb0 X-Trace: ger.gmane.org 1401134238 6888 80.91.229.3 (26 May 2014 19:57:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 May 2014 19:57:18 +0000 (UTC) To: 17603@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 26 21:57:08 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Wp11A-0003S7-58 for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 May 2014 21:57:08 +0200 Original-Received: from localhost ([::1]:58263 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wp119-0005xc-Mx for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 May 2014 15:57:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wp116-0005xW-3L for bug-gnu-emacs@gnu.org; Mon, 26 May 2014 15:57:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wp115-0006GX-1C for bug-gnu-emacs@gnu.org; Mon, 26 May 2014 15:57:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33640) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wp114-0006GT-UU for bug-gnu-emacs@gnu.org; Mon, 26 May 2014 15:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wp114-0001VB-ED for bug-gnu-emacs@gnu.org; Mon, 26 May 2014 15:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Danny Nguyen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 May 2014 19:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17603 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14011342035727 (code B ref -1); Mon, 26 May 2014 19:57:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 May 2014 19:56:43 +0000 Original-Received: from localhost ([127.0.0.1]:60750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wp10k-0001UI-92 for submit@debbugs.gnu.org; Mon, 26 May 2014 15:56:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50366) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wp0p8-00015d-2M for submit@debbugs.gnu.org; Mon, 26 May 2014 15:44:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wp0p1-0001iU-Rc for submit@debbugs.gnu.org; Mon, 26 May 2014 15:44:36 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:48057) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wp0p1-0001iQ-Oc for submit@debbugs.gnu.org; Mon, 26 May 2014 15:44:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wp0p0-0001kI-Rj for bug-gnu-emacs@gnu.org; Mon, 26 May 2014 15:44:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wp0oz-0001iC-Uo for bug-gnu-emacs@gnu.org; Mon, 26 May 2014 15:44:34 -0400 Original-Received: from mail-lb0-x22d.google.com ([2a00:1450:4010:c04::22d]:49668) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wp0oz-0001hy-Me for bug-gnu-emacs@gnu.org; Mon, 26 May 2014 15:44:33 -0400 Original-Received: by mail-lb0-f173.google.com with SMTP id 10so4456460lbg.4 for ; Mon, 26 May 2014 12:44:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=HbgvKcNrY3c0Z5+nJ1wOXq9WgiOCSrDeW4Op/zYZbB8=; b=AYFSDg3kLpHU2QvpKb1biin09Yo2ekkc47UJ+vQX1zktnoVfGqiIp2gZsiE8BNieEv 52YkgwGH2WXDutDq9YYuU3+wBDqu7RaQ+llNIOgJyBD1bDm+Ot3qClGVwX4fxL2aAk2T FjCvBX1sHSzxtMOxMOkvHky0676LqrqJF8I+Vnq/rPMy+dE9yHIbLHGuDe63pAFys0Zg PhAkpm0KLWx8avpk//r74OyWFIe4p/iKhG/XZGrTtbblLTXIfKPVO3hqfM64hekaoDoA ifFwhovo0hasWraQbIiS1EpRVhqsBfNXyJhq9Z9B9Wg1BKQY4YBICUaXgNnh7FyR4aTL zZpg== X-Received: by 10.112.55.5 with SMTP id n5mr3271436lbp.71.1401133471483; Mon, 26 May 2014 12:44:31 -0700 (PDT) Original-Received: by 10.112.138.201 with HTTP; Mon, 26 May 2014 12:44:31 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Mon, 26 May 2014 15:56:40 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:89514 Archived-At: --001a11c3b244d9cdc204fa52ceb0 Content-Type: text/plain; charset=UTF-8 Hi Emacs support team, I am an avid user of GNU Emacs and I love using Tex mode to write my documents. However one of the features that I find lacking in Emacs is *auto-complete*. By that I don't mean the common feature found in other IDE for programmers but the following. Suppose I already typed up a formula *\int_{\mathbb{R}} e^{2 \pi i x^2} dx = 1* And after paragraph or so I want to repeat the same thing all over again (and maybe modify *x* to *y*). Of course I can search+save region+yank but that's too manual. What I wish to have is if I typed *\int* and then invoked the *auto-complete *command, Emacs would move the point to the previous instance of *\int* and allow me to mark a region around it. After marking I could hit *Enter* and Emacs would copy the highlighted part and put it to the partially completed *\int* below. I also want to be able to cycle through previous instances of *\int* with the up and down arrow keys, much like using *isearch*. This could be also useful outside the scope of Tex mode. I realize this sounds more like a minor mode rather than a macro. Thanks, Danny --001a11c3b244d9cdc204fa52ceb0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Emacs support team,

I am an avid user of GNU Emacs and I love using Tex mode to write my docume= nts. However one of the features that I find lacking in Emacs is=C2=A0au= to-complete. By that I don't mean the common feature found in other= IDE for programmers but the following. Suppose I already typed up a formul= a

\int_{\mathb= b{R}} e^{2 \pi i x^2} dx =3D 1

And af= ter paragraph or so I want to repeat the same thing all over again (and may= be modify=C2=A0x=C2=A0to=C2=A0y). Of course I can search+save= region+yank but that's too manual. What I wish to have is if I typed= =C2=A0\int=C2=A0and then invoked the=C2=A0auto-complete=C2=A0= command, Emacs would move the point to the previous instance of=C2=A0\in= t=C2=A0and allow me to mark a region around it. After marking I could h= it=C2=A0Enter=C2=A0and=C2=A0Emacs would copy the highlighted part an= d put it to the partially completed=C2=A0\int=C2=A0below. I also wan= t to be able to cycle through previous instances of=C2=A0\int=C2=A0w= ith the up and down arrow keys, much like using=C2=A0isearch.

This could be also use= ful outside the scope of Tex mode. I realize this sounds more like a minor = mode rather than a macro.=C2=A0

Thanks,
Danny
--001a11c3b244d9cdc204fa52ceb0--