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

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

[elpa] externals/hyperbole ddd114d 01/53: 2016-08-12 Bob Weiner <address


From: Robert Weiner
Subject: [elpa] externals/hyperbole ddd114d 01/53: 2016-08-12 Bob Weiner <address@hidden>
Date: Wed, 15 Nov 2017 22:46:55 -0500 (EST)

branch: externals/hyperbole
commit ddd114d7e6ca0221636ecd15b7aa7d34e4c19d54
Author: Bob Weiner <address@hidden>
Commit: Bob Weiner <address@hidden>

    2016-08-12  Bob Weiner  <address@hidden>
    
    * hui-mini.el (hui:menu-enter): Fixed potential error of 
(wrong-type-argument char-or-string-p 134217741)
        when insert was called with a non-character code integer.
    
    2016-08-10  Bob Weiner  <address@hidden>
    
    * HY-ANNOUNCE-SHORT - Added as a shorter release announcement.
    
    * HY-ABOUT, README, README.md, README.md.html - Synchronized with Hyperbole 
web home page
        and typo fixes.
    
    * hpath.el (hpath:external-open-office-suffixes): Added external display of
        Open Office documents based on this new option.
               (hpath:command-string): Quoted filename argument to allow spaces 
in filenames.
        This fixed an issue when an external viewer such as `open' was called 
under OS X
        and the filename to be opened contained spaces.
    
    * hyperbole.el (Maintainer): Changed back to single line so ELPA parses it 
correctly.
    
    * hib-debbugs.el (debbugs-gnu-query:list):
      hyperbole.el (hkey-global-set-key, Info-directory-list):
      hvar.el (var:append): Removed improper function quoting of variable.
    
    
==============================================================================
    V6.0.3 changes ^^^^:
    
==============================================================================
---
 Changes           |  30 +++++++++++++++
 HY-ABOUT          |   2 +-
 HY-ANNOUNCE       |  12 +++---
 HY-ANNOUNCE-SHORT | 109 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 README            |   8 +++-
 README.md         |  43 +++++++++++++++------
 README.md.html    |  45 +++++++++++++++++-----
 hib-debbugs.el    |   2 +-
 hpath.el          |  32 +++++++++++-----
 hui-mini.el       |   3 +-
 hvar.el           |   2 +-
 hyperbole.el      |   7 ++--
 12 files changed, 249 insertions(+), 46 deletions(-)

diff --git a/Changes b/Changes
index 7f9bb15..ebe768b 100644
--- a/Changes
+++ b/Changes
@@ -1,7 +1,37 @@
 -- Almost all changes listed herein are new as of 2016. --
 
+2016-08-12  Bob Weiner  <address@hidden>
+
+* hui-mini.el (hui:menu-enter): Fixed potential error of (wrong-type-argument 
char-or-string-p 134217741)
+    when insert was called with a non-character code integer.
+
+2016-08-10  Bob Weiner  <address@hidden>
+
+* HY-ANNOUNCE-SHORT - Added as a shorter release announcement.
+
+* HY-ABOUT, README, README.md, README.md.html - Synchronized with Hyperbole 
web home page
+    and typo fixes.
+
+* hpath.el (hpath:external-open-office-suffixes): Added external display of
+    Open Office documents based on this new option.
+           (hpath:command-string): Quoted filename argument to allow spaces in 
filenames.
+    This fixed an issue when an external viewer such as `open' was called 
under OS X
+    and the filename to be opened contained spaces.
+
+* hyperbole.el (Maintainer): Changed back to single line so ELPA parses it 
correctly.
+
+* hib-debbugs.el (debbugs-gnu-query:list): 
+  hyperbole.el (hkey-global-set-key, Info-directory-list): 
+  hvar.el (var:append): Removed improper function quoting of variable.
+
+==============================================================================
+V6.0.3 changes ^^^^:
+==============================================================================
+
 2016-08-08  Bob Weiner  <address@hidden>
 
+* Makefile (release, elpa, ftp): Updated to work better.
+
 * hactypes.el (link-to-web-search): Added so Hyperbole global and explicit 
buttons can execute web searches.
   hsettings.el (hyperbole-read-web-search-arguments): Added and used in 
hyperbole-web-search and link-to-web-search.
   DEMO (Sample Explicit Buttons and Types):
