New answers tagged

0 votes

re-search-forward search for double and reverse quotation mark character

The function does work with the expression, the mistake was poor tracking of the position of the point. Below code (defun otmKvhk() "Отметка выражений в кавычках Обрабатывается ...
user avatar
  • 59
1 vote

re-search-forward search for double and reverse quotation mark character

You need to use "[\"`]" for the regexp part. It is easier to build regular expressions with rx or rx-to-string. Here is a demo using M-x ielm. *** Welcome to IELM *** Type (describe-...
user avatar
1 vote

Combine two commands

As comments have mentioned, org-toggle-item may suit your needs. Though this seems like a great opportunity to learn Emacs Lisp. The following code though does as explain: (defun my-toggle-item (...
user avatar
2 votes
Accepted

regexp fails over expression involving {}

In fact, the problem comes from the unescaped [ and ]. M-x query-replace-regexp \\includepdf\[pages={1-}\]{.*} → \\includepdf[pages={1-}]{TEST} works for me.
user avatar

Top 50 recent answers are included