unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#53321: 28.0.91; Add a defcustom option to ruby-do-end-to-brace function for ruby-mode
@ 2022-01-17 14:44 Billy.Zheng
  2022-01-21  3:00 ` Dmitry Gutov
  0 siblings, 1 reply; 2+ messages in thread
From: Billy.Zheng @ 2022-01-17 14:44 UTC (permalink / raw)
  To: 53321


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

-- 
Thanks,
Billy





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#53321: 28.0.91; Add a defcustom option to ruby-do-end-to-brace function for ruby-mode
  2022-01-17 14:44 bug#53321: 28.0.91; Add a defcustom option to ruby-do-end-to-brace function for ruby-mode Billy.Zheng
@ 2022-01-21  3:00 ` Dmitry Gutov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Gutov @ 2022-01-21  3:00 UTC (permalink / raw)
  To: vil963, 53321-done

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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-21  3:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-17 14:44 bug#53321: 28.0.91; Add a defcustom option to ruby-do-end-to-brace function for ruby-mode Billy.Zheng
2022-01-21  3:00 ` Dmitry Gutov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).