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

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

[nongnu] elpa/subed 1f7b048: Bump version to 0.0.2, add note about NonGN


From: ELPA Syncer
Subject: [nongnu] elpa/subed 1f7b048: Bump version to 0.0.2, add note about NonGNU ELPA
Date: Mon, 6 Dec 2021 20:58:15 -0500 (EST)

branch: elpa/subed
commit 1f7b048e004c4b59477ba80f15fea2a31739f5a0
Author: Sacha Chua <sacha@sachachua.com>
Commit: Sacha Chua <sacha@sachachua.com>

    Bump version to 0.0.2, add note about NonGNU ELPA
---
 README.org     | 51 ++++++++++++++++++++++++++++++---------------------
 subed/subed.el |  2 +-
 2 files changed, 31 insertions(+), 22 deletions(-)

diff --git a/README.org b/README.org
index 47b40e1..85af41a 100644
--- a/README.org
+++ b/README.org
@@ -71,27 +71,36 @@ SubRip ( ~.srt~), WebVTT ( ~.vtt~ ), and Advanced 
SubStation Alpha ( ~.ass~, exp
      key is pressed).
 
 ** Installation
-   For now, you have to install it manually.  For example, copy ~subed/*.el~ to
-   ~$HOME/.emacs.d/elisp/~ and add ~$HOME/.emacs.d/elisp/~ to your ~load-path~.
-
-   #+BEGIN_SRC elisp
-   (use-package subed
-     ;; Tell emacs where to find subed
-     :load-path "~/.emacs.d/elisp/"
-     :config
-     ;; Disable automatic movement of point by default
-     (add-hook 'subed-mode-hook 'subed-disable-sync-point-to-player)
-     ;; Remember cursor position between sessions
-     (add-hook 'subed-mode-hook 'save-place-local-mode)
-     ;; Break lines automatically while typing
-     (add-hook 'subed-mode-hook 'turn-on-auto-fill)
-      ;; Break lines at 40 characters
-     (add-hook 'subed-mode-hook (lambda () (setq-local fill-column 40))))
-   #+END_SRC
-
-   ~C-h f subed-mode~ should get you started.
-
-=======
+
+~subed~ is now on [[https://elpa.nongnu.org/nongnu/subed.html][NonGNU ELPA]].  
You may be able to install it with ~M-x package-install~ ~subed~.
+If not, you can install it manually.  For example, copy ~subed/*.el~ to
+~$HOME/.emacs.d/elisp/~ and add ~$HOME/.emacs.d/elisp/~ to your ~load-path~.
+
+Here's some sample code for manual installation:
+
+#+begin_src emacs-lisp
+(add-to-list 'load-path "~/.emacs.d/elisp")
+(require 'subed)
+#+end_src
+
+Here's an example setup if you use use-package:
+
+#+BEGIN_SRC emacs-lisp
+(use-package subed
+  :ensure t
+  :config
+  ;; Disable automatic movement of point by default
+  (add-hook 'subed-mode-hook 'subed-disable-sync-point-to-player)
+  ;; Remember cursor position between sessions
+  (add-hook 'subed-mode-hook 'save-place-local-mode)
+  ;; Break lines automatically while typing
+  (add-hook 'subed-mode-hook 'turn-on-auto-fill)
+   ;; Break lines at 40 characters
+  (add-hook 'subed-mode-hook (lambda () (setq-local fill-column 40))))
+#+END_SRC
+
+~C-h f subed-mode~ should get you started.
+
 ** Contributions
    Contributions would be really appreciated! subed conforms to the 
[[https://reuse.software/spec/][REUSE
    Specification]]; this means that every file has copyright and license
diff --git a/subed/subed.el b/subed/subed.el
index 773e7f4..cdb9842 100644
--- a/subed/subed.el
+++ b/subed/subed.el
@@ -1,6 +1,6 @@
 ;;; subed.el --- A major mode for editing subtitles  -*- lexical-binding: t; 
-*-
 
-;; Version: 0.0.1
+;; Version: 0.0.2
 ;; Keywords: convenience, files, hypermedia, multimedia
 ;; URL: https://github.com/rndusr/subed
 ;; Package-Requires: ((emacs "25.1"))



reply via email to

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