1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-18 06:01:22 -08:00
emacs/test/lisp
kobarity 2084f4ada3 hideshow.el: Improve hs-toggle-hiding behavior
* lisp/progmodes/hideshow.el
(hs-find-block-beginning-match): New function to be used in
`hs-already-hidden-p'.
(hs-already-hidden-p): Add check if beginning of line is inside a
block.
(hs-toggle-hiding): Don't change to selected-window's buffer when
event arg is absent.

* test/lisp/progmodes/hideshow-tests.el
(hideshow-tests-with-temp-buffer-selected): New helper macro.
(hideshow-tests-make-event-at): New helper function.
(hideshow-already-hidden-p-1): New test.
(hideshow-toggle-hiding-1): New test.
(hideshow-mouse-toggle-hiding-1): New test (bug#52092).
2022-09-24 11:08:29 -04:00
..
align-resources
auth-source-resources Move netrc tests to auth-source-tests.el 2022-08-04 17:33:34 +02:00
bookmark-resources
calc Remove redundant local variables in tests 2022-08-08 13:47:15 +02:00
calendar Prefer pos-bol and pos-eol in tests 2022-08-21 17:45:04 +02:00
cedet Prefer pos-bol and pos-eol in tests 2022-08-21 17:45:04 +02:00
custom-resources
dired-resources/insert-directory
emacs-lisp cconv.el: Fix interactive closure bug#51695 2022-09-23 16:36:16 -04:00
emulation
epg-resources
erc Bury new ERC buffers by default 2022-09-19 17:54:46 -07:00
eshell Allow using a symbol as an index into an alist in Eshell 2022-09-14 17:27:21 -07:00
faces-resources
files-resources
gnus Prefer pos-bol and pos-eol in tests 2022-08-21 17:45:04 +02:00
hfy-cmap-resources
image Fix failing image-dired test 2022-09-22 14:20:15 +02:00
international Update Unicode support to Unicode version 15.0.0 (bug#57846) 2022-09-17 09:51:22 +03:00
loadhist-resources
mail Prefer pos-bol and pos-eol in tests 2022-08-21 17:45:04 +02:00
mh-e ; Pacify unknown fun warning in mh-utils-tests.el. 2022-06-26 15:08:57 +03:00
minibuffer-resources
net Sync with Tramp 2.5.3.2. Don't merge with master 2022-09-17 17:50:38 +02:00
nxml
obsolete Move thumbs.el to lisp/obsolete 2022-09-24 14:07:57 +02:00
org
pcmpl-linux-resources
play
progmodes hideshow.el: Improve hs-toggle-hiding behavior 2022-09-24 11:08:29 -04:00
saveplace-resources
so-long-tests Fix more misleading cl-case quoting in tests 2022-09-14 14:20:52 +03:00
term
textmodes Consider key=val labels when renumbering 2022-09-12 09:34:23 +02:00
time-resources
url Add tests for url-{hexify,unhex}-string 2022-08-02 10:21:22 +02:00
vc
xdg-resources
abbrev-tests.el
align-tests.el
allout-tests.el
allout-widgets-tests.el
ansi-color-tests.el test: Remove redundant "" arg to mapconcat 2022-09-08 16:08:42 -04:00
apropos-tests.el
arc-mode-tests.el
auth-source-pass-tests.el
auth-source-tests.el Move netrc tests to auth-source-tests.el 2022-08-04 17:33:34 +02:00
autoinsert-tests.el
autorevert-tests.el Adjust autorevert tests to recent change 2022-08-21 22:18:49 +02:00
battery-tests.el
bookmark-tests.el Update bookmark tests for recent change 2022-06-17 20:08:55 +02:00
buff-menu-tests.el
button-tests.el
calculator-tests.el
char-fold-tests.el test: Remove redundant "" arg to mapconcat 2022-09-08 16:08:42 -04:00
color-tests.el
comint-tests.el Remove no-byte-compile cookie from some libraries 2022-08-08 11:50:33 +02:00
completion-tests.el
cus-edit-tests.el
custom-tests.el Fix cl-generic bootstrap problems 2022-06-24 11:04:51 +02:00
dabbrev-tests.el
delim-col-tests.el
descr-text-tests.el
desktop-tests.el
dired-aux-tests.el Move dired-guess commands from dired-x to dired 2022-08-17 16:21:09 +02:00
dired-tests.el test: Remove redundant "" arg to mapconcat 2022-09-08 16:08:42 -04:00
dired-x-tests.el Move dired-guess commands from dired-x to dired 2022-08-17 16:21:09 +02:00
dnd-tests.el Fix more misleading cl-case quoting in tests 2022-09-14 14:20:52 +03:00
dom-tests.el
edmacro-tests.el
electric-tests.el Merge from origin/emacs-28 2022-09-21 10:25:06 +02:00
elide-head-tests.el
env-tests.el * test/lisp/env-tests.el: New file. 2022-08-05 11:47:05 +02:00
epg-config-tests.el
epg-tests.el
faces-tests.el
ffap-tests.el Convert ffap comments to tests 2022-07-28 15:07:34 +02:00
filenotify-tests.el Revert change in Tramp inotifywait 2022-09-19 11:39:29 +02:00
files-tests.el Fix data for files-tests-bug-21454 on Cygwin 2022-08-28 11:43:50 -04:00
files-x-tests.el
find-cmd-tests.el
font-lock-tests.el
format-spec-tests.el
help-fns-tests.el Merge from origin/emacs-28 2022-07-23 01:37:59 +02:00
help-mode-tests.el Allow using xref buttons in non-*Help* buffers 2022-06-06 16:12:39 +02:00
help-tests.el Fix substitute-command-keys for global binding lookup 2022-09-21 09:15:47 +02:00
hfy-cmap-tests.el
hi-lock-tests.el
hl-line-tests.el
htmlfontify-tests.el Don't generate separate autoload file for htmlfontify 2022-06-05 18:23:17 +02:00
ibuffer-tests.el Make ibuffer-awhen obsolete in favor of when-let 2022-08-09 15:46:54 +02:00
ido-tests.el
image-file-tests.el
image-tests.el
imenu-tests.el
info-tests.el
info-xref-tests.el Prefer pos-bol and pos-eol in tests 2022-08-21 17:45:04 +02:00
isearch-tests.el * lisp/isearch.el (isearch-search-fun-in-noncontiguous-region): New function. 2022-07-08 20:58:33 +03:00
jit-lock-tests.el
json-tests.el Allow plist-get/plist-put/plist-member to take a comparison function 2022-06-27 12:22:05 +02:00
jsonrpc-tests.el
kmacro-tests.el
loadhist-tests.el
lpr-tests.el
ls-lisp-tests.el Fix sorting in ls-lisp.el under -v 2022-06-05 09:52:09 +03:00
man-tests.el
md4-tests.el test: Remove redundant "" arg to mapconcat 2022-09-08 16:08:42 -04:00
minibuffer-tests.el * lisp/simple.el (completion-auto-wrap): Rename from completion-wrap-movement. 2022-06-14 10:04:56 +03:00
misc-tests.el Add duplicate-dwim (bug#56418) 2022-07-26 14:23:30 +02:00
mouse-tests.el
mwheel-tests.el
newcomment-tests.el
obarray-tests.el
osc-tests.el Extract support of OSC escape sequences from comint 2022-09-18 14:49:27 +02:00
paren-tests.el
password-cache-tests.el
pcmpl-linux-tests.el
pcomplete-tests.el pcomplete: Generate completions from --help messages 2022-09-14 21:58:04 +02:00
ps-print-tests.el
register-tests.el
repeat-tests.el
replace-tests.el Prefer pos-bol and pos-eol in tests 2022-08-21 17:45:04 +02:00
rot13-tests.el
saveplace-tests.el Fix namespace problem in saveplace.el 2022-08-05 12:28:59 +02:00
scroll-lock-tests.el
ses-tests.el
shadowfile-tests.el Fix Tramp test environment on hydra.nixos.org 2022-07-10 18:13:50 +02:00
shell-tests.el
simple-tests.el Prefer pos-bol and pos-eol in tests 2022-08-21 17:45:04 +02:00
sort-tests.el test: Remove redundant "" arg to mapconcat 2022-09-08 16:08:42 -04:00
soundex-tests.el
startup-tests.el
subr-tests.el Faster and more robust list-of-strings-p 2022-09-16 15:33:12 +02:00
tab-bar-tests.el
tabify-tests.el test: Remove redundant "" arg to mapconcat 2022-09-08 16:08:42 -04:00
tar-mode-tests.el
tempo-tests.el
term-tests.el
thingatpt-tests.el
thread-tests.el
time-stamp-tests.el Prefer pos-bol and pos-eol in tests 2022-08-21 17:45:04 +02:00
time-tests.el
timezone-tests.el
version-tests.el
wdired-tests.el
whitespace-tests.el Fix whitespace-tests on macOS 2022-09-13 15:40:41 +02:00
wid-edit-tests.el
x-dnd-tests.el Fix typo in x-dnd-tests.el 2022-07-25 10:08:41 +08:00
xdg-tests.el Add new function xdg-current-desktop to xdg.el 2022-09-14 10:23:45 +02:00
xml-tests.el Remove no-byte-compile cookie from some libraries 2022-08-08 11:50:33 +02:00
xt-mouse-tests.el Pacify obsolete gv warnings in xt-mouse-tests.el 2022-08-26 12:53:49 +03:00
yank-media-tests.el