auto-complete / popup-el

Visual Popup Interface Library for Emacs
GNU General Public License v3.0
445 stars 96 forks source link

fixes left margin alignment on emacs-26 and master #116

Closed jvshahid closed 4 years ago

jvshahid commented 6 years ago

the alignment of the left margin in the candidate list is broken on emacs-26 and master due to a chanage in `vertical-motion'. see https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31966 for more information.

This patch checks for the presence of `line-number-display-width', and use it to subtract the number of columns used to display line numbers.

jvshahid commented 6 years ago

forgot to mention that this only occurs with display-line-numbers

jcs090218 commented 4 years ago

Okay, I have fix this from this patch. Please check 4265237a923d114fdb07c873ec96f8233a95874b.

Let me know if you have any other issue! Thanks! 😄