GNU bug report logs - #17603
completion of previous input

Previous Next

Package: emacs;

Reported by: Danny Nguyen <anuindale <at> gmail.com>

Date: Mon, 26 May 2014 19:57:02 UTC

Severity: wishlist

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Danny Nguyen <anuindale <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Emacs enhancement request
Date: Mon, 26 May 2014 12:44:31 -0700
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 364 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.