From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 15 12:53:06 2024 Received: (at submit) by debbugs.gnu.org; 15 Dec 2024 17:53:06 +0000 Received: from localhost ([127.0.0.1]:51867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMsnd-00029T-7Q for submit@debbugs.gnu.org; Sun, 15 Dec 2024 12:53:05 -0500 Received: from lists.gnu.org ([209.51.188.17]:35554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMsnb-00029J-6F for submit@debbugs.gnu.org; Sun, 15 Dec 2024 12:52:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tMsna-0001T1-V8 for bug-gnu-emacs@gnu.org; Sun, 15 Dec 2024 12:52:59 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tMsnY-0000We-Dn for bug-gnu-emacs@gnu.org; Sun, 15 Dec 2024 12:52:58 -0500 Received: from localhost ([::ffff:41.75.172.173]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000001BF31.00000000675F174C.00067048; Sun, 15 Dec 2024 10:52:11 -0700 From: Jean Louis To: bug-gnu-emacs@gnu.org Subject: 31.0.50; (thing-at-point 'string) raises error X-Debbugs-Cc: Date: Sun, 15 Dec 2024 11:27:24 +0300 Message-ID: <874j352vwz.fsf@lco2.mail-host-address-is-not-set> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_06_12=1.543, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.3 (/) 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: -1.3 (-) I can see that I cannot run (thing-at-point 'string) safely, though I cannot exactly determine the condition. In the buffer I have only this: Hello which is string "Hello" and when I place cursor behind "o" and run (thing-at-point 'string) I am getting the backtrace below. But if I make one space like "Hello " and place cursor on that empty space in the buffer, I am getting NIL and no error. Though I cannot repeat this with emacs -Q and thus I do not know why is this happening exactly. I think that (eq (char-syntax (char-after)) 34) cannot read the char which is not there "after". Backtrace: Debugger entered--Lisp error: (wrong-type-argument characterp nil) char-syntax(nil) (eq (char-syntax (char-after)) 34) (not (eq (char-syntax (char-after)) 34)) (if (not (eq (char-syntax (char-after)) 34)) (setq syntax (syntax-ppss)) (or (progn (forward-char) (setq syntax (syntax-ppss)) (nth 3 syntax)) (progn (forward-char (- (or nil 1))) (setq syntax (syntax-ppss)) (nth 3 syntax)))) (let (syntax beg end) (if (not (eq (char-syntax (char-after)) 34)) (setq syntax (syntax-ppss)) (or (progn (forward-char) (setq syntax (syntax-ppss)) (nth 3 syntax)) (progn (forward-char (- (or nil 1))) (setq syntax (syntax-ppss)) (nth 3 syntax)))) (and (nth 3 syntax) (condition-case nil (progn (setq beg (nth 8 syntax)) (setq end (progn (goto-char (nth 8 syntax)) (forward-sexp) (point)))) (error nil)) (cons beg end))) (save-excursion (let (syntax beg end) (if (not (eq (char-syntax (char-after)) 34)) (setq syntax (syntax-ppss)) (or (progn (forward-char) (setq syntax (syntax-ppss)) (nth 3 syntax)) (progn (forward-char (- (or nil 1))) (setq syntax (syntax-ppss)) (nth 3 syntax)))) (and (nth 3 syntax) (condition-case nil (progn (setq beg (nth 8 syntax)) (setq end (progn (goto-char ...) (forward-sexp) (point)))) (error nil)) (cons beg end)))) tap-bounds-of-string-at-point() (let ((bounds (tap-bounds-of-string-at-point))) (and bounds (buffer-substring (car bounds) (cdr bounds)))) tap-string-at-point() funcall(tap-string-at-point) (prog1 (funcall thing-fn) (constrain-to-field nil opoint)) (let* ((opoint (point)) (thg (prog1 (funcall thing-fn) (constrain-to-field nil opoint)))) thg) (if thing-fn (let* ((opoint (point)) (thg (prog1 (funcall thing-fn) (constrain-to-field nil opoint)))) thg) (let ((bounds (tap-bounds-of-thing-at-point thing syntax-table))) (and bounds (buffer-substring (car bounds) (cdr bounds))))) (let* ((thing-fn (or (get thing 'tap-thing-at-point) (get thing 'thing-at-point))) (something (if thing-fn (let* ((opoint (point)) (thg (prog1 ... ...))) thg) (let ((bounds (tap-bounds-of-thing-at-point thing syntax-table))) (and bounds (buffer-substring (car bounds) (cdr bounds))))))) (if (and (stringp something) no-properties) (progn (set-text-properties 0 (length something) nil something))) something) thing-at-point(string) eval((thing-at-point 'string) t) #f(compiled-function () #)() #f(compiled-function () #)() eval-expression((thing-at-point 'string) nil nil 127) funcall-interactively(eval-expression (thing-at-point 'string) nil nil 127) command-execute(eval-expression) In GNU Emacs 31.0.50 (build 4, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.16.0) of 2024-12-05 built on lco2 Repository revision: 25b4bf7fcd75564f23b2e60e29e8ff7354186371 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101007 System Description: Debian GNU/Linux 12 (bookworm) Configured using: 'configure --with-mailutils --with-native-compilation=yes --with-tree-sitter --with-imagemagick' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ IMAGEMAGICK JPEG LCMS2 LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: @im=exwm-xim locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-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 minibuffer-regexp-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo gtk x-toolkit xinput2 x multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 49894 11144) (symbols 48 5434 0) (strings 32 14122 1285) (string-bytes 1 414224) (vectors 16 9179) (vector-slots 8 129869 10829) (floats 8 22 2) (intervals 56 247 8) (buffers 992 11)) -- Jean From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 15 13:12:30 2024 Received: (at 74890) by debbugs.gnu.org; 15 Dec 2024 18:12:30 +0000 Received: from localhost ([127.0.0.1]:51922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMt6T-00036Y-P6 for submit@debbugs.gnu.org; Sun, 15 Dec 2024 13:12:29 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]:35129) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMt6O-00036H-2z for 74890@debbugs.gnu.org; Sun, 15 Dec 2024 13:12:28 -0500 Received: from localhost ([::ffff:41.75.172.173]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000001BF31.00000000675F1C05.00067742; Sun, 15 Dec 2024 11:12:20 -0700 Date: Sun, 15 Dec 2024 21:12:16 +0300 From: Jean Louis To: 74890@debbugs.gnu.org Subject: Re: bug#74890: Acknowledgement (31.0.50; (thing-at-point 'string) raises error) Message-ID: References: <874j352vwz.fsf@lco2.mail-host-address-is-not-set> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.2.12 (2023-09-09) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 74890 Cc: Drew Adams 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 (-) Now I realized that this bug is related to Drew's thingatpt+ as when I turned it off, the bug did not appear again. Drew, do you maybe know how to improve this? Jean Louis From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 15 13:31:46 2024 Received: (at 74890) by debbugs.gnu.org; 15 Dec 2024 18:31:46 +0000 Received: from localhost ([127.0.0.1]:52027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMtP7-00047i-Td for submit@debbugs.gnu.org; Sun, 15 Dec 2024 13:31:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMtP5-00047T-5M for 74890@debbugs.gnu.org; Sun, 15 Dec 2024 13:31:44 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tMtOz-0004oL-Mz; Sun, 15 Dec 2024 13:31:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Ap/1zsUEJyMo5ZKYQEpMlVrRo/8nAGP2NUMmx/NucQM=; b=bV0Gj8Ff1LgD 6NaFMOAEufSJN9zbzRumOQWahX++JnZ2WQSqZ+j+tBc8bcUEivAIJi4yVOnDp8uyWD4/qASsFYu5b coTf1AaWcts+QB3TfSQIQcp/WcLDYZA5YK6jXyeecVtqDSdlOgl2C3Wi0qgy4OwsKQk1Q+UsdV31H MVE6lPGUb5QFrnEUQpFJkFKxmPsEl79W6gccg8klNFXwPIeLJd4dwd9jCTvZzdBstX4db2A5bNvUj 1yNEZN3+rgH69wGi4E3D7ot49ijcctAbjXdj7SAH5nKbqgj8tpepTGwwlsHt/LII6cwzFMmZaAriP QQDtGr8Y74JdPK/aG66Y5Q==; Date: Sun, 15 Dec 2024 20:31:34 +0200 Message-Id: <86cyhsre61.fsf@gnu.org> From: Eli Zaretskii To: Jean Louis In-Reply-To: <874j352vwz.fsf@lco2.mail-host-address-is-not-set> (message from Jean Louis on Sun, 15 Dec 2024 11:27:24 +0300) Subject: Re: bug#74890: 31.0.50; (thing-at-point 'string) raises error References: <874j352vwz.fsf@lco2.mail-host-address-is-not-set> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74890 Cc: 74890@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: -3.3 (---) > From: Jean Louis > Date: Sun, 15 Dec 2024 11:27:24 +0300 > > > I can see that I cannot run (thing-at-point 'string) safely, though I > cannot exactly determine the condition. > > In the buffer I have only this: > > Hello > > which is string "Hello" and when I place cursor behind "o" and run > (thing-at-point 'string) I am getting the backtrace below. But if I make > one space like "Hello " and place cursor on that empty space in the > buffer, I am getting NIL and no error. Though I cannot repeat this with > emacs -Q and thus I do not know why is this happening exactly. > > I think that (eq (char-syntax (char-after)) 34) cannot read the char > which is not there "after". > > Backtrace: > > Debugger entered--Lisp error: (wrong-type-argument characterp nil) > char-syntax(nil) > (eq (char-syntax (char-after)) 34) Please show a complete recipe, preferably starting from "emacs -Q". I tried to reproduce this problem, but couldn't, which probably means some special steps are required to see it. I also don't understand your claims about "char after", because there's always something "after" point. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 15 15:45:23 2024 Received: (at 74890-done) by debbugs.gnu.org; 15 Dec 2024 20:45:23 +0000 Received: from localhost ([127.0.0.1]:52352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMvUQ-0002Ii-I2 for submit@debbugs.gnu.org; Sun, 15 Dec 2024 15:45:22 -0500 Received: from mail-ed1-f45.google.com ([209.85.208.45]:55657) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMvUN-0002Ia-RV for 74890-done@debbugs.gnu.org; Sun, 15 Dec 2024 15:45:20 -0500 Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-5d3d14336f0so6285888a12.3 for <74890-done@debbugs.gnu.org>; Sun, 15 Dec 2024 12:45:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734295459; x=1734900259; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=QcWD7bG6VNcsM6QP+d91tEcgrl1xfYTHH3JMrXiMizs=; b=Q0MmOlY6qCP5Ul5HnikG7YOgQezm6jbnDqcXu8oOdW79UCghlrAn1Z2hrHwiVrcssF 2Dz+WsAlwwl98STmKfFyaLbnkQ3t1q7zojNIp3hQpxQG7D54Nok4kI5iJ5a3avqlZ0hY gsRNdJngq+7rKQhGjwAZ9G89+n/NiI1pC5IvanQ5Th/v6E2D8shBgxgDgT0111uixVFy 7RyPGLpYEgM9Q7VMSR/dz8bnEIU1NNhzpLJyHPn0K3M3NypiHmZar5I9TNFKfUTHjN1A +VDSYempLCYlFZOZ0pYeT6EYPDQETCfw/bJpd4GaPX2V+q8/Ig1A6fC4pc+9n/iPksvt OLpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734295459; x=1734900259; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=QcWD7bG6VNcsM6QP+d91tEcgrl1xfYTHH3JMrXiMizs=; b=LilOa5WEpeK/rrNmEmwHBzphAHzM8DhsBEuno/ZBtQlsv3YD8/f1xMyqTku7GIopds 26053NI05u+9uxfJvOnQJA6kpipF8X0nkXR1C5kr3VTY5pr6TUKVWleKa2DjnoPmCJUm G6N/0ksOs6aRZgLf1nHRmBoOAipOEu8qwLeJD3M9WJaBFdCoay6DJu24uqb2L0jMHpqi r1TSvPMgNB0HMvv473JGoK1S1XgKb6eXTlb0u4/XEp7eUH9Iap+UqKXuAdoPMUHmUvhw KTubqbTgOmfORyaNjgXndd+4VtV39Ne4kqG5P1y2lcPAS02dygEL4zlhUwKIoVldxQTU LGlA== X-Forwarded-Encrypted: i=1; AJvYcCUuggV8Z/rX6fZTlX+5ZGRRnxZD9yAF5TyVTvJTttF/JVrkItA2sNbOv0lveT8dKiCDlg4zwWk4XLyb@debbugs.gnu.org X-Gm-Message-State: AOJu0YwpfMZfhT7x2fXxUdc1E6kcp2UL/NITvo7Bz6Os3SJmLosrdiGp Tmi4qf5WVjHu4kCUdCH7PLxy3F0UF4ypFbi6HaSkRIqf5VML3540RBHncQcDBNKhvsihdhkO12s Uo0Pj1hHHvA0VwN6uZqrFMMHpxRs= X-Gm-Gg: ASbGncu/G0VQcDadbdVbJhVUTBDgXgk+hLYBNBIJevJamMs6/B7e0tP2j9SnnZjPDss /XXrsns/cpnG3PW5TS4tKXh9XqVMdmL9r9lFA5z8= X-Google-Smtp-Source: AGHT+IHRL2sSmyMAkuy9Fr1qb/6OXbMuDBJNCKbDLJOOezTNHy4Qflznu8usgvckT+VcHux5KE7CgwABdRyK+yAYdjc= X-Received: by 2002:a05:6402:5216:b0:5d0:eb2d:db97 with SMTP id 4fb4d7f45d1cf-5d63c3b3078mr8328789a12.25.1734295458868; Sun, 15 Dec 2024 12:44:18 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 15 Dec 2024 20:44:18 +0000 From: Stefan Kangas In-Reply-To: References: <874j352vwz.fsf@lco2.mail-host-address-is-not-set> MIME-Version: 1.0 Date: Sun, 15 Dec 2024 20:44:18 +0000 Message-ID: Subject: Re: bug#74890: Acknowledgement (31.0.50; (thing-at-point 'string) raises error) To: Jean Louis , 74890-done@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74890-done Cc: Drew Adams 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 (-) Jean Louis writes: > Now I realized that this bug is related to Drew's thingatpt+ as when I > turned it off, the bug did not appear again. Thanks, since this bug is not about Emacs, I'm closing it now. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 15 17:10:37 2024 Received: (at 74890) by debbugs.gnu.org; 15 Dec 2024 22:10:38 +0000 Received: from localhost ([127.0.0.1]:52476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMwos-0006Qt-9z for submit@debbugs.gnu.org; Sun, 15 Dec 2024 17:10:37 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]:57427) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMwol-0006Qd-Mn for 74890@debbugs.gnu.org; Sun, 15 Dec 2024 17:10:31 -0500 Received: from localhost ([::ffff:41.75.177.35]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000001BF31.00000000675F53D0.0006C5BE; Sun, 15 Dec 2024 15:10:22 -0700 Date: Mon, 16 Dec 2024 01:10:02 +0300 From: Jean Louis To: Eli Zaretskii Subject: Re: bug#74890: 31.0.50; (thing-at-point 'string) raises error Message-ID: References: <874j352vwz.fsf@lco2.mail-host-address-is-not-set> <86cyhsre61.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <86cyhsre61.fsf@gnu.org> User-Agent: Mutt/2.2.12 (2023-09-09) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74890 Cc: 74890@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 (-) * Eli Zaretskii [2024-12-15 21:32]: > > Debugger entered--Lisp error: (wrong-type-argument characterp nil) > > char-syntax(nil) > > (eq (char-syntax (char-after)) 34) > > Please show a complete recipe, preferably starting from "emacs -Q". I > tried to reproduce this problem, but couldn't, which probably means > some special steps are required to see it. > > I also don't understand your claims about "char after", because > there's always something "after" point. When I removed loading of Drew's thingatpt+ I could not observe this problem anymore. I just think it is related to function from that library `tap-bounds-of-string-at-point' Jean From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 15 19:49:39 2024 Received: (at 74890) by debbugs.gnu.org; 16 Dec 2024 00:49:39 +0000 Received: from [127.0.0.1] (port=52736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMzIa-0005VX-D6 for submit@debbugs.gnu.org; Sun, 15 Dec 2024 19:49:39 -0500 Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:6064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMzIL-0005VD-0z for 74890@debbugs.gnu.org; Sun, 15 Dec 2024 19:49:16 -0500 Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4BFNMqmP024509; Mon, 16 Dec 2024 00:49:08 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s= corp-2023-11-20; bh=KZsHSlsr8E8/e9VBEmChSm6W4qG/b968qOusdlNJXVg=; b= kK5z7APLikeS4W4V44JCZSYv+26AOTfhLUjkMTOkzShCwMZxq/dOduhdXADKYjak Yn6ITQwgT4GVPx4+atRSkvWMcyG8EFiGZpkm6E9Hm+rwWoexPZitW3FlfRc9rmk4 umg6JtqRjbnh40DNWLEcTUhFZnVdnrqbZgamK1wAgbZjRtFg1THE/G+wFV9nk4c6 nyH3DApvbCnlU4D0UNEYVNz0A6Y7KJJvvQPtD18BESvrAXXnxU70st+0/GSawl8J NpCxauh3H/pgC98uQlQNzLa230vt1KQSqLQ35GJF3DCyAvWJYc9uuGa49JTZJAc9 RWeUC7Wc1YLwPMQyQFjfJQ== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 43h1msj1tt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 16 Dec 2024 00:49:07 +0000 (GMT) Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.18.1.2/8.18.1.2) with ESMTP id 4BFJ1xFI018316; Mon, 16 Dec 2024 00:49:07 GMT Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2048.outbound.protection.outlook.com [104.47.56.48]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 43h0f6nuq0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 16 Dec 2024 00:49:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=jCatyOlVjKx+a9PBiznULNcGbihgcL1PFwLJn6gA88FkA14nW5aDlA55v1LEVTJ6ek1FC37vqbCimv0QZOZJYC0gIxFPTor4E8KDheALX8ulS+E0fnmdExLMs6YztFRy5rzKeeCpQn2IF52u0RKndEKLZiuKSopAANM7b6hbi4UR04jOMhXlRvfqif3Pel4Oj9f3vVOpnTZxXKt+xqSYXvR4a2GDw96gZ3f+TjNsRTE0KcUV2Q6Niqi9ZLGrgZYuiFSWWAr59g1JPeApxqYMvby5+N9nAE6yW4QKk8fIBVI9Q8DHy9MoEVOlypB6QTm6PAaSupawB2nQuakiTn9fhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=KZsHSlsr8E8/e9VBEmChSm6W4qG/b968qOusdlNJXVg=; b=zQGOt+URjIbhMKitoeQzfh0puuzRffRwxMk8BpT9bLqRk6N6NeJSX8p7cF/YnuvrWdlsGycibu4uQJBCMG0v33NHDsJTb5iG7wVo7u+Q0AsVCNflpjCQV3L1Qj/pjWES+Lx+/JZnmSqhQC2mytq/7v8rp5F+3ScsQi7zwcMvvxmSvG4o5uY18EDw+WDFcqg1CYBn+ChTcJ2jPKtKnUNYzWuU7Cn9jFn0s1DZhQ3EC3lAwl+NNQS8niCrkV3YmpoCe++jD8nw0iPX0xAJ2TO1GpoIXbD4FvjOpwC1E1nxLjBe6Q2lAQmEUt2ZT55rGbNj0Yo6UfJnuTjhf1YuxHR+0g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KZsHSlsr8E8/e9VBEmChSm6W4qG/b968qOusdlNJXVg=; b=LcSkkSKllUdNEBrG3EYkccXVtZcD6AGKrDMZwgFfG19H0UtXTmFVaicjE86mELWnAaTkXf9UNQZSsLnH0EX4AQHaL7GhcXxSWmNe69U/TcyzapJPLwReGiOriXl1NZuV3dabnIBaPAtG0fTWMU8X8xL6iFlNs9ZsTNhd/nxNUa0= Received: from DS7PR10MB5232.namprd10.prod.outlook.com (2603:10b6:5:3aa::24) by IA1PR10MB6121.namprd10.prod.outlook.com (2603:10b6:208:3ab::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8251.21; Mon, 16 Dec 2024 00:49:05 +0000 Received: from DS7PR10MB5232.namprd10.prod.outlook.com ([fe80::8303:658f:14f8:2324]) by DS7PR10MB5232.namprd10.prod.outlook.com ([fe80::8303:658f:14f8:2324%5]) with mapi id 15.20.8251.015; Mon, 16 Dec 2024 00:49:05 +0000 From: Drew Adams To: Jean Louis , Eli Zaretskii Subject: RE: [External] : bug#74890: 31.0.50; (thing-at-point 'string) raises error Thread-Topic: [External] : bug#74890: 31.0.50; (thing-at-point 'string) raises error Thread-Index: AQHbTz5IknokAzp6AkWlenKcS9NzfrLn/aVw Date: Mon, 16 Dec 2024 00:49:05 +0000 Message-ID: References: <874j352vwz.fsf@lco2.mail-host-address-is-not-set> <86cyhsre61.fsf@gnu.org> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DS7PR10MB5232:EE_|IA1PR10MB6121:EE_ x-ms-office365-filtering-correlation-id: 2d485895-6600-4dc1-c51a-08dd1d6b7109 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|1800799024|366016|376014|38070700018; x-microsoft-antispam-message-info: =?utf-8?B?cXdsWWRBZW1sQ0FHW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VM3?= =?utf-8?B?TDdqbUt1R0ZXdkdLVkxKakw2dkxtTjBZbU1scDhhV294a2RFY0lSaUdTeXhF?= =?utf-8?B?NEMxN1NZNFhpV0xaMnlSbmh3aWd3ZUFxQmFYQkNIWFZObWY1SHZhcVRsaUw5?= =?utf-8?Q?W31zyMqTYx0=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS7PR10MB5232.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?K2h6VXpIUlZsN2lPMVhLRDNkQ0lLYVZNUTBwdndVNzhyK2dRQllxSHRWQzF1?= =?utf-8?B?bHdqVmlvYVZad0FqbmFReWN4aGR1Y0ZFUnJxYVh2TFo1MDZDUEcwaldiZHRK?= =?utf-8?B?ZFltZ0hRYStjbWVlcHUzREljbkxsbS9KTGtHN1FJbzhVS0dhdUorK29zSW5T?= =?utf-8?B?MUJHR1EvWVFKRjhCTG51c2UvT3Y3cFU0Z1JMQkQ1UFRReEF2czZwL1V3clkv?= =?utf-8?B?K2FtZksrbEpDeUJpSFJKYUVjWnUrbDl5cjcrNnRGU0hIM3p2UWpWR2M2QnE1?= =?utf-8?B?N0RCd2ZWY0llZUI2dmhrNWoycnFyMEQ1ZmYvZDNNdlpGZEVpWlJxM1YyTU9n?= =?utf-8?B?eVMwV0dCb0JsZVNGUjRoYndjWUNoNndjL2t5Ulk1MzZaZ2x5NTFORmhWWFI2?= =?utf-8?B?cXhDb01PSXhRWm9OQ2hNb2ZYeXpRcnJtK2REdUc0Qk9FVnhMd3hLNEdsc09I?= =?utf-8?B?NWNFVWNROGl1L083US8yNGU1U2J3OEs2d25XTThQS3hKeVZMSkVZRWEybXYx?= =?utf-8?B?OE5xblhxLzlLT2dJWFRieWg5SEdxZ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ROcnJYcmFxYmNTRmUybUYzQzl5T1dHNXZGTXIxSDlOcXdMYVZHNklTYlpW?= =?utf-8?B?d2ZCVG9WQTVpVWczb28wc2hqaXREaFo5NWdYcW5sajdBaTk4cWdiUVJkaVNC?= =?utf-8?B?TEZOQytLc1J2b3VtVTQxNmRGeEZKRU9sVVQxUkxaNDBDTXVRV1lnNlRjcWpR?= =?utf-8?B?UkhPYVN3VGxlTUtsQkdCNnpRZW8yQUhHQjFPRHNkcnpUVFZnTlpReE9nSlhO?= =?utf-8?B?MFJheDA5VkhFWDVJODF1UFBYQ0pTQkpzOUhqYlFPaUFVaHRKZTRVa21keXc2?= =?utf-8?B?VVgyWHZVcUZJU1kyWXIyd0VUUUdUdGdOb011NG0wSnNaSkN2MEhDUkY4cVRa?= =?utf-8?B?ajlYMi8wdGVpMUlhWGlPY3BDNTdHNUxPQnlySE9wT00yVGJ2NVM0UGJLRVlv?= =?utf-8?B?R2FteDNhV1NQblpwTmQ3T3djb0NQQktWMzdzMnBaV3o0bmxnVldHVUlOTEdo?= =?utf-8?B?eU1wNmFjUE9kQWtPTGRhYUFqQm9waWRQaTlhWG5CNC9JY0hudmtPUUZOMS9y?= =?utf-8?B?S0pXR0ZaRWQvOVl2R04vbmJNdW5nMzVwRFBjREc3c2NYMXdPd3M1djVmdXR4?= =?utf-8?B?b29kdkxsVUx5dmt1SW1lb21wK1BnV3djNUJEL005MXR6Q2FpeStOVkovMjJN?= =?utf-8?Q?GK5si2IXfkvIDBh/Q7xDpVXWc?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: Uy1tWztLeE+FcYTmbR/yRu/1bZ8jZoatl0vNpMzOekfoDm6Fb8VMsElcYKQpwSPoLSmvnggibgQBMxUMg/+JKV3watqSDUuF8cPAG67HR9G9WYcxIyoRnbmlJXxTDYtM6hc7mTh52jiIFB/JBdlwWaBbp7h9pyNyPZhZ4XL3xVp6hvAupyynyyShFgroZnb7IMLqbaIBfpPY5+Fi/oSNruTOk3wKUt5nXTfa3GgyR8xPKpGjRc80YPcY0VmZ/We+iV4AgAWQkWu0y72aOKqUebr5DRiTVK9LcOMA621P4bUS/wtF349dI1fJkLA+HJ9doWVvAuMDDzUu/AUMddpgFsusl13lNHO1LIJoTB+9+GQy2mFRRa7TlQ2rftuw9J/SjXFikOc/jv+59vWoNJm/Q/cjHx5NSsPmFy4twx4C2FY0W4PefU9P/E4O4jqwPFC9F0nwdj0pP4WKnv0ZUaCkfPTMEghhM4+zMMplQsyTOwHduGw18xnZtASjqONz4NEe6fHn4V6+hmKrWC0PKxaS4E60A33weUErzHXEy3zWrFwm/88XtngNZ8lKZtJHxXLoWfHn2sytb/etr6D72PwdiW8zQEM9ivKZNleaVGiGPhU= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DS7PR10MB5232.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2d485895-6600-4dc1-c51a-08dd1d6b7109 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Dec 2024 00:49:05.1253 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: CFd2vD5BvSkNDqJwRmi+AYEZbFC1b5h9BVwy9TkzYFVZhybUan++wPYI4abLdcO2jDnu3LI8n+xVshsh9YnynA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB6121 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2024-12-15_10,2024-12-13_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 mlxlogscore=999 malwarescore=0 spamscore=0 bulkscore=0 suspectscore=0 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2411120000 definitions=main-2412160005 X-Proofpoint-ORIG-GUID: eicLd_9x8k-psuYZwg-ohRuvJ8ZEHQf1 X-Proofpoint-GUID: eicLd_9x8k-psuYZwg-ohRuvJ8ZEHQf1 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 74890 Cc: "74890@debbugs.gnu.org" <74890@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 (-) PiA+ID4gRGVidWdnZXIgZW50ZXJlZC0tTGlzcCBlcnJvcjogKHdyb25nLXR5cGUtYXJndW1lbnQg Y2hhcmFjdGVycCBuaWwpDQo+ID4gPiAgIGNoYXItc3ludGF4KG5pbCkNCj4gPiA+ICAgKGVxIChj aGFyLXN5bnRheCAoY2hhci1hZnRlcikpIDM0KQ0KPiA+DQo+ID4gUGxlYXNlIHNob3cgYSBjb21w bGV0ZSByZWNpcGUsIHByZWZlcmFibHkgc3RhcnRpbmcgZnJvbSAiZW1hY3MgLVEiLiAgSQ0KPiA+ IHRyaWVkIHRvIHJlcHJvZHVjZSB0aGlzIHByb2JsZW0sIGJ1dCBjb3VsZG4ndCwgd2hpY2ggcHJv YmFibHkgbWVhbnMNCj4gPiBzb21lIHNwZWNpYWwgc3RlcHMgYXJlIHJlcXVpcmVkIHRvIHNlZSBp dC4NCj4gPg0KPiA+IEkgYWxzbyBkb24ndCB1bmRlcnN0YW5kIHlvdXIgY2xhaW1zIGFib3V0ICJj aGFyIGFmdGVyIiwgYmVjYXVzZQ0KPiA+IHRoZXJlJ3MgYWx3YXlzIHNvbWV0aGluZyAi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JvdmlkZXMgZGlmZmVyZW50IGZ1bmN0aW9uczogKi1uZWFyW2VzdF0t cG9pbnQuICBUaG9zZQ0KZnVuY3Rpb25zIGxldCB5b3Ugc3BlY2lmeSB3aGF0IHlvdSBtZWFuIGJ5 ICJuZWFyIi4NCg0KV2hlbiB5b3UgY2FuIHJlcHJvIHRoZSBidWcgd2l0aCBgdGhpbmdhdHB0Ky5l bCcsIGJ1dCBub3QNCmBlbWFjcyAtUScsIGluIGFuIGFjdHVhbCBFbWFjcyByZWxlYXNlIChlLmcu IDMxKSwgcGxlYXNlDQpzZW5kIG1lIGEgbWFpbCB3aXRoIGEgcmVjaXBlIHRvIHJlcHJvIGl0LiAg VGh4Lg0K From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 16 01:13:11 2024 Received: (at 74890) by debbugs.gnu.org; 16 Dec 2024 06:13:11 +0000 Received: from localhost ([127.0.0.1]:53188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tN4Lu-0004JS-Rf for submit@debbugs.gnu.org; Mon, 16 Dec 2024 01:13:11 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]:50415) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tN4Lr-0004JF-LD for 74890@debbugs.gnu.org; Mon, 16 Dec 2024 01:13:08 -0500 Received: from localhost ([::ffff:41.75.190.172]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000001BF24.00000000675FC4EF.000765D1; Sun, 15 Dec 2024 23:13:02 -0700 Date: Mon, 16 Dec 2024 09:12:47 +0300 From: Jean Louis To: Drew Adams Subject: Re: [External] : bug#74890: 31.0.50; (thing-at-point 'string) raises error Message-ID: References: <874j352vwz.fsf@lco2.mail-host-address-is-not-set> <86cyhsre61.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.2.12 (2023-09-09) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74890 Cc: 74890@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 (-) * Drew Adams [2024-12-16 03:49]: > > > > Debugger entered--Lisp error: (wrong-type-argument characterp nil) > > > > char-syntax(nil) > > > > (eq (char-syntax (char-after)) 34) > > > > > > Please show a complete recipe, preferably starting from "emacs -Q". I > > > tried to reproduce this problem, but couldn't, which probably means > > > some special steps are required to see it. > > > > > > I also don't understand your claims about "char after", because > > > there's always something "after" point. > > No, there's _not_ always something (some text) after > point. And that, I think, is what this report is about. > From Jean's description, the only text in the buffer is > `Hello', where that `o' char is the last char, and > point is _after_, not on/at, that `o'. That is right. > I see the same thing with `emacs -Q' for Emacs 29.4, > which is the latest Emacs release AFAIK: > > Debugger entered--Lisp error: (wrong-type-argument characterp nil) > thing-at-point-bounds-of-string-at-point() > bounds-of-thing-at-point(string) > thing-at-point(string) > eval-expression((thing-at-point 'string) nil nil 127) > funcall-interactively(eval-expression (thing-at-point 'string) nil nil 127) > command-execute(eval-expression) I do not have error in default Emacs with -Q with this version: GNU Emacs 31.0.50 (build 4, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.16.0) of 2024-12-05 > To me, this behavior makes sense since, per your recipe, > there's _no character_ at point, and for thing-at-point > to tell whether or not _the buffer text at point_ > represents a given type of thing or not there must at > least be a char at point! I am used to have silent thing-at-point, so I do not expect any error. I expect the thing to be there or not, as that is how I am testing it with my functions. Errors shall be handled with underlying functions IMHO. > (You'll get the same error if you try thing-at-point > in an empty buffer - no char at point to test. I see > that too with Emacs 29.4.) Not on 31.0.50 as I have just tried it. Or maybe you mean with your library? > An alternative behavior - incorrect/poorer IMO - could > conceivably be to return nil. But to me (and to vanilla > Emacs -Q for all releases I know of), that would be > claiming that _there's text at point_ that does not > represent such a thing. If the function tests for thing to be "text at point", then yes. Otherwise, no, as function is testing for something specific, in my case it was (thing-at-point 'string) where by the default function without thingatpt+.el does work, and with thingatpt+.el loaded, it raises errors. > Your Emacs bug #74890 says you're using an Emacs 31 > development version. Emacs 30 hasn't even been released > yet! Yes of course, the bug is reported for that version, not earlier. > The bleeding edge bleeds, and I'm hoping Emacs 31's current failure > to raise an error in this context is an ephemeral bug that'll be > fixed before release. (This is a regression - a > backward-incompatible change. But it may be intentional.) I don't see how that should be bug, and it is actually only raising error with thingatpt+.el loaded. (thing-at-point 'string) should give me string or nil Not error. I am testing for string, I am not testing if there is text under the point. > If _released_ Emacs 31 thing-at-point changes the behavior > to instead return nil, then I'll have to decide whether to > follow suit. My feeling, for now at least, is that that's > poor behavior (a bug). And if I go with that feeling then > at most I'll perhaps provide an option to give users such > (misguided) behavior if they so choose. I am expecting you to understand, I am testing with various functions `thing-at-point' for specifics, if there is no text, that means that specific is not there, and why should I get error as user of the function? It is not error if something is not found! So the underlying function shall be silently handled for the function user. I have been using thingatpt+.el for last 2 years basically, it remained silent until this special case was discovered, as I was improving the action button M-RET which verifies many different things at point. > To me, it's important that thing-at-point be usable _not_ > just to grab some text at point to use as a default value > but - more importantly, if less commonly - to test whether > there's a given type of thing at point, i.e., for > _conditional/filtering_ behavior. With such an outlook I > think it's important for the testing to be doable and done > on (duh!) text, i.e., a character at point. It is usable as long as underlying functions do well. (thing-at-point 'url) will find URL, and not number for example or UUID. So if there is no URL or no UUID, one need not raise errors. I hope you will come to same thinking. > That such filtering behavior is important to me is also > why my code returns nil when just _after_ a thing (not > on/at a thing). That is fine approach to me. > When you can repro the bug with `thingatpt+.el', but not > `emacs -Q', in an actual Emacs release (e.g. 31), please > send me a mail with a recipe to repro it. Thx. $ emacs -Q - open empty buffer C-x b akjsndjansjkdn - evaluate (thing-at-point 'string) and it will return NIL - I am moving to directory Drew Adams and then evalute: (add-to-list 'load-path (expand-file-name ".")) - then evaluate (thing-at-point 'string) and it will raise error -- Jean Louis From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 16 11:41:24 2024 Received: (at 74890) by debbugs.gnu.org; 16 Dec 2024 16:41:24 +0000 Received: from localhost ([127.0.0.1]:55753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNE9r-0003Zl-Kl for submit@debbugs.gnu.org; Mon, 16 Dec 2024 11:41:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNE9q-0003ZS-2M for 74890@debbugs.gnu.org; Mon, 16 Dec 2024 11:41:22 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tNE9f-0002WA-87; Mon, 16 Dec 2024 11:41:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=nwxi12XccOYcAfFzEKo/NlhocURa01zmNbRCEGU6hlo=; b=T4nzHPJ9ZY7x ImXaPH9f4Q096KFoPGBAjk+aeXu3n9tgu9ojAbqdkz1gf04icAW00jd2aYavTqRtDqw2vvxGUZf5n Jdwreubm5h1F2TvKMOPUPPEdQxManrjYwqz2Tl2PdGVCynpePhF5bmfD8O0VYWxZMALK5ZHJM82Dc ejvoKG9KyAA2b1OX2OWNmDUhzUt2gr7046T7q63SJJ3WWYK7R0OM+wEvop2AFLI85hSfITFeM43tU PqabUHkDJhr6t2SlC4JwV0WBa4UTw0mu95qNYdNsvS8mRJSAqL36QmXxWfaHXWKl68R7o4pDVr/ZU afXY2BGreU5vvaNK5O+R1w==; Date: Mon, 16 Dec 2024 18:40:30 +0200 Message-Id: <86seqnpon5.fsf@gnu.org> From: Eli Zaretskii To: Jean Louis In-Reply-To: (message from Jean Louis on Mon, 16 Dec 2024 09:12:47 +0300) Subject: Re: bug#74890: 31.0.50; (thing-at-point 'string) raises error References: <874j352vwz.fsf@lco2.mail-host-address-is-not-set> <86cyhsre61.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74890 Cc: drew.adams@oracle.com, 74890@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: -3.3 (---) > Cc: 74890@debbugs.gnu.org > Date: Mon, 16 Dec 2024 09:12:47 +0300 > From: Jean Louis > > > > > I also don't understand your claims about "char after", because > > > > there's always something "after" point. > > > > No, there's _not_ always something (some text) after > > point. And that, I think, is what this report is about. > > From Jean's description, the only text in the buffer is > > `Hello', where that `o' char is the last char, and > > point is _after_, not on/at, that `o'. > > That is right. It's wrong, but I cannot afford arguing with you two about this nit. > > I see the same thing with `emacs -Q' for Emacs 29.4, > > which is the latest Emacs release AFAIK: > > > > Debugger entered--Lisp error: (wrong-type-argument characterp nil) > > thing-at-point-bounds-of-string-at-point() > > bounds-of-thing-at-point(string) > > thing-at-point(string) > > eval-expression((thing-at-point 'string) nil nil 127) > > funcall-interactively(eval-expression (thing-at-point 'string) nil nil 127) > > command-execute(eval-expression) > > I do not have error in default Emacs with -Q with this version: > GNU Emacs 31.0.50 (build 4, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.16.0) of 2024-12-05 Until there's a recipe to reproduce this in "emacs -Q", I maintain that this is not an Emacs bug, and should be closed. Which I will do soon, unless a recipe is posted. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 16 18:39:46 2024 Received: (at 74890) by debbugs.gnu.org; 16 Dec 2024 23:39:46 +0000 Received: from localhost ([127.0.0.1]:56697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNKgk-0000zp-0O for submit@debbugs.gnu.org; Mon, 16 Dec 2024 18:39:46 -0500 Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:24912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNKgh-0000ze-PV for 74890@debbugs.gnu.org; Mon, 16 Dec 2024 18:39:45 -0500 Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4BGMjWJW009798; Mon, 16 Dec 2024 23:39:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s= corp-2023-11-20; bh=7RbaickX+jBq5dTuDuc4V6WasUsm2Mp1d43NTmbOpaU=; b= DrT/YgGO7Juxa1YkxIBdjNH4oQ42go6698VRF1ButlnqEvQkOXvmsEVHuatq7Kq5 hjCD4PyZBkZuY4Y2BOMYKXODX935N1joTt1zMNW/CJHwlvTxpZrjimfvzKRSEX8f 9Qeogt6Kq1B+ZbTBMKYfrhPVCuwHcka2FP0bLvLv0cNaehUho811N1ywCuIr04Q9 b+ECipXqGvQRaRynNHV9Rh0aW4Q/2/Q4rh1OBd+g4Qt80C6y6wsrtQKmMwtSKDFV R2/L4RTFah4C4xS+kBMVkDZAjjqegQwJUQJHdu2b2054r9KrpSVEBK3sAAMpiYem f3bTdqZ0ByVDcQlU1k/vsA== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 43h22cmn6e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 16 Dec 2024 23:39:41 +0000 (GMT) Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.18.1.2/8.18.1.2) with ESMTP id 4BGLe0iI032638; Mon, 16 Dec 2024 23:39:41 GMT Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2043.outbound.protection.outlook.com [104.47.66.43]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 43h0fdyvnb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 16 Dec 2024 23:39:41 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=EdCrtI4IRz9nZNVArOt+dTJLIv7u7y+qxVOUxe4dqBa0eT5A4GJjnk3zr6JLUBKA5Rpi58PoAtsB1kyoBbt8U3y+JUh0hJ2fBDcNgJMYOXkMZMakOkHaXTp3uToAzrXuywGloNT849WecTqO7gGtKcJzbrcu4aSBJL5FZa4bDmT/mwpmVYJ8nS4hB0F74rXG9UjL7eVjBoQatprkNS0uFenEBZf/1eoktwQ9iseznplvW1QtjnBoRjYPkcmoI3zE76jmQaWgUt4dNz6j5Seqfk0xrPPIuoc3B2WWhadZSuOl0STHL7orcFHVNsG5Tg4npaDkUR/TmE9+oe5yY6Gb8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7RbaickX+jBq5dTuDuc4V6WasUsm2Mp1d43NTmbOpaU=; b=LJcmnFKoLy30xIlBJ5eiDSTfW5u2PgjNLttKAYmMdvN20NfsfbLv4stWKSOjK+qJ+hOsFF9ZxxzrRLlXEdAnhMPKfwoJsdC1KOC6PtQyXsV1g+sMOR81dqy2xgcR3dQ8eYhe2mK++tEBGYxdt7FQOdu3cW3fJCtywE6q3BUYdq27Hn8xrra+ECbCM85/Wt3iR4PzWaYzSkb862i/Z4P6bTvgTLfBps9b5aEKwmuxlmmMNoHQwgwwLg5NcdGw1Q/TPI5bT3GFiXrvHhiArX7yk3om6gLsi8FMj/+1b33y4dIyMiytEyYGdbURcpppDJBwSsai37pAe3um6xFiv5Kncw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7RbaickX+jBq5dTuDuc4V6WasUsm2Mp1d43NTmbOpaU=; b=akSX7QCLsyrJPOdVzzm+F336RujVXzYpfY+R5GJVvlDMXSxQWVs9LniBcwsGGypByG5euOoPewsTKmqEe4jEg9BfoZJdwX+0D6HE0ugDDclVVArBfVeUXZ2Rkuv1zj8t1v3r1zhf6AlvZn8NkJ4RvBPEr9DTcMCPyafZ3L7ghBg= Received: from DS7PR10MB5232.namprd10.prod.outlook.com (2603:10b6:5:3aa::24) by BY5PR10MB4370.namprd10.prod.outlook.com (2603:10b6:a03:20b::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8251.20; Mon, 16 Dec 2024 23:39:39 +0000 Received: from DS7PR10MB5232.namprd10.prod.outlook.com ([fe80::8303:658f:14f8:2324]) by DS7PR10MB5232.namprd10.prod.outlook.com ([fe80::8303:658f:14f8:2324%5]) with mapi id 15.20.8251.015; Mon, 16 Dec 2024 23:39:39 +0000 From: Drew Adams To: Eli Zaretskii , Jean Louis Subject: RE: [External] : Re: bug#74890: 31.0.50; (thing-at-point 'string) raises error Thread-Topic: [External] : Re: bug#74890: 31.0.50; (thing-at-point 'string) raises error Thread-Index: AQHbT9lXxU40yWvZpE6LIgfxcec7KrLpd7ZQ Date: Mon, 16 Dec 2024 23:39:38 +0000 Message-ID: References: <874j352vwz.fsf@lco2.mail-host-address-is-not-set> <86cyhsre61.fsf@gnu.org> <86seqnpon5.fsf@gnu.org> In-Reply-To: <86seqnpon5.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DS7PR10MB5232:EE_|BY5PR10MB4370:EE_ x-ms-office365-filtering-correlation-id: 97925df5-a741-4c59-394d-08dd1e2ae834 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|376014|1800799024|366016|38070700018; x-microsoft-antispam-message-info: =?us-ascii?Q?6mD5DJH5KN0NulTNQbAYFENCkaPD5vyoa8QGnjgRahk5VTjSOdwGX69n7V6J?= =?us-ascii?Q?wNQ3Lzb9RITBWtQtgk1E9CO7hsFc4AKWmJuIC5fdupsDyHtx5VOnuMWASEPq?= =?us-ascii?Q?qA0EcNwtV+NgaVPjEJvYKm9XYE2eI/izBG2gq3bJSR3vEfRI82WwEdoe/mhW?= =?us-ascii?Q?FLTOWcUZ/zVipSO5b0QDDFNT2V9t3SdaGNyAKdu60N0mWUkhNWf2rFEINM5h?= =?us-ascii?Q?aPL0oRoh3sg9ueV+q0O9NEnZEFhHStvYrBD9emO0SKNkiXib2UL7wS6NSebv?= =?us-ascii?Q?Kw0XIiGO4PdYtHd+QHypwyv5h7AmW+6cQADvf387gfFwUMdcsTULls4TWCT5?= =?us-ascii?Q?iS1qP7TuwqDY83e7FCDPT3pC30BLCgEygHrwQMoJovn4hK9FKOhrVWo2hcbU?= =?us-ascii?Q?kQQDNBKuWtYtaU7055i9mvRXl/MDCyfNVH25b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WZBWR+lksgTQRz50VHt11Xpk/jqBIGsFtlO+iv4KUAq?= =?us-ascii?Q?2qZWc/rxOHrsO8awOx7aUippM1699NeNrsUrhLLOHloDvPzGzn1PhtD6J+p3?= =?us-ascii?Q?SEedmTAw8Cy9b5vSJ6+xN53ZD5+pb8sp?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS7PR10MB5232.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(1800799024)(366016)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?HPYbIXhTw4ej2+Fl7emiKuynDLWzXaBPDCTnZ3RWjVR/P/vr3tGDZJ9sIC9e?= =?us-ascii?Q?t7U2gNanK5IH8IJjSZnHWAWb7DBuC1R3L2tbhfnA41dLSaF+u+0J0UICNkki?= =?us-ascii?Q?KQ4MPoCAtCPbJP77XkbZirL04TnQ7HGOR9eMhwadFOymc15G8p3QM7jsCNG0?= =?us-ascii?Q?DE6Fikbs8rtKXbFArT1J4Bvt/okgmsUH7KykyTivEWsGBMhrEiNJr8AAYrkD?= =?us-ascii?Q?WKxDhDeZYc1KKBN7zQVtzNLIOVjb27zsrwO02Vv3yJvW0TqLLSBB/0lUv7Wq?= =?us-ascii?Q?2MHjCbn/oZCJIzg2L4p39AgzEyeuxMbQA3uZsu+G0fDcd316V8D1+Oi9Q+v/?= =?us-ascii?Q?jQpslZctF+nJMNWc1UvAVJ6S0BQMvrM+LPMGqOo5tdLGPSkT+8C8dyMJ0NP5?= =?us-ascii?Q?tezBYT5l6hX+44il2QzT7JbJCgclNY5R9aZVtiz/de6sIVFRTlMny6rU7JjW?= =?us-ascii?Q?DIlRyW+FIJGxPtO1bYgjQd3XtrEca5lYyZ0L/Svk0uZWKEb7wFQo0234pEIX?= =?us-ascii?Q?kEFF3rLU01CN5GqgcA1bdZmNE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= =?us-ascii?Q?yKiQJ1s3oGKCv4tDDhHe/WEslIdEd56dV+bdaaQrt300OqcXM27rcw7cQXoa?= =?us-ascii?Q?oS/qHqAlbXIHpt2a9YX4qdSmqD6JKWWhOcf5wXnRo8AzLms7PW7Rg0d7fp2k?= =?us-ascii?Q?8l/xDt8XBYfBgaSc2hvs75X4o0PctNdSYDtmLKQb?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: bpU1s1+p9QNdINLAx8MNQrj2V6Tvy+oSgBGJWBG9viFKEUnY5juwFJxRQkU/Y9CIHrgSTt4XO4aqUE+nH1t4HV5ScZvF3R5Oxvc+QeBTyNm8QK09LT0HzBdBgo3oPiHHYhPfJGbaIqp7maor8uOdTRBK9Wgsw7Q93t7H78e8Q0H7ajT61a2Q2m9TSzbxx1X59N273WDvsNOik17E2vwKIICa6qw2Wexmzd/iPPzGkZJvrG3Oox7mL0KhjGcNBlrmCKzpTzcSXS6BHTXkObp5LMNSC/TRHc9a7mQLE8ty+jr36aK4fjTX3Nmr4u3p5XogCXFA3zNBFzU/mfruQOqA63o5pqRrJI9+H11o4XFLSH8S5P3WPjLZbSz+XP1oKeLDG9rKtW8kPILC5QQi9mPpXzYvc/cvGJKlyNnBJKPOVkKNyiqR1a+Wgv1/ntAKcMbYeECw7+J2/nkAWBXCvi6FxoDqk9JbHnv452KcHO8vc+8Jrsl6+b0gEqYh3WIyqB1GGlfzilVagC2g0dJLCPIv81ATtfhs/JYYy/UuesznRQk3xNZH4WqAs4ifzcR5gAmHKvqHjWRHf3g6rSq/tfzX2Cdf8k7GwOBFdnbG/xI+xng= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DS7PR10MB5232.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 97925df5-a741-4c59-394d-08dd1e2ae834 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Dec 2024 23:39:38.9120 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: /qifUeevLKwEiQnPvbR3nwnSPRq4zvgQf2ZXpfYG0bxW/H+uWyHx4PQs5MhGNurbcWIrlqNbFuw4hBWG/LD74Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR10MB4370 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2024-12-16_10,2024-12-16_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 spamscore=0 suspectscore=0 adultscore=0 bulkscore=0 mlxscore=0 mlxlogscore=999 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2411120000 definitions=main-2412160193 X-Proofpoint-GUID: i084t3yE8RIO5XzkQBoglagGEnZezeSY X-Proofpoint-ORIG-GUID: i084t3yE8RIO5XzkQBoglagGEnZezeSY X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 74890 Cc: "74890@debbugs.gnu.org" <74890@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.7 (-) > Until there's a recipe to reproduce this in "emacs -Q", I maintain > that this is not an Emacs bug, and should be closed. Which I will do > soon, unless a recipe is posted. Please feel free to close this bug. I thought that this return-nil-no-error behavior was new in Emacs 30. But I found that it was introduced in 28.1. All Emacs releases 20-27 return nil in the reported scenario (like Emacs 30+ will). I've changed my mind: I think that's the right behavior. I assume that the Emacs 28-29 behavior wasn't introduced intentionally but was an unintended regression - fixed in Emacs 30. [Note that the behavior is to return nil instead of returning the string that's just before point. That's the correct behavior, IMO, and it was the main point I was making earlier: Don't return a THING that's _before_ point and not _at_ point. At least for _string_ THINGs, vanilla Emacs is doing the right thing.] Jean: I've now adapted my code (thingatpt+.el) to use the Emacs 30 definition of `thing-at-point-bounds-of-string-at-point'. Please download the latest thingatpt+.el. and let me know if you see any problems with the fix. Thx. ___ However, since we're talking now about `thing-at-point-bounds-of-string-at-point': 1. I don't see why it should ever return a non-string sexp. E.g., the doc string includes this: "Prefer the enclosing string, with fallback on sexp at point." There's no vanilla code that even calls this function, so that return-a-non-string must have been something for which a use case was only imagined, and not for any existing use (?). (It's of course used by `bound-of-thing-at-point' when its arg is the symbol `string'. But grepping for its name and for "(thing-at-point 'string)" finds no hits.) I'm not even sure what kind of non-string sexp this is meant for. I tried lists, symbols, and numbers - just nil was returned, always. What's the use case for returning a non-string sexp? IOW, why do we cater to that case, when no string syntax is involved? It's the "else" clause of the `if' that I question: why include it? ;; At the beginning of the string (if (let ((ca (char-after))) (and ca (eq (char-syntax ca) ?\"))) (let ((bound (bounds-of-thing-at-point 'sexp))) (and bound (<=3D (car bound) (point)) (< (point) (cdr bound)) bound))) 2. (nit) I don't think it makes sense for the two functions `thing-at-point-bounds-of-string-at-point' and `thing-at-point-bounds-of-list-at-point' (and no other functions) to have this in their doc string: "[Internal function used by `bounds-of-thing-at-point'.]" Either all such `thing-at-point-bounds-of-*-at-point' functions should have it or none should. I think none should, because it's misleading. These _aren't_ internal functions. No more so than `yank' is an internal function of `delete-selection'. They're simply functions `put' on a THING name such as `string', for use by `bounds-of-thing-at-point'. And they can be used by any code that wants the bounds of a string, list, etc. directly, and doesn't necessarily want the text that's bounded. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 16 19:48:17 2024 Received: (at 74890) by debbugs.gnu.org; 17 Dec 2024 00:48:17 +0000 Received: from localhost ([127.0.0.1]:56795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNLl2-0004XR-N9 for submit@debbugs.gnu.org; Mon, 16 Dec 2024 19:48:17 -0500 Received: from mail-ed1-f50.google.com ([209.85.208.50]:57849) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNLl0-0004XG-Eb for 74890@debbugs.gnu.org; Mon, 16 Dec 2024 19:48:15 -0500 Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-5d3e9f60bf4so7683367a12.3 for <74890@debbugs.gnu.org>; Mon, 16 Dec 2024 16:48:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734396434; x=1735001234; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=/EVrZ/WUDBOfPvRzyPXgfqLLoKhyxoDueJx5PMm0abE=; b=VAp/X3OE9g4I2hx2+W6gPtlkIEhF7NXSz2SMtQmCKBxXQH+/1TwZVWzyCZJUkLQhOh JFJeETqiDhpA0rBtBIbefr1S+mksfbp4jxfzU+rgNqIskE+T5jX9f2gt+2MTeimpc4U3 IMx/NOv+pyrwfi5OuJR9PVc5jYL/1VbBpMC2ENsRQEqhoChCunno2rAlvsGqtqpFySXl g24r3RjEvIGQnqiuQLrZkTnwt4q5djIaOaPVOIIXzXOi6V5muIR/xpRwEe4S/BYqGBPk qmvSbgGZya4/8qCD3bfT7ocq7+/rMPjgg3eAT8/6l/xNg13zm1EOLW8f4WaLebdZkCuG 2pQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734396434; x=1735001234; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/EVrZ/WUDBOfPvRzyPXgfqLLoKhyxoDueJx5PMm0abE=; b=s53bKb6EQBjBns8Pxykwtkb8f9dAE5uiMSBAM15DiCti8N0pzqWUUD7PI5RoX8EN9n 1BnMnkdfftkhTCdGJ7cXeUajoJUxSaW8cO9uFp4lx1YFO0fsw+OiL5U2wS+BtX2RtCVX DrE4vIxFxGqLSB5F/4ByMkdzng+DbZF53Ml2nGkTPOq99l3jUpINrJjeCXj4WEn3uWz1 VMRJJqxqcvuu2T60dY05aaBFotIIDPTr2otP/h8DN/A+woXPwcaYqTBx8GDmWTtF2xkz pWXxtDxf7zqrUXEccel54BFMQ2066wOTexn8PBqs5n/BI9BbaZLMNX/5shxnOCnDXktF RqvA== X-Gm-Message-State: AOJu0YzD/JgIlx9vhQcvcNFMRk+6j2f3Xas+KoULIVgaF/09KOBz/in4 38CeoQVan9gZOU+FKlegScd3FaRZU9Jkn6MZ4ZLgzN7nLb+azpd21rerRbI1qe4xhR/w3vOr5dy z7p88cDvaJ3PVQxVLb9Jd9RR4+Tw= X-Gm-Gg: ASbGncvSyix1Sln48Z0irL3o9cYsGnDyT1NKDOFqW1/LwhpnNCJrZ2ONcfalA+9Af+V bODlbocedCMiAdDecgvnMLPVOG7utmKKyXyN9nbQ= X-Google-Smtp-Source: AGHT+IEZFG4zfEcTHFLKpQ794CPjV1QIdekH2Q2VlA4OH2h/pQrEV7OoeqJQunEpR3CqGNDK4ZbWBYT6b28cM+4REZw= X-Received: by 2002:a05:6402:51c9:b0:5d1:2377:5ae2 with SMTP id 4fb4d7f45d1cf-5d63c2e7ef2mr14349000a12.7.1734396433648; Mon, 16 Dec 2024 16:47:13 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 17 Dec 2024 00:47:12 +0000 From: Stefan Kangas In-Reply-To: References: <874j352vwz.fsf@lco2.mail-host-address-is-not-set> <86cyhsre61.fsf@gnu.org> <86seqnpon5.fsf@gnu.org> MIME-Version: 1.0 Date: Tue, 17 Dec 2024 00:47:12 +0000 Message-ID: Subject: Re: bug#74890: 31.0.50; (thing-at-point 'string) raises error To: Drew Adams , Eli Zaretskii , Jean Louis Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74890 Cc: "74890@debbugs.gnu.org" <74890@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 (-) Drew Adams via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: >> Until there's a recipe to reproduce this in "emacs -Q", I maintain >> that this is not an Emacs bug, and should be closed. Which I will do >> soon, unless a recipe is posted. > > Please feel free to close this bug. I closed it here: https://debbugs.gnu.org/74890#16 From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 16 23:15:52 2024 Received: (at 74890) by debbugs.gnu.org; 17 Dec 2024 04:15:52 +0000 Received: from localhost ([127.0.0.1]:57099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNOzt-0006Zx-33 for submit@debbugs.gnu.org; Mon, 16 Dec 2024 23:15:52 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]:41731) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNOzr-0006Zm-5R for 74890@debbugs.gnu.org; Mon, 16 Dec 2024 23:15:48 -0500 Received: from localhost ([::ffff:197.239.10.219]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000001BF24.000000006760FAEF.00093DBE; Mon, 16 Dec 2024 21:15:43 -0700 Date: Tue, 17 Dec 2024 07:15:40 +0300 From: Jean Louis To: Drew Adams Subject: Re: [External] : Re: bug#74890: 31.0.50; (thing-at-point 'string) raises error Message-ID: References: <874j352vwz.fsf@lco2.mail-host-address-is-not-set> <86cyhsre61.fsf@gnu.org> <86seqnpon5.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.2.12 (2023-09-09) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74890 Cc: 74890@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 (-) * Drew Adams [2024-12-17 02:39]: > Jean: I've now adapted my code (thingatpt+.el) > to use the Emacs 30 definition of > `thing-at-point-bounds-of-string-at-point'. > > Please download the latest thingatpt+.el. > and let me know if you see any problems > with the fix. Thx. I see no problem now. -- Jean Louis From unknown Sat Aug 16 16:11:55 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 14 Jan 2025 12:24:08 +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