GNU bug report logs - #18464
kill-ring-save and yank error in prog-mode.el

Previous Next

Package: emacs;

Reported by: Alan Mackenzie <acm <at> muc.de>

Date: Fri, 12 Sep 2014 20:00:04 UTC

Severity: minor

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 18464 in the body.
You can then email your comments to 18464 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#18464; Package emacs. (Fri, 12 Sep 2014 20:00:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alan Mackenzie <acm <at> muc.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 12 Sep 2014 20:00:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: bug-gnu-emacs <at> gnu.org
Subject: kill-ring-save and yank error in prog-mode.el
Date: Fri, 12 Sep 2014 19:46:32 +0000
Hi, Emacs.

`prog-mode-hook''s doc string is

    "Normal hook run when entering Text mode and many related modes."

.  This string was copied from `text-mode-hook' without alteration.  It
needs alteration, having nothing to do with Text mode and a lot to do
with `prog-mode'.

-- 
Alan Mackenzie (Nuremberg, Germany).




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18464; Package emacs. (Wed, 17 Sep 2014 23:01:02 GMT) Full text and rfc822 format available.

Message #8 received at 18464 <at> debbugs.gnu.org (full text, mbox):

From: Tom Willemse <tom <at> ryuslash.org>
To: 18464 <at> debbugs.gnu.org
Cc: acm <at> muc.de
Subject: [Patch] Change prog-mode-hook's docstring
Date: Thu, 18 Sep 2014 01:00:06 +0200
[Message part 1 (text/plain, inline)]
Hey,

I hope it's ok that I'm replying to this bug.

I've attached a suggestion for changing the docstring of
`prog-mode-hook'. Please let me know what you think.

[fix-18464.patch (text/x-diff, inline)]
# Bazaar merge directive format 2 (Bazaar 0.90)
# revision_id: tom <at> ryuslash.org-20140917223214-k32exnyam84hf1ws
# target_branch: bzr://bzr.sv.gnu.org/emacs/trunk/
# testament_sha1: 745fbfadba7729c1a198e561a7a4b4ec74ade7c8
# timestamp: 2014-09-18 00:54:08 +0200
# base_revision_id: eggert <at> cs.ucla.edu-20140917195831-xarn36t9318izhtl
# 
# Begin patch
=== modified file 'lisp/ChangeLog'
--- lisp/ChangeLog	2014-09-17 09:17:27 +0000
+++ lisp/ChangeLog	2014-09-17 22:32:14 +0000
@@ -1,3 +1,8 @@
+2014-09-17  Tom Willemse  <tom <at> ryuslash.org>
+
+	* progmodes/prog-mode.el (prog-mode-hook): Replace reference to
+	Text mode in docstring.
+
 2014-09-17  Reuben Thomas  <rrt <at> sc3d.org>
 
 	* progmodes/js.el: Add interpreter-mode-alist support for various

=== modified file 'lisp/progmodes/prog-mode.el'
--- lisp/progmodes/prog-mode.el	2014-08-08 13:51:47 +0000
+++ lisp/progmodes/prog-mode.el	2014-09-17 22:32:14 +0000
@@ -36,7 +36,7 @@
   :group 'languages)
 
 (defcustom prog-mode-hook nil
-  "Normal hook run when entering Text mode and many related modes."
+  "Normal hook run when entering programming modes."
   :type 'hook
   :options '(flyspell-prog-mode abbrev-mode flymake-mode linum-mode
                                 prettify-symbols-mode)

# Begin bundle
IyBCYXphYXIgcmV2aXNpb24gYnVuZGxlIHY0CiMKQlpoOTFBWSZTWR/gXuQAAiXfgAAwUHP/91sF
FIC////wUAS087jNi949KjNuuoSSImh6JhKfpppo0FPGkyJk8oB6QSlNMmCTxTyTRAANAAAAEoIE
Kep+po0ahoAAAA0AEikU/T1InlGTTR6T1GnogABoA0Ekkyap5kJNqbRqngyptT0EyA00eo9S5PPZ
DqoxaOwp7la5KU7JSalac4YIhOIvNrCK1QupGq/goPSDAzN39w/T5NdDmfQ07RtIz5c2wzv8EyjP
Hmr4iNtS71n7YifGeYllYHqF1d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SxqOIb5hYjh61J6glVm9RSIfFrygIp2CIRWkkyWb0ZPYQ5EImPAjuLdhKGRG
3bEFyUqb0MVrNrBDxryRFFo1eCwwPZP1A8gF87KGfqDCM9e6aVNaDkTKe0tRjTHDD03rjiTHgp87
jJ7iG8wksUZe1+4PMC0NEckwHRgLlIDi4R6XwrRqr/F3JFOFCQH+Be5A

Reply sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
You have taken responsibility. (Sun, 21 Sep 2014 22:08:02 GMT) Full text and rfc822 format available.

Notification sent to Alan Mackenzie <acm <at> muc.de>:
bug acknowledged by developer. (Sun, 21 Sep 2014 22:08:02 GMT) Full text and rfc822 format available.

Message #13 received at 18464-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Tom Willemse <tom <at> ryuslash.org>
Cc: 18464-done <at> debbugs.gnu.org, acm <at> muc.de
Subject: Re: bug#18464: [Patch] Change prog-mode-hook's docstring
Date: Sun, 21 Sep 2014 18:07:41 -0400
> I've attached a suggestion for changing the docstring of
> `prog-mode-hook'. Please let me know what you think.

Thanks, installed,


        Stefan




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 20 Oct 2014 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 247 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.