Skip to content

ess-r-package--find-package-name: Maximum buffer size exceeded #1311

@wenjie2wang

Description

@wenjie2wang

It seems that there is an edge case where ess-r-package--find-package-name fails and returns Maximum buffer size exceeded.

To reproduce this issue with ESS enabled:

  1. create a new directory named description under some folder, say ~/foo/
  2. run M-x shell and change the directory by cd ~/foo
  3. run C-x C-f or M-x, etc. under the directory ~/foo

The echo area would show "Maximum buffer size exceeded" and prevent any further action. I tested that the error occurs on MacOS. For Linux machines, the directory has to be named in uppercase (DESCRIPTION) to trigger the error.

It is a minor issue and can be avoided by removing/renaming the directory. It would be great if it could be fixed though.

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