From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vangelis Evangelou Newsgroups: gmane.emacs.bugs Subject: bug#46042: 27.1; xref-revert-buffer will delete buffer contents Date: Fri, 22 Jan 2021 19:12:25 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27449"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 To: 46042@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 22 20:24:31 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l322n-0006wg-Q7 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Jan 2021 20:24:29 +0100 Original-Received: from localhost ([::1]:37926 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l322m-0005Bh-SW for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Jan 2021 14:24:28 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l322M-0005BQ-1h for bug-gnu-emacs@gnu.org; Fri, 22 Jan 2021 14:24:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49815) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l322L-0001D4-QV for bug-gnu-emacs@gnu.org; Fri, 22 Jan 2021 14:24:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l322L-00038e-MR for bug-gnu-emacs@gnu.org; Fri, 22 Jan 2021 14:24:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Vangelis Evangelou Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Jan 2021 19:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46042 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.161134344012053 (code B ref -1); Fri, 22 Jan 2021 19:24:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Jan 2021 19:24:00 +0000 Original-Received: from localhost ([127.0.0.1]:33128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l322K-00038L-5x for submit@debbugs.gnu.org; Fri, 22 Jan 2021 14:24:00 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:57226) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l31rI-0002qt-06 for submit@debbugs.gnu.org; Fri, 22 Jan 2021 14:12:37 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l31rG-0002mb-32 for bug-gnu-emacs@gnu.org; Fri, 22 Jan 2021 14:12:35 -0500 Original-Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:40029) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l31rC-00053l-45 for bug-gnu-emacs@gnu.org; Fri, 22 Jan 2021 14:12:33 -0500 Original-Received: by mail-wr1-x42b.google.com with SMTP id c12so6096533wrc.7 for ; Fri, 22 Jan 2021 11:12:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=qWe0Ez3OUStRhKe7FgKiUgF55CWQ3ywG7Cz4Ly+WGSU=; b=T+whBcBrx2gm39octAp8RQN/kNoDRXu9K4on73AHSLGRmvgjRF2vWNNUQrApUpLjUG OFVwB5l3lJsQTx8IfIZzxwkBcyZcgvh38Zwwn6xsPQqYaWrpMrdEbgofgjGQ0vsYmJ/u 1MsgfA9dcOb0aWkiTDqHrYidsyCoRabrz4by7rlHCCUtZtFzic+XmRQsl/n5iDX0KiC0 zGvwnr8f6sqLqnOTThSpFZ3pjn+8YUuDP1e+Pdn5nNQ6ZdeBc74rXiuDn97UEEWCMohi pTIt00fFjS9p9nK2+KNhR0YgxE0do1J1fDvkX/zlA/4u56aGAFvuffgwClpul+v+LRjk Adbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=qWe0Ez3OUStRhKe7FgKiUgF55CWQ3ywG7Cz4Ly+WGSU=; b=RQQ55dDv66ARaUFrrY2yawbTztC6/nEA/aPdWM75s/RT6QG29DNa5AEfUC8MjKlsnc FhJsFiIbC9fpPWFDOpKAF/rB9tdtI8S27gvzLVK/WrOzCKXfuwgFEo4NdV/FFqYqyC3Q C9mFHG3HmwkJ1Lxs06fTNwNxUaT3TdyOzuVVAGWL2+AJSEPNI+xG+TM9DgTne9VDYjd5 wFKJw+IA30qOoplOfA6zCaAiQyVimUw1rd8KwoXeJ2lqAr1ZRkSD8ZUphWUnKcTtueWM LA4TQP5IsXHFM8GGVRK+pUu7H3WxoFM1rN8EOZgijVW+VT/lg+xwgXEca2B5Hj2khxjZ 4rBA== X-Gm-Message-State: AOAM5336+7t1+xezUeECe3hQjwgtYx8qcN/twlVwo+bNsKewMM6Bmk6r 8J69Z70Y5t72+z3VwR++iYO3xEGP6koTPw== X-Google-Smtp-Source: ABdhPJxoEsVHaCmWX6HRPmkxPALhlc3ZKFqEn+uFqvk4uldRZgYeXayrSsbPBc0RJUZ6QSL0gKw1ng== X-Received: by 2002:a5d:4b46:: with SMTP id w6mr5986847wrs.346.1611342747233; Fri, 22 Jan 2021 11:12:27 -0800 (PST) Original-Received: from [192.168.1.60] ([84.66.16.70]) by smtp.gmail.com with ESMTPSA id d2sm13142397wre.39.2021.01.22.11.12.26 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 22 Jan 2021 11:12:26 -0800 (PST) Content-Language: en-GB Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=evangelou@gmail.com; helo=mail-wr1-x42b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 22 Jan 2021 14:23:58 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:198395 Archived-At: Hello. In a scratch buffer containing some text, run the function xref-revert-buffer. The buffer content will be deleted and it is not possible to undo. The function should check that it is applied in a suitable buffer before modifying the buffer. In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2020-08-11 built on ThinkPad-T410 Windowing system distributor 'The X.Org Foundation', version 11.0.12009000 System Description: Linux Mint 20.1 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Loading xref...done xref-revert-buffer: Symbol’s function definition is void: nil primitive-undo: Changes to be undone are outside visible portion of buffer Configured using: 'configure --without-pop --with-x-toolkit=lucid --with-file-notification=inotify --with-x --with-modules' Configured features: XAW3D 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 LUCID X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Important settings: value of $LC_MONETARY: en_GB.UTF-8 value of $LC_NUMERIC: en_GB.UTF-8 value of $LC_TIME: en_GB.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction 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 dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils xref cl-seq project ring eieio byte-opt bytecomp byte-compile cconv eieio-core cl-macs gv eieio-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 x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 51127 7472) (symbols 48 6843 1) (strings 32 18319 1645) (string-bytes 1 591343) (vectors 16 11607) (vector-slots 8 156041 10294) (floats 8 21 31) (intervals 56 210 0) (buffers 1000 11))