unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#20072: Incorrect popup showing
@ 2015-03-10 10:48 Nikolay Puzanov
  2015-03-10 17:03 ` Eli Zaretskii
  2022-02-08  9:14 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 12+ messages in thread
From: Nikolay Puzanov @ 2015-03-10 10:48 UTC (permalink / raw)
  To: 20072


[-- Attachment #1.1: Type: text/plain, Size: 1131 bytes --]

Hi,

I found bug on display a popup window from auto-complete-mode. I attach two
screenshot and init.el. Bug appear when global-linum-mode is on.

Commit e589765 bring this bug. I changed the line that seemed most
appropriate. I not understand how it work, but this patch fix it:

--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -3434,6 +3434,7 @@ handle_stop (struct it *it)
   it->dpvec = NULL;
   it->current.dpvec_index = -1;
   handle_overlay_change_p = !it->ignore_overlay_strings_at_pos_p;
+  it->ignore_overlay_strings_at_pos_p = false;
   it->ellipsis_p = 0;

   /* Use face of preceding text for ellipsis (if invisible) */

Note, this patch do not break fix by e589765 (
http://lists.gnu.org/archive/html/bug-gnu-emacs/2015-02/msg00075.html).

Screenshots also uploaded to the external server:
http://www.embddr.com/emacs-popup-good.png
http://www.embddr.com/emacs-popup-bad.png

Init.el:
(require 'package)
(add-to-list 'package-archives '("melpa" . "
http://melpa.milkbox.net/packages/"))
(package-initialize)

(require 'auto-complete-config)
(auto-complete-mode t)
(ac-config-default)

(global-linum-mode t)


Nikolay Puzanov.

[-- Attachment #1.2: Type: text/html, Size: 2127 bytes --]

[-- Attachment #2: emacs-popup-bad.png --]
[-- Type: image/png, Size: 29084 bytes --]

[-- Attachment #3: emacs-popup-good.png --]
[-- Type: image/png, Size: 54832 bytes --]

[-- Attachment #4: init.el --]
[-- Type: text/x-emacs-lisp, Size: 222 bytes --]


(require 'package)
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/"))
(package-initialize)

(require 'auto-complete-config)
(auto-complete-mode t)
(ac-config-default)

(global-linum-mode t)

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-02-08 10:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-10 10:48 bug#20072: Incorrect popup showing Nikolay Puzanov
2015-03-10 17:03 ` Eli Zaretskii
2015-03-10 17:30   ` Nikolay Puzanov
2015-03-13 15:50     ` Eli Zaretskii
2015-03-13 17:17       ` Nikolay Puzanov
2015-03-13 17:46         ` Eli Zaretskii
2015-03-13 17:53           ` Nikolay Puzanov
2015-03-14 18:05             ` Eli Zaretskii
2015-03-16 20:20               ` Eli Zaretskii
2022-02-08  9:14 ` Lars Ingebrigtsen
2022-02-08 10:12   ` Николай Пузанов
2022-02-08 10:13     ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).