bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19267: 25.0.50; Enhance cycle-spacing with a state where only whites


From: Lars Ingebrigtsen
Subject: bug#19267: 25.0.50; Enhance cycle-spacing with a state where only whitespace after point is deleted
Date: Mon, 16 May 2022 14:19:30 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Tassilo Horn <tsdh@gnu.org> writes:

> It's pushed.  And obviously I've seen that I've forgotten the "perform
> action as if M-- was given" modifier in the defcustom afterwards which
> is now also added in another commit.

Thanks; works great.  I now have

(setq cycle-spacing-actions '((just-one-space -) delete-all-space restore))

which makes `M-SPC' do exactly what I want.

With "emacs -Q', though, and:

`C-u M-SPC'

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p (4))
  cycle-spacing((4))
  funcall-interactively(cycle-spacing (4))
  call-interactively(cycle-spacing nil nil)
  command-execute(cycle-spacing)

`C-u 4 M-SPC' works fine.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]