diff --git a/HY-ABOUT b/HY-ABOUT
index 00cd435..48b902f 100644
--- a/HY-ABOUT
+++ b/HY-ABOUT
@@ -44,7 +44,7 @@ Hyperbole consists of five parts:
        context-sensitive operations across emacs usage, including
        activating and showing help for Hyperbole buttons.  In many
        popular Emacs modes, they allow you to perform common, sometimes
-       complex operations without having to a different key for each
+       complex operations without having to use a different key for each
        operation.  Just press a Smart Key and the right thing happens;
 
    2.  Contact and Text Finder: an interactive textual information
diff --git a/HY-ANNOUNCE b/HY-ANNOUNCE
index b3a88bb..f2cc6bd 100644
--- a/HY-ANNOUNCE
+++ b/HY-ANNOUNCE
@@ -1,7 +1,10 @@
-            ANNOUNCE: GNU Hyperbole 6.0.2 for Emacs 24.4 to 25 is released
+ANNOUNCE: GNU Hyperbole 6.0.2 for Emacs 24.4 or newer is released
+
+The GNU Hyperbole home page, https://www.gnu.org/software/hyperbole, contains a
+number of screenshots of Hyperbole and its menus and links to useful resources.
 
 GNU Hyperbole (pronounced Ga-new Hi-per-bo-lee), or just Hyperbole, is an
-amazing programmable hypertextual information management system implemented as
+amazing, programmable hypertextual information management system implemented as
 a GNU Emacs package.  This is the second public release in 2016.  Hyperbole has
 been greatly expanded and modernized for use with the latest Emacs 25
 releases; it supports GNU Emacs 24.4 or above.  It contains an extensive set
@@ -36,9 +39,6 @@ introduce you to its features and a detailed reference manual.
 *                          About
 ===========================================================================
 
-http://git.savannah.gnu.org/cgit/hyperbole.git/tree/man/im contains a number
-of screenshots of Hyperbole and its menus.
-
 GNU Hyperbole consists of five parts:
 
 * Buttons and Smart Keys
@@ -59,7 +59,7 @@ GNU Hyperbole consists of five parts:
      operations across emacs usage, including activating and showing
      help for Hyperbole buttons.  In many popular Emacs modes, they
      allow you to perform common, sometimes complex operations without
-     having to a different key for each operation.  Just press a Smart
+     having to use a different key for each operation.  Just press a Smart
      Key and the right thing happens;
 
 * Contact and Text Finder
