From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Mauro Aranda Newsgroups: gmane.emacs.bugs Subject: bug#37199: 27.0.50; widget-browse-at fails at the end of editable-field text Date: Tue, 27 Aug 2019 11:47:13 -0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000c93ab805911a5926" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="233161"; mail-complaints-to="usenet@blaine.gmane.org" To: 37199@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 27 16:48:35 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.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i2clu-000yWE-Ed for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Aug 2019 16:48:34 +0200 Original-Received: from localhost ([::1]:52210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2cls-0005Rg-2z for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Aug 2019 10:48:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44381) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2clW-0005Qk-0P for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2019 10:48:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i2clR-0006gY-Fj for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2019 10:48:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40442) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i2clO-0006f6-C8 for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2019 10:48:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i2clO-00071O-8b for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2019 10:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mauro Aranda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Aug 2019 14:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37199 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.156691725426945 (code B ref -1); Tue, 27 Aug 2019 14:48:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Aug 2019 14:47:34 +0000 Original-Received: from localhost ([127.0.0.1]:49263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i2ckv-00070X-Dw for submit@debbugs.gnu.org; Tue, 27 Aug 2019 10:47:33 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:46180) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i2ckt-00070O-Mu for submit@debbugs.gnu.org; Tue, 27 Aug 2019 10:47:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44342) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2ckr-000596-O9 for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2019 10:47:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i2ckp-0006Ti-Tb for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2019 10:47:29 -0400 Original-Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]:42311) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i2ckp-0006TA-H4 for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2019 10:47:27 -0400 Original-Received: by mail-lf1-x135.google.com with SMTP id u13so5506791lfm.9 for ; Tue, 27 Aug 2019 07:47:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=B1Xq+MZmxHUq1n+mqokB0l7TiSmkETEp9HWYd4k1Ijc=; b=m21DMf74o79l1MTsjQU27/s0fPu55tYkRheqxZwLXOYiLXy2QroMfw2pSfyIjiiQ4G 0LVm045IcXTlZaOMc7pls5pmfgjbgXGzd+DUdG3Giopw607r3s9BqdEHcmvrRRmjSTyR B0ZTdFAjgHINQKnGoVnZUt0xkiZNitpGuLupSkOI+e1+hFC2pgE6+1/gzrjaI2uRGlYc XlT945e8uK0kKuIAxqDWo5CoDZlMAaY390zVfbzXL8CP8w1wqtFq1ecagH+959M1kzFW grd2xeRt47GNYFzL6pHTfOY1U1pYXkx37LmpNJorMo4I9+QZO27/S0cImMVehImTFOim CVaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=B1Xq+MZmxHUq1n+mqokB0l7TiSmkETEp9HWYd4k1Ijc=; b=csiEdR3j3YGUslnlP14wE7FJvCUeMUQdu4BZeaKbpX8cjvfkUeGDqKWIm/Aib8bvCo +eFF6sOJEfhCKc2NThsg4rI/yLaF40MUNo2XUM6hriZgYuSqtK/EdpPssxjsdt5xGL3e eI3GwLa0nu03M6sHPo+PAsKagpstP1S+RayasUcDLDn7YIWsKV0LwPCPPmml52qQu1SY vssvHgq28YX/HJ862raNSTPUDoKj+m0qM8xJNaIiiZy1wQwYAQUWkFpFlSglhyZK3x9+ ezZbqzLiJUoyZWmEKmD9VR3U/EdjYuJzcT3cpoyDdTszOQArdgn9xTUNyhv8pNIM72eU IAnA== X-Gm-Message-State: APjAAAXGKDn45NVL9ln9lNsl6k01c5VxbREVuGT83tLfWkvvrHPtYoQa 2zrX0BTEQkAWnXwgfybo+9+joJ4VZBPWqq6eEJfLySlxBcA= X-Google-Smtp-Source: APXvYqzPyWcdunGnW89qO7O6k17Ev4JLRrsQ8bLnyjs702br6Ky2UZvuGDwizemIEON3QsWHntzZRSReE5lLdfgc3E8= X-Received: by 2002:ac2:46d8:: with SMTP id p24mr9800683lfo.58.1566917245089; Tue, 27 Aug 2019 07:47:25 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.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:165966 Archived-At: --000000000000c93ab805911a5926 Content-Type: text/plain; charset="UTF-8" Hello. When at the end of the text in an editable-field widget, widget-browse-at doesn't browse the widget and instead prints a message "Not a widget" in the echo area. Steps to reproduce the bug, starting from emacs -Q: 1) Open a customize buffer, to customize an option that contains an editable-field. For example: M-x customize-option RET tutorial-directory 2) Put point at the end of the text in the editable-field of the option Tutorial Directory. If you don't put point there with the click, make sure to be at the end, by hitting C-e. For example, type the following: C-u 8 TAB C-e 3) Try to browse the widget at point, with M-x widget-browse-at The "Not a widget" message is displayed. However, if you do C-b one time, and then again M-x widget-browse-at, you will be able to browse the widget at point. In GNU Emacs 27.0.50 (build 5, i686-pc-linux-gnu, GTK+ Version 3.18.9) of 2019-08-27 built on the-blackbeard Repository revision: 693e9be5871f4e9bcb1a4ecfe5a40e68f5433cc3 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: Ubuntu 16.04.6 LTS Recent messages: M-p is undefined This is an editable text area. Creating customization items... Creating customization items ...done Creating customization setup...done Mark saved where search started Mark set Mark saved where search started Saving file /home/the-blackbeard/Documentos/Programacion/emacs/emacs/lisp/wid-browse.el... Wrote /home/the-blackbeard/Documentos/Programacion/emacs/emacs/lisp/wid-browse.el Configured using: 'configure CFLAGS=-O3' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS PDUMPER LCMS2 GMP Important settings: value of $LANG: en_US.utf8 value of $XMODIFIERS: locale-coding-system: utf-8-unix Major mode: Custom Minor modes in effect: tooltip-mode: t global-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 dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils misearch multi-isearch vc-git diff-mode easy-mmode bug-reference tree-widget pp wid-browse time-date subr-x thingatpt help-fns radix-tree help-mode cus-edit easymenu cus-start cus-load wid-edit cl-loaddefs cl-lib 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 lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 8 72328 8712) (symbols 24 8293 1) (strings 16 22023 3618) (string-bytes 1 677388) (vectors 8 13128) (vector-slots 4 158606 15190) (floats 8 30 44) (intervals 28 268 6) (buffers 564 15) (heap 1024 8431 746)) --000000000000c93ab805911a5926 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello.

