profile
viewpoint
Andrii Kolomoiets muffinmad Kherson, Ukraine

joaotavora/eglot 938

A client for Language Server Protocol servers

muffinmad/emacs-mini-frame 63

Show minibuffer in child frame on read-from-minibuffer

muffinmad/pidgin-im-gnome-shell-extension 26

Make Pidgin IM conversations appear in the Gnome Shell message tray

muffinmad/emacs-ibuffer-project 11

Group ibuffer's list by project

muffinmad/anakin-language-server 10

Yet another Jedi Python language server

muffinmad/emacs-completions-frame 10

Show completions buffer in child frame

muffinmad/emacs-pdb-capf 10

Completion-at-point function for pdb (Python debugger)

muffinmad/emacs-find-file-rg 7

Find file in current project using rg --files command

muffinmad/emacs-ctrlxo 4

Maybe better window switcher than "C-x o"

muffinmad/emacs-django-commands 4

Run django commands in inferior-python-mode

push eventmuffinmad/emacs-ctrlxo

muffinmad

commit sha 79a8d48d4dbb7ea2388a85fc9d6fc6dc1fe444b2

Add MELPA badge and notice

view details

push time in an hour

pull request commentmuffinmad/emacs-mini-frame

fix: mini-frame is slow in Windows

@kiennq Please check recent master version. Mini-frame is not deleted on Windows now.

kiennq

comment created time in a day

push eventmuffinmad/emacs-mini-frame

muffinmad

commit sha 7136687e7de2a769185f8d8e0a59257576376692

Keep the frame alive Detach mini-frame from parent frame so closing parent frame will not close mini-frame

view details

muffinmad

commit sha acd8c683a79308c799a306f2b6780274146446bf

Allow to create mini-frame on mode activation

view details

muffinmad

commit sha 1fd7fcac0a5c6ba5bfdb9be00f9594fd8ffa90fd

Fix for invisible frame on Windows

view details

push time in a day

issue commenttumashu/posframe

childframe macOS limitation; (black fullscreen, missing border)

@mpereira See this commit. Try to reinstall Emacs and see if internal borders is working.

abbaswasim

comment created time in 2 days

issue commentjoaotavora/eglot

Quirks with flex company candidates

@haoyuan80s Check out company-fuzzy

haoyuan80s

comment created time in 3 days

push eventmuffinmad/melpa

Andrii Kolomoiets

commit sha f65b67c369fee41e7dca42b90d7d858c79718f8b

Fix package name

view details

push time in 4 days

push eventmuffinmad/emacs-ctrlxo

muffinmad

commit sha 037c5edfe12cba4eefa020c420dca7c300fbb225

require seq For Emacs 25

view details

push time in 4 days

PR opened melpa/melpa

Add ctrlxo

Brief summary of what the package does

Select most recently used window

Direct link to the package repository

https://github.com/muffinmad/emacs-ctrlxo

Your association with the package

Maintainer

Relevant communications with the upstream package maintainer

None needed

Checklist

Please confirm with x:

  • [x] The package is released under a GPL-Compatible Free Software License.
  • [x] I've read CONTRIBUTING.org
  • [x] I've used the latest version of package-lint to check for packaging issues, and addressed its feedback
  • [x] My elisp byte-compiles cleanly
  • [x] M-x checkdoc is happy with my docstrings
  • [x] I've built and installed the package using the instructions in CONTRIBUTING.org
  • [ ] I have confirmed some of these without doing them
+1 -0

0 comment

1 changed file

pr created time in 4 days

push eventmuffinmad/melpa

Andrii Kolomoiets

commit sha 3adb08551940e1b658593f321a8106dd4f34298c

Create ctrlxo

view details

push time in 4 days

startedmuffinmad/emacs-ctrlxo

started time in 4 days

push eventmuffinmad/emacs-ctrlxo

muffinmad

commit sha b8ab8e38ee641c7defee184ab06b17879ef21784

Inhibit usage message

view details

push time in 4 days

push eventmuffinmad/emacs-ctrlxo

muffinmad

commit sha 30fc89629454cc404c9cf5546718e3608d2b6f0a

Initial commit

view details

push time in 4 days

create barnchmuffinmad/emacs-ctrlxo

branch : master

