From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andreas =?UTF-8?Q?R=C3=B6hler?= Newsgroups: gmane.emacs.bugs Subject: bug#35491: Subject: 27.0.50; word-at-point, hand over optional argument Date: Wed, 8 May 2019 08:20:09 +0200 Message-ID: <32a22ac9-eeba-f41d-8b72-6b4be81c669c@easy-emacs.de> References: <878svhlxez.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="110850"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 Cc: 35491@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 08 08:27:17 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hOG2s-000SeU-PA for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 May 2019 08:27:14 +0200 Original-Received: from localhost ([127.0.0.1]:60225 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOG2r-00043W-MR for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 May 2019 02:27:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40925) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOFvx-00053z-W7 for bug-gnu-emacs@gnu.org; Wed, 08 May 2019 02:20:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hOFvv-000076-Vw for bug-gnu-emacs@gnu.org; Wed, 08 May 2019 02:20:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46648) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hOFvu-00004z-1H for bug-gnu-emacs@gnu.org; Wed, 08 May 2019 02:20:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hOFvt-000403-Re for bug-gnu-emacs@gnu.org; Wed, 08 May 2019 02:20:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 May 2019 06:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35491 X-GNU-PR-Package: emacs Original-Received: via spool by 35491-submit@debbugs.gnu.org id=B35491.155729637815340 (code B ref 35491); Wed, 08 May 2019 06:20:01 +0000 Original-Received: (at 35491) by debbugs.gnu.org; 8 May 2019 06:19:38 +0000 Original-Received: from localhost ([127.0.0.1]:60192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hOFvW-0003zM-FG for submit@debbugs.gnu.org; Wed, 08 May 2019 02:19:38 -0400 Original-Received: from mout.kundenserver.de ([212.227.126.187]:53845) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hOFvT-0003z5-3s for 35491@debbugs.gnu.org; Wed, 08 May 2019 02:19:37 -0400 Original-Received: from [192.168.178.39] ([87.123.193.187]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M7auL-1hNQ2n2B8H-0085jx; Wed, 08 May 2019 08:19:28 +0200 In-Reply-To: <878svhlxez.fsf@gmail.com> Content-Language: en-US X-Provags-ID: V03:K1:lM4Vo3IGIxCrViEEo/hCf6TbTHmWNu2L5VSkXQIEj/Z85xTTb7R JVKmU2nfx/Z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1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:158910 Archived-At: On 08.05.19 00:20, Noam Postavsky wrote: > Andreas Röhler writes: > >> please permit ‘word-at-point’ to hand over optional arg ‘no-properties’ >> >> ‘thing-at-point’ comes with an optional argument ‘no-properties’. >> Seems there is no way to set it from calling ‘word-at-point’. >> >> With attached patch: >> >> (setq a (word-at-point t))foo >> >> a ==> "foo" >> >> ;; current constraint: >> (setq b (word-at-point))foo >> >> b ==> #("foo" 0 2 (fontified t) 2 3 (fontified t rear-nonsticky t)) > Sure, I guess there's no reason not to. Any problems with the patch > below? (I avoided looking at yours since I recall you have some > philosophical/legal objection to signing copyright papers) > Looks good for me, thanks considering related cases too.