When at the end of the text in an editable-f= ield widget,
widget-browse-at doesn't browse the widget and instead = prints a message
"Not a widget" in the echo area.

Steps= to reproduce the bug, starting from emacs -Q:
1) Open a customize buffe= r, to customize an option that contains an
editable-field.=C2=A0 For exa= mple:
M-x customize-option RET tutorial-directory

2) Put point at= the end of the text in the editable-field of the option
Tutorial Direct= ory.=C2=A0 If you don't put point there with the click, make
sure to= be at the end, by hitting C-e.=C2=A0 For example, type the following:
C= -u 8 TAB C-e

3) Try to browse the widget at point, with M-x widget-b= rowse-at
The "Not a widget" message is displayed.

Howev= er, if you do C-b one time, and then again M-x widget-browse-at,
you wil= l be able to browse the widget at point.




In GNU Emacs 27= .0.50 (build 5, i686-pc-linux-gnu, GTK+ Version 3.18.9)
=C2=A0of 2019-08= -27 built on the-blackbeard
Repository revision: 693e9be5871f4e9bcb1a4ec= fe5a40e68f5433cc3
Repository branch: master
Windowing system distribu= tor 'The X.Org Foundation', version 11.0.11906000
System Descrip= tion: Ubuntu 16.04.6 LTS

Recent messages:
M-p is undefined
Thi= s is an editable text area.
Creating customization items...
Creating = customization items ...done
Creating customization setup...done
Mark = saved where search started
Mark set
Mark saved where search startedSaving file /home/the-blackbeard/Documentos/Programacion/emacs/emacs/lisp= /wid-browse.el...
Wrote /home/the-blackbeard/Documentos/Programacion/ema= cs/emacs/lisp/wid-browse.el

Configured using:
=C2=A0'configur= e CFLAGS=3D-O3'

Configured features:
XPM JPEG TIFF GIF PNG RS= VG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY
ACL LIBSELINUX GNUTLS LI= BXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK= 3 X11 XDBE XIM THREADS PDUMPER LCMS2 GMP

Important settings:
=C2= =A0 value of $LANG: en_US.utf8
=C2=A0 value of $XMODIFIERS:
=C2=A0 l= ocale-coding-system: utf-8-unix

Major mode: Custom

Minor mode= s in effect:
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
= =C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool= -bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t<= br>=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 bl= ink-cursor-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryp= tion-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 line-number-mode:= t
=C2=A0 transient-mark-mode: t

Load-path shadows:
None found= .

Features:
(shadow sort mail-extr emacsbug message rmc puny dire= d dired-loaddefs
format-spec rfc822 mml mml-sec password-cache epa deriv= ed epg epg-config
gnus-util rmail rmail-loaddefs text-property-search se= q byte-opt gv
bytecomp byte-compile cconv mm-decode mm-bodies mm-encode = mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2= 045
ietf-drums mm-util mail-prsvr mail-utils misearch multi-isearch vc-g= it
diff-mode easy-mmode bug-reference tree-widget pp wid-browse time-dat= e
subr-x thingatpt help-fns radix-tree help-mode cus-edit easymenu
cu= s-start cus-load wid-edit cl-loaddefs cl-lib tooltip eldoc electric
uniq= uify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/co= mmon-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-li= st 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 ch= am georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao ko= rean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech europe= an ethiopic indian cyrillic
chinese composite charscript charprop case-t= able epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-pre= loaded nadvice loaddefs
button faces cus-face macroexp files text-proper= ties overlay sha1 md5
base64 format env code-pages mule custom widget ha= shtable-print-readable
backquote threads dbusbind inotify lcms2 dynamic-= setting
system-font-setting font-render-setting move-toolbar gtk x-toolk= it x
multi-tty make-network-process emacs)

Memory information:((conses 8 72328 8712)
=C2=A0(symbols 24 8293 1)
=C2=A0(strings 16 2= 2023 3618)
=C2=A0(string-bytes 1 677388)
=C2=A0(vectors 8 13128)
= =C2=A0(vector-slots 4 158606 15190)
=C2=A0(floats 8 30 44)
=C2=A0(int= ervals 28 268 6)
=C2=A0(buffers 564 15)
=C2=A0(heap 1024 8431 746))
--000000000000c93ab805911a5926--