auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 4b66b9f60e3ce4a552bd4


From: Mosè Giordano
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 4b66b9f60e3ce4a552bd4f3230b659347add1446
Date: Fri, 12 Jan 2018 05:35:20 -0500 (EST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  4b66b9f60e3ce4a552bd4f3230b659347add1446 (commit)
      from  3e57fbe2a5e081838c594503340c7489bc1041d7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4b66b9f60e3ce4a552bd4f3230b659347add1446
Author: Mosè Giordano <address@hidden>
Date:   Fri Jan 12 11:32:18 2018 +0100

    Do not actually write bug report instructions
    
    * tex.el (TeX-submit-bug-report): Use `propertize' to show instructions 
without
      writing them in the message.

diff --git a/tex.el b/tex.el
index c923212..6d946f0 100644
--- a/tex.el
+++ b/tex.el
@@ -6231,14 +6231,36 @@ information about your AUCTeX version and AUCTeX 
configuration."
           'TeX-parse-self
           'TeX-master
           'TeX-command-list)
-     nil nil
-     "Remember to cover the basics, that is, what you expected to happen and
+     nil
+     ;; reporter adds too many new lines around salutation text, that we don't
+     ;; want, since it's itself a new line.
+     (lambda ()
+       (save-excursion
+        (goto-char (point-min))
+        (re-search-forward mail-header-separator)
+        (forward-char)
+        (delete-char 1)
+        (forward-char)
+        (delete-char 2)))
+     (propertize
+      "\n" 'display
+      (with-temp-buffer
+       (insert
+        "Remember to cover the basics, that is, what you expected to happen and
 what in fact did happen.
 
 Be sure to consult the FAQ section in the manual before submitting
 a bug report.  In addition check if the bug is reproducable with an
 up-to-date version of AUCTeX.  So please upgrade to the version
-available from http://www.gnu.org/software/auctex/ if your
+available from ")
+       (insert-text-button
+        "http://www.gnu.org/software/auctex/";
+        'face 'link
+        'help-echo (concat "mouse-2, RET: Follow this link")
+        'action (lambda (button)
+                  (browse-url "http://www.gnu.org/software/auctex/";))
+        'follow-link t)
+       (insert " if your
 installation is older than the one available from the web site.
 
 If the bug is triggered by a specific \(La\)TeX file, you should try
@@ -6246,9 +6268,17 @@ to produce a minimal sample file showing the problem and 
include it
 in your report.
 
 Your report will be posted for the auctex package at the GNU bug
-tracker.  Visit http://debbugs.gnu.org/cgi/pkgreport.cgi?pkg=auctex
-to browse existing AUCTeX bugs.
-------------------------------------------------------------------------")))
+tracker.  Visit ")
+       (insert-text-button
+        "http://debbugs.gnu.org/cgi/pkgreport.cgi?pkg=auctex";
+        'face 'link
+        'help-echo (concat "mouse-2, RET: Follow this link")
+        'action (lambda (button)
+                  (browse-url 
"http://debbugs.gnu.org/cgi/pkgreport.cgi?pkg=auctex";))
+        'follow-link t)
+       (insert "\nto browse existing AUCTeX bugs.
+------------------------------------------------------------------------\n\n")
+       (buffer-string))))))
 
 
 ;;; Documentation

-----------------------------------------------------------------------

Summary of changes:
 tex.el | 42 ++++++++++++++++++++++++++++++++++++------
 1 file changed, 36 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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