[TxMt] tm_query --setting fontName

じょいすじょん dangerwillrobinsondanger at gmail.com
Mon Jul 3 21:07:01 UTC 2017


Hello all,

I'm looking to fix up the old TextMate Python Jedi completion bundle.
The docstring viewer command returns this error.

Setting or variable 'fontName' not found
Traceback (most recent call last):
  File "Docstrings for word", line 10, in <module>
    completion.show_docstrings()
  File "/Users/myaccount/Library/Application Support/TextMate/Pristine Copy/Bundles/python-jedi.tmbundle/Support/completion.py", line 132, in show_docstrings
    font_name = subprocess.check_output([tm_query, '--setting', 'fontName']).rstrip() or "Menlo-Regular"
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 573, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['/Applications/TextMate.app/Contents/Resources/tm_query', '--setting', 'fontName']' returned non-zero exit status 69



This is because the CLI command says no such key exists.
/Applications/TextMate.app/Contents/Resources/tm_query --setting fontName
Setting or variable 'fontName' not found

Is there a modern alternative to fontName?
Or, even better, a reference for that and other keys?

thanks!
JJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20170703/8c7fa88c/attachment-0001.html>


More information about the textmate mailing list