Skip to content

--inf-ruby-mode semantics #68

Closed

Description

@dgutov

Can we make it imply --nosingleline and --nomultiline, but not anything else?

In particular, we (the inf-ruby upstream) decided not to use it because it also disables continuation prompts. Currently inf-ruby uses --prompt default --noreadline instead.

But with newer features here that we can't use from Emacs, it would be helpful if --inf-ruby-mode was an option one could use to avoid version checks. In particular, if irb --inf-ruby-mode --prompt default was a valid usage in the new IRB.

Activity

  1. dgutov commented on Jul 14, 2020

    @dgutov
    ContributorAuthor

    Anybody cares about Emacs support here?

  2. mkaschenko commented on Jul 20, 2020

    @mkaschenko

    +1

  3. gcentauri commented on Jul 7, 2022

    @gcentauri

    i know its been 2 years since this opened, but i'd like to give it a +1.

    maybe it has been addressed in newer versions of ruby, but at least with my local version of ruby 2.7.5, adding it to the command options causes irb to fail to return the next prompt until i type another newline. it seems like the --noreadline option is possibly causing an issue.

    it does seem to work on Ruby 3 though, but for the Emacs integration it would be quite nice to depend on this flag as @dgutov suggests.

  4. gcentauri commented on Jul 7, 2022

    @gcentauri

    ah i see my particular issue was addressed here #127

    fwiw, i'm interested in helping with further Emacs support if any effort goes this way

  5. added a commit that references this issue on Mar 22, 2024
    f04a184
  6. added a commit that references this issue on May 1, 2024
    241e061
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions