GNU bug report logs - #22953
24.5; `company-dabbrev' not working in ERC conversations

Previous Next

Package: emacs;

Reported by: Alexis <flexibeast <at> gmail.com>

Date: Wed, 9 Mar 2016 02:22:01 UTC

Severity: normal

Found in version 24.5

Done: Alexis <flexibeast <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 22953 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Alexis <flexibeast <at> gmail.com>, 22953 <at> debbugs.gnu.org
Subject: Re: bug#22953: 24.5; `company-dabbrev' not working in ERC
 conversations
Date: Wed, 9 Mar 2016 05:07:51 +0200
On 03/09/2016 04:20 AM, Alexis wrote:

> Context: company-20160228.1705 from MELPA, running on Emacs 24.5.3.
> `company-dabbrev' does not work for me in ERC conversations. Say i use
> the word "Haskell" in a conversation. If i subsequently type "hask",
> "Haskell" is not offered as a possible completion unless i modify the
> definition of `company-grab' as follows:
>    (defun company-grab (regexp &optional expression limit)      (when
> (looking-back regexp (if limit                                     (1-
> limit)                                   nil))        (or
> (match-string-no-properties (or expression 0)) "")))
> --

Hi!

Please clarify: what does (company-dabbrev--prefix) evaluate to, in such 
context? Is it "ask", when company-grab is not modified?

If so, what does (buffer-substring (point-at-bol) (point)) return?




This bug report was last modified 9 years and 72 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.