created branch time in 4 days

created repositorymuffinmad/emacs-ctrlxo

Switch to the most recently used window

created time in 4 days

push eventmuffinmad/anakin-language-server

muffinmad

commit sha 6fbdfb8d9e95099625e7a23c45f03dd34db9193b

Don't pass [None] as paths to pycodestyle

view details

push time in 5 days

issue commentjoaotavora/eglot

Setting up: [eglot] -1: Server died; possibly (probably) user error

Can you switch to the events buffer manually?

There be no events buffer. The error (wrong-number-of-arguments (4 . 5) 0) is coming from attempt to run eglot with M-: (eglot).

@thor314 Please try to replace (rust-mode . eglot) with (rust-mode . eglot-ensure) or start eglot manually by M-x eglot.

thor314

comment created time in 5 days

CommitCommentEvent
CommitCommentEvent
CommitCommentEvent

issue commentjoaotavora/eglot

Eldoc pops up on completion even with Eldoc mode disabled

Would you like to see the line wrap? Is that it?

Yes. Like this:

Знімок екрана 2020-09-19 о 13 26 54

The full first line.

gcohara

comment created time in 8 days

issue commentjoaotavora/eglot

Eldoc pops up on completion even with Eldoc mode disabled

By the way, if it's the multi-line, echo-area jumping nature of the on-line documentation that's bothering you, you can probably try to set eldoc-echo-area-use-multiline-p to 1 or maybe 2.

I miss show-full-first-line option from old Eldoc/Eglot. Actually is the reason why I stick with old Eglot version for now.

(setq eldoc-echo-area-use-multiline-p 1)

Знімок екрана 2020-09-18 о 21 47 48

Can't see full signature info.

(setq eldoc-echo-area-use-multiline-p 2)

Знімок екрана 2020-09-18 о 21 48 05

No signature info at all.

@joaotavora Can you please advice me on in which function desired behavior can be implemented? New value for the eldoc-echo-area-use-multiline-p or something?

gcohara

comment created time in 9 days

issue commentclojure-emacs/clojure-mode

project-switch-project stuck in current Clojure project

Wait, though. clojure-cached-project-dir is used elsewhere too. @bbatsov what should the best approach be in this case?

Oh, I've misread the clojure-cache-project-dir. As a quick workaround for the issue you can disable project dir caching by customizing the clojure-cache-project-dir variable.

manuel-uberti

comment created time in 9 days

issue commentclojure-emacs/clojure-mode

project-switch-project stuck in current Clojure project

Do you suggest not using clojure-cached-project-dir?

As a quick workaround for the issue, yes.

manuel-uberti

comment created time in 9 days

CommitCommentEvent

issue commentclojure-emacs/clojure-mode

project-switch-project stuck in current Clojure project

Oh, I did open an MR with your other suggestion though. :)

That way clojure-project-dir will still return the wrong result.

manuel-uberti

comment created time in 9 days

CommitCommentEvent

issue commentclojure-emacs/clojure-mode

project-switch-project stuck in current Clojure project

IMO the clojure-project-dir must pay attention to the directory argument before returning cached value.

manuel-uberti

comment created time in 9 days

issue commentclojure-emacs/clojure-mode

project-switch-project stuck in current Clojure project

The project-switch-project function just ask for directory, set default-directory to it and run one of the action functions. The action function (e.g. project-find-file) then call the project-current function to find the project in that default-directory by calling project-find-functions hooks.

Each functions on this hook is called in turn with one argument, the directory in which to look, and should return either nil to mean that it is not applicable, or a project instance.

I hope this answer you questions on emacs-devel ;)

manuel-uberti

comment created time in 9 days

issue commentclojure-emacs/clojure-mode

project-switch-project stuck in current Clojure project

The clojure-project-dir function (used in the clojure-current-project project-find function) always returns cached dir value:

C-x C-f ~/workspace/testclojure/deps.edn M-: (project-current) => (clojure . "~/workspace/testclojure/") M-: (project-current nil "~/workspace/gittest") => (clojure . "~/workspace/testclojure/")

After swithing to *scratch* buffer:

M-: (project-current nil "~/workspace/gittest") => (vc . "~/workspace/gittest/")

