[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/objed f28ee01 11/16: Improve sexp object/movement again
From: |
Clemens Radermacher |
Subject: |
[elpa] externals/objed f28ee01 11/16: Improve sexp object/movement again |
Date: |
Mon, 4 Feb 2019 07:46:32 -0500 (EST) |
branch: externals/objed
commit f28ee01c5cba9245bdebb25e7a4023b2ff678ed6
Author: Clemens Radermacher <address@hidden>
Commit: Clemens Radermacher <address@hidden>
Improve sexp object/movement again
---
objed-objects.el | 2 +-
objed.el | 6 ++++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/objed-objects.el b/objed-objects.el
index 6f2184d..a518e26 100644
--- a/objed-objects.el
+++ b/objed-objects.el
@@ -1513,7 +1513,7 @@ comments."
(forward-sexp (- arg)))))))
(let ((zigp nil))
(when (or (and (not (eobp))
- (or (eq (char-syntax (char-before)) ?\s)
+ (or (memq (char-syntax (char-before)) (list ?\s ?>))
(not (eq (char-syntax (char-after)) ?\")))
(save-excursion
(eq (point) (progn (setq zigp (zigzag 1))
diff --git a/objed.el b/objed.el
index e7f6499..1ebb254 100644
--- a/objed.el
+++ b/objed.el
@@ -911,7 +911,7 @@ Use `objed-define-dispatch' to define a dispatch command.")
(interactive)
(while (and (not (eobp))
(or (and (not (bobp))
- (not (eq (char-syntax (char-before)) ?\s))
+ (not (memq (char-syntax (char-before)) (list ?\s ?>)))
(eq (char-syntax (char-after)) ?\"))
(not (ignore-errors
(call-interactively 'forward-sexp)
@@ -922,7 +922,9 @@ Use `objed-define-dispatch' to define a dispatch command.")
(defun objed--backward-sexp ()
(interactive)
(while (and (not (bobp))
- (or (eq (char-syntax (char-before)) ?\")
+ (or (and (not (eobp))
+ (eq (char-syntax (char-before)) ?\")
+ (not (memq (char-syntax (char-after)) (list ?\s ?>))))
(not (ignore-errors
(call-interactively 'backward-sexp)
t))))
- [elpa] externals/objed updated (799a00e -> c54c8b3), Clemens Radermacher, 2019/02/04
- [elpa] externals/objed 6685081 01/16: Don't throw an error with elisp defun object if not inside a defun, Clemens Radermacher, 2019/02/04
- [elpa] externals/objed b98e4be 02/16: Add melpa stable badge, Clemens Radermacher, 2019/02/04
- [elpa] externals/objed e809d3f 03/16: Add Elpa badge, Clemens Radermacher, 2019/02/04
- [elpa] externals/objed 3a26da6 04/16: Change elpa badge, Clemens Radermacher, 2019/02/04
- [elpa] externals/objed 4c4ab09 06/16: Add objed-activate example, Clemens Radermacher, 2019/02/04
- [elpa] externals/objed d2fdbe0 05/16: Switch badge order to elpa, melpa stable, melpa, Clemens Radermacher, 2019/02/04
- [elpa] externals/objed a6cebcc 07/16: Mention actual command names to move to prev/next identifier, Clemens Radermacher, 2019/02/04
- [elpa] externals/objed c54c8b3 16/16: Version bump, Clemens Radermacher, 2019/02/04
- [elpa] externals/objed e427899 12/16: Get context object when acting on sexp object (toggle state etc.), Clemens Radermacher, 2019/02/04
- [elpa] externals/objed f28ee01 11/16: Improve sexp object/movement again,
Clemens Radermacher <=
- [elpa] externals/objed 1652f3b 10/16: Add two new entry commands (for object-at-point), Clemens Radermacher, 2019/02/04
- [elpa] externals/objed 83d4968 09/16: Improves sexp object/movement, Clemens Radermacher, 2019/02/04
- [elpa] externals/objed 54a02c0 13/16: Toggle extend on repeat, Clemens Radermacher, 2019/02/04
- [elpa] externals/objed 589d763 14/16: Update desciptions, Clemens Radermacher, 2019/02/04
- [elpa] externals/objed 0bfdb3c 15/16: Changing key binding policy, Clemens Radermacher, 2019/02/04
- [elpa] externals/objed 4527af4 08/16: Replace character based movement with sexp movement commands, Clemens Radermacher, 2019/02/04