From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: master b21015c: Clarify project-find-file doc string Date: Tue, 17 Nov 2020 00:00:29 +0200 Message-ID: <00cabc80-f218-f338-883e-75dbe6fa4871@yandex.ru> References: <20201112123626.18589.13771@vcs0.savannah.gnu.org> <20201112123627.D3F1B20A27@vcs0.savannah.gnu.org> <87wnyoymsm.fsf@gnus.org> <92e8d54c-e144-38be-938a-cfe7fcf06b90@yandex.ru> <87wnylvvou.fsf@gnus.org> <86a03813-2524-384c-9e68-56cde9013f37@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9054"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cc: emacs-devel@gnu.org To: Drew Adams , Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 16 23:02:21 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 1kemZp-0002ED-Em for ged-emacs-devel@m.gmane-mx.org; Mon, 16 Nov 2020 23:02:21 +0100 Original-Received: from localhost ([::1]:36416 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kemZo-0000PG-D6 for ged-emacs-devel@m.gmane-mx.org; Mon, 16 Nov 2020 17:02:20 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kemY8-0007tM-JT for emacs-devel@gnu.org; Mon, 16 Nov 2020 17:00:36 -0500 Original-Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]:36294) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kemY6-0003dE-D2 for emacs-devel@gnu.org; Mon, 16 Nov 2020 17:00:36 -0500 Original-Received: by mail-ed1-x532.google.com with SMTP id m16so5459086edr.3 for ; Mon, 16 Nov 2020 14:00:34 -0800 (PST) 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=jkGsXoQ3L+djXcwRMaU08lxpVZvG7jjQXNhayI0geto=; b=nLrkLXvHEAlfWrzzR9cwqrWekki0Y5HJjrZXdlNp536342wP7TVdyarGWntWQIPzh/ i6RAx/jzr0wv0bWG+yIooTbBItVZ1KpBMIizO9tRcImcvgnLGFVtsrRQp7+Ua1iZur5i s2CuSNZOimWVcd/PyB0tB9P2FrPs8D6czen/BcR/DUEUBOVoTmf02fuC8E+07kF/Ep5c qYq1w2MaEvCCIesHxi9YBF+wNdnx+H+6LBPkJtDeiS6dOY3RRtycNpijwoYHXjLIAHML Xa57+9P2/l5fPLJT/MbpxL6JanUVkwltAGFhgJRwbwehUsaEXyMtEUmw9yTYTrQ8eOjL s7yQ== 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=jkGsXoQ3L+djXcwRMaU08lxpVZvG7jjQXNhayI0geto=; b=ssAkXQqHLl2gIa0TXmisGiTLWESTuO2SRdA0nyDKxifpyed/wZM3M356G2FN3pI8Lh FgV9RUAkFEqDzmhRwpZVoMz8W4DaZwF4oQCv3klLTRNVu5I4l4lnlpxwXK3Pzqpcf1Pv Q0vS1Ztm9DLBOyV7Tq0STRCuGx9N6nR5Bk0WYCGL3GcRPpRkmG0DxLSYOWJEITrokMuc hYcJ9xumUAGFVJenSO1KM5JIJRhWRFvkaVIoKLA4z5FK6ZwGUnNVL2B/CegtCLNCLUPF TI6jnLWCEf7YZvgsauljJqnLhGEm068O99ZvZ2Q8ktu4VxliTKX/ghbWvoRdWGdl5wSB BVEg== X-Gm-Message-State: AOAM5337hhfafnXRS68njSw3IQnQr6SwMNyPzUYvPJNfJYlHb38LYB0Y hTUDq/ZL/bUS3Z+tQVBdguXvDBOt+GtwOw== X-Google-Smtp-Source: ABdhPJzp5mTkaL+9/e6huj0QLSpnJjq5xpxhMLCnoK7gkaD7olBx/vx6KHuIExBc4QbjeM97mS/nSg== X-Received: by 2002:a05:6402:b44:: with SMTP id bx4mr7148370edb.373.1605564032107; Mon, 16 Nov 2020 14:00:32 -0800 (PST) Original-Received: from [192.168.0.4] ([66.205.71.3]) by smtp.googlemail.com with ESMTPSA id n22sm11315839edr.11.2020.11.16.14.00.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Nov 2020 14:00:31 -0800 (PST) In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::532; envelope-from=raaahh@gmail.com; helo=mail-ed1-x532.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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:259265 Archived-At: On 16.11.2020 23:51, Drew Adams wrote: >> There's no such thing as "string at point" in >> Emacs. Or under point, or around point, etc. >> Not without specifying what kind of string it must be. > > Why do you think so? Because it's ill-defined, without extra details specified. > `ffap-string-at-point': > Return a string of characters from around point. > > `comint-extract-string': > Return string around point, or nil. Have you noticed that these two functions implement two entirely different notions of "string at point"? > ___ > > My library thingatpt+.el defines these, based > loosely on `comint-extract-string': > > `string-at-point' > `string-nearest-point' > `string-contents-at-point' > `string-contents-nearest-point' > > The last two are the same as the first two, > except they don't include the string delimiters. > > https://www.emacswiki.org/emacs/download/thingatpt%2b.el And these obviously deal with the other kind of "string at point", not the one Lars referred to in the new docstring.