[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/crux 4f5c8fe 059/112: [Fix #46] Address two issues with cr
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/crux 4f5c8fe 059/112: [Fix #46] Address two issues with crux-move-beginning-line (#48) |
Date: |
Wed, 11 Aug 2021 09:57:53 -0400 (EDT) |
branch: elpa/crux
commit 4f5c8fefd5a6aa52e128c4a0401cc86410d6ac8f
Author: KarlFish <KarlFish@users.noreply.github.com>
Commit: Bozhidar Batsov <bozhidar.batsov@gmail.com>
[Fix #46] Address two issues with crux-move-beginning-line (#48)
See https://github.com/bbatsov/crux/issues/46 for more context
(line-end-position) stops the search from passing through all the
empty lines.
t suppresses the message on search fail, but doesn't move to the line
end. A non nil, non t arg would also suppress the message, but move
to (line-end-position).
---
crux.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crux.el b/crux.el
index f5af70c..a63aa77 100644
--- a/crux.el
+++ b/crux.el
@@ -231,7 +231,7 @@ Used by crux functions like crux-move-beginning-of-line to
skip over whitespace"
(let ((line-start-regex (cond ((eq major-mode 'term-mode)
crux-line-start-regex-term-mode)
((eq major-mode 'eshell-mode)
crux-line-start-regex-eshell-mode)
(t crux-line-start-regex))))
- (search-forward-regexp line-start-regex)))
+ (search-forward-regexp line-start-regex (line-end-position) t)))
(defun crux-move-beginning-of-line (arg)
- [nongnu] elpa/crux 66954bf 022/112: Mention crux-indent-defun, (continued)
- [nongnu] elpa/crux 66954bf 022/112: Mention crux-indent-defun, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 3042f6f 029/112: Add some contribution guidelines, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 225b5e3 042/112: Merge pull request #29 from Wilfred/rename_file_and_buffer_tweaks, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 6ae09d0 045/112: Add functions on duplicate current line or region (#31), ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 4302357 052/112: Make crux-visit-term-buffer ask to restart dead process (#36), ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 2e16b82 087/112: Rework `move-to-mode-line-start` to add extensibility (#71), ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux bb5a133 090/112: Simplify a bit of code, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 1fa7162 091/112: Optionally move visually in `move-to-mode-line-start', ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux dcd693c 093/112: Rename move-to-mode-line-start to crux-move-to-mode-line-start, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux e805ab7 057/112: Use synchronous process for crux-open-with, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 4f5c8fe 059/112: [Fix #46] Address two issues with crux-move-beginning-line (#48),
ELPA Syncer <=
- [nongnu] elpa/crux 49dc7d7 067/112: Remove unused prefix argument from crux-smart-kill-line, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 903db7b 080/112: Add history on crux and links to emacsredux blog posts, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux ba4a1f3 098/112: Restructure the README a bit, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux a0a34d1 100/112: Fix defcustom types, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux acaaa00e 065/112: Bump the copyright years, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux c79985f 077/112: Saner functions for modifying cases on region for humans, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 308f17d 079/112: Bump the copyright years, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux b923d61 082/112: Support creating shells and terminal buffers, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux de603e9 088/112: Add function other-window-or-switch-buffer, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 96d4faa 097/112: Silence byte-compiler warnings, ELPA Syncer, 2021/08/11