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

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

[nongnu] elpa/evil-nerd-commenter f1fe14e756 102/235: updated workaround


From: ELPA Syncer
Subject: [nongnu] elpa/evil-nerd-commenter f1fe14e756 102/235: updated workaround doc for emacs24.4
Date: Thu, 6 Jan 2022 02:59:39 -0500 (EST)

branch: elpa/evil-nerd-commenter
commit f1fe14e756f15064ac5d7f2bd9edf4697888a3db
Author: Chen Bin <chenbin.sh@gmail.com>
Commit: Chen Bin <chenbin.sh@gmail.com>

    updated workaround doc for emacs24.4
---
 README.org             | 9 +++++++++
 evil-nerd-commenter.el | 7 +++++++
 2 files changed, 16 insertions(+)

diff --git a/README.org b/README.org
index c65f197443..785bbf6df5 100644
--- a/README.org
+++ b/README.org
@@ -8,6 +8,15 @@ I recommend you using it with Evil though it's optional.
 
 Tested on Emacs 23.4, 24.3, 24.4
 
+* Emacs v24.4 issue workaround
+Emacs v24.4 has some issue if and only if you install evil-nerd-commenter from 
package manager (elpa/melpa/...).
+
+This can be *easily resolved* by running below command line in shell,
+#+begin_src sh
+find ~/.emacs.d -type f -iwholename '*/evil-nerd-commenter*.elc' | xargs rm
+#+end_src
+
+The root cause is Emacs v24.4 compile the code in `eval-after-load`, I'm still 
thinking the perfect solution. Please help me if you are Lisp expert!
 * Why evil-nerd-commenter is better?
 ** A simple use case on the efficiency
 If you want to comment out nine lines. Instead pressing "C-space M-9 C-n M-;", 
now you can press "M-9 M-;" or ",,9j" or "9,ci".
diff --git a/evil-nerd-commenter.el b/evil-nerd-commenter.el
index 1b1439c8cc..0d9dc0d253 100644
--- a/evil-nerd-commenter.el
+++ b/evil-nerd-commenter.el
@@ -26,6 +26,13 @@
 ;; You should have received a copy of the GNU General Public License
 ;; along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
+;;; WARNING:
+
+;; Emacs v24.4 has some issue if and only if you install evil-nerd-commenter 
from package manager (elpa/melpa/...).
+;;
+;; This can be *easily resolved* by running below command line in shell,
+;; find ~/.emacs.d -type f -iwholename '*/evil-nerd-commenter*.elc' | xargs rm
+
 ;;; Commentary:
 ;;
 ;; This program emulates nerd-commenter.vim by Marty Grenfell.



reply via email to

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