[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master dcce243 03/11: Update README and docstring
From: |
Ingo Lohmar |
Subject: |
[elpa] master dcce243 03/11: Update README and docstring |
Date: |
Sun, 02 Aug 2015 14:43:03 +0000 |
branch: master
commit dcce243055e0d7ee34ffe0e3eace8417dc0872c4
Author: Ingo Lohmar <address@hidden>
Commit: Ingo Lohmar <address@hidden>
Update README and docstring
---
README.org | 26 ++++++++++++++------------
wconf.el | 3 ++-
2 files changed, 16 insertions(+), 13 deletions(-)
diff --git a/README.org b/README.org
index 610c8cb..ce43ec7 100644
--- a/README.org
+++ b/README.org
@@ -10,12 +10,13 @@ application.
Can double as a "boss" key; not that you would ever use something like
that yourself.
-** Use It
-Make sure the files are in your =load-path= --- if you have installed
-from a package archive, that's enough.
+** Using the Package
+Make sure the files are in your =load-path=, and either =(require
+'wconf)= or make sure its autoloads are known to Emacs --- if you have
+installed from a package archive, that should take care of both.
-There is nothing particular you have to do to use =wconf.el=. Here is
-an example from my configuration, however, to show you the intended use:
+Here is an example from my configuration to show you the intended use of
+=wconf=.
#+begin_src emacs-lisp
(add-hook 'desktop-after-read-hook ;so we have all buffers again
(lambda ()
@@ -61,14 +62,15 @@ function.
A nice feature of =wconf= is that it does not alter any hooks or
settings outside its own small world, and I intend to keep it that way.
-This implies that there is no way to update the currently active
-configuration, except via one the functions/commands in the package.
+This implies that the currently active configuration is only updated
+explicitly, via one the functions/commands in the package.
** Rationale, and Other Packages
I used https://github.com/tlh/workgroups.el for several years. It is a
great package, which offers a lot of additional features besides the
-core business of window configs. It also has some shortcomings, is
-somewhat complex (at 79k), and I occasionally experienced minor
-glitches. Most importantly, it has been unmaintained for >3yrs now.
+core business of managing window configs. It also has some
+shortcomings, is somewhat complex (at 79k), and I occasionally
+experienced minor glitches. Most importantly, it has been unmaintained
+for >3yrs now.
https://github.com/pashinin/workgroups2 promises to pick up where
workgroups left, and is actively maintained. The main difference, as I
@@ -76,7 +78,7 @@ understand it, is the desire to restore "special" buffers as
well (help,
info, org-mode agendas, notmuch mail, you name it). Finally trying it,
it did not provide a lot of benefit for my personal needs, but added
still more complexity. The functionality that I want should not require
-179k elisp.
+179k of elisp.
Nowadays (at least since the GNU Emacs 24.4 release), there is a proper
lisp-reader (de)serialization for frame and window configurations, and
@@ -91,4 +93,4 @@ deals with all frames and =wconf= acknowledges that, there
has been zero
effort (so far) to have =wconf= do something reasonable in that case. I
am open to suggestions/pull requests, if they do not substantially
increase the complexity of the package. =workgroups= is clever in that
-respect, but most likely I will not go that way.
+respect, but it is unlikely that I will follow that way.
diff --git a/wconf.el b/wconf.el
index a8be352..8b48d6d 100644
--- a/wconf.el
+++ b/wconf.el
@@ -133,7 +133,8 @@ this can be nil although wc--configs is not empty.")
;; global stuff
(defun wc-change-config-default (index config)
- "Update string representing configuration CONFIG."
+ "Update `wc-string' to represent configuration CONFIG at
+position INDEX."
(setq wc-string (if wc--configs
(wc--to-string index)
wc-no-configs-string))
- [elpa] master updated (6340c15 -> 43c8384), Ingo Lohmar, 2015/08/02
- [elpa] master 5f9ee38 04/11: Check file can be read, Ingo Lohmar, 2015/08/02
- [elpa] master dcce243 03/11: Update README and docstring,
Ingo Lohmar <=
- [elpa] master 3bc4e13 02/11: Add a README, Ingo Lohmar, 2015/08/02
- [elpa] master facc191 01/11: Initial commit, Ingo Lohmar, 2015/08/02
- [elpa] master 8f3160b 07/11: Fix missing dependency on cl-lib, Ingo Lohmar, 2015/08/02
- [elpa] master 2cb1de6 06/11: Fix/enhance interactive declarations, this fixes #1, Ingo Lohmar, 2015/08/02
- [elpa] master e5f23d1 05/11: Only deal with window configurations now, update doc, Ingo Lohmar, 2015/08/02
- [elpa] master b8ea22f 10/11: Bump version and copyright, Ingo Lohmar, 2015/08/02
- [elpa] master ae106c9 08/11: Make interactive functions more robust/friendly, Ingo Lohmar, 2015/08/02
- [elpa] master f67e959 09/11: Use "wconf" as package and filename prefix, Ingo Lohmar, 2015/08/02
- [elpa] master 43c8384 11/11: Add 'packages/wconf/' from commit 'b8ea22f80bff19222136d9495f685888dc682b9d', Ingo Lohmar, 2015/08/02