Maybe clojure-project-dir must use buffer-local cached value only if the buffer file is a child of passed dir-name.

Or maybe add the clojure-current-project to the very end of project-find-functions.

manuel-uberti

comment created time in 9 days

issue commentjoaotavora/eglot

Quirks with flex company candidates

  • The annotation is odd, it should inform about the Python name (function)

Not the Eglot issue. pyls for some reason provide the module name as detail for every completion candidate. Eglot is doing the right job by displaying it. If language server doesn't provide any detail for completion candidate, candidate type is shown:

Знімок екрана 2020-09-15 о 09 30 44

  • Perhaps completion-styles should be set to flex by default in Eglot-managed buffers, so that you wouldn't have to to put that line in your .emacs.

This will work only for those servers who support "fuzzy" completion. E.g. for pyls it must be explicitly turned on in config.

haoyuan80s

comment created time in 13 days

issue commentjoaotavora/eglot

Missing flex company candidates

How can I forget! Thanks to one great man we now have flex completion style in Emacs 27!

Знімок екрана 2020-09-14 о 21 51 27

@haoyuan80s If you use Emacs 27, just (add-to-list 'completion-styles 'flex).

haoyuan80s

comment created time in 13 days

issue commentjoaotavora/eglot

Missing flex company candidates

Well, here is the full receipt to check this:

Emacs 28.0.50 Python 3.7.8 python-language-server 0.35.0

  1. emacs -Q

  2. Insert into *scratch* buffer:

