emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/hyperbole a44b392 34/50: Add UNIX shell error implicit


From: Stefan Monnier
Subject: [elpa] externals/hyperbole a44b392 34/50: Add UNIX shell error implicit button support
Date: Wed, 17 Mar 2021 18:44:20 -0400 (EDT)

branch: externals/hyperbole
commit a44b3920ca81976f5eee7c56106612ef9770f008
Author: Bob Weiner <rsw@gnu.org>
Commit: Bob Weiner <rsw@gnu.org>

    Add UNIX shell error implicit button support
---
 Changes | 4 ++++
 HY-NEWS | 5 ++++-
 hbut.el | 6 ++----
 3 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/Changes b/Changes
index b7568b5..f42945a 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,7 @@
+2021-02-18  Bob Weiner  <rsw@gnu.org>
+
+* hibtypes.el (grep-msg): Added UNIX shell error support.
+
 2021-02-15  Bob Weiner  <rsw@gnu.org>
 
 * hmouse-drv.el (hkey-window-link, hkey-ace-window-setup): Added Ace Window 
'w' command to
diff --git a/HY-NEWS b/HY-NEWS
index 8e41734..f2428e4 100644
--- a/HY-NEWS
+++ b/HY-NEWS
@@ -61,7 +61,7 @@
      | C-c C-<                    | C-c C->                     |
 
    - Klink Copy: New commands that copy a relative or absolute reference
-     to a kcell (a klink) to the kill ring or to an Emacs singe-letter
+     to a kcell (a klink) to the kill ring or to an Emacs single-letter
      named register:
        kotl-mode:copy-absolute-klink-to-kill-ring
        kotl-mode:copy-relative-klink-to-kill-ring
@@ -125,6 +125,9 @@
     - Magit Mode: Action Key expands/collapses like {TAB} and Assist Key
       jumps to items like {RET}.  See "(hyperbole)Smart Key - Magit Mode".
 
+    - UNIX Shell Errors: Jump to associated source line from a shell error of 
the
+      form:  "<pathname>: line <num>: ".
+
   BUTTON TYPES
 
     - {Key Series} Button Support for Helm and Counsel: Key series buttons
diff --git a/hbut.el b/hbut.el
index 935836c..ec8662d 100644
--- a/hbut.el
+++ b/hbut.el
@@ -1828,10 +1828,8 @@ LINK-EXPR may be:
 
 Prior to button activation, for the first three kinds of
 LINK-EXPR, a `replace-match' is done on the expression to
-generate the button-specific referent to display.  Thus, either
-the whole button text (\\\\&) or any numbered grouping from
-TEXT-REGEXP, e.g. \\\\1, may be referenced in the LINK-EXPR to
-form the link referent.
+generate the button-specific referent to display, substituting
+\\\\1 in the LINK-EXPR for the text/label from the button.
 
 Here is a sample use case.  If you use Python and have a
 PYTHONPATH environment variable, then pressing \\[eval-last-sexp]



reply via email to

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