diff --git a/HY-ANNOUNCE-SHORT b/HY-ANNOUNCE-SHORT
new file mode 100644
index 0000000..5d8ef59
--- /dev/null
+++ b/HY-ANNOUNCE-SHORT
@@ -0,0 +1,109 @@
+To: address@hidden, address@hidden, address@hidden
+ANNOUNCE: GNU Hyperbole 6.0.2 for Emacs 24.4 or newer is released
+
+For information on what GNU Hyperbole is, screenshots, download and
+installation instructions, see the GNU Hyperbole home page:
+
+   https://www.gnu.org/software/hyperbole
+
+The Hyperbole wiki page:
+
+   https://www.emacswiki.org/emacs/Hyperbole
+
+explains the many ways it differs from and is complementary to Org mode.
+
+Hyperbole includes an interactive demo to introduce you to its features and a
+detailed reference manual.
+
+===========================================================================
+*                 What's New in GNU Hyperbole V6.0.2
+===========================================================================
+
+  BUTTONS
+
+    - pathname Implicit Button Type: generalized to handle hash-style links to
+      HTML files, to Github Markdown # sections and to Emacs outline *
+      sections.  So an Action Key press on any of the following links displays
+      the link referent:
+            "man/hyperbole.html#Questions-and-Answers"
+           "README.md#why-was-hyperbole-developed"
+           "DEMO#HTML Markdown and Emacs Outline Hash Links"
+      Even links split across 2 lines like this now work: "DEMO#Social Media
+      Hashtags and Usernames", as long as point is on the first line.
+
+      Within HTML and Markdown files, in-file hash links without any file name
+      prefix work as well.
+
+      HTML hash-links are case-sensitive; other hash-links are not.  Hash links
+      typically use dashes in place of the spaces that referents may contain,
+      but if the link is enclosed in quotes, Hyperbole allows spaces to be used
+      as well.  In fact, it is best practice to always enclose hash-style links
+      in quotes so Hyperbole can distinguish them from other similar looking
+      constructs, such as social media hashtags (see "(hyperbole)Social 
Media").
+
+      Pathnames surrounded by literal non-ASCII quote marks now work as well.
+      For example, ‘http://ftp.gnu.org/gnu/hyperbole/’.
+
+    - New Implicit Button Type, markdown-internal-link, displays any in-file
+      Markdown link referent, aside from pathnames and urls.  Together with
+      other types, all Markdown links can now be followed by the Action Key.
+
+    - social-reference Implicit Button Type: Disabled this type within quoted
+      strings (all modes) and within parentheses (markdown-mode), so in-file
+      hash link references are not matched as social hash tags.  Made the list
+      of modes a variable, hibtypes-social-inhibit-modes.
+
+    - New link-to-web-search Action Type: Allows global and explicit buttons
+      to link to specific web term searches from `hyperbole-web-search-alist'.
+
+    - org-mode Implicit Button Type: Improved to invoke org-meta-return when
+      not on an Org link or outline heading.
+
+  DOCUMENTATION
+
+    - Added pointer to HyControl video and {C-c \} binding which invokes
+      HyControl window control.
+
+    - README File: New Org-mode user testimonial.
+
+    - DEMO File: Added description and exercise using the new Find/Web menu.
+
+    - Added README.md.html introduction with images combining README, INSTALL
+      and HY-ABOUT information.
+
+    - Full set of hand-written changes are now in the file "Changes".  The
+      former name, ChangeLog, is now auto-generated from the version controlled
+      'git log' but not as complete.
+
+  KEYS
+
+    - New variables, action-key-eol-function and assist-key-eol-function, used
+      to control what the Action and Assist Keys do at the end of a line.
+      Default behaviors remain as before but now one can set these to do
+      something other than scrolling, if desired.  See "(hyperbole)Smart Key -
+      Smart Scrolling"
+
+    - When in HyControl, pressing {ESC} now quits in addition to {q}.
+
+  MENUS
+
+    - New submenu, Find/Web, for quick access to major web search engines.
+      The Find/Web menu looks like this:
+        Web> Amazon Bing Dictionary Elisp Facebook Google Hub(git) Images Maps 
RFCs StackOverflow Twitter Wikipedia Youtube
+
+      Hyperbole binds the key {C-c /} for quick access to this menu, if it is
+      not already bound prior to Hyperbole's initialization. The
+      Cust/Web-Search menu, {C-h h c w}, sets the option,
+      hyperbole-web-search-browser-function, which determines whether web
+      search results are displayed within Emacs or with an external web
+      browser.  A short video introduction to the Find/Web menu may be found at
+      https://youtu.be/8lMlJed0-OM.
+
+      Advanced users can change the search engines listed in the Find/Web menu
+      with M-x customize-variable RET hyperbole-web-search-alist RET.  Changes
+      are automatically reflected in the Hyperbole menus once applied.
+      Remember each search engine name must begin with a unique letter and each
+      URL must have a %s format field indicating where to place the web search
+      term when a search is performed.  See "(hyperbole)Web Search Engines".
+
+-- The End --
diff --git a/README b/README
index d8d1a31..cef048f 100644
--- a/README
+++ b/README
@@ -12,7 +12,8 @@
 # This file is part of GNU Hyperbole.
 
 We hope you enjoy using GNU Hyperbole.  Feel free to mail or post news
-containing this file wherever it may be of use.
+containing this file wherever it may be of use.  Hyperbole is designed and
+written by Bob Weiner.  It is maintained by him and Mats Lidell.
 
 ===========================================================================
 *                      Table of Contents
@@ -26,7 +27,10 @@ containing this file wherever it may be of use.
 *                         Files
 ===========================================================================
 
-See the "HY-ABOUT" file for a description and overview of Hyperbole.
+For a summary of Hyperbole with text and images, see the Hyperbole home
+page: https://www.gnu.org/software/hyperbole.  If you have already
+downloaded Hyperbole, see the "HY-ABOUT" file for a text-only description
+and overview of Hyperbole.
 
 See "DEMO" for a demonstration of standard Hyperbole button capabilities.
 This is the best way to initially interactively learn about Hyperbole after
diff --git a/README.md b/README.md
index fd705ce..3962afd 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,11 @@
-# GNU Hyperbole - Version 6.0.2
+# GNU Hyperbole 6.0.2 - The Everyday Hypertextual Information Manager
 
 <!-- START doctoc generated TOC -->
 **Table of Contents**
 
 - [Summary](#summary)
+- [Mailing Lists](#mailing-lists)
+- [Ftp and Git Source Code-only Downloads](#ftp-and-git)
 - [Installation](#installation)
 - [Invocation](#invocation)
 - [Details](#details)
@@ -20,7 +22,8 @@
 `Hyperbole`, is an efficient and programmable hypertextual information
 management system implemented as a GNU Emacs package.  It works well
 on GNU Emacs 24.4 or above.  It is designed and written by Bob Weiner.
-Its main distribution site is: <https://www.gnu.org/software/hyperbole/>.
+It is maintained by him and Mats Lidell.  Its main distribution site is:
+<https://www.gnu.org/software/hyperbole/>.
 
 It includes easy-to-use, powerful hypertextual button types without
 the need to learn a markup language; a hierarchical, record-based
@@ -37,21 +40,39 @@ World-Wide Web URLs, Info manuals, ftp archives, etc.
 The [Hyperbole wiki page](https://www.emacswiki.org/emacs/Hyperbole)
 explains the many ways it differs from and is complementary to Org mode.
 
+Hyperbole is now available for [download and installation](#installation)
+through the GNU Emacs package manager.
+
 ![Hyperbole screenshot of the Koutliner, DEMO file and 
HyRolo](man/im/hyperbole-cv.png)
 
-## Browsing the Source
+## Mailing Lists
+
+    - address@hidden - User list for GNU Hyperbole
+
+           [info and 
subscription](http://lists.gnu.org/mailman/listinfo/hyperbole-users)
+        [web archive](http://lists.gnu.org/pipermail/hyperbole-users/)
 
-To explore the Hyperbole source code rather than installing it for use,
-download a tar.gz source archive from either:
+    - address@hidden - List for bug reporting
 
-  - <ftp://ftp.gnu.org/gnu/hyperbole/>
+        [info and 
subscription](http://lists.gnu.org/mailman/listinfo/bug-hyperbole)
+        [web archive](http://lists.gnu.org/archive/html/bug-hyperbole/)
 
-or
+## Ftp and Git Source Code-only Downloads
 
-  - <http://ftpmirror.gnu.org/hyperbole/>
+To explore the released Hyperbole source code rather than installing it for 
use,
+download a tar.gz source archive from either:</p>
+
+    - [ftp://ftp.gnu.org/gnu/hyperbole/]()
+
+    - [http://ftpmirror.gnu.org/hyperbole/]()
 
 which will find the closest mirror of the GNU ftp site and show it to you.
 
+If you want to follow along with Hyperbole development and maintain a
+copy/clone of the current version-controlled git tree, use the
+[command listed here](https://savannah.gnu.org/git/?group=hyperbole)
+to clone the Hyperbole project tree.
+
 ## Installation
 
 Once you have Emacs set up at your site, GNU Hyperbole may be
@@ -167,7 +188,7 @@ Hyperbole consists of five parts:
        context-sensitive operations across emacs usage, including
        activating and showing help for Hyperbole buttons.  In many
        popular Emacs modes, they allow you to perform common, sometimes
-       complex operations without having to a different key for each
+       complex operations without having to use a different key for each
        operation.  Just press a Smart Key and the right thing happens;
 
    2.  **Contact and Text Finder**: an interactive textual information
@@ -361,11 +382,11 @@ Keys).
 
   One of the nicest things about Hyperbole is that it's available
   everywhere. Org-mode is a mode and its features are only available in
-  *.org files. For instance if you dropped into `eshell' or `ansi-term' and
+  Org files. For instance if you dropped into `eshell' or `ansi-term' and
   did `ls', you can move point to any of the directory's contents, do M-RET
   (or Shift-Button2) and jump to that file.  And that's just one example.
   Note that this means that all Hyperbole functionality is available in
-  *.org files as well.  To me, except for the Hyperbole outliner, that means
+  Org files as well.  To me, except for the Hyperbole outliner, that means
   complementary not conflicting. It's Hyperbole *and* org-mode, not
   Hyperbole vs. org-mode.
 
diff --git a/README.md.html b/README.md.html
index d182443..3a170f0 100644
--- a/README.md.html
+++ b/README.md.html
@@ -443,7 +443,7 @@ pre[class*="language-"] {
 
 <body>
 
-<h1 id="toc_0">GNU Hyperbole</h1>
+<h1 id="toc_0">GNU Hyperbole 6.0.2 - The Everyday Hypertextual Information 
Manager</h1>
 
 <!-- START doctoc generated TOC -->
 
@@ -451,7 +451,8 @@ pre[class*="language-"] {
 
 <ul>
 <li><a href="#summary">Summary</a></li>
-<li><a href="#browsing-the-source">Browsing the Source</a></li>
+<li><a href="#mailing-lists">Mailing Lists</a></li>
+<li><a href="#ftp-and-git">Ftp and Git Source Code-only Downloads</a></li>
 <li><a href="#installation">Installation</a></li>
 <li><a href="#invocation">Invocation</a></li>
 <li><a href="#details">Details</a></li>
@@ -469,7 +470,8 @@ pre[class*="language-"] {
 <code>Hyperbole</code>, is an efficient and programmable hypertextual 
information
 management system implemented as a GNU Emacs package.  It works well
 on GNU Emacs 24.4 or above.  It is designed and written by Bob Weiner.
-Its main distribution site is: <a 
href="https://www.gnu.org/software/hyperbole/";>https://www.gnu.org/software/hyperbole/</a>.</p>
+It is maintained by him and Mats Lidell.  Its main distribution site is:
+<a 
href="https://www.gnu.org/software/hyperbole/";>https://www.gnu.org/software/hyperbole/</a>.</p>
 
 <p>It includes easy-to-use, powerful hypertextual button types without
 the need to learn a markup language; a hierarchical, record-based
@@ -486,12 +488,32 @@ World-Wide Web URLs, Info manuals, ftp archives, etc.</p>
 <p>The <a href="https://www.emacswiki.org/emacs/Hyperbole";>Hyperbole wiki 
page</a>
 explains the many ways it differs from and is complementary to Org mode.</p>
 
+Hyperbole is now available for <a href="#installation">download and 
installation</a>
+through the GNU Emacs package manager.
+
 <p><img src="man/im/hyperbole-cv.png" alt="Hyperbole screenshot of the 
Koutliner, DEMO file and HyRolo"></p>
 
-<h2 id="browsing-the-source">Browsing the Source</h2>
+<h2 id="mailing-lists">Mailing Lists</h2>
+
+<dl>
+    <dt><strong>address@hidden</strong></dt>
+    <dd>User list for GNU Hyperbole
+       (<a href="http://lists.gnu.org/mailman/listinfo/hyperbole-users";>info
+       and subscription</a>,
+       <a href="http://lists.gnu.org/pipermail/hyperbole-users/";>web 
archive</a>).
+    </dd>
+    <dt><strong>address@hidden</strong></dt>
+    <dd>List for bug reporting
+       (<a href="http://lists.gnu.org/mailman/listinfo/bug-hyperbole";>info
+       and subscription</a>,
+       <a href="http://lists.gnu.org/archive/html/bug-hyperbole/";>web 
archive</a>).
+    </dd>
+</dl>
 
-<p>To explore the Hyperbole source code rather than installing it for use,
-    download a tar.gz source archive from either:</p>
+<h2 id="ftp-and-git">Ftp and Git Source Code-only Downloads</h2>
+
+<p>To explore the released Hyperbole source code rather than installing it for 
use,
+   download a tar.gz source archive from either:</p>
 
 <ul><li><a 
href="ftp://ftp.gnu.org/gnu/hyperbole/";>ftp://ftp.gnu.org/gnu/hyperbole/</a></li></ul>
 
@@ -501,6 +523,11 @@ explains the many ways it differs from and is 
complementary to Org mode.</p>
 
 <p>which will find the closest mirror of the GNU ftp site and show it to 
you.</p>
 
+<p>If you want to follow along with Hyperbole development and
+    maintain a copy/clone of the current version-controlled git tree,
+    use the <a href="https://savannah.gnu.org/git/?group=hyperbole";>command 
listed here</a>
+    to clone the Hyperbole project tree.</p>
+
 <h2 id="installation">Installation</h2>
 
 <p>Once you have Emacs set up at your site, GNU Hyperbole may be
@@ -616,7 +643,7 @@ wherever the Hyperbole package directory is on your system; 
often this is:
    context-sensitive operations across emacs usage, including
    activating and showing help for Hyperbole buttons.  In many
    popular Emacs modes, they allow you to perform common, sometimes
-   complex operations without having to a different key for each
+   complex operations without having to use a different key for each
    operation.  Just press a Smart Key and the right thing happens;</p></li>
 <li><p><strong>Contact and Text Finder</strong>: an interactive textual 
information
    management interface, including fast, flexible file and text
@@ -799,11 +826,11 @@ Keys).</p>
 
 <p>One of the nicest things about Hyperbole is that it's available
    everywhere. Org-mode is a mode and its features are only available in
-   *.org files. For instance if you dropped into `eshell' or `ansi-term' and
+   Org files. For instance if you dropped into `eshell' or `ansi-term' and
    did `ls', you can move point to any of the directory's contents, do M-RET
    (or Shift-Button2) and jump to that file.  And that's just one example.
    Note that this means that all Hyperbole functionality is available in
-   *.org files as well.  To me, except for the Hyperbole outliner, that means
+   Org files as well.  To me, except for the Hyperbole outliner, that means
    complementary not conflicting. It's Hyperbole *and* org-mode, not
    Hyperbole vs. org-mode.
 
diff --git a/hib-debbugs.el b/hib-debbugs.el
index abaab91..4e0e166 100644
--- a/hib-debbugs.el
+++ b/hib-debbugs.el
@@ -169,7 +169,7 @@ severity, and package."
   (require 'debbugs-gnu)
   (setq debbugs-gnu-current-query nil)
   (dolist (attr query-attribute-list)
-    (add-to-list #'debbugs-gnu-current-query
+    (add-to-list 'debbugs-gnu-current-query
                 (cons (if (symbolp (car attr)) (car attr) (intern (car attr)))
                       (cdr attr))))
   (debbugs-gnu-show-reports))
diff --git a/hpath.el b/hpath.el
index 695a079..635936f 100644
--- a/hpath.el
+++ b/hpath.el
@@ -43,22 +43,34 @@ Default is `nil' since this can slow down normal file 
finding."
 ;;; FILE VIEWER COMMAND SETTINGS
 ;;; ************************************************************************
 
-(defcustom hpath:external-display-alist-macos 
'(("\\.\\(adaptor\\|app\\|bshlf\\|clr\\|concur\\|create\\|diagram\\|dp\\|e?ps\\|frame\\|gif\\|locus\\|Mesa\\|nib\\|pdf\\|project\\|rtf\\|sense\\|tiff\\|tree\\)$"
 . "open"))
-  "*An alist of (FILENAME-REGEXP . DISPLAY-PROGRAM-STRING-OR-LIST) elements 
for the Macintosh window system.
+(defcustom hpath:external-open-office-suffixes 
"doc[mx]?\\|ods\\|ppsx?\\|ppt[mx]?\\|xls[mx]?"
+  "*Regexp of Open Office document suffix alternatives to display externally.
+See http://www.openwith.org/programs/openoffice for a full list of
+possible suffixes."
+  :type 'string
+  :group 'hyperbole-commands)
+
+(defcustom hpath:external-display-alist-macos (list (cons (format 
"\\.\\(%s\\|adaptor\\|app\\|bshlf\\|clr\\|concur\\|create\\|diagram\\|dp\\|e?ps\\|frame\\|gif\\|locus\\|Mesa\\|nib\\|pdf\\|project\\|rtf\\|sense\\|tiff\\|tree\\)$"
+                                                                 
hpath:external-open-office-suffixes)
+                                                         "open"))
+  "*An alist of (FILENAME-REGEXP . DISPLAY-PROGRAM-STRING-OR-LIST)
+  elements for the Macintosh os x window system.
 See the function `hpath:get-external-display-alist' for detailed format 
documentation."
   :type 'regexp
   :group 'hyperbole-commands)
 
-(defvar hpath:external-display-alist-mswindows nil
+(defvar hpath:external-display-alist-mswindows (list (cons (format 
"\\.\\(%s\\)$" hpath:external-open-office-suffixes)
+                                                          "openoffice.exe"))
     "*An alist of (FILENAME-REGEXP . DISPLAY-PROGRAM-STRING-OR-LIST) elements 
for MS Windows.
 See the function `hpath:get-external-display-alist' for detailed format 
documentation.")
 
-(defvar hpath:external-display-alist-x '(("\\.e?ps$" . "ghostview")
-                                         ("\\.dvi$"  . "xdvi")
-                                         ("\\.pdf$"  . ("xpdf" "acroread"))
-                                         ("\\.ps\\.g?[zZ]$" . "zcat %s | 
ghostview -")
-                                         
("\\.\\(gif\\|tiff?\\|xpm\\|xbm\\|xwd\\|pm\\|pbm\\|jpe?g\\)"  . "xv")
-                                         ("\\.ra?s$" . "snapshot -l"))
+(defvar hpath:external-display-alist-x (list '("\\.e?ps$" . "ghostview")
+                                            '("\\.dvi$"  . "xdvi")
+                                            (cons (format "\\.\\(%s\\)$" 
hpath:external-open-office-suffixes) "openoffice")
+                                            '("\\.pdf$"  . ("xpdf" "acroread"))
+                                            '("\\.ps\\.g?[zZ]$" . "zcat %s | 
ghostview -")
+                                            
'("\\.\\(gif\\|tiff?\\|xpm\\|xbm\\|xwd\\|pm\\|pbm\\|jpe?g\\)"  . "xv")
+                                            '("\\.ra?s$" . "snapshot -l"))
   "*An alist of (FILENAME-REGEXP . DISPLAY-PROGRAM-STRING-OR-LIST) elements 
for the X Window System.
 See the function `hpath:get-external-display-alist' for detailed format 
documentation.")
 
@@ -1181,7 +1193,7 @@ be integrated, otherwise the filename is appended as an 
argument."
   ;; Permit %s substitution of filename within program.
   (if (string-match "[^%]%s" cmd)
       (format cmd filename)
-    (concat cmd " " filename)))
+    (format "%s \"%s\"" cmd filename)))
 
 (defun hpath:remote-available-p ()
   "Return non-nil if a remote file access package is available, nil otherwise.
diff --git a/hui-mini.el b/hui-mini.el
index 7d2e120..e1659b5 100644
--- a/hui-mini.el
+++ b/hui-mini.el
@@ -161,7 +161,8 @@ With optional HELP-STRING-FLAG, instead returns the one 
line help string for the
                 (= input ?\r)))
        (setq input (hargs:at-p)))
     (erase-buffer)
-    (or (symbolp input) (null input) (insert input)))
+    (when (or (characterp input) (stringp input))
+      (insert input)))
   (exit-minibuffer))
 
 (defun hui:menu-forward-item ()
diff --git a/hvar.el b/hvar.el
index c71406c..5323935 100644
--- a/hvar.el
+++ b/hvar.el
@@ -60,7 +60,7 @@ Does nothing when `inhibit-hyperbole-messaging' is non-nil."
                           (setq val (list val)))
                       (set var-symbol (set:union val list-to-add)))
              (set var-symbol list-to-add)))
-      (add-to-list #'var::append-list (cons var-symbol result))
+      (add-to-list 'var::append-list (cons var-symbol result))
       (symbol-value var-symbol))))
 
 (defun var:remove (var-symbol list-to-remove)
diff --git a/hyperbole.el b/hyperbole.el
index 7a952ca..09afda4 100644
--- a/hyperbole.el
+++ b/hyperbole.el
@@ -3,8 +3,7 @@
 ;; Copyright (C) 1992-2016  Free Software Foundation, Inc.
 
 ;; Author:           Bob Weiner
-;; Maintainer:       Bob Weiner <address@hidden>
-;;                  Mats Lidell <address@hidden>
+;; Maintainer:       Bob Weiner <address@hidden> and Mats Lidell 
<address@hidden>
 ;; Created:          06-Oct-92 at 11:52:51
 ;; Released:         09-Aug-16
 ;; Version:          6.0.2
@@ -196,7 +195,7 @@ Entry format is: (key-description key-sequence 
key-binding)."
          (hkey-bindings-keys hkey-previous-bindings)))
 
 (defun hkey-global-set-key (key command &optional no-add)
-  (or no-add (add-to-list #'hkey-previous-bindings (hkey-binding-entry key)))
+  (or no-add (add-to-list 'hkey-previous-bindings (hkey-binding-entry key)))
   (global-set-key key command))
 
 (defun hkey-initialize ()
@@ -344,7 +343,7 @@ bindings after load)."
   #'(if (boundp 'hyperb:dir)
        (let ((info-dir (expand-file-name "man/" hyperb:dir)))
          (if (file-exists-p info-dir)
-             (add-to-list #'Info-directory-list info-dir)))))
+             (add-to-list 'Info-directory-list info-dir)))))
 
 ;;; ************************************************************************
 ;;; Prevent local key maps from hiding the Action Key (overriding it)



reply via email to

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