Subject: Re: bug#53321: 28.0.91; Add a defcustom option to ruby-do-end-to-brace function for ruby-mode
From: Dmitry Gutov <[email-masked]>
To: [email-masked], [email-masked]
Date: Fri, 21 Jan 2022 05:00:55 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 29.1

Hi!

On 17.01.2022 16:44, Billy.Zheng wrote:
> 
> Hi, I want to report,  add a defcustom option to ruby-do-end-to-brace function ruby for
> emacs builtin mode, as said in source code line 1725.
> 
> 
> ```
>        (goto-char orig)
>        (delete-char 2)
>        ;; Maybe this should be customizable, let's see if anyone asks.
>        (insert "{ ")
>        (setq beg-marker (point-marker))
> ```
> 
> And, please check some discuss on this github link.
> 
> https://github.com/dgutov/robe/issues/136#issuecomment-1013910661

I've added a new option ruby-toggle-block-space-before-parameters, check 
it out.

Commit 9a0842dffe.