From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id DtPHOvcxpV4OJgAA0tVLHw (envelope-from ) for ; Sun, 26 Apr 2020 07:02:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id mBdQBf8xpV6bJQAA1q6Kng (envelope-from ) for ; Sun, 26 Apr 2020 07:02:23 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DBC54943247 for ; Sun, 26 Apr 2020 07:02:21 +0000 (UTC) Received: from localhost ([::1]:53512 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSbIz-0008SA-Ge for larch@yhetil.org; Sun, 26 Apr 2020 03:02:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44338) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSVgO-0005F9-Jt for emacs-orgmode@gnu.org; Sat, 25 Apr 2020 21:02:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSVgM-0000fn-H9 for emacs-orgmode@gnu.org; Sat, 25 Apr 2020 21:02:08 -0400 Received: from mout01.posteo.de ([185.67.36.65]:60474) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jSVgL-0000ej-GW for emacs-orgmode@gnu.org; Sat, 25 Apr 2020 21:02:06 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 759E416005C for ; Sun, 26 Apr 2020 03:01:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.mx; s=2017; t=1587862919; bh=EDIPoyxDj/Cm8x9tHhMjwbPOp6TagaaXRB1gv+4lWJ4=; h=From:To:Subject:Date:From; b=WWLK8CGRuBJJqNhx1nEb38vTIaGaSh6rLJIKvzZ5OerOiKDH67vv1IhC11Pv0GrPD ojGJWrkILZ5h2uXu9mQmOIn5wgp9l/tey0LHwRAZ+HoKDense/HFS5nt8LxHqc1sgd rfm96jlcsyScdnVOS7Ulal9tscLGUfKFseJ06VzH6MGF8A4XYrBoArSIUd52gNYREm RgoVaqR1ulQkDo4KyrmGivUdhcRN7S7RXpQfFzbAavHesgMxsuaAj8uIReYGM0K2oB 2bR1Nz4IdmvcmCSOQ7vmFHsz9uvFWc2fFzTgFB3qGC/EShReJu0p2UvzvVqROx81h2 tYAkdEii99ApA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 498qPL4PdLz6tmP for ; Sun, 26 Apr 2020 03:01:58 +0200 (CEST) From: Achilles Yuce To: emacs-orgmode@gnu.org Subject: 28.0.50; [bug] Inside help buffers escaped symbol[s] causing a problem. Date: Sun, 26 Apr 2020 04:01:57 +0300 Message-ID: <86eesbcb5m.fsf@posteo.mx> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=ayuce@posteo.mx; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/25 21:01:59 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Received-From: 185.67.36.65 X-Mailman-Approved-At: Sun, 26 Apr 2020 03:01:29 -0400 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 X-Spam-Score: -1.71 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.mx header.s=2017 header.b=WWLK8CGR; dmarc=pass (policy=none) header.from=posteo.mx; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Scan-Result: default: False [-1.71 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.55866072314346]; DWL_DNSWL_BLOCKED(0.00)[posteo.mx:dkim,209.51.188.17:from]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.20), country: US(-0.00), ip: 209.51.188.17(-0.56)]; TO_DN_NONE(0.00)[]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; DKIM_TRACE(0.00)[posteo.mx:+]; DMARC_POLICY_ALLOW(-0.50)[posteo.mx,none]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; FROM_NEQ_ENVFROM(0.00)[ayuce@posteo.mx,emacs-orgmode-bounces@gnu.org]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[posteo.mx:s=2017]; URIBL_BLOCKED(0.00)[posteo.mx:dkim,x.org:url]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[emacs-orgmode@gnu.org]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_SEVEN(0.00)[7]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: geTbR9dgFcLs Hello Everyone, After using `org-store-link`; i was expecting to jump back to what i stored which is the buffer to see after evaluating (describe-symbol '\`) but instead i got an `user-error` as you can see in [Recent messages:] section in this report. I believe this shouldn't be the case. My exact steps included in [Losage:] section. FWIW I somehow managed to fix it by removing the '\'s from the captured string defined in lisp/org/ol.el file. Also adding diff output. Sincerely, -- Achilles Yuce GPG: B631 00A1 35BC 97C2 24A1 3306 44F9 71F3 1CCF 32E2 ========================================================================= Emacs Command: emacs -Q Starting Buffer: *scratch* Lossage: [`self-insert-command`s simplified for readability] M-x ;; execute-extended-command org-mode ;; self-insert-command ;; minibuffer-complete-and-exit C-h o ;; describe-symbol ` ;; self-insert-command ;; minibuffer-complete-and-exit C-x o ;; other-window M-x ;; execute-extended-command org-store-link ;; self-insert-command ;; minibuffer-complete-and-exit C-x o ;; other-window C-c C-l ;; org-insert-link M-p ;; previous-history-element ;; exit-minibuffer backquote ;; self-insert-command ;; exit-minibuffer C-b ;; backward-char C-c C-o ;; org-open-at-point Recent messages: Stored: help:\` user-error: Unknown function or variable: \` Diff: --- a/lisp/org/ol.el +++ b/lisp/org/ol.el @@ -1465,10 +1465,11 @@ org-store-link (org-link-store-props :type "calendar" :date cd))) ((eq major-mode 'help-mode) - (setq link (concat "help:" (save-excursion - (goto-char (point-min)) - (looking-at "^[^ ]+") - (match-string 0)))) + (setq link (replace-regexp-in-string "\\\\" "" + (concat "help:" (save-excursion + (goto-char (point-min)) + (looking-at "^[^ ]+") + (match-string 0))))) (org-link-store-props :type "help")) ((eq major-mode 'w3-mode) In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.17, cairo version 1.17.3) of 2020-04-26 built on machine Repository revision: 9dccaf8a5cdb10dae597345ec3741475477a7d97 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: Arch Linux Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Org 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 sendmail timezone eieio-opt cl-extra speedbar ezimage dframe thingatpt help-fns radix-tree help-mode org-element avl-tree generator ol-eww ol-rmail ol-mhe ol-irc ol-info ol-gnus nnir gnus-sum url url-proxy url-privacy url-expand url-methods url-history mailcap shr url-cookie url-domsuf url-util url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs json map url-vars svg xml dom browse-url gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range message rmc puny rfc822 mml mml-sec password-cache epa derived epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums text-property-search seq byte-opt gv bytecomp byte-compile cconv mail-utils mm-util mail-prsvr wid-edit ol-docview doc-view jka-compr image-mode exif dired dired-loaddefs ol-bibtex bibtex ol-bbdb ol-w3m org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete comint ansi-color ring org-list org-faces org-entities time-date subr-x noutline outline easy-mmode org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat advice org-macs org-loaddefs format-spec find-func cal-menu easymenu calendar cal-loaddefs 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 tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer 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 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 cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 160413 38075) (symbols 48 18241 1) (strings 32 61281 2269) (string-bytes 1 2009141) (vectors 16 28851) (vector-slots 8 326560 14198) (floats 8 197 289) (intervals 56 249 0) (buffers 1000 12))