emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r116213: Fix for c-submit-bug-report and reporter.el


From: Glenn Morris
Subject: [Emacs-diffs] trunk r116213: Fix for c-submit-bug-report and reporter.el void-variable handling
Date: Fri, 31 Jan 2014 02:39:44 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 116213
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/16592
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Thu 2014-01-30 21:39:40 -0500
message:
  Fix for c-submit-bug-report and reporter.el void-variable handling
  
  * lisp/mail/reporter.el (reporter-dump-variable): In case of void-variable,
  do not mess with mail-buffer position (fixes 2009-11-03 change).
  
  * lisp/progmodes/cc-mode.el (c-submit-bug-report):
  Check auto-fill-mode is bound.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/mail/reporter.el          reporter.el-20091113204419-o5vbwnq5f7feedwu-592
  lisp/progmodes/cc-mode.el      ccmode.el-20091113204419-o5vbwnq5f7feedwu-1230
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-01-31 01:58:51 +0000
+++ b/lisp/ChangeLog    2014-01-31 02:39:40 +0000
@@ -1,3 +1,10 @@
+2014-01-31  Glenn Morris  <address@hidden>
+
+       * mail/reporter.el (reporter-dump-variable): In case of void-variable,
+       do not mess with mail-buffer position (fixes 2009-11-03 change).
+       * progmodes/cc-mode.el (c-submit-bug-report):
+       Check auto-fill-mode is bound.  (Bug#16592)
+
 2014-01-31  Darren Hoo  <address@hidden>
 
        * startup.el (fancy-splash-image-file): New function,

=== modified file 'lisp/mail/reporter.el'
--- a/lisp/mail/reporter.el     2014-01-01 07:43:34 +0000
+++ b/lisp/mail/reporter.el     2014-01-31 02:39:40 +0000
@@ -200,9 +200,10 @@
        (insert "\n"))
     (void-variable
      (with-current-buffer mailbuf
-       (mail-position-on-field "X-Reporter-Void-Vars-Found")
-       (end-of-line)
-       (insert (symbol-name varsym) " ")))
+       (save-excursion
+        (mail-position-on-field "X-Reporter-Void-Vars-Found")
+        (end-of-line)
+        (insert (symbol-name varsym) " "))))
     (error
      (error ""))))
 

=== modified file 'lisp/progmodes/cc-mode.el'
--- a/lisp/progmodes/cc-mode.el 2014-01-19 12:32:47 +0000
+++ b/lisp/progmodes/cc-mode.el 2014-01-31 02:39:40 +0000
@@ -1733,6 +1733,7 @@
                filladapt-mode
                defun-prompt-regexp
                font-lock-mode
+               auto-fill-mode
                font-lock-maximum-decoration
                parse-sexp-lookup-properties
                lookup-syntax-properties))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]