From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 29 11:51:02 2019 Received: (at submit) by debbugs.gnu.org; 29 Apr 2019 15:51:02 +0000 Received: from localhost ([127.0.0.1]:39547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hL8YY-0006Rp-3Y for submit@debbugs.gnu.org; Mon, 29 Apr 2019 11:51:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51161) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hL8YW-0006RQ-K5 for submit@debbugs.gnu.org; Mon, 29 Apr 2019 11:51:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:48484) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hL8YQ-0003ga-W2 for submit@debbugs.gnu.org; Mon, 29 Apr 2019 11:50:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hL8YP-0005VT-LL for bug-gnu-emacs@gnu.org; Mon, 29 Apr 2019 11:50:54 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: **** X-Spam-Status: No, score=4.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE, RCVD_IN_SBL_CSS,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hL8YO-0003c0-Ey for bug-gnu-emacs@gnu.org; Mon, 29 Apr 2019 11:50:53 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:43921) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hL8YO-0003Z8-1Z for bug-gnu-emacs@gnu.org; Mon, 29 Apr 2019 11:50:52 -0400 Received: from [192.168.178.39] ([88.130.49.73]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N0FE1-1gX08c3Ihz-00xKEr for ; Mon, 29 Apr 2019 17:50:49 +0200 To: bug-gnu-emacs@gnu.org From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Subject: Subject: 27.0.50; word-at-point, hand over optional argument Message-ID: Date: Mon, 29 Apr 2019 17:51:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------E85DDB3F011C195966E0404D" Content-Language: en-US X-Provags-ID: V03:K1:z8r84+22HBxcM430ddxsj+csmc87RtCEPcLVmo3z2IYZlxGukul XSEHb1E8W0tUrY8ijyhx3R7czQcR6DnyNDu8XckBt1O2p8k3B0DVLcyx+i2tf3ZtBEPf76Z dok9AJGTbmGl2bQPclNBkC5ljyxKijh4C0YlY0KCoVkrRRoc8HCQa4nzbIIdgrVr4TA0VSj jGvZwNuqWcGnkds5hZjTA== X-UI-Out-Filterresults: notjunk:1;V03:K0:RZlZvI57u+g=:bXd/bMYLaMo14AU7npcV7A +snb7CQr6Dr+HLS2Fn0blBV8o9Q1tI0F7i9NHqAGNc0rm2xSJ178+IWn5PfTXRcKolMO4uCdL CrJDVhnbwvYpFjggRfUuWPubX1kupytRvbJ7jRAQhfHlGaPWmzMvKEPp0LWafH4lNI++F/Nkz EUPIPnkboZXuvE/Byfk2mORzKR6KLF32MEi9BEbJezbSEFTy99NN4PZozYydzg80clSeu7BLu ATxIFxdybwQgHZpWEfAjT4eM50pap4uBXlY7bIlC4bNGmzGLots2fm6UyLNYUt2foLlcojyNG UVHx7pUNqLdqpKz5GQITRZJcaWTijFPMF5mXNkQKiCtB8ZvXeLNj8RotPamOcOTk0IIoHVeI7 e3aQ6tB6TjCQ+jfB5VZ7jxhTTVxUW5SriF85BJ0HzVyJXStBl5cdFuZcXG3/rAY7EkMkXSLAY TtQsLC+ZmTSMN7QwTmKQUEv6bzIcekoTIw133QRhTn9I2Y2WNopnxbHz8NkwZBAOxHEG6FMi+ pT0ScWngoqkvWuNPWOJteIxU6iL2RN45EAkVt7kXKn9r7Ily5MbRGxBhTm90h5RSx/DakkeVO IvRRV+JrNSCX3GyXsnihoXY0oj3E4DRyg3U1pUY2ZRtBtRwYF1ccryon7GvpLNp9Xw3MP4PSG ZQK64K1ut0WepmLNztLtK9i9C4T6ne3NAEU6IXgw11u4FMsjqf6605ZVykVs0gxutnjTxI28r PyqwELRr2pTmUmt8QBc/KaZpGW6gqMZV5EgXez0VxZAte2De7FpmLHDo/Hs= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.24 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, 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’. Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: x.org] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.92 listed in list.dnswl.org] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [88.130.49.73 listed in zen.spamhaus.org] X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) This is a multi-part message in MIME format. --------------E85DDB3F011C195966E0404D Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi, 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)) ;;; In GNU Emacs 27.0.50 (build 1, i686-pc-linux-gnu, GTK+ Version 3.14.5)  of 2019-04-29 Repository revision: 74712470fcb95cd4ef6ef5c61eee73cb8e02a8bd Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.11604000 System Description: Debian GNU/Linux 8 (jessie) Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Type C-x 1 to delete the help window. mouse-2, RET: find function's definition Type C-x 1 to delete the help window, C-M-v to scroll help. mouse-2, RET: find function's definition Mark set Configured using:  'configure --with-modules --with-mailutils' Configured features: XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS PDUMPER GMP Important settings:   value of $LANG: de_DE.utf8   locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect:   tooltip-mode: t   global-eldoc-mode: t   eldoc-mode: t   electric-indent-mode: t   mouse-wheel-mode: t   tool-bar-mode: t   menu-bar-mode: t   file-name-shadow-mode: t   global-font-lock-mode: t   font-lock-mode: t   blink-cursor-mode: t   auto-composition-mode: t   auto-encryption-mode: t   auto-compression-mode: t   line-number-mode: t   transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils vc-git diff-mode easy-mmode find-func cl-extra thingatpt help-fns radix-tree help-mode easymenu cl-loaddefs cl-lib elec-pair mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 8 144321 10677)  (symbols 24 28536 1)  (strings 16 63330 2694)  (string-bytes 1 987604)  (vectors 8 10126)  (vector-slots 4 128792 17668)  (floats 8 22 34)  (intervals 28 376 12)  (buffers 564 13)  (heap 1024 11153 876)) --------------E85DDB3F011C195966E0404D Content-Type: text/x-patch; name="word-at-point.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="word-at-point.patch" diff --git a/lisp/thingatpt.el b/lisp/thingatpt.el index 26e0843..6976769 100644 --- a/lisp/thingatpt.el +++ b/lisp/thingatpt.el @@ -585,9 +585,9 @@ thing-at-point-uuid-regexp ;; Aliases -(defun word-at-point () +(defun word-at-point (&optional no-properties) "Return the word at point. See `thing-at-point'." - (thing-at-point 'word)) + (thing-at-point 'word no-properties)) (defun sentence-at-point () "Return the sentence at point. See `thing-at-point'." --------------E85DDB3F011C195966E0404D-- From debbugs-submit-bounces@debbugs.gnu.org Tue May 07 18:20:14 2019 Received: (at 35491) by debbugs.gnu.org; 7 May 2019 22:20:14 +0000 Received: from localhost ([127.0.0.1]:59891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hO8RZ-0006JE-NF for submit@debbugs.gnu.org; Tue, 07 May 2019 18:20:13 -0400 Received: from mail-it1-f178.google.com ([209.85.166.178]:56026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hO8RX-0006Iv-RO for 35491@debbugs.gnu.org; Tue, 07 May 2019 18:20:12 -0400 Received: by mail-it1-f178.google.com with SMTP id q132so789283itc.5 for <35491@debbugs.gnu.org>; Tue, 07 May 2019 15:20:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version; bh=HxlztjAmTn88MXVjCjINvcTXwVHGcDPUbB5dJNedQRs=; b=Xfng/Y3pGAsKBYiCpdxgUb4HcQd6Ep/O2xmt3V3OQ622n6oqyFL5Ix7JkBF/XQ2wQi /yY1YWQ99b4FXfdMgaSYgXgt/tkco1Yyn5xrJFGMYsTNKXDChfcGNcPtAe92HbD7DdvK AX78E6PpyrvlX+RP55nvqMc22gR0dGlHP3TcTJdwIRB0FEnM0MXmDp75DYFdc4v91yt0 AcyWs2+AH9PWMV2HCfoGlv4II2KkeQEJTp0QswL6UJPXcrBXYlUhiLxJZZ4GunafpTdr Dricyvfi6XpW1Ou6PZStcP15pxoZYrTwAO58RElrQl2jjd7b52p6vDVE3VuxJFfjsnsd dmjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version; bh=HxlztjAmTn88MXVjCjINvcTXwVHGcDPUbB5dJNedQRs=; b=g1YncdiY/Jtb1umGJZd5QkzxaboUlLlyHcovPLB9kgcutirElZl4eQuMOWjBC9AVjF ghHPXwvmu6AuKerBY0BV4f51UmXTfmQsnU1lCMoVoklF/ifzIQcL7bJjRyZM9ktr8YnS ZjwyK8J/mkYb0WdUui1tiGeiGWNUUH6A5PpMvb67NMKzJivouWtNpPwT2q1zBhPb+0Xu lVN7enPUkilS1POP7hKiiFX5ynzTAGdQZwRMkxv5c8pIm//G8fE8kWI4uMPio/CrojyY WmwbvU64YGBO6fFZFswhWFxjwYIOT5E9or6MM+T1eHEkV4qy5oAHuvEbUyYqBTSwTpza CArg== X-Gm-Message-State: APjAAAUV4DApvBOSrEEY9lv4aAU5GfD91XNfkIgm+/UPUx4TOZoYap0n kFu3XYeKOP7UaTB4h+Z3MrrjsSVX X-Google-Smtp-Source: APXvYqwgzP4riEq5Rv4A2BXkz0OB2SqJb2VxhxNS0EgK2cm23f1JZbTyLdSAWsGEFDlQN5NTrcBsdA== X-Received: by 2002:a24:9414:: with SMTP id j20mr659895ite.91.1557267605888; Tue, 07 May 2019 15:20:05 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.gmail.com with ESMTPSA id o199sm185463ito.25.2019.05.07.15.20.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 May 2019 15:20:05 -0700 (PDT) From: Noam Postavsky To: Andreas =?utf-8?Q?R=C3=B6hler?= Subject: Re: bug#35491: Subject: 27.0.50; word-at-point, hand over optional argument In-Reply-To: ("Andreas \=\?utf-8\?Q\?R\=C3\=B6hler\=22's\?\= message of "Mon, 29 Apr 2019 17:51:21 +0200") References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) Date: Tue, 07 May 2019 18:20:04 -0400 Message-ID: <878svhlxez.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35491 Cc: 35491@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Andreas R=C3=B6hler writes: > please permit =E2=80=98word-at-point=E2=80=99 to hand over optional arg = =E2=80=98no-properties=E2=80=99 > > =E2=80=98thing-at-point=E2=80=99 comes with an optional argument =E2=80= =98no-properties=E2=80=99. > Seems there is no way to set it from calling =E2=80=98word-at-point=E2=80= =99. > > With attached patch: > > (setq a (word-at-point t))foo > > a =3D=3D> "foo" > > ;; current constraint: > (setq b (word-at-point))foo > > b =3D=3D> #("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) --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Accept-NO-PROPERTIES-in-thing-at-point-aliases-Bug-3.patch Content-Description: patch >From e04036fd70a5c147831f54c18f51f244c22f6291 Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Tue, 7 May 2019 18:15:35 -0400 Subject: [PATCH] Accept NO-PROPERTIES in thing-at-point aliases (Bug#35491) * lisp/thingatpt.el (word-at-point, sentence-at-point): Accept and pass NO-PROPERTIES to thing-at-point. * etc/NEWS: Announce change. --- etc/NEWS | 9 ++++++++- lisp/thingatpt.el | 8 ++++---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index 9e3559d27e..d8e5cbdd09 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1247,11 +1247,18 @@ automatically updates. In the buffer, you can use 's q' or 's e' to signal a thread with quit or error respectively, or get a snapshot backtrace with 'b'. + +** thingatpt.el + --- -** thingatpt.el supports a new "thing" called 'uuid'. +*** 'thing-at-point' supports a new "thing" called 'uuid'. A symbol 'uuid' can be passed to 'thing-at-point' and it returns the UUID at point. +--- +*** 'word-at-point' and 'sentence-at-point' accept NO-PROPERTIES. +Just like 'thing-at-point' itself. + ** Interactive automatic highlighting +++ diff --git a/lisp/thingatpt.el b/lisp/thingatpt.el index 26e084320b..60a20e2d18 100644 --- a/lisp/thingatpt.el +++ b/lisp/thingatpt.el @@ -585,13 +585,13 @@ (put 'uuid 'bounds-of-thing-at-point ;; Aliases -(defun word-at-point () +(defun word-at-point (&optional no-properties) "Return the word at point. See `thing-at-point'." - (thing-at-point 'word)) + (thing-at-point 'word no-properties)) -(defun sentence-at-point () +(defun sentence-at-point (&optional no-properties) "Return the sentence at point. See `thing-at-point'." - (thing-at-point 'sentence)) + (thing-at-point 'sentence no-properties)) (defun thing-at-point--read-from-whole-string (str) "Read a Lisp expression from STR. -- 2.11.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed May 08 02:19:38 2019 Received: (at 35491) by debbugs.gnu.org; 8 May 2019 06:19:38 +0000 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 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 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 Subject: Re: bug#35491: Subject: 27.0.50; word-at-point, hand over optional argument To: Noam Postavsky References: <878svhlxez.fsf@gmail.com> From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Message-ID: <32a22ac9-eeba-f41d-8b72-6b4be81c669c@easy-emacs.de> Date: Wed, 8 May 2019 08:20:09 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <878svhlxez.fsf@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Provags-ID: V03:K1:lM4Vo3IGIxCrViEEo/hCf6TbTHmWNu2L5VSkXQIEj/Z85xTTb7R JVKmU2nfx/ZqksjxvEEe3lLVAr7//0SQx9HLlMcYDui5Mu/Y9vE/rWOjVOzG5i8Qmbs/fP8 gAv8gx8tmBz1XySDaZeiQ8N+aUCtYEH5MPYhx4yQ34whifZLhNRb0MBgIdPRaWESlAAGOon tGEqGcM9ix+Lc+Z0s8JRw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:rZ2cg/q5uWE=:qn0Azc8Do8RjgHvh3em3T9 eaNcB2tdHCqaUL+Iirh9WMPn+3oszAS8IHVzDltvMP0NFFo2N+NLkZg2IJsryGI27P6RbsADR cSgmkULh4XcyKKiHQzq8HZXL4NaQc+WdgOvc1Q9Uw9iEBTfgQvzVJYmqmg2iwDFKIdbUsLada uPqditeBby1hoeQxlxvvoL72FXJn8QzFWPxzHFOxMx5auNSM0Xs7Ej3LKg0hvirFzGWbegDHc VNZuNNrJFvszBN5QQ/yFR1/29Dj8MUbTs5TLPwOQwp+ZsY3Dvs6F2xPzN/udLUPQ6j0jgDXhj ZSoPjDVahuDv1QuZ+s552t37z8DMI/6NOJs9bU4Zs2mXaakOf7tVbO1oii68vELA0lJzvH+6V K65pUODZxVNmPvG7OKKy99ro0/PH+en0wx7vyJw+ZdZMrp7YNPMczhxwe6HT7W1AnmfU3Mdmk dHcXuTTaHzyw4dfNqGXGN4CxwmzLewDELNohQvGBActAffeqM8SDICAB8E95ij5/MNYUAFH8l ukfU7iTccuKNdkY95wwCUMu+c0ZDO/mMy8LVNfiJ7Ou3o0DOpwdKn8d0VMsZbr8/nK/W7Adke DBMcgFXtujmAXNH+AyyWLpk/drY26GdfX9dTjL1o2OhTl6dPq7SXxQbHwSybVBu/UJjdZ59/b wzSWKdeHamfBQ1nTyPBjLCqLL6rhZsjIrGOMFHY6WuVFh6PrTuHyKGh/IZOOsXQ/b6T76OI24 brWLURt9WMy1gR7b5OFMMdyRHygCN6/UGYYP9YSW0QtS+f3XnQo2/lpZMsp+mvrsq/0qSAcbf KjOA00xstfDepKRMmRS9kjBc7btwg== X-Spam-Score: 3.6 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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-a [...] Content analysis details: (3.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: easy-emacs.de] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [87.123.193.187 listed in zen.spamhaus.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.126.187 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [212.227.126.187 listed in list.dnswl.org] X-Debbugs-Envelope-To: 35491 Cc: 35491@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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-a [...] Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: easy-emacs.de] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.126.187 listed in wl.mailspike.net] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [87.123.193.187 listed in zen.spamhaus.org] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [212.227.126.187 listed in list.dnswl.org] -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 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. From debbugs-submit-bounces@debbugs.gnu.org Thu May 16 07:25:54 2019 Received: (at 35491) by debbugs.gnu.org; 16 May 2019 11:25:54 +0000 Received: from localhost ([127.0.0.1]:54462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hREWH-0003fD-SK for submit@debbugs.gnu.org; Thu, 16 May 2019 07:25:54 -0400 Received: from mail-it1-f174.google.com ([209.85.166.174]:51393) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hREWF-0003et-SP; Thu, 16 May 2019 07:25:52 -0400 Received: by mail-it1-f174.google.com with SMTP id m3so1697384itl.1; Thu, 16 May 2019 04:25:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=AeDewI4MR8ccDPbM5oBpi6ME9Xx+Y8AG3rQNgM0BElI=; b=ZvR3R11ZzpVNRDUXuBCnqqMo5Z0s8vdv2GX8sxE1FcbECnpYGU3A7lPcATfqmkCnf3 cy91kSVJwVlh2w+5M5AUxJecwkQhQc3+DDNoeD8JTG+YlHfLl5mKSl406IzPlz3Po/A6 FlN3pavlNr8joeQPQmukbVOTTeM5V76fq0m508k287sXNUeZ/g/xaoqOKnJQMh3hrwDt 3iZdOquMXvq6z7/RtKFGIoC/kgrw9HmXiHNgLhttow6qdBIO7FgiUqioZYyZ5LdXC4fd G5qS/y9mB6s6dS1PHCYcJ0XX7e1xXitqyaLJZ5CKJsfemg7yV1abwAST4CbXruAROmpG doFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=AeDewI4MR8ccDPbM5oBpi6ME9Xx+Y8AG3rQNgM0BElI=; b=fGOkx9KJzw6wf3MFu6eXcOm4o17OqASW7VPJ9b1SK6QUgwCk5E2dq2pDZlKGFspjc8 Bheq1TQYyalX5MK/1Gh3vK8BOopZAGNLq6xkIUlGE9sNylfPanZ223ju92YArlkTXmWv RhPM6kScYJ+4L686WkV/UNFzXSaM1fWA5khbMjzxQivhaqLzzhSyHm+4byIuLexRXHls KeobRp6qKav5oBtnpUghPBrzWrAkQobfRmdOwso7etEQQY4F03hju41PXT2KWRx9OFSP 57XhDuCtdFhL38Mb9QiBJNggRv/IyHZq3aBRyOYLD17+dlIBq4hAEzEO99S3yjMFNxXC KHUA== X-Gm-Message-State: APjAAAXQunq5Ys3fwQHbLnbUvSrGqLj/codE0vcFULbMt/l++drFUdaS faFSKo4UBc79OPHDGgB0GCxGU9to X-Google-Smtp-Source: APXvYqx4+H5lv42r/W0e6PdKoakTeE3IATewBPCVXAa6/57jn/3sixPg2Fs7q0uFGOhK44cHTndYKg== X-Received: by 2002:a05:660c:acd:: with SMTP id k13mr12865715itl.13.1558005945851; Thu, 16 May 2019 04:25:45 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.gmail.com with ESMTPSA id s2sm1317121ita.30.2019.05.16.04.25.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 16 May 2019 04:25:44 -0700 (PDT) From: Noam Postavsky To: Andreas =?utf-8?Q?R=C3=B6hler?= Subject: Re: bug#35491: Subject: 27.0.50; word-at-point, hand over optional argument References: <878svhlxez.fsf@gmail.com> <32a22ac9-eeba-f41d-8b72-6b4be81c669c@easy-emacs.de> Date: Thu, 16 May 2019 07:25:42 -0400 In-Reply-To: <32a22ac9-eeba-f41d-8b72-6b4be81c669c@easy-emacs.de> ("Andreas \=\?utf-8\?Q\?R\=C3\=B6hler\=22's\?\= message of "Wed, 8 May 2019 08:20:09 +0200") Message-ID: <87y336ej49.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35491 Cc: 35491@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 35491 fixed close 35491 27.1 quit Andreas R=C3=B6hler writes: > Looks good for me, thanks considering related cases too. Pushed to master. 04e9938350 2019-05-16T06:53:05-04:00 "Accept NO-PROPERTIES in thing-at-poin= t aliases (Bug#35491)" https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3D04e9938350d3820648= d28d7cf4aa1885a08fd9b7 From unknown Mon Jun 23 02:23:12 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 14 Jun 2019 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator