From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Re: master 305dbc7 2/4: Move description of value to syntax-ppss function. Date: Sat, 15 Feb 2020 11:23:55 -0500 Message-ID: References: <20191030121649.15369.13207@vcs0.savannah.gnu.org> <20191030121651.BFCF8204DF@vcs0.savannah.gnu.org> <87eeyutgwa.fsf@gnus.org> <333d1d46-ab79-5818-4367-b28ed915aff6@yandex.ru> <87a79itfzp.fsf@gnus.org> <875zk6tfo7.fsf@gnus.org> <871ruuou5c.fsf@gnus.org> <7fbe5ad6-2ea6-5a5d-d77e-6df2ba143eb4@yandex.ru> <2ade5926-99c8-0052-b1e3-6ba4b46b972c@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="10715"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , Stefan Monnier , Emacs developers To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Feb 15 17:24:49 2020 Return-path: Envelope-to: ged-emacs-devel@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 1j30FN-0002hA-3X for ged-emacs-devel@m.gmane-mx.org; Sat, 15 Feb 2020 17:24:49 +0100 Original-Received: from localhost ([::1]:52546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j30FM-00025B-6I for ged-emacs-devel@m.gmane-mx.org; Sat, 15 Feb 2020 11:24:48 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48839) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j30En-0001I3-Ul for emacs-devel@gnu.org; Sat, 15 Feb 2020 11:24:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j30En-0004qY-4D for emacs-devel@gnu.org; Sat, 15 Feb 2020 11:24:13 -0500 Original-Received: from mail-oi1-x236.google.com ([2607:f8b0:4864:20::236]:39162) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j30En-0004qA-0N for emacs-devel@gnu.org; Sat, 15 Feb 2020 11:24:13 -0500 Original-Received: by mail-oi1-x236.google.com with SMTP id z2so12658841oih.6 for ; Sat, 15 Feb 2020 08:24:12 -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=At02HJ6qo2QcLMO8JNLTTnBU9/XcjPI8ubgJJsmYYk4=; b=FDlRzRr/Dbo/rWc+I6sAqltiVZPEx6rT2MfH5VeO9x4Nk1WD5mBoZ0DvHrt03J8Wd+ tJVjB0w+1bahqIyqapnHUaB5y0O91kwB0Cm02hrZA1ocxeW3fFe2TrupHFHz+3LrwmjY AoD7yFSxPIkbmfXpZ0cznf9SxYQozfYlFWVitUzoGFf72fJ4N3EIiG3wYmwh8Q0rS4ss 7kEV7o/nUAQEuy9d4lbGLzNk2OlIfv3m/dyaJ2qbSJ/iJnB18rZ617P9DFWgJ4h+h2O8 rao5Kt2ip+ToW08VBMJafsO/xh7MAkKqpGTt6RgW7oZ5R4LpGBU7Wu12SpR4UwtbQiq+ fZYw== 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=At02HJ6qo2QcLMO8JNLTTnBU9/XcjPI8ubgJJsmYYk4=; b=RFSojaWBQVp8Do+oO7cSFQhbn4PHRVZicpP7JqFavGhQgYcKJdDEFym6HHmDnauKbi oO3/dvK/De9cEmd9H/dOgBWwTtIpjAtrOVFlNDnWAC24OsbdzWedwEk0Jm3rayRnvOe4 C94HNldRU/ZXQHk8BIJw7aHuPEe+J9Wsj1IJW/kGQ63lWgGYlJFUG8m9oNnnnRsvbih7 aVfmldjeZQWAGEnAAe7jx7SrqQTBBZtjJT5xa/1bSgrJFJ7P8O8yheQPrTR54/DOdUZ0 ywbZemng99J/LKkOQKjXNLHAgoub3BLjBqY/y/rkJn0pAigQ95O8r5iHSewVq8D9pfzo HRgQ== X-Gm-Message-State: APjAAAW8qT7Z+imER7Hf5innwZbDR0xuQ2R0TLGQS+7wWjN/r3e2drom K+umPIR/eFjgjZb25Fy9hX2QOsRAgC1dQPaG494= X-Google-Smtp-Source: APXvYqyHcpb4LjAA6iS+aEqLQFgR/NXSXr0g0fbWRuxlv4uKFkdteZCaEae5O4ndusP8jdWBcGGQbmePAkrgr5cku2U= X-Received: by 2002:aca:db41:: with SMTP id s62mr5194009oig.87.1581783852158; Sat, 15 Feb 2020 08:24:12 -0800 (PST) In-Reply-To: <2ade5926-99c8-0052-b1e3-6ba4b46b972c@yandex.ru> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::236 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:244950 Archived-At: On Sat, 15 Feb 2020 at 10:14, Dmitry Gutov wrote: > >> min-depth too, but, like last-complete-sexp-start, these fields in > >> values returned by syntax-ppss are unreliable/undefined, so they won't > >> be used in most Lisp programs anyway. > > > > I might be biased by having worked on the lisp indentation code which > > uses those fields quite a bit. > > So... Lisp indentation code calls parse-partial-sexp directly? Yes, syntax-ppss isn't useful there because changing the indentation invalidates the cache. > Anyway, I said min-depth is okay, but if we're going to have > comment-depth, maybe min-depth starts to sound more ambiguous. I don't think so, unqualified "depth" refers to parens, as in the 0th field.