From unknown Mon Jun 23 16:49:20 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2349: 23.0.90; [PATCH]: report-emacs-bug - extend stickyness property region Reply-To: Xavier Maillard , 2349@debbugs.gnu.org Resent-From: Xavier Maillard Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 16 Feb 2009 21:35:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 2349 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123481955826386 (code B ref -1); Mon, 16 Feb 2009 21:35:05 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 16 Feb 2009 21:25:58 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.1 required=4.0 tests=FOURLA,IMPRONONCABLE_2, MURPHY_DRUGS_REL8 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1GLPoPw026364 for ; Mon, 16 Feb 2009 13:25:52 -0800 Received: from mx10.gnu.org ([199.232.76.166]:48620) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LZAwM-00028R-0g for emacs-pretest-bug@gnu.org; Mon, 16 Feb 2009 16:23:46 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LZAyI-0001rh-Qn for emacs-pretest-bug@gnu.org; Mon, 16 Feb 2009 16:25:50 -0500 Received: from ded1.conovae.com ([88.191.52.166]:37168 helo=mf1.conovae.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LZAyI-0001rV-7y for emacs-pretest-bug@gnu.org; Mon, 16 Feb 2009 16:25:46 -0500 Received: by mf1.conovae.net (Postfix, from userid 10) id DB2C12613A1; Mon, 16 Feb 2009 22:25:20 +0100 (CET) Received: from zogzog.maillard.mobi (IDENT:1000@localhost [127.0.0.1]) by zogzog.maillard.mobi (8.14.3/8.13.8) with ESMTP id n1GLP39t002840 for ; Mon, 16 Feb 2009 22:25:03 +0100 Received: (from xma@localhost) by zogzog.maillard.mobi (8.14.3/8.13.8/Submit) id n1GLP2Vm002839; Mon, 16 Feb 2009 22:25:02 +0100 Date: Mon, 16 Feb 2009 22:25:02 +0100 Message-Id: <200902162125.n1GLP2Vm002839@zogzog.maillard.mobi> From: Xavier Maillard To: emacs-pretest-bug@gnu.org Organization: GNU's Not UNIX! User-Agent: Rmail GNU emacs 23.0 on Slackware 12.2.0 Jabber-ID: xma01@jabber.fr X-UUCPssh-Information: Please contact the ISP for more information X-UUCPssh: Found to be clean X-UUCPssh-SpamCheck: not spam, SpamAssassin (not cached, score=-4.399, required 6, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-UUCPssh-From: xma@gnu.org X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) I think there is no need to let user modify the region going from user report text to recent keys, thus I think we could extend the sticky property to that region. Users still can modify recent keys section (to hide security details for example). Here is the proposed patch: diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index 7132da6..6dd7a6c 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el @@ -145,7 +145,6 @@ usually do not have translators to read other languages for them.\n\n") (if (file-readable-p debug-file) (insert "If you would like to further debug the crash, please read the file\n" debug-file " for instructions.\n"))) - (add-text-properties (1+ user-point) (point) prompt-properties) (insert "\n\nIn " (emacs-version) "\n") (if (fboundp 'x-server-vendor) @@ -180,6 +179,8 @@ usually do not have translators to read other languages for them.\n\n") (insert (format " %s: %s\n" mode (buffer-local-value mode from-buffer))))) (insert "\n") + (add-text-properties (1+ user-point) (point) prompt-properties) + (insert "Recent input:\n") (let ((before-keys (point))) (insert (mapconcat (lambda (key) With this proposed ChangeLog entry: 2009-02-16 Xavier Maillard * mail/emacsbug.el.new (report-emacs-bug): Extend stickiness property to major and minor modes section. Recent input: t o SPC M a j o m a j o r SPC a n d SPC m i n o r SPC m o d e s SPC d e t e c t i o n . C-x C-w C h a n . n e w M-x e d i f f - d i i m a i l M-x C-e C-g M-x e d i f f ? D D C-x o C-x 1 M-x d i f f - e d C-g M-x C-e b u f f q C-x C-w C C-g M-k M-k M-k C-x C-w e m a c s b u y M-x q M-x v c - d i f c M-x d i f f - u n i q = M-x M-x c M-x q C-x C-s M-x g i t C-g M-x C-x h M-w M-x r e p o r t Recent messages: Saving file /home/xma/usr/src/GITed/emacs/lisp/mail/emacsbug.el... Wrote /home/xma/usr/src/GITed/emacs/lisp/mail/emacsbug.el Finding changes in /home/xma/usr/src/GITed/emacs/lisp/mail/emacsbug.el...done Buffer is read-only: # Buffer is read-only: # Saving file /home/xma/usr/src/GITed/emacs/lisp/mail/emacsbug.el... Wrote /home/xma/usr/src/GITed/emacs/lisp/mail/emacsbug.el Quit Finding changes in /home/xma/usr/src/GITed/emacs/lisp/mail/emacsbug.el...done Mark set [2 times] Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From cyd@stupidchicken.com Wed Feb 18 15:30:42 2009 Received: (at control) by emacsbugs.donarmstrong.com; 18 Feb 2009 23:30:42 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=MURPHY_DRUGS_REL8, VALID_BTS_CONTROL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1INUaeN031290 for ; Wed, 18 Feb 2009 15:30:37 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id 6822457E1D7; Wed, 18 Feb 2009 18:31:30 -0500 (EST) From: Chong Yidong To: control@debbugs.gnu.org Subject: tag 2349 Date: Wed, 18 Feb 2009 18:31:30 -0500 Message-ID: <8763j7xqy5.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii severity 2349 minor tags 2349 + patch From unknown Mon Jun 23 16:49:20 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2349: 23.0.90; [PATCH]: report-emacs-bug - extend stickyness property region Reply-To: Xavier Maillard , 2349@debbugs.gnu.org Resent-From: Xavier Maillard Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 02 Mar 2009 01:35:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2349 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: patch Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12359571469364 (code B ref -1); Mon, 02 Mar 2009 01:35:03 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 2 Mar 2009 01:25:46 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=unavailable version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n221Phd9009349 for ; Sun, 1 Mar 2009 17:25:44 -0800 Received: from mail.gnu.org ([199.232.76.166]:53541 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LdwsL-0007UK-2s for emacs-pretest-bug@gnu.org; Sun, 01 Mar 2009 20:23:21 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Ldwub-00042g-4l for emacs-pretest-bug@gnu.org; Sun, 01 Mar 2009 20:25:42 -0500 Received: from ded1.conovae.com ([88.191.52.166]:39404 helo=mf1.conovae.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ldwua-00042Q-Pb for emacs-pretest-bug@gnu.org; Sun, 01 Mar 2009 20:25:40 -0500 Received: by mf1.conovae.net (Postfix, from userid 10) id 13C3B261395; Mon, 2 Mar 2009 02:24:28 +0100 (CET) Received: from zogzog.maillard.mobi (IDENT:1000@localhost [127.0.0.1]) by zogzog.maillard.mobi (8.14.3/8.13.8) with ESMTP id n221PC55004877; Mon, 2 Mar 2009 02:25:12 +0100 Received: (from xma@localhost) by zogzog.maillard.mobi (8.14.3/8.13.8/Submit) id n221PBaG004873; Mon, 2 Mar 2009 02:25:11 +0100 Date: Mon, 2 Mar 2009 02:25:11 +0100 Message-Id: <200903020125.n221PBaG004873@zogzog.maillard.mobi> From: Xavier Maillard To: 2349@debbugs.gnu.org CC: emacs-pretest-bug@gnu.org In-reply-to: message from Xavier Maillard on Mon, 16 Feb 2009 22:25:02 +0100 Organization: GNU's Not UNIX! User-Agent: Rmail GNU emacs 23.0 on Slackware 12.2.0 Jabber-ID: xma01@jabber.fr References: X-UUCPssh-Information: Please contact the ISP for more information X-UUCPssh: Found to be clean X-UUCPssh-SpamCheck: not spam, SpamAssassin (not cached, score=-4.399, required 6, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-UUCPssh-From: xma@gnu.org X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-CrossAssassin-Score: 2 There was a typo in the proposed ChangeLog entry. Here is the correct one. 2009-02-16 Xavier Maillard * mail/emacsbug.el (report-emacs-bug): Extend stickiness properties to major and minor modes detection. Regards Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From unknown Mon Jun 23 16:49:20 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Xavier Maillard Subject: bug#2349 closed by Glenn Morris (Re: Bug#2349: report-emacs-bug - extend stickyness property region) Message-ID: References: <200902162125.n1GLP2Vm002839@zogzog.maillard.mobi> X-Emacs-PR-Message: they-closed 2349 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: patch Reply-To: 2349@debbugs.gnu.org Date: Fri, 11 Dec 2009 01:30:06 +0000 Content-Type: multipart/mixed; boundary="----------=_1260495006-23276-1" This is a multi-part message in MIME format... ------------=_1260495006-23276-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #2349: 23.0.90; [PATCH]: report-emacs-bug - extend stickyness property regi= on It has been closed by Glenn Morris . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Glenn Morris by replying to this email. --=20 2349: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D2349 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1260495006-23276-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2349-done) by emacsbugs.donarmstrong.com; 11 Dec 2009 01:21:51 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.1 required=4.0 tests=AWL,FAKE_REPLY_C, HAS_BUG_NUMBER,MURPHY_DRUGS_REL8,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nBB1LnmA022747 for <2349-done@emacsbugs.donarmstrong.com>; Thu, 10 Dec 2009 17:21:50 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1NIuCa-0003ri-Tc; Thu, 10 Dec 2009 20:21:48 -0500 From: Glenn Morris To: 2349-done@debbugs.gnu.org Subject: Re: Bug#2349: report-emacs-bug - extend stickyness property region X-Spook: Marxist rs9512c anarchy SHA broadside clones Audiotel ICE X-Ran: Prfk.w2A`hnTw@|!:RV/1Z0j}O?E-yeVn!H*7|`8;MipX!e>`zMai,G+* User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Thanks for the patch, but it isn't appropriate. The propertized regions are just used to mark non-interesting boilerplate text that is automatically stripped before sending the bug report. These regions should not be extended to cover potentially useful data. ------------=_1260495006-23276-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 16 Feb 2009 21:25:58 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.1 required=4.0 tests=FOURLA,IMPRONONCABLE_2, MURPHY_DRUGS_REL8 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1GLPoPw026364 for ; Mon, 16 Feb 2009 13:25:52 -0800 Received: from mx10.gnu.org ([199.232.76.166]:48620) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LZAwM-00028R-0g for emacs-pretest-bug@gnu.org; Mon, 16 Feb 2009 16:23:46 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LZAyI-0001rh-Qn for emacs-pretest-bug@gnu.org; Mon, 16 Feb 2009 16:25:50 -0500 Received: from ded1.conovae.com ([88.191.52.166]:37168 helo=mf1.conovae.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LZAyI-0001rV-7y for emacs-pretest-bug@gnu.org; Mon, 16 Feb 2009 16:25:46 -0500 Received: by mf1.conovae.net (Postfix, from userid 10) id DB2C12613A1; Mon, 16 Feb 2009 22:25:20 +0100 (CET) Received: from zogzog.maillard.mobi (IDENT:1000@localhost [127.0.0.1]) by zogzog.maillard.mobi (8.14.3/8.13.8) with ESMTP id n1GLP39t002840 for ; Mon, 16 Feb 2009 22:25:03 +0100 Received: (from xma@localhost) by zogzog.maillard.mobi (8.14.3/8.13.8/Submit) id n1GLP2Vm002839; Mon, 16 Feb 2009 22:25:02 +0100 Date: Mon, 16 Feb 2009 22:25:02 +0100 Message-Id: <200902162125.n1GLP2Vm002839@zogzog.maillard.mobi> From: Xavier Maillard To: emacs-pretest-bug@gnu.org Subject: 23.0.90; [PATCH]: report-emacs-bug - extend stickyness property region Organization: GNU's Not UNIX! User-Agent: Rmail GNU emacs 23.0 on Slackware 12.2.0 Jabber-ID: xma01@jabber.fr Reply-to: Xavier Maillard X-UUCPssh-Information: Please contact the ISP for more information X-UUCPssh: Found to be clean X-UUCPssh-SpamCheck: not spam, SpamAssassin (not cached, score=-4.399, required 6, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-UUCPssh-From: xma@gnu.org X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) I think there is no need to let user modify the region going from user report text to recent keys, thus I think we could extend the sticky property to that region. Users still can modify recent keys section (to hide security details for example). Here is the proposed patch: diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index 7132da6..6dd7a6c 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el @@ -145,7 +145,6 @@ usually do not have translators to read other languages for them.\n\n") (if (file-readable-p debug-file) (insert "If you would like to further debug the crash, please read the file\n" debug-file " for instructions.\n"))) - (add-text-properties (1+ user-point) (point) prompt-properties) (insert "\n\nIn " (emacs-version) "\n") (if (fboundp 'x-server-vendor) @@ -180,6 +179,8 @@ usually do not have translators to read other languages for them.\n\n") (insert (format " %s: %s\n" mode (buffer-local-value mode from-buffer))))) (insert "\n") + (add-text-properties (1+ user-point) (point) prompt-properties) + (insert "Recent input:\n") (let ((before-keys (point))) (insert (mapconcat (lambda (key) With this proposed ChangeLog entry: 2009-02-16 Xavier Maillard * mail/emacsbug.el.new (report-emacs-bug): Extend stickiness property to major and minor modes section. Recent input: t o SPC M a j o m a j o r SPC a n d SPC m i n o r SPC m o d e s SPC d e t e c t i o n . C-x C-w C h a n . n e w M-x e d i f f - d i i m a i l M-x C-e C-g M-x e d i f f ? D D C-x o C-x 1 M-x d i f f - e d C-g M-x C-e b u f f q C-x C-w C C-g M-k M-k M-k C-x C-w e m a c s b u y M-x q M-x v c - d i f c M-x d i f f - u n i q = M-x M-x c M-x q C-x C-s M-x g i t C-g M-x C-x h M-w M-x r e p o r t Recent messages: Saving file /home/xma/usr/src/GITed/emacs/lisp/mail/emacsbug.el... Wrote /home/xma/usr/src/GITed/emacs/lisp/mail/emacsbug.el Finding changes in /home/xma/usr/src/GITed/emacs/lisp/mail/emacsbug.el...done Buffer is read-only: # Buffer is read-only: # Saving file /home/xma/usr/src/GITed/emacs/lisp/mail/emacsbug.el... Wrote /home/xma/usr/src/GITed/emacs/lisp/mail/emacsbug.el Quit Finding changes in /home/xma/usr/src/GITed/emacs/lisp/mail/emacsbug.el...done Mark set [2 times] Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org ------------=_1260495006-23276-1--