Comments (8)
@soulawaker You can edit the filter string in the minibuffer by pressing C-c C-l
. Then while in minibuffer you can enable input method by pressing C-\
, type your filter string and hit RET
. While certainly not so convenient like an incremental search, this works quite well.
@jrblevin Could it be possible to implement toggling of input method in incremental search mode, like I-search does it?
from deft.
@soulawaker As far as I can see from the code, Deft does not play well with the Emacs input methods, just mapping the first 256 key codes to the corresponding self-inserting commands and appending the letters to the filter string. I do switch the keyboard layout on the OS level.
from deft.
That would be amazing to have other input-methods available in the incremental filtering mode! +1
from deft.
From my experience I can say, that generally you can input non-Latin, e.g. Cyrillic characters in the search line.
from deft.
@saf-dmitry I tried cyrillic-translit
with Emacs set-input-method
. In my case, Deft did not recognize its input method type at all. All keyboard inputs were recognized as English in Deft only. How could you do that?
from deft.
@saf-dmitry Thanks for the information. I confirmed OS level input method switching worked. But it's quite inconvenient than internal input-method.
from deft.
@saf-dmitry Many thanks! I found it just yesterday. And I tried to implant Korean language, "Hangul" keycode imitating original deft source in deft-mode-map
, then still it can not be inputted. Maybe need more study.
@jrblevin Thanks for making deft.
from deft.
Apparently the deft
code is based on isearch
. isearch-mode-map
is
very similar to deft-mode-map
, isn't it? And isearch-printing-char
is a
prototype of deft-filter-increment
, except for processing multibyte strings.
There is also an isearch-minibuffer-local-map
, which most likely catches
bytes, but I don't understand by whom it is evaluated.
Someone can try to take support for multibyte strings from there. Maybe
someone who know elisp more than me will be able to add it there,
I haven't succeeded yet. π’
The problem is that isearch
works in a minibuffer, deft
- in regular. I tried
to convert the string using this post, but so far it has been possible to collect all the bytes.
from deft.
Related Issues (20)
- Deft hangs on emacs 28 HOT 12
- Right to left text in file causes wrong alignment of date and time stamp in Deft file browser.
- Second search can not jump to accurate position
- Support custom filters? HOT 1
- How to make the title and content not on the same lineοΌ HOT 2
- How to make deft work with files without file extension?
- docu for `deft-file-naming-rules` missing HOT 1
- How to use `deft-file-naming-rules` with `usepackage` HOT 1
- Display file at point when using deft-find-file HOT 1
- Adding optional Xapian support HOT 12
- Incongruity between default file type and default summary generation
- Super slow
- Fix to make deft faster (also on older emacsen) HOT 3
- configure list of files and format to new notes
- deft--org-complete is generating broken links HOT 1
- Executing shell commands on files
- Emoji in org-mode files causing Deft summary lines to bleed over into next line
- Org-rifle vs deft HOT 1
- creating new files with Deft using prompt for title HOT 4
- deft-find-file: how to disable defaulting to "find-file" and instead use deft-new-file-format
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deft.