(progn
  (setq package-user-dir "/tmp/tmp-elpa")
  (require 'package)
  (package-initialize)
  (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t)
  (package-refresh-contents))

(package-install 'eglot)
(package-install 'company)

(setq-default eglot-workspace-configuration
	      '((:pyls :plugins (:jedi_completion (:fuzzy t)))))
(global-company-mode)
(find-file "test-eglot-flx.py")
(erase-buffer)
(insert "from datetime import datetime\n\n\ndef dotandmime():\n    pass\n\n\ndtm")
  1. M-x eval-buffer
  2. M-x eglot
  3. M-x company-complete "No completion found"

Not surprising considering that the only company backend in the current buffer is company-capf and the completion-at-point doesn't return completions.

haoyuan80s

comment created time in 13 days

issue commentjoaotavora/eglot

Missing flex company candidates

@joaotavora Yes, sorry, forgot to mention configuration:

(setq-default eglot-workspace-configuration
	      '((:pyls :plugins (:jedi_completion (:fuzzy t)))))
haoyuan80s

comment created time in 13 days

issue commentjoaotavora/eglot

Missing flex company candidates

@haoyuan80s You are right. Enabling fuzzy for pyls doesn't help.

test.py with point on |:

from datetime import datetime


def dotandmime():
    pass


dtm|

pyls response:

[client-request] (id:18) Mon Sep 14 15:33:56 2020:
(:jsonrpc "2.0" :id 18 :method "textDocument/completion" :params
	  (:textDocument
	   (:uri "file:///Users/mad/workspace/test1/test.py")
	   :position
	   (:line 7 :character 3)
	   :context
	   (:triggerKind 1)))
[server-reply] (id:18) Mon Sep 14 15:33:56 2020:
(:jsonrpc "2.0" :id 18 :result
	  (:isIncomplete :json-false :items
			 [(:label "datetime" :kind 7 :detail "test" :documentation "datetime(year: int, month: int, day: int, hour: int=..., minute: int=..., second: int=..., microsecond: int=..., tzinfo: Optional[_tzinfo]=..., *, fold: int=...)\n\ndatetime(year, month, day[, hour[, minute[, second[, microsecond[,tzinfo]]]]])\n\nThe year, month and day arguments are required. tzinfo may be None, or an\ninstance of a tzinfo subclass. The remaining arguments may be ints." :sortText "adatetime" :insertText "datetime")
			  (:label "dotandmime()" :kind 3 :detail "test" :documentation "dotandmime()" :sortText "adotandmime" :insertText "dotandmime")]))

But completion-at-point says "No match". And company-complete says "No completion found".

haoyuan80s

comment created time in 13 days

startedpurcell/whole-line-or-region

started time in 13 days

issue commentjoaotavora/eglot

Missing flex company candidates

@haoyuan80s Maybe enabling pyls.plugins.jedi_completion.fuzzy option in pyls will help?

haoyuan80s

comment created time in 16 days

issue commentjoaotavora/eglot

eglot with ido and imenu

@aramirez

Does your code handle special elements from imenu--index-alist? From imenu--index-alist docstring:

Special elements look like (INDEX-NAME POSITION FUNCTION ARGUMENTS...). To "go to" a special element means applying FUNCTION to INDEX-NAME, POSITION, and the ARGUMENTS.

Related issues in other packages: https://github.com/IvanMalison/flimenu/issues/6 https://github.com/bmag/imenu-list/issues/58

aramirez

comment created time in 20 days

issue commentjoaotavora/eglot

ElDoc echo area message won't clear after cursor movements

I believe it's the consequence of the #527 fix.

yuezhu

comment created time in 24 days

issue commentjoaotavora/eglot

eval: Symbol’s value as variable is void: tab-prefix-map

Project.el must be kept compatible with Emacs 26.3, as announced in the file's header. If you can, make the bug report.

Bug report for project.el issue.

CDitzel

comment created time in a month

issue commentjoaotavora/eglot

eval: Symbol’s value as variable is void: tab-prefix-map

but I am using 26.3 not 27 oO

With which version of project.el?

CDitzel

comment created time in a month

issue commentjoaotavora/eglot

eval: Symbol’s value as variable is void: tab-prefix-map

I think it comes from project.el. See this commit.

Invoking package-initialize with the latest version of project.el from ELPA installed in Emacs 26.3 will lead to this error:

Debugger entered--Lisp error: (void-variable tab-prefix-map)
  (define-key tab-prefix-map "p" (function project-other-tab-command))
  eval-buffer(#<buffer  *load*> nil "/tmp/tmp-elpa26/project-0.5.1/project-autoloads.el" nil t)  ; Reading at buffer position 2596
  load-with-code-conversion("/tmp/tmp-elpa26/project-0.5.1/project-autoloads.el" "/tmp/tmp-elpa26/project-0.5.1/project-autoloads.el" nil t)
  load("/tmp/tmp-elpa26/project-0.5.1/project-autoloads" nil t)
  package--activate-autoloads-and-load-path(#s(package-desc :name project :version (0 5 1) :summary "Operations on the current project" :reqs ((emacs (26 3)) (xref (1 0 2))) :kind nil :archive nil :dir "/tmp/tmp-elpa26/project-0.5.1" :extras ((:url . "http://elpa.gnu.org/packages/project.html")) :signed t))
  package--load-files-for-activation(#s(package-desc :name project :version (0 5 1) :summary "Operations on the current project" :reqs ((emacs (26 3)) (xref (1 0 2))) :kind nil :archive nil :dir "/tmp/tmp-elpa26/project-0.5.1" :extras ((:url . "http://elpa.gnu.org/packages/project.html")) :signed t) nil)
  package-activate-1(#s(package-desc :name project :version (0 5 1) :summary "Operations on the current project" :reqs ((emacs (26 3)) (xref (1 0 2))) :kind nil :archive nil :dir "/tmp/tmp-elpa26/project-0.5.1" :extras ((:url . "http://elpa.gnu.org/packages/project.html")) :signed t) nil deps)
  package-activate(project)
  package-initialize()

Because tab-bar-mode is added in Emacs 27.

CDitzel

comment created time in a month

issue commentjoaotavora/eglot

org-mode source code blocks

To make it work with LSP, I have used org tangle to save the src blocks into a file. The trick is getting the file changes back into the src blocks again.

@mbarton98 Take a look at org-babel-detangle function.

test.org:

#+PROPERTY: header-args :comments link

* test-detangle
#+begin_src python :tangle "test-org.py"
from datetime import datetime
#+end_src

Tangle it, than edit test-org.py. Invoking org-babel-detangle will bring changes from test-org.py back to the test.org file.

wuqui

comment created time in a month

pull request commentmuffinmad/emacs-mini-frame

fix: mini-frame is slow in Windows

@kiennq Sorry for delay. Haven't enough time lately to find out the reason of such behavior on Windows, but your PR is on my list.

kiennq

comment created time in a month

issue commentmuffinmad/emacs-mini-frame

Does not show full minibuffer with some Selectrum functions

I can ping the selectrum guys about it

Already done it. See https://github.com/raxod502/selectrum/issues/169#issuecomment-682421124.

gcv

comment created time in a month

issue commentmuffinmad/emacs-mini-frame

Strange behavior with keybindings

I actually have a more complex pre-exit procedure than confirm-kill-emacs supports

Oh, I see. But that procedure will not be called in case exiting by closing last Emacs frame. kill-emacs-query-functions may be useful here. But that is your Emacs after all :)

gcv

comment created time in a month

startedraxod502/ctrlf

started time in a month

issue commentraxod502/ctrlf

Incompatibility with package mini-frame

Must be fixed by https://github.com/muffinmad/emacs-mini-frame/commit/41d87d123e6f70ea656867356584a7133c28434c

JuanGarcia345

comment created time in a month

push eventmuffinmad/emacs-mini-frame

muffinmad

commit sha 41d87d123e6f70ea656867356584a7133c28434c

Advice minibuffer-selected-window to return correct window minibuffer-selected-window must return window selected just before mini-frame window was selected. https://github.com/raxod502/ctrlf/issues/57

view details

push time in a month

issue commentraxod502/ctrlf

Incompatibility with package mini-frame

With mini-frame-mode enabled (window-buffer (minibuffer-selected-window)) will return minibuffer buffer instead of last selected buffer. Thus re-search-forward is running in the minibuffer that leads to the issue.

JuanGarcia345

comment created time in a month

issue commentraxod502/selectrum

mini-frame-mode only displays a cut-off first candidate before typing

@clemera

Here is receipt to reproduce the issue with mini frame without emacs-mini-frame package:

  1. emacs -Q --eval "(setq default-frame-alist '((minibuffer . nil)))"
  2. M-x package-initialize
  3. M-x selectrum-mode
  4. M-: (setq resize-mini-frames t)
  5. M-x

The mini frame doesn't show completion list until some input is provided.

Maybe you can find solution much quicker than me.

terlar

comment created time in a month

issue commentraxod502/selectrum

mini-frame-mode only displays a cut-off first candidate before typing

Ah, then mini-frame might not work correctly with Emacs 28, yet.

Why? I'm using mini-frame-mode with Emacs 28 and see no issues. But I'm using icomplete-mode.

Actually I'm surprised that mini-frame doesn't work for you. Sorry :) https://github.com/muffinmad/emacs-mini-frame/issues/17 brings me here. I'll take a look on how to make mini-frame work nicely with selectrum.

terlar

comment created time in a month

issue commentmuffinmad/emacs-mini-frame

Does not show full minibuffer with some Selectrum functions

Looks like selectrum-read-file-name is the only function that shows candidate list initially. This simple snippet doesn't show candidate list:

(completing-read "foo: " (list "bar1" "bar2" "bar3"))
gcv

comment created time in a month

issue commentmuffinmad/emacs-mini-frame

Strange behavior with keybindings

Thanks! Should be fixed now.

As a side note: take a look at confirm-kill-emacs variable. E.g.:

(setq confirm-kill-emacs 'yes-or-no-p)
gcv

comment created time in a month

push eventmuffinmad/emacs-mini-frame

muffinmad

commit sha 5e89f4a85fec74acb36acb172f954fc7dc39555c

Check if this-command is symbol (Fix #18)

view details

push time in a month

issue closedmuffinmad/emacs-mini-frame

Strange behavior with keybindings

I use the following piece of code to avoid killing Emacs accidentally:

(global-set-key
 (kbd "C-x C-c")
 (lambda ()
   (interactive)
   (if (not (y-or-n-p "Are you sure you want to exit Emacs? "))
       (message "Canceled exit")
     (save-buffers-kill-emacs))))

It normally works, but with mini-frame-mode turned on, it errors out: Wrong type argument: symbolp, ....

closed time in a month

gcv

pull request commentmelpa/melpa

Add find-file-rg

@riscy Good catch! Fixed. Thanks!

muffinmad

comment created time in a month

push eventmuffinmad/emacs-find-file-rg

muffinmad

commit sha ed556e092a92e325f335554ab193cef2d8fec009

Shorten directory selection prompt

view details

push time in a month

push eventmuffinmad/emacs-find-file-rg

Andrii Kolomoiets

commit sha 66432b5c72c643eb2bd72210c8bd6af0f44d7d84

Create LICENSE

view details

push time in a month

pull request commentmelpa/melpa

Add find-file-rg

@purcell Thanks for the useful notes! Fixed now.

muffinmad

comment created time in a month

push eventmuffinmad/emacs-find-file-rg

muffinmad

commit sha 042126a45abda2e4f7652bc94eda5d880412f2de

Possibility to specify rg arguments as list of strings

view details

push time in a month

push eventmuffinmad/emacs-find-file-rg

muffinmad

commit sha 886d9072a9f9f5489e312f357e785e1e48b37f63

Inline variable

view details

muffinmad

commit sha 9a56de5e7f0ae89c3ac4a956e7a9c94d7e2c4e0a

Bind default-directory instead of cd

view details

muffinmad

commit sha a690ce283fecd353240b269350216ae631f5352d

Shell-quote rg executable

view details

push time in a month

push eventmuffinmad/emacs-find-file-rg

muffinmad

commit sha 48ce162e9ae63bcb02a30fb1b628cfc3b90e0e8f

Abbreviate directory name only for display purposes

view details

push time in a month

push eventmuffinmad/emacs-find-file-rg

muffinmad

commit sha c24d496c85f296edb8ed1a3cb8353f62733a4c0f

Use completing-read

view details

push time in a month

startedmelpa/melpa

started time in a month

push eventmuffinmad/emacs-find-file-rg

muffinmad

commit sha ca3ebe60ce3fcc67d7e38ea06855127ac4b093fd

Update README

view details

push time in a month

PR opened melpa/melpa

Add find-file-rg

Brief summary of what the package does

Find file in current project or any directory using rg --files command

Direct link to the package repository

https://github.com/muffinmad/emacs-find-file-rg

Your association with the package

Maintainer

Relevant communications with the upstream package maintainer

None needed

Checklist

Please confirm with x:

  • [x] The package is released under a GPL-Compatible Free Software License.
  • [x] I've read CONTRIBUTING.org
  • [x] I've used the latest version of package-lint to check for packaging issues, and addressed its feedback
  • [x] My elisp byte-compiles cleanly
  • [x] M-x checkdoc is happy with my docstrings
  • [x] I've built and installed the package using the instructions in CONTRIBUTING.org
  • [ ] I have confirmed some of these without doing them
+1 -0

0 comment

1 changed file

pr created time in a month

push eventmuffinmad/melpa

Andrii Kolomoiets

commit sha b33ab4c8c8762fe1880b3802c4aea3a64b6d958b

Add find-file-rg

view details

push time in a month

push eventmuffinmad/emacs-find-file-rg

muffinmad

commit sha f98dae38aed441ca815932354a14b734e741920e

Update description and README

view details

push time in a month

push eventmuffinmad/emacs-find-file-rg

muffinmad

commit sha b8e82f66b82a9f21c465256a91670e068602d3a2

Omit nulls

view details

push time in a month

push eventmuffinmad/emacs-find-file-rg

muffinmad

commit sha adb054dfb73a9eab18e2cd9d14a66681e70eebe6

Update docstring

view details

push time in a month

push eventmuffinmad/emacs-find-file-rg

muffinmad

commit sha 9c07e4c23d5b6062148810e0c6d02c27038f9362

Inline function that used only once

view details

push time in a month

push eventmuffinmad/emacs-find-file-rg

muffinmad

commit sha 6cdc59f0246d9f238b5b8d7340b3d64f21bd9e74

Customizable ripgrep executable and arguments

view details

push time in a month

push eventmuffinmad/emacs-find-file-rg

muffinmad

commit sha aaf296d3a51eae41d3496aa89f50a3d56592aafa

Customizable function for reading user input

view details

push time in a month

push eventmuffinmad/emacs-find-file-rg

muffinmad

commit sha 4a995da09c6109643d177bac7e55803204d5f4b3

Require match

view details

push time in a month

pull request commentbbatsov/crux

crux-smart-open-line-above: Use crux-move-to-mode-line-start

Thanks for spotting and fixing my mistake!

Thank you for the crux!

muffinmad

comment created time in a month

issue commentsebastiencs/company-box

mac os x - company box incompatible with full screen

@ashton314 Yes, Emacs 27.1 doesn't contain the patch. It's installed on Emacs 28.

vidjuheffex

comment created time in a month

push eventmuffinmad/emacs-find-file-rg

muffinmad

commit sha ebc41750c9b87e11eaa2e8b408055209aa5c3dc0

Tweak docstrings

view details

push time in a month

push eventmuffinmad/emacs-find-file-rg

muffinmad

commit sha ffc5ab24c2f4f09a0d65b238e65f67cd241ca3a1

Use file-name-history for input history

view details

push time in a month

delete branch muffinmad/crux

delete branch : patch-1

delete time in a month

PR opened bbatsov/crux

crux-smart-open-line-above: Use crux-move-to-mode-line-start

After renaming move-to-mode-line-start to crux-move-to-mode-line-start in https://github.com/bbatsov/crux/commit/dcd693c258ae4d867b18d9a028a828ef6c42a4a6 there are still one usage of old move-to-mode-line-start function.


Before submitting a PR make sure the following things have been done (and denote this by checking the relevant checkboxes):

  • [x] The commits are consistent with our contribution guidelines
  • [x] The new code is not generating bytecode or M-x checkdoc warnings
  • [ ] You've updated the changelog (if adding/changing user-visible functionality)
  • [ ] You've updated the readme (if adding/changing user-visible functionality)

Thanks!

+1 -1

0 comment

1 changed file

pr created time in a month

push eventmuffinmad/crux

Andrii Kolomoiets

commit sha e2449b7032a0391ce8db24c4901fc091dbb3247a

crux-smart-open-line-above: Use crux-move-to-mode-line-start

view details

push time in a month

fork muffinmad/crux

A Collection of Ridiculously Useful eXtensions for Emacs

https://emacsredux.com

fork in a month

issue commentmuffinmad/pidgin-im-gnome-shell-extension

Report unread messages count to Dash to Dock

If Telegram desktop client does it itself, then this functionality must be implemented in the Pidgin itself.

The extension does not control how the Pidgin icon is displayed in the Gnome dash.

k-kirill

comment created time in 2 months

startedihhub/fheroes2

started time in 2 months

issue commentjoaotavora/eglot

Too much noise in eldoc echo area when cursor is in a whitespace

(setq eldoc-area-use-multiline-p 3) 

Little notice: it's called eldoc-echo-area-use-multiline-p.

nrxus

comment created time in 2 months

issue commentmuffinmad/anakin-language-server

The member variables of a class instance should map to an LSP Field (or Property)

@davidhalter What do you say about this one? Is Jedi interested in returning something like class_variable as the type of the x and y instead of statement? Thanks in advance.

rwols

comment created time in 2 months

issue commentmuffinmad/anakin-language-server

`@property` should map to an LSP Property kind (or Field)

@davidhalter Awesome! Thanks!

@rwols You can install latest Jedi's master, anakinls v1.18.1 already supports Jedi's property completion type.

rwols

comment created time in 2 months

push eventmuffinmad/anakin-language-server

muffinmad

commit sha b31d33d5be27b68cde32d23579815c9e7718bbd8

Bind Jedi's completion type `property` to `CompletionItemKind.Property` (fix #15)

view details

push time in 2 months

issue closedmuffinmad/anakin-language-server

`@property` should map to an LSP Property kind (or Field)

class Foo:

    @property
    def bar(self):
        return 42


foo = Foo()
foo.b|

This will report bar as a function, but it should be a property (or field).

closed time in 2 months

rwols
CommitCommentEvent

startedoantolin/icomplete-vertical

started time in 3 months

push eventmuffinmad/anakin-language-server

muffinmad

commit sha e78663077c8a2db52264658c82903c981f34f996

Add the copyright notice to the source files

view details

push time in 3 months

issue commentmuffinmad/anakin-language-server

`@property` should map to an LSP Property kind (or Field)

The simple and brittle solution that comes to mind is to look if line before completion candidate definition is @property.

But let's expand Jedi's types range by little if we can! ;)

@davidhalter Can you please tell whether it is possible to make this test pass in Jedi:

def test_completion_property(Script):
    script = Script(dedent('''\
        class Foo:

            @property
            def bar(self):
                return 42


        foo = Foo()
        foo.b
        '''))
    c, = script.complete(9, 5)
    assert c.type == 'property'

Thanks!

rwols

comment created time in 3 months

push eventmuffinmad/jedi

Christopher Cave-Ayland

commit sha 860d5e8889af4fa3ee946a12593f17548ba4ad27

Import FileNotFoundError from jedi._compatibility

view details

muffinmad

commit sha 4ceca541384429f9bf9a137c0aebb61070bc8071

Specify max-line-length for pycodestyle According to CONTRIBUTING.md it can be 100

view details

muffinmad

commit sha 741097827dc0be035b4dda76fcb36ab91caa7d8f

Get references in the current module only

view details

muffinmad

commit sha 7459d67fee8f766cefb2c404a1437fb976b8b5bd

Test local references in some other cases

view details

Peter Law

commit sha 669b70b2cd7ff9349c33c641d571f7da6730c5e7

Validate instance methods on Django models

view details

Peter Law

commit sha c36904d983fabf49f89c89c128ada3732b10f73b

Support custom managers in Django models For the moment this support is limited to just Model.objects replacements and does not use the custom manager for ForeignKey related managers.

view details

Peter Law

commit sha c62cbd665467e2ed64f135aed6d4085cb62f2fd8

Explicitly handle `a not in b` operator comparison This avoids a `KeyError` from operator_to_magic_method lookup for this case. Jedi probably could check for `__contains__` here, however as it doesn't do so for `in` checks I'm following that lead for now. Fixes https://github.com/davidhalter/jedi/issues/1594.

view details

Dave Halter

commit sha 2d672d2f28673553b34be6a1b7adf0e6a2953414

Merge pull request #1595 from PeterJCLaw/operator-not-in Explicitly handle `a not in b` operator comparison

view details

muffinmad

commit sha 1c342d36e53f88949222e95660470e872cc9b302

Don't goto while building found_names for the current file But goto for all non_matching_reference_maps items later

view details

Batuhan Taskaya

commit sha b9131c607005722e7c36eea24ead835f34fab5aa

Upgrade setup.py's version parsing for 3.8+

view details

Dave Halter

commit sha 8239328e421dd20fe0e927986ebc2a9d53b2ec11

Merge pull request #1599 from isidentical/py38-plus-setuppy Upgrade setup.py's version parsing for 3.8+

view details

yuan

commit sha ca08365a816a37ff0c4d9cc85bf794300a7882f9

fix typo

view details

yuan

commit sha 98a8b6c76caf936ceeaaf68503222345836006e3

fix typo (#1602)

view details

yuan_xy

commit sha 32687474dba6fa77bc57b433ea6d6035f232e1d5

add test case to fix code example in doc

view details

yuan

commit sha 5946a5cd8cd7bcf6807577cc3904810ee43095f0

Refactoring about checking \r\n (#1603)

view details

Dave Halter

commit sha 9980f760b1a12f906966651ce7aecb2b5a4ef4b0

Merge pull request #1601 from yuan-xy/patch_3 add test case to fix code example in doc

view details

Michał Górny

commit sha cecdaa98aedd23ff378911142c868e5348d052a9

Exclude more Linux constants in test_import The list of differences have grown again in Python 3.9. Instead of increasing the allowed count let's filter out more Linux-specific constants. This probably makes it possible to reduce allowed len(difference) too.

view details

muffinmad

commit sha f9bbccbc1316d4885a43973c125f8a27e06456c0

Pycodestyle configuration section moved to setup.cfg

view details

muffinmad

commit sha 782dedd43960b68925bae54b86c4384aae8b26a3

Get references in the current module only

view details

muffinmad

commit sha 8705149619bdcd574b46e5932a8cf561ab3dc3c9

Use pytest.mark.parametrize

view details

push time in 3 months

issue commentjoaotavora/eglot

flymake-no-change-timeout setting seems to be ignored

It is server responsibility to send textDocument/publishDiagnostics. E.g. here was made the attempt to disable linting on change for pyls: https://github.com/palantir/python-language-server/pull/511

InspectorMustache

comment created time in 3 months

more