[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#37452: 26.3; skip-syntax-forward doesn't work in python-mode
From: |
Lars Ingebrigtsen |
Subject: |
bug#37452: 26.3; skip-syntax-forward doesn't work in python-mode |
Date: |
Tue, 15 Jun 2021 16:51:08 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Noam Postavsky <npostavs@gmail.com> writes:
> (defun syntax-class-to-char (syntax-class)
> (aref " .w_()'\"$\\/<>@!|" syntax-class))
>
> (defun skip-syntax ()
> (interactive)
> (skip-syntax-forward (char-to-string
> (syntax-class-to-char
> (syntax-class (syntax-after (point)))))))
>
> Although I'd say that the function syntax-class-to-char should be added
> to Emacs (in syntax.c, so that it can reuse syntax_code_spec).
Makes sense. I've now done this in Emacs 28.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#37452: 26.3; skip-syntax-forward doesn't work in python-mode,
Lars Ingebrigtsen <=