From unknown Sun Aug 10 16:51:42 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#17603 <17603@debbugs.gnu.org> To: bug#17603 <17603@debbugs.gnu.org> Subject: Status: completion of previous input Reply-To: bug#17603 <17603@debbugs.gnu.org> Date: Sun, 10 Aug 2025 23:51:42 +0000 retitle 17603 completion of previous input reassign 17603 emacs submitter 17603 Danny Nguyen severity 17603 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Mon May 26 15:56:43 2014 Received: (at submit) by debbugs.gnu.org; 26 May 2014 19:56:43 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,HTML_OBFUSCATE_10_20,T_DKIM_INVALID autolearn=disabled version=3.3.2 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 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 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 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 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== MIME-Version: 1.0 X-Received: by 10.112.55.5 with SMTP id n5mr3271436lbp.71.1401133471483; Mon, 26 May 2014 12:44:31 -0700 (PDT) Received: by 10.112.138.201 with HTTP; Mon, 26 May 2014 12:44:31 -0700 (PDT) Date: Mon, 26 May 2014 12:44:31 -0700 Message-ID: Subject: Emacs enhancement request From: Danny Nguyen To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=001a11c3b244d9cdc204fa52ceb0 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: submit 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.9 (--) --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-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 26 20:28:42 2014 Received: (at control) by debbugs.gnu.org; 27 May 2014 00:28:42 +0000 Received: from localhost ([127.0.0.1]:60978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wp5Fy-0001uS-CP for submit@debbugs.gnu.org; Mon, 26 May 2014 20:28:42 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:55452 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wp5Fw-0001uK-MP for control@debbugs.gnu.org; Mon, 26 May 2014 20:28:41 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Wp5Fw-0005wm-4X for control@debbugs.gnu.org; Mon, 26 May 2014 20:28:40 -0400 Date: Mon, 26 May 2014 20:28:40 -0400 Message-Id: Subject: control message for bug 17603 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.7 (-----) retitle 17603 completion of previous input From debbugs-submit-bounces@debbugs.gnu.org Tue May 27 21:10:50 2014 Received: (at 17603) by debbugs.gnu.org; 28 May 2014 01:10:50 +0000 Received: from localhost ([127.0.0.1]:33849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpSOI-0006g1-3M for submit@debbugs.gnu.org; Tue, 27 May 2014 21:10:50 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:38887) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpSOF-0006fh-E8 for 17603@debbugs.gnu.org; Tue, 27 May 2014 21:10:48 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUGAIDvNVNLd/fU/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCwsOJhIUGA0kiAQI0hkXjnoHhDgEqRmBaoNMIQ X-IPAS-Result: ArUGAIDvNVNLd/fU/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCwsOJhIUGA0kiAQI0hkXjnoHhDgEqRmBaoNMIQ X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="64502826" Received: from 75-119-247-212.dsl.teksavvy.com (HELO pastel.home) ([75.119.247.212]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 27 May 2014 21:10:41 -0400 Received: by pastel.home (Postfix, from userid 20848) id 87C5760094; Tue, 27 May 2014 21:10:41 -0400 (EDT) From: Stefan Monnier To: Danny Nguyen Subject: Re: bug#17603: Emacs enhancement request Message-ID: References: Date: Tue, 27 May 2014 21:10:41 -0400 In-Reply-To: (Danny Nguyen's message of "Mon, 26 May 2014 12:44:31 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 17603 Cc: 17603@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > 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*. What you describe (including letting you mark the region around the previous match) sounds sufficiently complex (UI-wise) that using C-SPC C-r *\int ..copy text.. C-u C-SPC C-y wouldn't be noticeably more complex. So I think it only makes sense to provide such a feature if the choice of the amount to copy can be made somewhat automatic. Maybe hippie-expand's try-expand-line would work for you? Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 14 11:06:29 2021 Received: (at 17603) by debbugs.gnu.org; 14 Jul 2021 15:06:30 +0000 Received: from localhost ([127.0.0.1]:45710 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3gSz-0002di-L7 for submit@debbugs.gnu.org; Wed, 14 Jul 2021 11:06:29 -0400 Received: from quimby.gnus.org ([95.216.78.240]:44648) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3gSx-0002dR-NH for 17603@debbugs.gnu.org; Wed, 14 Jul 2021 11:06:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=39FUD6+wqxs8SBnrO7P+bvVbevUG+w0ykqDD5cnGAb8=; b=TPcgT/N4eMYUmDLQe1ni7JVqgc FTasPohH6lIZDJp89ffxPStLi+AMmnNCphtcf9mmcH1BK8CxF/+1tgOnARs6qor+0w4yBbk92zb16 CZO8Re5+3EKUuzoMynB6kjGJLQ5LvKlm7NOP+cBft6p61TFOlyhAmFFmyiFmVVk+zQi8=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m3gSo-0004of-7N; Wed, 14 Jul 2021 17:06:20 +0200 From: Lars Ingebrigtsen To: Stefan Monnier Subject: Re: bug#17603: completion of previous input References: X-Now-Playing: Nobukazu Takamura's _Music for the exhibition "Einheit"_: "(untitled)" Date: Wed, 14 Jul 2021 17:06:17 +0200 In-Reply-To: (Stefan Monnier's message of "Tue, 27 May 2014 21:10:41 -0400") Message-ID: <87tukxgck6.fsf_-_@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Monnier writes: > What you describe (including letting you mark the region around the > previous match) sounds sufficiently complex (UI-wise) that using > > C-SPC C-r *\int ..copy text.. C-u C-SPC C-y > > wouldn't be [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 17603 Cc: Danny Nguyen , 17603@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Stefan Monnier writes: > What you describe (including letting you mark the region around the > previous match) sounds sufficiently complex (UI-wise) that using > > C-SPC C-r *\int ..copy text.. C-u C-SPC C-y > > wouldn't be noticeably more complex. > So I think it only makes sense to provide such a feature if the choice > of the amount to copy can be made somewhat automatic. > > Maybe hippie-expand's try-expand-line would work for you? Emacs (now) has a number of different completion libraries and frameworks, so I don't think there's anything specific to be done in this bug report, and I'm closing it. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 14 11:06:33 2021 Received: (at control) by debbugs.gnu.org; 14 Jul 2021 15:06:33 +0000 Received: from localhost ([127.0.0.1]:45713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3gT2-0002dz-Rw for submit@debbugs.gnu.org; Wed, 14 Jul 2021 11:06:32 -0400 Received: from quimby.gnus.org ([95.216.78.240]:44664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3gT1-0002dW-Hb for control@debbugs.gnu.org; Wed, 14 Jul 2021 11:06:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=qu81Dh53f1LaRRwAJgWCrkG89kPwKHiJKSyOuQXReYc=; b=cU63fISSlMBoXy/A6a8seG4XZ0 c8d2wzjyGcQlNO8JBy8oKZt6MSj3Gjjv3/MnKNH8QIjIUFOJsg/uI17SHOLP8mEhNFBsU8Eim2KnP qBgV1WEWscaNcwX6drevRvqgQIsNitwcMCJqAplkuisbaJ1Y6CG92e+QdsichG9i2qMI=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m3gSu-0004oo-2W for control@debbugs.gnu.org; Wed, 14 Jul 2021 17:06:26 +0200 Date: Wed, 14 Jul 2021 17:06:23 +0200 Message-Id: <87sg0hgck0.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #17603 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 17603 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 17603 quit From unknown Sun Aug 10 16:51:42 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 12 Aug 2021 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator