From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.bugs Subject: bug#29326: 26.0.90; Emacs crash on running comment-dwim Date: Fri, 17 Nov 2017 20:29:26 +0000 Message-ID: References: <83efoxidyf.fsf@gnu.org> <834lptic0f.fsf@gnu.org> <83h8tshj9f.fsf@gnu.org> <83efowheml.fsf@gnu.org> <83d14ghcwm.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a114075da7d1d2e055e3398c5" X-Trace: blaine.gmane.org 1510950615 10278 195.159.176.226 (17 Nov 2017 20:30:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 17 Nov 2017 20:30:15 +0000 (UTC) Cc: 29326@debbugs.gnu.org, npostavs@users.sourceforge.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 17 21:30:11 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFnH6-00028W-TY for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Nov 2017 21:30:09 +0100 Original-Received: from localhost ([::1]:47721 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFnH9-0008D5-D3 for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Nov 2017 15:30:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFnH3-0008D0-T8 for bug-gnu-emacs@gnu.org; Fri, 17 Nov 2017 15:30:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eFnH0-0007ji-Oi for bug-gnu-emacs@gnu.org; Fri, 17 Nov 2017 15:30:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36674) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eFnH0-0007jY-L0 for bug-gnu-emacs@gnu.org; Fri, 17 Nov 2017 15:30:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eFnH0-0002ME-9W for bug-gnu-emacs@gnu.org; Fri, 17 Nov 2017 15:30:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Nov 2017 20:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29326 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29326-submit@debbugs.gnu.org id=B29326.15109505869018 (code B ref 29326); Fri, 17 Nov 2017 20:30:02 +0000 Original-Received: (at 29326) by debbugs.gnu.org; 17 Nov 2017 20:29:46 +0000 Original-Received: from localhost ([127.0.0.1]:45355 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFnGj-0002LO-Nx for submit@debbugs.gnu.org; Fri, 17 Nov 2017 15:29:45 -0500 Original-Received: from mail-yw0-f170.google.com ([209.85.161.170]:33584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFnGh-0002LC-Q9 for 29326@debbugs.gnu.org; Fri, 17 Nov 2017 15:29:44 -0500 Original-Received: by mail-yw0-f170.google.com with SMTP id z125so412789ywb.0 for <29326@debbugs.gnu.org>; Fri, 17 Nov 2017 12:29:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=K9jXBKIB5WJPHFHot1QcJWVaoH7yHCUH4h/D7lPts0Y=; b=HrQ6T5gii6GnZMQk9L4hISaYnj0LiNzjhpKwmO+wSLSegr2IrajLcV3mRBkbcMoI0V m4EcWVsP0hjrTeVqm6lpKV4mQtb9xfGU7/IUVwhK6gzILMfUECWac6TlTx5VgZznq7SR VBH1SU/9fPQnIJabd8V5UWLmUjgS7xDf4ahoPscqWKbsxbwCDD9PMXbkIGhLz2ZHea2D Ac86rUokHjzgIEjU6NQjeEQpgSXB40xUkj9uEWBezUN9mRfmcjciBQmZn42qP+oMNZda Owh3eh8aeVkVDUL/N0O3Te04JSkA3ROKDH3w248AUJnaJCi10Kb9M5fyk3Grytq79cI9 3gag== 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=K9jXBKIB5WJPHFHot1QcJWVaoH7yHCUH4h/D7lPts0Y=; b=kVZhEUxUIjiRmBVhD6D5WNjaOhMp0aRzrraExH+c6/NYxtQimcW5Qz9icyDG2d5O77 F60KpQgSHa2grSTHaTKXjvupZ96qmUqFakIvHrkmNSSnKedZCtSLV13S6z0WPVIpT/uE vtGQnrYb06TgGUPWrjGRkxwt7AgT0nBAyW1NNuMnwdXy6LDCHuglqjt3I/9lEb7MG8Lx 62+cVuK5EWyJhJD2a9aZooheoOD6BUbjrCFV2qCJhVPv/dppyD6xjKhFJQgwksh+Yufh 4pHhBNQzDm0D6mK30NcIKdqJTx02Q6sNIcUaAADGGAVZBNREIj02l0QOGnhbbVmznyhg 7J4A== X-Gm-Message-State: AJaThX70yNZVlmlDrvPc0jSfHTO7tDiVOh80TrPcI1hMSvn7pjEVcFR9 lM1CcOqJ00Aeb0Vk8mgsszobv3SF0zgoqOzYPUk= X-Google-Smtp-Source: AGs4zMZBtYz2jnivqKtDcOhxyp9dtooi2hFydjAKfSUlyHhgKuh3XMz2Tj0JqX1x0iypFtO8vHNtNO+63thE1OqpSK8= X-Received: by 10.129.52.9 with SMTP id b9mr4191785ywa.54.1510950578230; Fri, 17 Nov 2017 12:29:38 -0800 (PST) In-Reply-To: <83d14ghcwm.fsf@gnu.org> 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: 208.118.235.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:140029 Archived-At: --001a114075da7d1d2e055e3398c5 Content-Type: text/plain; charset="UTF-8" On Fri, Nov 17, 2017 at 3:24 PM Eli Zaretskii wrote: > The trigger was the call to line-move-visual in nim-mode. So you need > to do something that causes that function to be called by nim-mode, > when Org does the indent thing. I think this doesn't happen > frequently because most modes used in source snippets in Org buffers > don't call line-move-visual (why would they? that function is for > interactively moving cursor vertically). > Makes sense.. I'll open an issue on nim-mode repo. Thanks. -- Kaushal Modi --001a114075da7d1d2e055e3398c5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Nov 17= , 2017 at 3:24 PM Eli Zaretskii <eliz@gn= u.org> wrote:
The trigger wa= s the call to line-move-visual in nim-mode.=C2=A0 So you need
to do something that causes that function to be called by nim-mode,
when Org does the indent thing.=C2=A0 I think this doesn't happen
frequently because most modes used in source snippets in Org buffers
don't call line-move-visual (why would they? that function is for
interactively moving cursor vertically).

Makes sense.. I'll open an issue on nim-mode repo. Thanks.=C2=A0
--

Kaushal Modi

--001a114075da7d1d2e055e3398c5--