From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#40573: 27.0.90; flymake-mode broken in scratch buffer Date: Sun, 19 Apr 2020 17:31:40 +0100 Message-ID: References: <835zdyclfa.fsf@gnu.org> <83zhbab07u.fsf@gnu.org> <83v9lyazdo.fsf@gnu.org> <83r1wmav3h.fsf@gnu.org> <83a739b0sd.fsf@gnu.org> <835zdxaw60.fsf@gnu.org> <83zhb99dkg.fsf@gnu.org> <4c62fce9-3b9e-ec63-198c-953e3e9b5d09@yandex.ru> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000d29bde05a3a7516c" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="99635"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "Basil L. Contovounesios" , 40573@debbugs.gnu.org, Stefan Monnier , Juri Linkov To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 19 18:32:20 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jQCrk-000Ppc-NS for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Apr 2020 18:32:20 +0200 Original-Received: from localhost ([::1]:44094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQCrj-0003T4-LW for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Apr 2020 12:32:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43318 helo=eggs1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQCrT-0003R5-6W for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2020 12:32:03 -0400 Original-Received: from Debian-exim by eggs1p.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQCrS-0007Vj-Li for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2020 12:32:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34221) by eggs1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jQCrS-0007VY-9T for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2020 12:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jQCrS-0002IB-5J for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2020 12:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Apr 2020 16:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40573 X-GNU-PR-Package: emacs Original-Received: via spool by 40573-submit@debbugs.gnu.org id=B40573.15873139188801 (code B ref 40573); Sun, 19 Apr 2020 16:32:02 +0000 Original-Received: (at 40573) by debbugs.gnu.org; 19 Apr 2020 16:31:58 +0000 Original-Received: from localhost ([127.0.0.1]:45767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQCrO-0002Ht-E0 for submit@debbugs.gnu.org; Sun, 19 Apr 2020 12:31:58 -0400 Original-Received: from mail-il1-f173.google.com ([209.85.166.173]:41462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQCrM-0002Hg-NO for 40573@debbugs.gnu.org; Sun, 19 Apr 2020 12:31:57 -0400 Original-Received: by mail-il1-f173.google.com with SMTP id f82so7243761ilh.8 for <40573@debbugs.gnu.org>; Sun, 19 Apr 2020 09:31:56 -0700 (PDT) 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=7/SQswybBh8BL8Ase+iVbpVIa6IzictKdUaYVZ3qRU8=; b=VdE38w2nxiT1kRsMHT7Jh+jJOy0AjuK7zq9FkrmQR/M874HbflD4hr3Avc+SY3fBKg vQfrvxo9yGyIsRnxkzlTVi+Ci3JyHO2GA/WoiS/IsDXON4rJ87uY6qGpdW4wQKiv1l2a Fcp+wHKKY0QfMtCUQRQzS6m+X4SmGg39cglrf5oQaLrWUnK92Uod9VS3MO3PntZBD8n2 HsH436AvNognUKTNJu3+dW+6PWBLVnu3BF0zUGjC4BfZzOw9AtKRsEIvQfnegqq1KgnF 1S6pY2Eu8VeNPJvqIFHKDfpizkbsvkyxgry7dQY4sV0tFlmCTeXV2n83sxXg93HcxWTw ev2g== 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=7/SQswybBh8BL8Ase+iVbpVIa6IzictKdUaYVZ3qRU8=; b=aac3Q42RrSthrSu9U/7v0LouEarYilH36yROhTxIYV9IfEeHiNGmQO8V9af0j6/MRz csceFJ4qb7ZzCfWzbPxhxuVK4V+7z6txXDhAGYuNCdB3htyxlRaxjKikBb5iLxQMKiil 6KwFVur04oFqfJQR1nuHZSqGjsw7eSABMQbTkyFjVmTYocqsaW2JZP14PGSJdDLtgMG8 0VHfegamM9lHFRMwS1crAIfpbvkMfXrpfr/pOLdDwYB8U6o3MvfNkxdl8rElxE9KZmd3 h+6g3eSZ2wbk55cKCEMNtQq5X/wOMCuBU5QYiGX+s/LUGXWPQ9w8o7b47Gr4q1sS2kUZ 7D+A== X-Gm-Message-State: AGi0PuYg+X89Nh5IUL9pOE6h/NkXj9CVL6W3xvhuSAErNzPoLaJjUZaZ C2BJBlt+K79VVnPg4Et20j4k1x0ECniguQM0B0E= X-Google-Smtp-Source: APiQypKl9SByHomRUuJikszcC4M3EJdAiGhkWJRh/iFfte9Q8eOVFmN4CU7Y2TWnZMeL+Ev5U1GZaiASopMX+1tnEO0= X-Received: by 2002:a92:9e11:: with SMTP id q17mr226355ili.137.1587313911174; Sun, 19 Apr 2020 09:31:51 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:178651 Archived-At: --000000000000d29bde05a3a7516c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Apr 19, 2020, 14:57 Dmitry Gutov wrote: > Whereas lisp-data files usually contain just one Lisp form. That's a bad assumption. It just isn't true. And I don't see any difference to elisp here, what did you have in mind? So e.g. any > "defun navigation" would jump between the direct children of that form. > There's no inherent structure to lisp data in general that supports any kind of navigation, except maybe basic sexp navigation. There is nothing we can parallelize to a defun. But if you know same subclass of lisp data that does have some of those properties, we can a special major mode for it. Doesn't have to be anything special, mind you, a couple of lines will probably do what you might have in mind. Jo=C3=A3o > --000000000000d29bde05a3a7516c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Sun, Apr 19, 2020, 14:57 Dmitry Gutov <dgutov@yandex.ru> wrote:
Whereas lisp-data files usually contain just one Lisp form.

That's a bad as= sumption. It just isn't true. And I don't see any difference to eli= sp here, what did you have in mind?

So e.= g. any
"defun navigation" would jump between the direct children of that= form.

There's no inherent structure to lisp data in general that suppor= ts any kind of navigation, except maybe basic sexp navigation. There is not= hing we can parallelize to a defun. But if you know same subclass of lisp d= ata that does have some of those properties, we can a special major mode fo= r it. Doesn't have to be anything special, mind you, a couple of lines = will probably do what you might have in mind.

Jo=C3=A3o
--000000000000d29bde05a3a7516c--