From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jayden Navarro Newsgroups: gmane.emacs.bugs Subject: bug#36328: 26.2; Args out of range on search-and-replace of *.cc file Date: Sat, 22 Jun 2019 09:09:48 -0700 Message-ID: References: <20190622132549.84518.qmail@mail.muc.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000009c51b5058bebcfcf" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="221112"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Alan Mackenzie , 36328@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 22 18:11:24 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1heibr-000vR7-UA for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Jun 2019 18:11:24 +0200 Original-Received: from localhost ([::1]:41688 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1heibq-0002UO-W3 for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Jun 2019 12:11:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45946) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1heibY-0002Q7-UN for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2019 12:11:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1heibX-0001pZ-3l for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2019 12:11:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38907) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1heibW-0001nI-4q for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2019 12:11:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1heibV-0005Il-VT for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2019 12:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jayden Navarro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Jun 2019 16:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36328 X-GNU-PR-Package: emacs Original-Received: via spool by 36328-submit@debbugs.gnu.org id=B36328.156121980920313 (code B ref 36328); Sat, 22 Jun 2019 16:11:01 +0000 Original-Received: (at 36328) by debbugs.gnu.org; 22 Jun 2019 16:10:09 +0000 Original-Received: from localhost ([127.0.0.1]:52451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1heiae-0005HY-Ov for submit@debbugs.gnu.org; Sat, 22 Jun 2019 12:10:09 -0400 Original-Received: from mail-lj1-f195.google.com ([209.85.208.195]:46283) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1heiac-0005Gr-BG for 36328@debbugs.gnu.org; Sat, 22 Jun 2019 12:10:07 -0400 Original-Received: by mail-lj1-f195.google.com with SMTP id v24so8623428ljg.13 for <36328@debbugs.gnu.org>; Sat, 22 Jun 2019 09:10:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yugabyte-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6Q9ColUCQ9PJErE5PloQZ8mBuxsAptb99m6ic9mBsv0=; b=EG0qdo2wyRTPTqekESjFEJuk45OgWBiIYEfH4jovvD5m5Oy7N8GZsB87C/fL4OM765 BAzDDGiCLAgPqPHNfqiyIUBhxhfqSXWMp3lbyK+t2aRwL3WCa1SIS84nRlZD+VlT8KTO idmnX5ShR8NYHGh6JvdN6++cUTnGxGIPthM446f0l82iBLSSxl8xAdzdyyMSI+QGcZpi X46STL7B5TtVI0POHcDSFqwv3imI90A2VtDERRS1zdw9xO99iHAG/5uxBMTF6kOwzepE pGVZ5Y8fIC//Qj+g6/9deOdmn4fydGs9YencHoTYJI592rCHagHQ+/w3gtGwPinj0CL6 D7bA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6Q9ColUCQ9PJErE5PloQZ8mBuxsAptb99m6ic9mBsv0=; b=LR5cjahQVPlf0ZEDeLmUD33j4pOmf0XGIBAA/pw44l5PtJmDote4LdorSCIRHDIRWj y6R5FmP9AL8eFDwZuY25oVGrLqpd7fAmsrQuI94x6NOmPBsTZMWy+mW9V5fLgdeNklrK 8XOrACkSin/Wv37CFloPkr1K6NDr2P/LW8lw/Q/ZCoCe4VngyRUyBFH0kInS6nBgo6oP 7yURj88lSEhj50IwsWzFouXZPnC+NnSVmFCcOYsEEKaA3ZmAL2v++TijsBS/S38R2Vry 1z0LUi6+RaZ7BEbRjwuv06T7d2miPYL11DOUMk0iZNWfytXYi2QfLLA8q99E2RtPM61O HdPA== X-Gm-Message-State: APjAAAW6gW5i9kDllfFYPFRfh331OytBVMrYabtNwvc3sEAni3f6Rj+O 3qlC0zuJ1jn+En2VWbRuDFu2V+1HBTw4aUfrMQvGxQ== X-Google-Smtp-Source: APXvYqxj4vgZwIRvSrr+ukf2HcshTeCSPJn1WXuWg+xCZx+TYz2vN2eFiQReBosEHS2GmFIzm0F3zvY7u/PUooZumCM= X-Received: by 2002:a2e:3913:: with SMTP id g19mr13426644lja.212.1561219800250; Sat, 22 Jun 2019 09:10:00 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:161040 Archived-At: --0000000000009c51b5058bebcfcf Content-Type: text/plain; charset="UTF-8" I've been able to reproduce this on MacOS 10.14 Mojave running Emacs 26.2 and Emacs 27 (forget exact version, installed it yesterday using "brew install emacs --HEAD"). I've also reproduced it on Windows in Cygwin running Emacs 26.2. On an Ubuntu server I use running Emacs 24.5.1 I cannot reproduce the issue. "emacs -Q" should ignore all init files and packages correct? Is there anything else on my system that could be affecting this? Note that for the same file contents this issue does not occur if I name the file test.py, so I believe it's related to c++-mode. Best, Jayden On Sat, Jun 22, 2019 at 7:52 AM Juanma Barranquero wrote: > On Sat, Jun 22, 2019 at 4:26 PM Jayden Navarro > wrote: > > > 7. You should hit: Args out of range: #, 0, 1 > > I cannot reproduce it with 26.2.90 on Windows. > --0000000000009c51b5058bebcfcf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I've been able to reproduce this on MacOS 10.14 Mojave= running Emacs 26.2 and Emacs 27 (forget exact version, installed it yester= day using "brew install emacs --HEAD").=C2=A0

= I've also reproduced it on Windows in Cygwin running Emacs 26.2. On an = Ubuntu server I use running Emacs 24.5.1 I cannot reproduce the issue.

"emacs -Q" should ignore all init files and = packages correct? Is there anything else on my system that could be affecti= ng this?

Note that for the same file contents this= issue does not occur if I name the file test.py, so I believe it's rel= ated to c++-mode.

Best,
Jayden


On Sat, Jun 22, 2019 at 7:52 AM Juanma Barranquero &= lt;lekktu@gmail.com> wrote:
<= /div>
On Sat, Jun 22, 2019= at 4:26 PM Jayden Navarro <jayden@yugabyte.com> wrote:

> 7. You should hit: Args out of range: #<buffer test.cc>, 0, 1
I cannot reproduce it with 26.2.90 on Windows.
--0000000000009c51b5058bebcfcf--