From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: master 305dbc7 2/4: Move description of value to syntax-ppss function. Date: Wed, 30 Oct 2019 18:13:02 +0200 Message-ID: <60a85c88-dbec-1a9c-c9db-a74dec320ab6@yandex.ru> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="40498"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 30 17:13:19 2019 Return-path: Envelope-to: ged-emacs-devel@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 1iPqb0-000ARP-Uj for ged-emacs-devel@m.gmane.org; Wed, 30 Oct 2019 17:13:19 +0100 Original-Received: from localhost ([::1]:42362 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPqaz-00066i-On for ged-emacs-devel@m.gmane.org; Wed, 30 Oct 2019 12:13:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53418) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPqaq-00063V-Uz for emacs-devel@gnu.org; Wed, 30 Oct 2019 12:13:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPqap-00076J-Ro for emacs-devel@gnu.org; Wed, 30 Oct 2019 12:13:08 -0400 Original-Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]:37209) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPqap-00073k-Ia for emacs-devel@gnu.org; Wed, 30 Oct 2019 12:13:07 -0400 Original-Received: by mail-ed1-x52a.google.com with SMTP id e12so2214815edr.4 for ; Wed, 30 Oct 2019 09:13:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=TVgKxiZD/cz8+2LByXdgDvpj/xkKPQiSrgnQYzu6Gm8=; b=dBYLZIrUH0PZUFApOjedFSzb+scHbxs1TctnFCHmYRdSKu31+HReB1AKCjm10nhHvh 9le6YRczMbCz8fRwKhG/nZyZ7SBsIGpB8vKEcwF2yY9WIS+5ZdaMH/v+QVaWUOunmkwh lgNd0pDFbq8MWtRME69daQ7kPBnBMGFp6PYhsSJQVApVxg82iX0266EWK5Q6lHy0I8cJ 1+zaEIp7qSHOy49OHRVLV6ksqLpaUcnZNCAidpvIdxS9IJha1P+PyExC3+YDbBqIbSAP yGWysD9j1yHorUj/eMVwLkn/HdOXMzaixugN1xc3l7vlN4T97sYGYiM+XWvgWv/tlpaG UZpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=TVgKxiZD/cz8+2LByXdgDvpj/xkKPQiSrgnQYzu6Gm8=; b=S1q8lkV87KizkN2g5FuvwX/7qqaKCII+BPj8pAs5wSeCjo+1aHu1z2uHDtOEmlfsex USlEgyv1mOb+aVV3+aIg27Y6EkRlF+N1+xWyrLHWOY54F5YNTLgwe749Bao1eA2nHqVB 8wxOOvVvaEC2iF3vGLmry09ZaQOziaOaa4CvMwHcFjDkJbBdn4EWJzFYYi/fWjWdG3DF 1HzTX28aMxKNLV7hap/4pJZ/yBQTk1lSkjq170pGXKHAW0Ph6rXM7mUyOZZzbQrJHv50 eKmH/GxF8Zkyjhu3dOl9kM4QJ37/nT5CkqHq7ydNSMiAq4wyfL3udd3RvRQV1WgqT6Zv sj4Q== X-Gm-Message-State: APjAAAUoq25vCgIKpKqwgntToC7TiWBEOxYMH6rUKsJ1CNHbbsgQFv+4 6IggOaYLHeTaQBR00xQg9kTXeBeAQz0= X-Google-Smtp-Source: APXvYqyusVdEsU7UDmS6vdYLaue8x1uF2+t8SZcTLU2kvrFR5YC44GOZfCdus5U+E6ytprc6G7G41A== X-Received: by 2002:a05:6402:2c8:: with SMTP id b8mr467067edx.241.1572451985922; Wed, 30 Oct 2019 09:13:05 -0700 (PDT) Original-Received: from [192.168.0.140] ([109.110.245.170]) by smtp.googlemail.com with ESMTPSA id p88sm8636edd.22.2019.10.30.09.13.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Oct 2019 09:13:04 -0700 (PDT) In-Reply-To: <875zk6tfo7.fsf@gnus.org> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::52a 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:241632 Archived-At: On 30.10.2019 17:29, Lars Ingebrigtsen wrote: > If we want to do this, I volunteer to start doing the rewrite -- I have > some functions for this from the decoded time makeover... > > So what would the accessor macros be? Err... looking at the doc > string, something like: > > ppss-depth > ppss-start-innermost > ppss-start-last-complete-sexp > ppss-string-terminator > ppss-comment-nesting > ppss-after-quote-character > ppss-minimum-paren-depth > ppss-comment-style > ppss-start-comment-or-string > ppss-open-paren-positions > ppss-two-character-syntax > ppss-internal FWIW, we already have some accessors added, though they don't cover all of the fields (and none of these are macros): syntax-ppss-depth syntax-ppss-toplevel-pos syntax-ppss-context