Questions tagged [dabbrev]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
26 views

Unexpected dabbrev-expand forward completion behavior

Given a buffer containing a abc with point immediately following the first a, ↓ a abc if I perform forward completion with (dabbrev-expand -1), it produces the result I would expect: ↓ abc abc ...
user avatar
  • 1,838
2 votes
0 answers
48 views

Markov matcher for dabbrev

While writing plain text (not code), I'd like a completion based on more context, an exmple would speak more so here it is: Given the following buffer (a preloaded big text corpus would make more ...
user avatar
1 vote
1 answer
54 views

How to make dabbrev support CamelCase or a better auto-completion in java buffers

I use dabbrev as my auto-complete function (and since most of what I code is snake_case it works well). However, I'm now doing a Java project and everything is CamelCase. How do I make dabbrev ...
user avatar
1 vote
1 answer
165 views

Replace a character with a string as it is typed

I would like to do the following: activate some mode so that whenener I type the $ character in my buffer, it immediately gets replaced by <m>. Even better: when I type $ it puts <m></m&...
user avatar
  • 115
0 votes
1 answer
232 views

How to refresh dabbrev candidates displayed by company after each save

I've been using Ivy Irony Company for some time and it works great on all libraries I included in my C++ program so far, but I've noticed Ivy rarely auto-completes my user defined classes, objects, ...
user avatar
1 vote
1 answer
276 views

How can I prevent company-mode completing non-English chars?

i tried these codes before, but none of them works for me . how can i edit this to achieve my goal.
user avatar
  • 101
1 vote
1 answer
390 views

Company duplicates

I use gtags, jedi and dabbrev for python. Sometimes the duplicates get a bit annoying. I read that using :with should sort out the duplicates problem. However, it does not... Is there a better ...
user avatar
1 vote
1 answer
169 views

how to ignore hyphens in completion candidates using company-dabbrev backend?

How can I modify company-dabbrev to behave like other company-backends, so I also receive words as completion candidates, that are connected with hyphens.
user avatar
  • 1,639
3 votes
2 answers
495 views

How to use abbrev for words with dollar-sign ($) as prefix?

My setup GNU Emacs GUI (version 24.4.51.1 (x86_64-w64-mingw32) compiled from Harroogan Emacs.) Situation I would like to type a word in PHP-mode, and it will automatically ...
user avatar
  • 3,735
2 votes
1 answer
217 views

Use hippie-expand to complete ruby symbols without prefix

I am an avid hippie-expand user but I find it annoying that it natively doesn't complete ruby symbols without the prefix. For example (cursor is |): class ApplicationController < ActionController::...
user avatar
  • 1,354
45 votes
1 answer
5k views

How to make Company mode be case-sensitive on plain Text?

By default, Company mode seems to convert every prediction into lower case. E.g: HelloWorldOfGoo HelloWorldOfEmacs -> Hell [Helloworldofgoo] //Company prediction [...
user avatar
  • 4,408
8 votes
2 answers
929 views

case-sensitivity of word completion using dabbrev

I sometimes use M-/ to complete words but it is not case sensitive. For example : the word is : showPublic and when I write show and then put M-/, It completes as showpublic. How can I fix this ? ...
user avatar