emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#20847: closed ([display engine] 25.0.50; company-m


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#20847: closed ([display engine] 25.0.50; company-mode popup makes point jump to an entirely different location)
Date: Wed, 01 Jul 2015 16:37:02 +0000

Your message dated Wed, 1 Jul 2015 19:36:16 +0300
with message-id <address@hidden>
and subject line Re: bug#20847: [display engine] 25.0.50; company-mode popup 
makes point jump to an entirely different location
has caused the debbugs.gnu.org bug report #20847,
regarding [display engine] 25.0.50; company-mode popup makes point jump to an 
entirely different location
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
20847: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20847
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [display engine] 25.0.50; company-mode popup makes point jump to an entirely different location Date: Fri, 19 Jun 2015 04:04:45 +0300
1. Install company (from GNU ELPA, for instance).

2. Paste the contents of
https://gist.githubusercontent.com/sooheon/97a62f433897b52da3d1/raw/a42af658ec3ccd11a4faa7e2581f7413687b1811/gistfile1.txt
into the scratch buffer.

3. Look for the line with "hello halleo helo" at the end of the first
paragraph, and delete or add a few characters before it, to make sure
that the last "h" is two columns away from the right window border. So
as when you type "el" after it, the cursor is displayed in the margin.

4. M-x company-mode

5. (setq company-backends '(company-dabbrev))

6. Go to after the last "h", type "el", wait 0.3 seconds, see the
completion popup displayed, while the cursor is displayed in the margin.

Problem 1: even though the overlay's `cursor' property places it at the
same line as where "hel" ends, the cursor is rendered in the margin two
lines below.

Problem 2:

7. Type "l", see it wrapped to the next line.

8. Type backspace. See the cursor move to the second paragraph.

9. Continue backspacing. See the completion popup disappear, and the text
being deleted in the second paragraph.

Originally reported at
https://github.com/company-mode/company-mode/issues/362.



--- End Message ---
--- Begin Message --- Subject: Re: bug#20847: [display engine] 25.0.50; company-mode popup makes point jump to an entirely different location Date: Wed, 1 Jul 2015 19:36:16 +0300 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0
On 07/01/2015 06:16 PM, Eli Zaretskii wrote:

    (posn-area (posn-at-point)) => right-fringe

Thanks, I'll revisit this if the current solution springs a new leak.

For now, it seems to function well enough, across different Emacs versions, in report-emacs-bug buffer, at eol and eob.

I'm sorry I haven't gone this route sooner and spared you some of this long conversation. It's not easy to let go of one's hard-word workarounds.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]