hongyi-zhao

Results 191 issues of hongyi-zhao

I install and manage the `python-mode` package via `use-package` and have the following configuration in `:hooks` section: ```emacs-lisp :hook (python-mode . flycheck-mode) (python-mode . company-mode) [...] ``` If I combine...

moreinfo

On Ubuntu 20.04.2 LTS, I use the following use-package configuration for [helm-bibtex](https://github.com/tmalsburg/helm-bibtex): ```emacs-lisp ;https://lucidmanager.org/productivity/emacs-bibtex-mode/ (setq bib-files-directory (directory-files-recursively (concat (getenv "HOME") "/texmf/bibtex/bib/local") "^[A-Za-z].+.bib$") ;pdf-files-directory (concat (getenv "HOME") "/pdf") ;bib-notes-directory (concat (getenv...

Can I combine multiple hooks into one with use-package's `:hook` keyword, as shown below: ```emacs-lisp (use-package bla [...] :hook (((a-mode b-mode c-mode) . (d-mode e-mode)))) ``` Regards, HY

The following descriptions of use-package URL in the melpa repository in the github repo of this project are outdated: ``` $ egrep -inR 'melpa.milkbox.net' . ./README.md:5:[![MELPA](http://melpa.milkbox.net/packages/use-package-badge.svg)](http://melpa.milkbox.net/#/use-package) ./README.md:65:[MELPA](http://melpa.milkbox.net/) (recommended). ``` Currently,...

According to the guide given [here](https://github.com/jwiegley/use-package#package-installation), I use the following settings in my ~/.emcas.d/init.el: ``` ;;Enable use-package-always-ensure if you wish this behavior to be global for all packages: (require 'use-package-ensure)...

The examples shown in [installation guide](https://github.com/jwiegley/use-package#package-installation) are all the case of single package installation with one use-package instruction. But I want to install a list of packages automatically with use-package...

Currently, I'm using the [comint-mime](https://github.com/astoff/comint-mime) package with the following configuration: ```emacs-lisp (use-package comint-mime :straight (:host github :repo "astoff/comint-mime" :files (:defaults "*.py" "*.sh")) :hook ((shell-mode inferior-python-mode) . comint-mime-setup)) ``` With the...

enhancement

On Ubuntu 20.04.3 LTS, I'm using the self-compiled git master version of Emacs, and installed the `dap-mode` through straight with the following configuration: ```emacs-lisp (use-package dap-mode :after lsp-mode :config ;;https://github.com/emacs-lsp/dap-mode/issues/372#issuecomment-720716281...

I'm trying to use the `repl` feature of `dap-mode` by the following setting: `(setq dap-auto-configure-features '(sessions locals breakpoints expressions repl controls tooltip)` But I found some problems that I don't...

I've written the following python code snippet in pycharm: ```python import numpy as np from numpy import pi, sin a = np.array([1], dtype=bool) if np.in|vert(a) == ~a: print('ok') ``` When...