Skip to content

Location of guess-style #4

@jersey99

Description

@jersey99

I am not sure if the following is an issue with emacs-24.4.1 or guess-style. But dropping guess-style/ inside .emacs.d raises the following error upon opening a python file. I moved it out else where to solve the problem.

Could not guess variable 'indent-tabs-mode' (Cannot open load file: is a directory, /home/XXX/.emacs.\
d/guess-style)
Could not guess variable 'tab-width' (Not enough lines to guess variable)
Could not guess variable 'c-basic-offset' (Not a cc-mode)
Could not guess variable 'nxml-child-indent' (Not certain enough to guess variable)
Could not guess variable 'css-indent-offset' (Not certain enough to guess variable)
Could not guess variable 'python-indent-offset' (Not certain enough to guess variable)

My .emacs file looks as below:

(add-to-list 'load-path (expand-file-name "~/.emacs.d/guess-style"))
(require 'guess-style)
(autoload 'guess-style-set-variable "guess-style" nil t)
(autoload 'guess-style-guess-variable "guess-style")
(autoload 'guess-style-guess-all "guess-style" nil t)
(add-hook 'python-mode-hook 'guess-style-guess-all)

Feel free to ignore/close the issue if you deem it's irrelevant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions